/* Mittar / October 2026. Cotton for reading; vivid silk for identity.
   One stylesheet owns this study. The earlier forest study is preserved separately. */
@font-face {
  font-family: Punjabi;
  src: url('assets/fonts/NotoSansGurmukhi.ttf') format('truetype');
  font-display: swap;
}
:root {
  --cotton: #faf5e9;
  --paper: #fffdf7;
  --ink: #302720;
  --muted: #706052;
  --laal: #912d23;
  --deep: #60231c;
  --rani: #ef4580;
  --gold: #ffd45a;
  --cream: #fff3d6;
  --line: #ddd1bc;
  --serif: Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --page: clamp(22px, 6vw, 100px);
  --nav-height: 88px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  background: var(--cotton);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3,em { font-weight: 400; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid var(--laal);
  outline-offset: 5px;
}
.craft :focus-visible, .invitation :focus-visible, dialog :focus-visible {
  outline-color: var(--gold);
}
.skip { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--cotton); }
.skip:focus { top: 12px; }
.section-pad { padding: 100px var(--page); }
.eyebrow { font-size: 11px; line-height: 1.6; letter-spacing: .15em; font-weight: 600; }
.eyebrow.dark { color: var(--laal); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 9px; vertical-align: middle; }
.nav {
  position: fixed; z-index: 20; inset: 0 0 auto; height: 88px;
  padding: 0 var(--page); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--cotton); border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav-scrolled .nav { border-color: var(--line); box-shadow: 0 4px 20px #30272005; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 39px/1 var(--serif); letter-spacing: -2.8px; color: var(--laal); }
.wordmark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.nav nav { display: flex; gap: 32px; font-size: 13px; }
.nav nav a { position: relative; padding: 14px 0; }
.nav nav a::after { content: ''; position: absolute; bottom: 9px; left: 0; right: 0; height: 1px; background: var(--laal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav nav a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.motion-button { background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; min-height: 44px; min-width: 44px; padding: 8px; color: var(--muted); }
.motion-button>span:first-child { font-size: 15px; width: 13px; }
.sign-in { display: inline-flex; align-items: center; gap: 25px; min-height: 44px; background: var(--laal); color: var(--cream); padding: 11px 20px; border-radius: 99px; font-size: 12px; }
.sign-in:hover { background: var(--deep); }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 40px; min-height: 52px; border-radius: 99px; padding: 15px 25px; font-size: 13px; font-weight: 500; transition: background .25s, box-shadow .25s; }
.button.gold { background: var(--laal); color: var(--cream); }
.button.gold:hover { background: var(--deep); box-shadow: 0 6px 18px #60231c16; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; background: transparent; font-size: 13px; }
.text-link:hover { color: var(--laal); }
.play { font-size: 18px; }
.hero { position:relative;min-height:790px;overflow:clip;isolation:isolate;padding:125px var(--page) 80px;display:grid;grid-template-columns:1fr 1.12fr;gap:40px;background:var(--cotton); }
.hero-atmosphere { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 75% 50%,#e9d8b250,transparent 56%); }
.landscape-layer { position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: repeating-linear-gradient(0deg,transparent 0 3px,#b8946920 3px 4px), repeating-linear-gradient(90deg,transparent 0 3px,#b8946914 3px 4px); mask-image: linear-gradient(to right,transparent 15%,#000 75%); }
.hero-copy { align-self:center;position:relative;z-index:3;padding:0 0 25px; }
.hero .eyebrow { color: var(--laal); margin-bottom: 30px; }
.hero h1 { font: clamp(58px,6vw,96px)/1.06 var(--serif); letter-spacing: -.055em; }
.hero h1 em { color: var(--laal); white-space: nowrap; letter-spacing: -.058em; }
.hero-punjabi { font: 19px/1.8 Punjabi,sans-serif; color: var(--laal); margin-top: 24px; }
.lede { font-size: 16px; line-height: 1.75; color: var(--muted); margin-top: 25px; max-width: 400px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta { margin-top: 23px; font-size: 12px; color: var(--muted); }
.hero-meta span { display: block; font-size: 11px; margin-top: 2px; }
.hero-stage { align-self:center;position:relative;height:620px;min-width:0;margin:0; }
#hero-cloth { position:absolute;right:0;top:68px;width:64%;height:350px;transform:rotate(9deg);filter:drop-shadow(10px 18px 14px #60231c20); }
.hero-product-peek { position:absolute;z-index:2;width:226px;right:12px;top:78px;padding:7px;background:var(--paper);border:1px solid #cbb898;border-radius:27px;box-shadow:0 2px 4px #39261d15,0 22px 50px #39261d22;text-align:left; }
.hero-product-peek:hover { box-shadow:0 4px 8px #39261d15,0 24px 55px #39261d2b; }
.hero-product-peek>img { width:100%;height:auto;border-radius:20px; }
.peek-label { display:flex;justify-content:space-between;padding:10px 7px 5px;font-size:10px;color:var(--laal); }
#hero-form-label { font:30px/1.17 var(--serif);letter-spacing:-.035em; }
.hero-form-controls { position:relative;z-index:3;display:flex;gap:4px;margin:12px 0 0;border:1px solid var(--line);border-radius:99px;width:fit-content;padding:4px;background:var(--paper); }
.hero-form-controls button { border:1px solid transparent;border-radius:99px;padding:8px 15px;min-height:44px;background:transparent;font-size:12px;color:var(--muted); }
.hero-form-controls button[aria-pressed=true] { border-color:var(--laal);color:var(--cream);background:var(--laal); }
.hero-form-controls button:hover { background: #eadfca; }
.demo-topline {display:flex;justify-content:space-between;gap:16px;font-size:9px;letter-spacing:.1em;color:var(--muted);padding-top:5px;}
.demo-summary {position:absolute;z-index:4;left:0;top:150px;width:252px;border:1px solid #d8c5a8;border-radius:18px;background:var(--paper);padding:24px;box-shadow:0 12px 32px #60231c0c;}
.demo-kicker {font-size:8px;letter-spacing:.1em;color:var(--laal);margin-bottom:18px;font-weight:600;}
.demo-answer {margin:22px 0 18px;border-top:1px solid var(--line);padding-top:18px;}
.demo-answer>span {font-size:9px;color:var(--laal);letter-spacing:.06em;}
.demo-answer p {font-size:15px;line-height:1.7;margin-top:9px;}
.demo-evidence {font-size:10px;line-height:1.65;color:var(--muted);}
.demo-disclosure {position:absolute;left:0;right:0;bottom:0;font-size:10px;line-height:1.7;color:var(--muted);}
.hero-recipe {position:relative;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);width:100%;}

.hero-bottom { position: absolute; bottom: 32px; left: var(--page); right: var(--page); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; font-size: 9px; color: var(--muted); letter-spacing: .11em; }
.hero-bottom a { font-size: 11px; letter-spacing: 0; display: flex; align-items: center; gap: 20px; min-height: 30px; }
.product-section { background: var(--cotton); padding-bottom: 95px; }
.product-top { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 48px; }
.product-top h2 { font: 62px/1.12 var(--serif); letter-spacing: -.045em; margin-top: 20px; }
.product-top h2 em { color: var(--laal); }
.product-intro { font-size: 13px; color: var(--muted); }
.capture-badge { display: block; width: fit-content; margin-bottom: 12px; border: 1px solid #c4b299; border-radius: 99px; padding: 5px 10px; font-size: 8px; letter-spacing: .12em; color: var(--ink); }
.product-showcase { margin: 0 var(--page); display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); overflow: clip; }
.product-selector { position: sticky; top: var(--nav-height); z-index: 10; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); background: #f5eedf; padding: 10px; gap: 6px; }
.product-selector button { display: flex; align-items: center; justify-content: center; gap: 20px; text-align: left; min-height: 76px; border-radius: 15px; border: 1px solid transparent; background: transparent; font-size: 15px; font-weight: 500; transition: background .3s, border-color .3s; }
.product-selector button[aria-pressed=true] { background: var(--paper); border-color: #ccb397; box-shadow: 0 2px 7px #60231c09; color: var(--laal); }
.product-selector button:hover { background: #fffbf2; }
.selector-index { font: italic 23px/1 var(--serif); color: #81715d; }
.product-selector small { display: block; font-size: 10px; color: var(--muted); font-weight: 400; margin-top: 3px; }
/* Reserve the cooking-control space so switching tasks cannot move later chapters. */
.screen-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 860px; padding: 38px 26px 30px; background: #f3ecd9; isolation: isolate; }
.screen-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .4; background: radial-gradient(ellipse at 50% 50%,#e6d4a855,transparent 65%),repeating-linear-gradient(0deg,transparent 0 3px,#c5a46a0b 3px 4px),repeating-linear-gradient(90deg,transparent 0 3px,#c5a46a0b 3px 4px); }
.screen-halo,.screen-orbit,.screen-light,.phone-glass { display: none; }
.phone { position: relative; padding: 7px; border-radius: 32px; border: 1px solid #b7a994; background: #e7ddc6; box-shadow: 0 2px 3px #3e302518,0 25px 50px #3e30251c; overflow: hidden; }
.product-phone { width: 270px; max-width: 100%; }
.phone img { width: 100%; height: auto; border-radius: 25px; }
.screen-overlay { position: absolute; inset: 7px; width: calc(100% - 14px) !important; opacity: 0; }
.screen-caption { font-size: 9px; letter-spacing: .09em; color: var(--muted); text-align: center; }
.enlarge { padding: 6px 10px; min-height: 44px; background: transparent; font-size: 12px; color: var(--laal); text-decoration: underline; text-underline-offset: 4px; }
.product-story { align-self: center; padding: 40px 50px 40px 0; min-width: 0; }
.story-number { display: block; font: italic 42px/1 var(--serif); color: #ae8970; margin-bottom: 35px; }
.story-content .eyebrow { font-size: 10px; }
.story-content h3 { font: 47px/1.13 var(--serif); letter-spacing: -.045em; margin: 20px 0 25px; }
.story-content>p:not(.eyebrow) { font-size: 15px; color: var(--muted); max-width: 370px; }
.story-detail { display: flex; align-items: flex-start; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.detail-mark { color: var(--laal); font-size: 16px; }
.story-navigation { display: flex; align-items: center; gap: 18px; margin-top: 30px; font-size: 10px; letter-spacing: .12em; }
.story-navigation button,.tour-nav button { background: transparent; border: 1px solid #b9a893; border-radius: 50%; width: 44px; height: 44px; font-size: 18px; }
.story-navigation button:hover { background: #efe4cf; }
.capture-note { margin-top: 26px; font-size: 10px; line-height: 1.9; color: var(--muted); }
.capture-note a { text-decoration: underline; text-underline-offset: 3px; }
.recipe-panel { width: 100%; max-width: 350px; }
#product-recipe { position: sticky; top: calc(var(--nav-height) + 100px); z-index: 4; background: #f3ecd9; padding: 9px 0; }
.recipe-context { display: flex; justify-content: space-between; font-size: 8px; color: var(--muted); letter-spacing: .1em; margin-bottom: 8px; }
.recipe-buttons { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
.recipe-buttons button { background: #e9dfc8; border: 1px solid transparent; padding: 8px 5px; min-height: 44px; font-size: 10px; border-radius: 8px; }
.recipe-buttons button>span { display: block; font-size: 8px; }
.recipe-buttons button[aria-pressed=true] { background: var(--laal); color: var(--cream); border-color: var(--laal); }
.craft { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; background: var(--deep); color: var(--cream); position: relative; overflow: hidden; isolation: isolate; padding-top: 110px; padding-bottom: 110px; }
.craft::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .32; background-image: repeating-linear-gradient(0deg,transparent 0 3px,#ffc9690b 3px 4px), repeating-linear-gradient(90deg,transparent 0 3px,#ffc9690b 3px 4px); }
.craft .eyebrow { color: var(--gold); }
.craft h2 { font: 64px/1.1 var(--serif); letter-spacing: -.045em; margin: 22px 0 28px; }
.craft h2 em { color: var(--gold); }
.craft-copy>p:not(.eyebrow) { font-size: 16px; line-height: 1.8; }
.craft-copy>p.craft-description { max-width: 370px; font-size: 14px; color: #e5c9ad; margin-top: 22px; }
.craft-controls { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 30px; }
.craft-controls button { background: transparent; border: 1px solid #b98064; padding: 10px 15px; min-height: 44px; font-size: 11px; border-radius: 99px; }
.craft-controls button[aria-pressed=true] { background: var(--cream); border-color: var(--cream); color: var(--deep); }
.craft-controls button:hover { border-color: var(--gold); }
.palette-controls { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.palette-controls button { display: flex; align-items: center; gap: 7px; background: transparent; min-height: 44px; padding: 6px 0; font-size: 10px; color: #e5c9ad; border-bottom: 1px solid transparent; }
.palette-controls button[aria-pressed=true] { color: var(--cream); border-bottom-color: var(--gold); }
.palette-controls button>span { width: 9px; height: 9px; border-radius: 50%; background: var(--rani); box-shadow: 0 0 0 1px #ffffff60; }
.palette-controls [data-palette=gold]>span { background: var(--gold); }
.palette-controls [data-palette=indigo]>span { background: #8dafd2; }
.craft-copy>p.craft-note { font-size: 11px; color: #e5c9ad; margin-top: 18px; max-width: 360px; }
.craft-stage { position: relative; min-height: 610px; height: 610px; min-width: 0; }
#craft-cloth { width: 100%; height: 100%; transform: rotate(5deg); filter: drop-shadow(8px 22px 18px #29130f40); }
.cloth-shadow { display: none; }
.material-caption { position: absolute; bottom: 0; left: 7%; right: 7%; display: flex; justify-content: space-between; gap: 15px; font-size: 8px; color: #e5c9ad; letter-spacing: .1em; }
.invitation { position: relative; overflow: hidden; isolation: isolate; background: #852b21; color: var(--cream); text-align: center; padding-top: 110px; padding-bottom: 105px; }
.invitation-horizon { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%,#b5452535,transparent 60%); }
.invitation::after { content: ''; position: absolute; bottom: 20px; left: 0; right: 0; height: 8px; opacity: .5; background: url('assets/stitch-border.svg') repeat-x center; }
.invitation .eyebrow { color: var(--gold); }
.invitation h2 { font: 64px/1.12 var(--serif); letter-spacing: -.045em; margin: 22px 0 25px; }
.invitation h2 em { color: var(--gold); }
.invitation-content>p:not(.eyebrow) { color: #f3d5b7; font-size: 14px; }
.invitation .button { margin-top: 30px; background: var(--gold); color: var(--ink); }
.invitation .button:hover { background: #ffe39a; }
.invitation-content>p.beta-note { margin-top: 17px; font-size: 11px; }
footer { padding: 60px var(--page) 30px; background: var(--cotton); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.footer-main .wordmark { font-size: 45px; align-self: start; }
.footer-main p { font-size: 13px; color: var(--muted); }
.footer-main>div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 11px; }
.footer-preview { background: transparent; padding: 0; min-height: 32px; font-size: 11px; text-align: left; }
.footer-main a:hover,.footer-preview:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); margin-top: 50px; padding-top: 22px; font-size: 9px; color: var(--muted); }
dialog { border: 1px solid #b98064; border-radius: 24px; background: var(--deep); color: var(--cream); box-shadow: 0 30px 80px #21100d40; max-height: 90svh; padding: 40px; }
dialog::backdrop { background: #21120cb8; backdrop-filter: blur(7px); }
body.modal-open { overflow: hidden; }
.close { position: absolute; right: 18px; top: 15px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: #fff3d612; border: 1px solid #b98064; color: var(--cream); font: 26px/1 sans-serif; }
.close:hover { background: #fff3d628; }
#tour { width: min(900px,94vw); }
.tour-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tour-visual { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tour-screen { width: 245px; max-height: 65svh; overflow-y: auto; border-radius: 22px; border: 4px solid #e8d6bb; background: var(--cotton); }
.tour-screen img { width: 100%; height: auto; }
.tour-copy .eyebrow { color: var(--gold); font-size: 9px; }
.tour-copy h2 { font: 44px/1.12 var(--serif); letter-spacing: -.035em; margin: 22px 0; }
.tour-copy>p:not(.eyebrow) { font-size: 14px; color: #e5c9ad; }
.tour-copy .tour-word { margin-top: 20px; color: var(--gold); }
.tour-copy .tour-disclosure,.tour-copy .keyboard-hint { font-size: 10px; margin-top: 20px; }
.tour-nav { display: flex; align-items: center; gap: 20px; margin-top: 25px; font-size: 11px; }
.tour-nav button { border-color: #b98064; }
.recipe-panel-dark .recipe-context { color: #e5c9ad; }
.recipe-panel-dark .recipe-buttons button { background: #752f24; color: var(--cream); border-color: #b98064; }
.recipe-panel-dark .recipe-buttons button[aria-pressed=true] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.js-motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .75s var(--ease),transform .75s var(--ease); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
.motion-paused { scroll-behavior: auto !important; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

@media(min-width:1600px) {
  .hero { min-height:850px;padding-top:150px; }
  .hero-stage { height:640px;max-width:730px; }
  #hero-cloth { height:380px; }
  .hero-product-peek { width:242px;top:78px; }
}
@media(max-width:1100px) {
  :root { --page: 5vw; }
  .nav { gap: 20px; }
  .nav nav { gap: 20px; font-size: 12px; }
  .nav-actions { gap: 10px; }
  .sign-in { gap: 15px; }
  .hero { min-height:780px;gap:24px; }
  .hero h1 { font-size:6.8vw; }
  .hero-stage { height:595px;margin:0; }
  #hero-cloth { height:300px; }
  .hero-product-peek { width:202px;right:0;top:80px; }
  .demo-summary {width:214px;padding:20px;top:120px;}
  #hero-form-label {font-size:27px;}
  .hero-actions { gap: 15px; }
  .hero .button { gap: 30px; }
  .product-showcase { gap: 0 30px; }
  .product-story { padding-right: 30px; }
  .story-content h3 { font-size: 40px; }
  .craft { gap: 10px; }
  .craft h2 { font-size: 55px; }
  .craft-stage { height: 530px; min-height: 530px; }
}
@media(max-width:800px) {
  :root { --page: 28px; --nav-height: 76px; }
  .nav { height: 76px; gap: 15px; }
  .wordmark { font-size: 34px; }
  .nav nav { display: none; }
  .motion-button { font-size: 10px; }
  .hero { min-height:0;padding-top:128px;padding-bottom:90px;grid-template-columns:1fr;gap:32px; }
  .hero-copy { padding: 0; max-width: 640px; }
  .hero h1 { font-size: clamp(58px,10vw,84px); }
  .hero .eyebrow { margin-bottom: 24px; }
  .hero-stage { width:min(600px,100%);height:620px;margin:0 auto; }
  #hero-cloth { height:350px; }
  .hero-product-peek { width:236px;right:16px;top:78px; }
  .demo-summary {width:260px;padding:24px;}
  .hero-meta span { display: inline; margin-left: 12px; }
  .hero-bottom { bottom: 25px; }
  .section-pad { padding: 75px var(--page); }
  .product-top h2 { font-size: 53px; }
  .product-top { padding-bottom: 35px; flex-direction: column; align-items: start; gap: 22px; }
  .product-intro { font-size: 12px; }
  .product-intro br { display: none; }
  .product-intro .capture-badge { margin-bottom: 8px; }
  .product-showcase { gap: 0 30px; }
  .product-selector button { gap: 12px; min-height: 70px; font-size: 13px; }
  .product-selector small { font-size: 10px; }
  .selector-index { font-size: 20px; }
  .screen-stage { padding: 25px 15px; min-height: 770px; }
  .product-phone { width: 235px; }
  .product-story { padding: 30px 25px 30px 0; }
  .story-number { font-size: 35px; margin-bottom: 25px; }
  .story-content h3 { font-size: 33px; }
  .story-content>p:not(.eyebrow) { font-size: 13px; }
  .craft { grid-template-columns: 1fr; gap: 30px; }
  .craft-copy>p.craft-description { max-width: 480px; }
  .craft-stage { width: min(620px,100%); height: 530px; min-height: 530px; margin: 0 auto; }
  .invitation h2 { font-size: 52px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main>div { grid-column: 1 / -1; flex-direction: row; gap: 25px; align-items: center; }
}
@media(max-width:600px) {
  :root { --page: 24px; --nav-height: 72px; }
  html { scroll-padding-top: 92px; }
  .nav { padding: 0 20px; height: 72px; }
  .wordmark { font-size: 32px; gap: 7px; }
  .wordmark svg { width: 22px; height: 22px; }
  .nav-actions { gap: 8px; }
  .motion-button { padding: 8px 4px; }
  .motion-label { display: none; }
  .motion-button>span:first-child { width: 24px; text-align: center; }
  .sign-in { font-size: 10px; padding: 10px 13px; gap: 12px; }
  .hero { padding-top:98px;gap:22px; }
  .hero h1 { font-size: clamp(48px,12.8vw,73px); letter-spacing: -.055em; }
  .hero .eyebrow { font-size: 9px; margin-bottom: 18px; }
  .hero-punjabi { font-size: 18px; margin-top: 17px; }
  .lede { font-size: 14px; margin-top: 14px; }
  .hero-actions { gap: 20px; margin-top: 20px; }
  .hero .button { padding: 13px 20px; min-height: 48px; font-size: 12px; gap: 25px; }
  .hero .text-link { font-size: 11px; gap: 7px; }
  .demo-topline {font-size:8px;}
  .hero-form-controls {margin-top:0;width:100%;justify-content:space-between;}
  .hero-form-controls button {flex:1;padding:8px 10px;min-height:44px;font-size:11px;}
  .demo-summary {position:relative;left:auto;top:auto;width:100%;padding:20px;grid-row:4;}
  #hero-form-label {font-size:29px;}
  .demo-answer {margin:16px 0 12px;padding-top:12px;}
  .demo-kicker {margin-bottom:12px;}
  .demo-disclosure {position:relative;bottom:auto;font-size:10px;grid-row:6;}
  .hero-recipe {position:relative;left:auto;bottom:auto;max-width:none;min-height:0;width:100%;grid-row:5;}
  .hero-meta { display:block; margin-top:14px; font-size:11px; line-height:1.45; }
  .hero-meta span { display:block; margin:3px 0 0; font-size:10px; }
  .hero-stage { width:100%;height:auto;min-height:0;display:grid;grid-template-columns:1fr;gap:18px;margin:0; }
  #hero-cloth { right:-12px;top:68px;width:75%;height:300px; }
  .hero-product-peek { position:relative;justify-self:center;width:min(246px,85%);right:auto;top:auto;border-radius:25px;padding:6px;grid-row:3; }
  .hero-product-peek>img { border-radius:19px; }
  .peek-label { font-size:10px;padding:9px 6px 4px; }
  #hero-form-label { font-size:29px; }
  .hero-form-controls { margin-top:0; }
  .hero-form-controls button { padding:8px 10px;font-size:11px; }
  .hero-bottom { padding-top: 15px; font-size: 7px; gap: 20px; }
  .hero-bottom>span { max-width: 150px; }
  .hero-bottom a { font-size: 9px; gap: 10px; }
  .section-pad { padding-top: 65px; padding-bottom: 65px; }
  .eyebrow { font-size: 9px; }
  .product-top h2 { font-size: 45px; }
  .product-section { padding-bottom: 65px; }
  .product-top { padding-bottom: 28px; }
  .product-showcase { grid-template-columns: 1fr; border-radius: 20px; }
  .product-selector { padding: 7px; gap: 4px; }
  .product-selector button { gap: 0; text-align: center; font-size: 12px; min-height: 65px; border-radius: 12px; }
  .product-selector small { font-size: 9px; }
  .selector-index { display: none; }
  .screen-stage { min-height: 760px; padding: 30px 20px 20px; gap: 12px; }
  .product-phone { width: 235px; }
  .screen-caption { font-size: 8px; }
  .product-story { padding: 35px 26px; }
  .story-number { margin-bottom: 20px; }
  .story-content h3 { font-size: 37px; margin-top: 15px; margin-bottom: 20px; }
  .story-content>p:not(.eyebrow) { font-size: 14px; }
  .story-detail { margin-top: 23px; padding-top: 20px; }
  .story-navigation { margin-top: 25px; }
  .recipe-context { font-size: 7px; }
  #product-recipe { top: calc(var(--nav-height) + 81px); }
  .craft h2 { font-size: 49px; }
  .craft-copy>p:not(.eyebrow) { font-size: 15px; }
  .craft-copy>p.craft-description { font-size: 13px; }
  .craft-controls button { padding: 10px 13px; font-size: 10px; }
  .palette-controls { gap: 14px; }
  .palette-controls button { font-size: 9px; }
  .craft-stage { width: calc(100% + 20px); margin-left: -10px; height: 400px; min-height: 400px; }
  .material-caption { font-size: 6px; left: 6%; right: 6%; }
  .invitation h2 { font-size: 43px; }
  .invitation-content>p:not(.eyebrow) { font-size: 12px; }
  .invitation h2 em { display: block; }
  .invitation { padding-bottom: 85px; }
  footer { padding-top: 45px; }
  .footer-main p { font-size: 12px; }
  .footer-main>div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 30px; }
  dialog { padding: 55px 20px 25px; border-radius: 20px; max-height: 92svh; }
  .tour-layout { grid-template-columns: 1fr; gap: 25px; }
  .tour-screen { width: 235px; max-height: 47svh; }
  .tour-copy h2 { font-size: 34px; margin: 16px 0; }
  .tour-copy>p:not(.eyebrow) { font-size: 12px; }
  .tour-copy .tour-disclosure,.tour-copy .keyboard-hint { margin-top: 13px; font-size: 9px; }
  .tour-nav { margin-top: 18px; }
}
@media(max-width:370px) {
  :root { --page: 20px; }
  .nav { padding: 0 16px; gap: 8px; }
  .sign-in { gap: 8px; padding: 10px 11px; font-size: 9px; }
  .nav-actions { gap: 2px; }
  .hero-actions { gap: 13px; }
  .hero h1 { font-size: 45px; }
  .hero .text-link { font-size: 10px; }
  .hero .button { gap: 20px; padding: 12px 16px; }
  .hero-stage { height:auto; }
  #hero-cloth { height:280px; }
  .hero-product-peek { width:min(230px,90%);top:auto; }
  #hero-form-label { font-size:27px; }
  .hero-form-controls button { padding:8px 9px; }
  .product-top h2 { font-size: 37px; }
  .product-phone { width: 220px; }
  .screen-stage { padding-left: 14px; padding-right: 14px; min-height: 720px; }
  .product-selector button { font-size: 11px; }
  .product-selector small { font-size: 9px; }
  .product-story { padding: 28px 22px; }
  .story-content h3 { font-size: 33px; }
  .craft h2 { font-size: 42px; }
  .craft-stage { height: 350px; min-height: 350px; }
  .palette-controls { gap: 11px; }
  .palette-controls button { font-size: 8px; }
  .invitation h2 { font-size: 36px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .hero-product-peek:hover { transform:none; }
  .js-motion .reveal { opacity: 1; transform: none; }
}

/* Public-candidate footer */
.footer-links{display:flex;flex-direction:column;align-items:flex-start;font-size:12px;}
.footer-links a{display:inline-flex;align-items:center;min-height:44px;}

/* BUI-246: the beta name stays readable at phone widths. */
.wordmark .brand-beta {font:600 11px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.04em;border:1px solid currentColor;border-radius:4px;padding:5px 6px;margin-left:1px;}
@media(max-width:420px){.nav .wordmark{font-size:22px;gap:5px}.nav .wordmark svg{width:22px;height:22px}.hero-copy .eyebrow{max-width:100%;line-height:1.6;}}
