@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --cream: #f6f1e8;
  --cream-deep: #eee7dc;
  --pine: #254536;
  --pine-soft: #587260;
  --terra: #c37a62;
  --ink: #27342d;
  --muted: #7a7b6e;
  --line: rgba(37, 69, 54, .15);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  --page-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: rgba(195, 122, 98, .27); }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }

.site-header { position: relative; z-index: 10; background: var(--cream); border-bottom: 1px solid rgba(37, 69, 54, .08); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--pine); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(37, 69, 54, .28); border-radius: 50%; }
.brand-mark svg { width: 27px; height: 27px; }
.brand-name { font: 700 14px/1 var(--sans); letter-spacing: .13em; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 43px); color: #49554b; font-size: 13px; }
.primary-nav > a:not(.button) { transition: color .2s ease; }
.primary-nav > a:not(.button):hover, .text-link:hover, .footer-instagram:hover { color: var(--terra); }
.instagram-link, .footer-instagram { display: inline-flex; align-items: center; gap: 8px; }
.instagram-link svg, .footer-instagram svg { width: 17px; height: 17px; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; justify-content: center; align-items: center; gap: 13px; border: 1px solid var(--pine); border-radius: 4px; background: var(--pine); color: #fffdf8; font-size: 13px; font-weight: 600; letter-spacing: .005em; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: #1d392c; box-shadow: 0 8px 20px rgba(37, 69, 54, .14); }
.button svg { width: 18px; height: 18px; }
.button--small { min-height: 44px; padding-inline: 16px; font-size: 12px; }
.menu-toggle { display: none; }

.hero { overflow: hidden; padding: 64px 0 82px; background: radial-gradient(ellipse at 84% 37%, rgba(220, 211, 195, .55), transparent 37%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(48px, 7vw, 104px); }
.hero-copy { padding: 20px 0 18px; }
.eyebrow { margin: 0 0 21px; color: var(--pine-soft); font-size: 10px; font-weight: 700; letter-spacing: .18em; line-height: 1.4; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--terra); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--pine); font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; }
h1 { margin-bottom: 24px; font-size: clamp(54px, 6vw, 82px); line-height: 1.04; }
h1 em, h2 em { color: var(--terra); font-weight: 500; }
.hero-description { max-width: 440px; margin-bottom: 30px; color: #666c61; font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.text-link { color: var(--pine); font-size: 13px; font-weight: 600; transition: color .2s ease; }
.text-link span { margin-left: 7px; color: var(--terra); font-size: 17px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 51px; color: #858475; font-family: var(--serif); font-size: 14px; font-style: italic; }
.hero-note svg { width: 18px; height: 18px; color: var(--terra); }
.hero-art { position: relative; min-width: 0; }
.hero-art-frame { position: relative; overflow: visible; border-radius: 26px; }
.hero-illustration { width: 100%; border-radius: 26px; box-shadow: 0 22px 55px rgba(59, 47, 38, .11); }
.hero-sticker { position: absolute; top: -27px; right: 34px; width: 91px; height: 91px; display: grid; align-content: center; justify-items: center; border-radius: 50%; background: var(--terra); color: #fff8ee; text-align: center; font: italic 15px/1.16 var(--serif); transform: rotate(8deg); box-shadow: 0 9px 20px rgba(104, 62, 48, .16); }
.hero-sticker svg { width: 23px; height: 23px; margin-top: 3px; }
.hero-caption { position: absolute; right: 20px; bottom: 14px; display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 13px; border-radius: 3px; background: rgba(246, 241, 232, .91); color: #62665d; font-size: 10px; letter-spacing: .02em; backdrop-filter: blur(8px); }
.hero-caption span { width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }

.section-pad { padding: 90px 0 101px; }
.collection { background: #fbf8f2; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin-bottom: 0; font-size: clamp(38px, 4.2vw, 54px); line-height: 1.1; }
.section-intro { max-width: 370px; margin: 0 0 5px; color: #74766a; font-size: 13px; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; }
.product-image { position: relative; display: grid; min-height: 292px; overflow: hidden; place-items: center; border-radius: 3px; isolation: isolate; transition: transform .3s ease; }
.product-image:hover .cardigan-svg, .product-image:hover .cardigan-photo { transform: translateY(-5px) scale(1.025); }
.product-image--cream { background: #eee8de; }
.product-image--sage { background: #e5e7dd; }
.product-image--cocoa { background: #e7ddd4; }
.product-image--berry { background: #e9dfe1; }
.stock-tag { position: absolute; z-index: 2; top: 13px; left: 13px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid rgba(37, 69, 54, .12); border-radius: 99px; background: rgba(255, 253, 248, .82); color: var(--pine); font-size: 9px; font-weight: 600; backdrop-filter: blur(6px); }
.stock-tag i { width: 6px; height: 6px; border-radius: 50%; background: #778965; }
.cardigan-svg { width: 88%; max-height: 260px; transition: transform .35s ease; filter: drop-shadow(0 11px 8px rgba(54, 43, 35, .11)); }
.cardigan-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transition: transform .35s ease; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 2px 13px; }
.product-kicker { margin-bottom: 4px; color: var(--terra); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.product-meta h3 { margin-bottom: 2px; color: var(--pine); font: 500 19px/1.3 var(--serif); letter-spacing: -.02em; }
.product-color { margin: 0; color: #828277; font-size: 11px; }
.product-arrow { width: 32px; height: 32px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--pine); transition: background .2s ease, color .2s ease; }
.product-arrow svg { width: 16px; height: 16px; }
.product-card:hover .product-arrow { background: var(--pine); color: white; }
.product-action { display: flex; justify-content: space-between; align-items: center; padding: 12px 2px 0; border-top: 1px solid var(--line); color: var(--pine); font-size: 11px; font-weight: 600; }
.product-action span { color: var(--terra); font-size: 15px; }

.yarn-section { position: relative; overflow: hidden; background: var(--cream); }
.yarn-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; column-gap: clamp(50px, 8vw, 115px); row-gap: 34px; }
.yarn-copy .eyebrow { margin-bottom: 13px; }
.yarn-copy h2 { max-width: 380px; margin-bottom: 19px; }
.yarn-copy > p:not(.eyebrow) { max-width: 430px; margin-bottom: 21px; color: #72756b; font-size: 13px; line-height: 1.9; }
.yarn-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(13px, 2.2vw, 30px); }
.yarn-swatch { display: grid; justify-items: center; gap: 13px; color: var(--pine); font: 500 14px/1.3 var(--serif); text-align: center; }
.yarn-ball { width: min(100%, 132px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(37, 69, 54, .12); border-radius: 50%; background: #fbf8f2; box-shadow: 0 13px 27px rgba(53, 47, 39, .07); }
.yarn-ball svg { width: 82%; height: 82%; overflow: visible; filter: drop-shadow(0 3px 4px rgba(43, 36, 31, .12)); }
.yarn-ball circle { fill: var(--yarn); }
.yarn-ball path { fill: none; stroke: var(--yarn-line); stroke-width: 4; stroke-linecap: round; opacity: .8; }
.yarn-ball--cream { --yarn: #dfd6c7; --yarn-line: #b7aa98; }
.yarn-ball--sage { --yarn: #a6ad95; --yarn-line: #77816c; }
.yarn-ball--cocoa { --yarn: #927869; --yarn-line: #665348; }
.yarn-ball--berry { --yarn: #a07c89; --yarn-line: #755965; }
.yarn-footnote { grid-column: 2; display: flex; align-items: center; gap: 8px; margin: -10px 0 0; color: #8b8a7d; font-size: 10px; }
.yarn-footnote svg { width: 18px; height: 18px; color: var(--terra); }

.contact-cta { position: relative; overflow: hidden; padding: 64px 0; background: var(--pine); color: #f8f4ec; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.eyebrow--light { color: #c1c7b7; }
.contact-cta h2 { color: #f7f3eb; font-size: clamp(38px, 4.1vw, 52px); }
.contact-cta h2 em { color: #e0a28e; }
.cta-action { max-width: 310px; padding-right: 45px; }
.cta-action p { margin-bottom: 18px; color: #d4dacd; font-size: 12px; line-height: 1.8; }
.button--light { min-height: 48px; border-color: #f5efe5; background: #f5efe5; color: var(--pine); }
.button--light:hover { background: white; }
.button--light svg:first-child { width: 17px; height: 17px; }
.cta-loop { position: absolute; right: -67px; bottom: -111px; width: 220px; height: 220px; color: rgba(246, 241, 232, .08); }
.cta-loop svg { width: 100%; height: 100%; }

.site-footer { padding: 22px 0; background: #203d2e; color: #cbd1c5; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand--footer { color: #f1eee5; }
.brand--footer .brand-mark { border-color: rgba(241, 238, 229, .34); }
.brand--footer .brand-name { font-size: 13px; }
.brand--footer .brand-mark { width: 32px; height: 32px; }
.brand--footer .brand-mark svg { width: 23px; height: 23px; }
.footer-inner > p { margin: 0; color: #aeb9aa; font: italic 13px var(--serif); }
.footer-instagram { color: #e3e7df; font-size: 11px; }
.footer-instagram svg { width: 15px; height: 15px; }
.copyright { color: #99a696; font-size: 10px; }

@media (max-width: 980px) {
  .container { width: min(var(--page-width), calc(100% - 48px)); }
  .header-inner { gap: 24px; }
  .primary-nav { gap: 19px; font-size: 12px; }
  .hero-grid { gap: 44px; }
  h1 { font-size: clamp(50px, 7vw, 68px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .product-image { min-height: 320px; }
  .yarn-grid { grid-template-columns: 1fr; gap: 34px; }
  .yarn-copy { max-width: 600px; }
  .yarn-swatches { max-width: 690px; }
  .yarn-footnote { grid-column: 1; margin-top: -15px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 17px; }
  .menu-toggle { width: 42px; height: 42px; display: grid; align-content: center; justify-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--pine); cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 71px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 13px 20px 21px; border-bottom: 1px solid var(--line); background: var(--cream); box-shadow: 0 17px 22px rgba(37, 69, 54, .08); }
  .primary-nav.is-open { display: grid; }
  .primary-nav > a:not(.button) { padding: 13px 2px; border-bottom: 1px solid rgba(37, 69, 54, .09); }
  .primary-nav .instagram-link { border-bottom: 0; }
  .primary-nav .button { margin-top: 9px; }
  .hero { padding: 48px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; gap: 43px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 16px; font-size: 9px; }
  h1 { margin-bottom: 18px; font-size: clamp(51px, 13vw, 70px); }
  .hero-description { max-width: 500px; margin-bottom: 23px; font-size: 14px; }
  .hero-actions { gap: 18px; }
  .button { min-height: 49px; padding-inline: 17px; font-size: 12px; }
  .hero-note { margin-top: 29px; }
  .hero-art { margin-inline: 4px; }
  .hero-illustration { border-radius: 18px; }
  .hero-sticker { top: -19px; right: 18px; width: 76px; height: 76px; font-size: 13px; }
  .hero-caption { right: 9px; bottom: 9px; font-size: 8px; }
  .section-pad { padding: 65px 0 72px; }
  .section-heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 26px; }
  h2 { font-size: clamp(36px, 9vw, 47px); }
  .section-intro { max-width: 500px; font-size: 12px; }
  .product-grid { gap: 25px 12px; }
  .product-image { min-height: clamp(180px, 58vw, 280px); }
  .stock-tag { top: 8px; left: 8px; gap: 5px; padding: 5px 7px; font-size: 8px; }
  .cardigan-svg { width: 98%; }
  .product-meta { align-items: start; padding: 12px 0 10px; }
  .product-meta h3 { font-size: 17px; }
  .product-color { font-size: 10px; line-height: 1.4; }
  .product-arrow { display: none; }
  .product-action { padding-top: 9px; font-size: 9px; }
  .yarn-grid { gap: 27px; }
  .yarn-swatches { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .yarn-ball { width: min(100%, 125px); }
  .yarn-swatch { font-size: 13px; }
  .yarn-footnote { margin-top: -3px; font-size: 9px; }
  .contact-cta { padding: 48px 0; }
  .cta-inner { align-items: start; flex-direction: column; gap: 26px; }
  .contact-cta h2 { font-size: 40px; }
  .cta-action { max-width: 370px; padding: 0; }
  .cta-loop { right: -94px; bottom: -112px; width: 190px; height: 190px; }
  .footer-inner { justify-content: center; flex-wrap: wrap; gap: 15px 22px; text-align: center; }
  .footer-inner > p { width: 100%; order: 1; }
  .copyright { order: 2; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .product-meta h3 { font-size: 15px; }
  .product-kicker { font-size: 8px; }
  .product-color { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
