/* Anni Butiik — preview site by Saarekiri. Folk-art black and white from the logo,
   the barn red of the shop's wooden house, and the wool colours of the yarn wall. */

@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/young-serif-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/young-serif-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --linen: #f5efe3;
  --paper: #fffaf2;
  --ink: #1c1916;
  --ink-soft: #4a433c;
  --red: #9a3226;        /* the house */
  --red-deep: #7b2419;   /* buttons, AA on linen */
  --red-soft: #f2dcd3;
  --wool: #d6a03a;       /* mustard yarn */
  --moss: #4f6a3a;
  --line: #ded3c1;
  --radius: 6px;
  --wrap: 1200px;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red-deep); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--wool); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.eyebrow { font: 700 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow svg { width: 16px; height: 16px; flex: none; }
.star { fill: currentColor; }

/* folk border: a band of eight-pointed stars, like a knitted mitten cuff */
.band { height: 28px; background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='%23f5efe3'%3E%3Crect x='9' y='9' width='10' height='10'/%3E%3Crect x='9' y='9' width='10' height='10' transform='rotate(45 14 14)'/%3E%3C/g%3E%3Ccircle cx='14' cy='14' r='2' fill='%231c1916'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; }
.band.red { background-color: var(--red); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 16px/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; }
.btn-red { background: var(--red-deep); color: #fff; }
.btn-red:hover { background: #5f1a11; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--red-deep); }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* header */
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.logo svg { width: 42px; height: 42px; }
.logo b { display: block; font: 400 24px/1 var(--serif); }
.logo small { display: block; font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav ul a:hover { color: var(--red-deep); text-decoration: underline; }
.lang { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.lang a { padding: 5px 11px; font: 700 13px/1 var(--sans); color: var(--ink); text-decoration: none; }
.lang a[aria-current] { background: var(--ink); color: var(--paper); }

/* hero */
.hero { background: var(--paper); padding: 64px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.kicker { font-weight: 600; color: var(--ink-soft); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.kicker svg { width: 18px; height: 18px; color: var(--red); }
.hero h1 { font-size: clamp(40px, 4.8vw, 66px); margin-bottom: 22px; }
.hero h1 span { color: var(--red); }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 34em; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--ink-soft); }
.facts b { display: block; font: 400 26px/1.1 var(--serif); color: var(--ink); }
.hero-photo { position: relative; }
.hero-photo figure { margin: 0; padding: 12px; background: var(--ink); border-radius: var(--radius); box-shadow: 14px 14px 0 var(--red); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.badge { position: absolute; left: -34px; bottom: -30px; width: 132px; height: 132px; color: var(--ink); filter: drop-shadow(0 3px 0 rgba(0,0,0,.15)); }
.badge svg { width: 100%; height: 100%; }
.badge span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--paper); font: 700 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

/* sections */
.section { padding: 92px 0; }
.section-head { max-width: 46em; margin-bottom: 46px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }

/* what's in the shop */
.goods { display: grid; gap: 72px; }
.good { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.good:nth-child(even) .good-photo { order: 2; }
.good-photo { margin: 0; }
.good-photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.good-photo.portrait { max-width: 420px; justify-self: center; width: 100%; }
.good-photo.portrait img { aspect-ratio: 3 / 4; }
.good-photo.socks img { aspect-ratio: 1600 / 1304; }
.good-photo.four3 img { aspect-ratio: 4 / 3; }
.good-text h3 { font-size: clamp(26px, 2.6vw, 34px); }
.good-text p { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--red); transform: translateY(-1px) rotate(45deg); }
.note { font-size: 14px; color: var(--ink-soft); font-style: italic; }

/* folk costumes + workshops */
.craft { background: var(--red); color: #fff; }
.craft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.craft .eyebrow { color: #f6d9a0; }
.craft h2 { max-width: 16em; }
.craft-card { background: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 30px 32px; }
.craft-card svg { width: 36px; height: 36px; color: #f6d9a0; margin-bottom: 14px; }
.craft-card p { color: rgba(255,255,255,.9); margin: 0; }
.craft .actions { margin-top: 36px; }

/* gallery: all three photos are 4:3, shown whole */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }

/* reviews */
.reviews { background: var(--paper); }
.score { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.score b { font: 400 56px/1 var(--serif); }
.stars { color: var(--wool); letter-spacing: 2px; font-size: 20px; }
.score small { display: block; color: var(--ink-soft); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; background: var(--linen); border-radius: var(--radius); padding: 28px 28px 24px; border-top: 6px solid var(--ink); display: flex; flex-direction: column; }
.quote p { font: 400 20px/1.45 var(--serif); margin: 0 0 18px; flex: 1; }
.quote cite { font-style: normal; font-size: 14px; color: var(--ink-soft); }
.quote cite b { color: var(--ink); font-weight: 600; }

/* visit */
.visit-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.house { margin: 0; }
.house img { width: 100%; aspect-ratio: 1600 / 976; border-radius: var(--radius); }
.house figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.map { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 300px; border: 0; }
.card { background: var(--paper); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.card + .card { margin-top: 20px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 20px; height: 20px; color: var(--red); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px dashed var(--line); font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.addr { font-size: 19px; font-weight: 600; margin-bottom: 6px; }

/* contact */
.contact { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.contact h2 { color: var(--paper); }
.contact .eyebrow { color: var(--wool); }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a { color: var(--paper); font-size: 20px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact-list a:hover { border-color: var(--wool); }
.contact-list span { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #bfb5a6; }
.drawing { margin: 0; background: #fff; padding: 14px; border-radius: var(--radius); width: 300px; }
.drawing img { width: 100%; aspect-ratio: 402 / 422; }
.drawing figcaption { color: var(--ink-soft); font-size: 13px; margin-top: 8px; }

/* footer */
.foot { background: var(--ink); color: #bfb5a6; font-size: 14px; padding: 26px 0 34px; border-top: 1px solid rgba(255,255,255,.12); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot p { margin: 0; }
.foot a { color: #e6ddcf; }

/* tablet */
@media (max-width: 1040px) {
  .nav ul { display: none; }
  .hero-grid, .visit-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { max-width: 720px; }
  .quotes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
/* phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 36px 0 60px; }
  .lead { font-size: 17px; }
  .badge { width: 96px; height: 96px; left: auto; right: -6px; bottom: -34px; }
  .badge span { font-size: 9px; }
  .hero-photo figure { padding: 8px; box-shadow: 8px 8px 0 var(--red); }
  .good, .craft-grid { grid-template-columns: 1fr; gap: 24px; }
  .good:nth-child(even) .good-photo { order: 0; }
  .goods { gap: 56px; }
  .good-photo.portrait { max-width: 300px; justify-self: start; }
  .gallery { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .drawing { width: 220px; }
  .contact-list a { font-size: 18px; }
  .logo b { font-size: 21px; }
  .logo small { letter-spacing: .08em; font-size: 10px; }
  .logo svg { width: 36px; height: 36px; }
}
