@import url('data:text/css,');

:root {
  --ink: #24302b;
  --muted: #68736d;
  --paper: #fbf8f1;
  --cream: #f2ecdf;
  --white: #ffffff;
  --forest: #1f5a46;
  --forest-dark: #173f33;
  --coral: #e87962;
  --gold: #e7b95d;
  --mint: #a8d7c2;
  --blue: #a7c8d7;
  --line: #d9d7ce;
  --shadow: 0 24px 70px rgba(36, 48, 43, .14);
  --radius: 24px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; }
body.modal-open { overflow: hidden; }
button, a { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 2000; left: 16px; top: 12px; padding: 10px 16px; background: var(--white); color: var(--forest); transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(251, 248, 241, .94); border-bottom: 1px solid rgba(36, 48, 43, .1); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: var(--paper); font-family: var(--sans); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a { color: var(--muted); font-size: .92rem; font-weight: 700; text-decoration: none; }
.site-nav > a:hover, .site-nav > a:focus-visible { color: var(--forest); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid var(--forest); border-radius: 999px; background: var(--forest); color: var(--white); font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(31, 90, 70, .18); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { background: var(--forest-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(31, 90, 70, .25); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: .86rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--forest); font-weight: 800; text-underline-offset: 4px; }

.hero { overflow: hidden; padding: 86px 0 90px; background: radial-gradient(circle at 84% 18%, rgba(231,185,93,.23), transparent 24%), linear-gradient(135deg, #fbf8f1 0%, #f3ede1 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--coral); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.8rem); }
h2 { margin-bottom: 18px; font-size: clamp(2.25rem, 4vw, 3.7rem); }
h3 { margin-bottom: 10px; font-size: 1.2rem; }
.hero-lead { max-width: 650px; margin: 0 0 30px; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 0; margin: 30px 0 0; list-style: none; color: var(--muted); font-size: .88rem; font-weight: 700; }
.hero-notes li::before { content: '✓'; margin-right: 7px; color: var(--forest); }
.hero-art { position: relative; min-height: 510px; }
.pattern-card { position: absolute; width: 270px; padding: 20px; border: 1px solid rgba(36,48,43,.13); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.pattern-card svg { margin: 10px auto; width: 180px; height: 170px; fill: rgba(31,90,70,.08); stroke: var(--forest); stroke-width: 2; stroke-linejoin: round; }
.pattern-card strong, .pattern-card > span:last-child { display: block; }
.pattern-card > span:last-child { color: var(--muted); font-size: .83rem; }
.card-number { display: inline-grid; place-items: center; width: 38px; height: 28px; border-radius: 20px; background: var(--cream); color: var(--forest); font-size: .75rem; font-weight: 900; }
.card-shirt { z-index: 2; top: 15px; left: 5px; transform: rotate(-5deg); }
.card-bag { right: 0; bottom: 5px; transform: rotate(6deg); }
.stitch-line { position: absolute; top: 22px; right: 18px; width: 155px; height: 155px; border: 2px dashed var(--coral); border-radius: 50%; opacity: .55; }
.pin-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); box-shadow: 20px 16px 0 var(--coral), 40px -6px 0 var(--mint); }
.pin-one { right: 30px; top: 245px; }
.pin-two { left: 0; bottom: 52px; transform: scale(.7); }

.intro-strip { border-block: 1px solid var(--line); background: var(--white); }
.category-row { display: flex; justify-content: space-between; gap: 24px; overflow-x: auto; padding-block: 18px; color: var(--muted); font-size: .78rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.section { padding: 110px 0; }
.section-heading { margin-bottom: 50px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.split-heading p:last-child { max-width: 500px; margin: 0 0 12px; color: var(--muted); }
.centered { max-width: 720px; margin-inline: auto; text-align: center; }
.centered > p:last-child { color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.category-card { position: relative; overflow: hidden; min-height: 330px; padding: 34px; border: 1px solid rgba(36,48,43,.1); border-radius: var(--radius); }
.category-card::after { content: ''; position: absolute; right: -45px; bottom: -45px; width: 150px; height: 150px; border: 1px dashed rgba(36,48,43,.25); border-radius: 50%; }
.category-card.coral { background: #f9ded6; }
.category-card.gold { background: #f7e8bd; }
.category-card.mint { background: #dcefe7; }
.category-card.blue { background: #dcebf0; }
.category-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 35px; border: 1px solid rgba(36,48,43,.25); border-radius: 50%; font-size: 1.3rem; }
.category-count { margin: 0 0 6px; color: var(--forest); font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.category-card p:not(.category-count), .category-card li { color: #52605a; }
.category-card ul { padding-left: 18px; margin-bottom: 0; }

.process-section { background: var(--forest); color: var(--white); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.process-copy { position: sticky; top: 120px; }
.process-copy > p:last-child { color: rgba(255,255,255,.7); }
.steps { padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.steps li:first-child { padding-top: 0; }
.steps li > span { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-family: var(--serif); font-size: 1.3rem; }
.steps p { margin: 0; color: rgba(255,255,255,.7); }

.skills-section { background: var(--white); }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.skill-grid article { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.skill-grid p { margin-bottom: 0; color: var(--muted); }
.skill-level { display: inline-block; margin-bottom: 36px; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--forest-dark); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.checklist-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.checklist-art { position: relative; min-height: 520px; border-radius: 50% 50% 24px 24px; background: #e9dfce; overflow: hidden; }
.fabric { position: absolute; width: 290px; height: 350px; border-radius: 50% 50% 10px 10px; transform: rotate(-20deg); }
.fabric-one { left: 45px; top: 90px; background: repeating-linear-gradient(45deg, #e87962 0 12px, #f6b4a7 12px 24px); }
.fabric-two { right: -70px; bottom: -30px; background: repeating-linear-gradient(90deg, #1f5a46 0 5px, #a8d7c2 5px 22px); transform: rotate(18deg); }
.spool { position: absolute; z-index: 2; top: 42px; right: 70px; width: 74px; height: 108px; border-block: 15px solid var(--ink); border-radius: 15px; background: repeating-linear-gradient(0deg, var(--gold) 0 5px, #f2cf82 5px 8px); transform: rotate(11deg); }
.needle { position: absolute; z-index: 3; left: 55%; top: 42%; width: 4px; height: 190px; border-radius: 4px; background: var(--ink); transform: rotate(42deg); }
.check-list { padding: 0; margin: 36px 0 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 32px 1fr; gap: 15px; margin-bottom: 22px; }
.check-list li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--forest-dark); font-weight: 900; }
.check-list p { margin: 4px 0 0; color: var(--muted); }

.faq-section { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 85px; }
.faq-grid > div:first-child > p:last-child { color: var(--muted); }
details { border-top: 1px solid #c9c5ba; }
details:last-child { border-bottom: 1px solid #c9c5ba; }
summary { position: relative; padding: 24px 42px 24px 0; font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 6px; top: 19px; font-family: var(--serif); font-size: 1.8rem; color: var(--forest); }
details[open] summary::after { content: '−'; }
details p { padding: 0 42px 22px 0; margin: 0; color: var(--muted); }

.final-cta { padding: 85px 0; background: var(--coral); }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.final-cta h2 { max-width: 730px; margin-bottom: 10px; }
.final-cta p:last-child { max-width: 680px; margin: 0; color: rgba(36,48,43,.78); }
.final-cta .eyebrow { color: var(--forest-dark); }
.button-light { border-color: var(--paper); background: var(--paper); color: var(--forest); }
.button-light:hover, .button-light:focus-visible { background: var(--white); color: var(--forest-dark); }

.site-footer { padding: 70px 0 20px; background: #182820; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr 1fr; gap: 65px; padding-bottom: 55px; }
.footer-grid h2 { margin-bottom: 15px; font-family: var(--sans); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid p { max-width: 430px; color: rgba(255,255,255,.62); }
.footer-grid > div > a:not(.brand), .footer-grid address a, .footer-grid address span { display: block; margin: 7px 0; color: rgba(255,255,255,.72); font-style: normal; text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-brand .brand-mark { background: var(--coral); color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.58); font-size: .84rem; }
.footer-bottom a { color: inherit; }
.compact-footer { padding-top: 20px; }

.legal-main { padding: 85px 0 110px; }
.legal-document { max-width: 820px; }
.legal-document h1 { font-size: clamp(3rem, 6vw, 5rem); }
.legal-intro { margin-bottom: 54px; color: var(--muted); font-size: 1.15rem; }
.legal-document h2 { margin-top: 42px; margin-bottom: 12px; font-family: var(--serif); font-size: 1.75rem; }
.legal-document p { color: #56625c; }
.legal-contact { display: grid; gap: 6px; padding: 25px; border-radius: 16px; background: var(--cream); font-style: normal; }
.legal-contact a { color: var(--forest); font-weight: 700; }

.modal-layer { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12, 23, 18, .72); backdrop-filter: blur(5px); }
.modal-panel { position: relative; z-index: 1; width: min(580px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 48px; border: 1px solid rgba(255,255,255,.5); border-radius: 28px; background: var(--paper); box-shadow: 0 32px 100px rgba(0,0,0,.3); text-align: center; animation: modal-in .25s ease-out both; }
.modal-close { position: absolute; top: 15px; right: 17px; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.8rem; line-height: 1; }
.modal-close:hover, .modal-close:focus-visible { background: var(--cream); }
.processing-visual { width: 150px; margin: 0 auto 25px; }
.processing-visual svg { overflow: visible; }
.thread-ring { fill: none; stroke: var(--mint); stroke-width: 10; }
.thread-path { fill: none; stroke: var(--forest); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; animation: stitch 1.6s linear infinite; }
.needle-shape { fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; animation: needle 1.2s ease-in-out infinite alternate; }
.modal-panel h2 { font-size: clamp(2rem, 6vw, 3rem); }
.modal-stage { min-height: 28px; color: var(--muted); }
.progress-track { height: 8px; margin: 26px 0 10px; overflow: hidden; border-radius: 99px; background: #deddd5; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--coral); transition: width .55s ease; }
.modal-next { margin-top: 22px; }
.modal-items { display: grid; gap: 14px; margin: 32px 0; }
.modal-item { min-height: 76px; display: flex; align-items: center; justify-content: center; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); font-weight: 700; text-align: center; }
.modal-item-row { gap: 0; flex-wrap: wrap; }
.modal-item-row [contenteditable="true"] { border-bottom: 1px dashed var(--forest); outline: none; }
.modal-item-row [contenteditable="true"]:focus { background: #eef6f1; }
.modal-disabled { width: 100%; border-color: #a7aaa8; background: #d7d9d7; color: #727773; box-shadow: none; cursor: not-allowed; }
.modal-disabled:hover { background: #d7d9d7; transform: none; box-shadow: none; }

@keyframes stitch { to { stroke-dashoffset: -260; } }
@keyframes needle { from { transform: translate(-3px, 3px); } to { transform: translate(3px, -3px); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; align-items: stretch; padding: 22px 20px 28px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(36,48,43,.1); }
  .site-nav.is-open { display: grid; }
  .site-nav .button { width: 100%; }
  .hero-grid, .process-grid, .checklist-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 65px; }
  .hero-art { width: min(540px, 100%); margin: 0 auto; }
  .split-heading { grid-template-columns: 1fr; gap: 10px; }
  .process-copy { position: static; }
  .skill-grid { grid-template-columns: 1fr; }
  .checklist-art { min-height: 430px; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta-inner .button { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  .section { padding: 78px 0; }
  .hero { padding: 56px 0 65px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-art { min-height: 430px; }
  .pattern-card { width: 220px; padding: 15px; }
  .pattern-card svg { width: 135px; height: 130px; }
  .card-shirt { left: 0; }
  .card-bag { right: 0; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 0; }
  .process-grid, .checklist-grid, .faq-grid { gap: 52px; }
  .checklist-art { min-height: 360px; }
  .fabric { width: 230px; height: 290px; }
  .fabric-one { left: 20px; top: 70px; }
  .spool { right: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .modal-panel { padding: 46px 20px 26px; border-radius: 22px; }
  .processing-visual { width: 115px; }
  .modal-item { min-height: 68px; padding: 16px 12px; font-size: .9rem; }
}

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