/* ==========================================================================
   Thulli (Nadan Nidra): food venture theme, v2.2
   Design language from the Thulli label studio: deep green + mint, a drop mark,
   wide-tracked Montserrat wordmark, Cormorant italic, DM Sans text.
   All fonts are self-hosted (SIL OFL). No external requests.
   ========================================================================== */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-var.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

.theme-thulli {
  --th-ink: #0b101c; --th-green: #14532d; --th-leaf: #1f7a45; --th-mint: #5bd08a; --th-mint-bg: #eff5f0; --th-mint-2: #dfeae2;
  --th-gold: #b88a28; --th-gold-2: #e5c158; --th-slate: #334155; --th-line: rgba(20,83,45,.16);
  --accent: #5bd08a; --accent-2: #e5c158; --accent-ink: #14532d; --cream: var(--th-mint-bg); --glow: rgba(91,208,138,.2);
  --font: "DM Sans", "Inter", "Indic", ui-sans-serif, system-ui, sans-serif;
  --th-display: "Cormorant Garamond", "Indic", Georgia, serif;
  --th-caps: "Montserrat", "DM Sans", ui-sans-serif, sans-serif;
  --muted-light: #3f4a5c;
  font-family: var(--font);
}
.theme-thulli h1, .theme-thulli h2, .theme-thulli h3, .theme-thulli h4 { font-family: var(--th-display); font-weight: 500; letter-spacing: -.01em; }
.theme-thulli h1 { font-weight: 500; line-height: 1.02; letter-spacing: -.02em; }
.theme-thulli h2 { font-size: var(--step-4); font-weight: 500; line-height: 1.04; letter-spacing: -.015em; }
.theme-thulli h3 { font-size: var(--step-2); }
.theme-thulli .eyebrow { font-family: var(--th-caps); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--th-leaf); }
.theme-thulli .dark .eyebrow, .theme-thulli .th-hero .eyebrow, .theme-thulli .leaf-band .eyebrow { color: var(--th-mint); }
.theme-thulli .lede { color: var(--muted-light); }
.theme-thulli .th-hero .lede, .theme-thulli .dark .lede { color: #c5d6ca; }
.theme-thulli .section.dark { background: #0b1f15; color: #eff5f0; }
.theme-thulli .section.light { background: var(--th-mint-bg); }
.theme-thulli .accent { color: var(--th-gold-2); font-style: italic; }
.theme-thulli :focus-visible { outline-color: var(--th-leaf); }
.theme-thulli .th-hero :focus-visible, .theme-thulli .dark :focus-visible { outline-color: var(--th-mint); }

/* sub-navigation under the group header */
.thulli-sub { background: #0b1f15; border-bottom: 1px solid rgba(91,208,138,.2); color: #eff5f0; }
.thulli-sub nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: .55rem; flex-wrap: wrap; }
.ts-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #eff5f0; font-family: var(--th-caps); font-weight: 700; letter-spacing: .24em; font-size: .82rem; text-transform: uppercase; }
.ts-brand img { width: 62px; height: auto; }
.ts-brand span { display: flex; flex-direction: column; gap: .1rem; }
.ts-brand em { font-family: var(--th-display); font-style: italic; font-weight: 500; letter-spacing: .03em; text-transform: none; font-size: 1rem; color: #c9d8ce; }
.thulli-sub ul { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem .3rem; margin: 0; padding: 0; }
.thulli-sub ul a { display: inline-block; padding: .55rem .85rem; border-radius: 999px; font-size: .86rem; font-weight: 500; text-decoration: none; color: #c9d8ce; transition: background .2s, color .2s; }
.thulli-sub ul a:hover { color: #fff; background: rgba(91,208,138,.12); }
.thulli-sub ul a[aria-current="page"] { color: #0b101c; background: var(--th-mint); font-weight: 600; }
.thulli-sub a:focus-visible { outline: 2px solid var(--th-mint); outline-offset: 2px; }
@media (max-width: 760px) { .ts-brand { display: none; } .thulli-sub nav { justify-content: center; } .thulli-sub ul { justify-content: center; } .thulli-sub ul a { padding: .5rem .7rem; font-size: .82rem; } }

/* hero */
.th-hero { position: relative; overflow: hidden; color: #eff5f0; background: radial-gradient(120% 100% at 82% 18%, #14402a 0%, #0b1f15 48%, #0b101c 100%); padding-block: clamp(3.5rem, 2rem + 6vw, 8rem); }
.th-hero::before { content: ""; position: absolute; right: -8%; top: -30%; width: 62vw; height: 62vw; max-width: 880px; max-height: 880px; background: radial-gradient(closest-side, rgba(91,208,138,.2), transparent 70%); pointer-events: none; }
.th-hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.th-hero h1 { font-size: clamp(2.6rem, 1.5rem + 3.6vw, 5rem); color: #fff; max-width: 13ch; }
.th-hero .lede { margin-top: 1.6rem; max-width: 30em; }
.th-lockup { width: clamp(150px, 15vw, 190px); margin-bottom: 1.6rem; }
.th-lockup img { width: 100%; height: auto; }
.th-stage { position: relative; display: grid; place-items: center; }
.th-stage::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(91,208,138,.28); }
.th-stage::after { content: ""; position: absolute; width: 64%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(229,193,88,.3); }
.th-stage img { position: relative; z-index: 1; width: min(100%, 440px); height: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.45)); }
.th-stage figcaption { position: absolute; bottom: -.4rem; z-index: 2; font-size: .72rem; letter-spacing: .04em; color: #c5d6ca; background: rgba(11,16,28,.72); border: 1px solid rgba(91,208,138,.25); padding: .3rem .8rem; border-radius: 999px; }
.th-meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(91,208,138,.22); }
.th-meta div { font-size: .8rem; color: #b6c8bc; }
.th-meta b { display: block; color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: .15rem; }
@media (max-width: 900px) { .th-hero-inner { grid-template-columns: 1fr; } .th-stage { order: -1; max-width: 340px; margin-inline: auto; } .th-hero h1 { max-width: 14ch; } }

.th-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s; cursor: pointer; font-family: var(--font); }
.th-btn .arrow { transition: transform .3s var(--ease); } .th-btn:hover .arrow { transform: translateX(4px); }
.th-btn-mint { background: var(--th-mint); color: #0b101c; } .th-btn-mint:hover { box-shadow: 0 14px 36px -12px var(--th-mint); transform: translateY(-1px); }
.th-btn-green { background: var(--th-green); color: #fff; } .th-btn-green:hover { background: #0f4224; box-shadow: 0 14px 34px -14px #14532d; transform: translateY(-1px); }
.th-btn-line { background: transparent; color: #eff5f0; border-color: rgba(239,245,240,.35); } .th-btn-line:hover { border-color: var(--th-mint); }
.th-btn-line.on-light { color: var(--th-green); border-color: var(--th-line); } .th-btn-line.on-light:hover { border-color: var(--th-green); }

/* status ribbon (pre-launch honesty) */
.th-status { background: #f6efd9; color: #3b2f0c; border-bottom: 1px solid #e5d49a; font-size: .86rem; }
.th-status .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem; padding-block: .75rem; }
.th-status b { font-family: var(--th-caps); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; background: #3b2f0c; color: #f6efd9; padding: .2rem .6rem; border-radius: 999px; }

/* editorial blocks */
.th-name { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.6rem; }
.th-ml { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 1.2; color: var(--th-green); font-family: "Indic", var(--th-display); font-weight: 600; }
.th-gloss { font-family: var(--th-display); font-style: italic; font-size: 1.3rem; color: var(--th-slate); }
.th-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1000px) { .th-pillars { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .th-pillars { grid-template-columns: 1fr; } }
.th-pillar { padding: 2rem 1.7rem; border-radius: 18px; background: #fff; border: 1px solid var(--th-line); }
.th-pillar .n { font-family: var(--th-caps); font-size: .7rem; letter-spacing: .22em; color: var(--th-leaf); font-weight: 700; display: block; margin-bottom: 1.6rem; }
.th-pillar h3 { font-size: 1.55rem; margin-bottom: .6rem; } .th-pillar p { margin: 0; color: var(--muted-light); font-size: .95rem; }

/* product cards */
.th-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 1000px) { .th-products { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 620px) { .th-products { grid-template-columns: 1fr; } }
.th-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--th-line); text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s; }
a.th-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(20,83,45,.5); }
.th-card .pic { background: radial-gradient(90% 80% at 50% 30%, #1d4d34 0%, #0b1f15 80%); display: grid; place-items: center; padding: 1.4rem 1rem 1rem; aspect-ratio: 5 / 4.4; }
.th-card .pic img { width: min(68%, 240px); height: auto; filter: drop-shadow(0 20px 24px rgba(0,0,0,.45)); }
.th-card .pic.soon { background: repeating-linear-gradient(135deg, #eaf2ec 0 14px, #e1ebe4 14px 28px); }
.th-card .pic.soon span { font-family: var(--th-display); font-style: italic; font-size: 1.5rem; color: var(--th-green); }
.th-card .body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.th-card h3 { font-size: 1.7rem; } .th-card p { margin: 0; color: var(--muted-light); font-size: .95rem; }
.th-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-block: .2rem .4rem; }
.th-tag { font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: .22rem .65rem; border-radius: 999px; background: var(--th-mint-2); color: var(--th-green); }
.th-tag.warn { background: #f6efd9; color: #5b4510; }
.th-card .more { margin-top: auto; padding-top: .8rem; font-weight: 600; font-size: .9rem; color: var(--th-green); display: inline-flex; gap: .5rem; align-items: center; }

/* product detail */
.th-pd { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .th-pd { grid-template-columns: 1fr; } }
.th-pd-pic { position: sticky; top: 120px; border-radius: 26px; background: radial-gradient(90% 80% at 50% 30%, #1d4d34 0%, #0b1f15 80%); padding: 2.4rem 1.5rem 1.8rem; text-align: center; }
@media (max-width: 900px) { .th-pd-pic { position: static; } }
.th-pd-pic img { width: min(78%, 380px); margin-inline: auto; height: auto; filter: drop-shadow(0 30px 36px rgba(0,0,0,.5)); }
.th-pd-pic figcaption { margin-top: .6rem; font-size: .76rem; color: #c5d6ca; }
.th-spec { width: 100%; border-collapse: collapse; margin: 1.6rem 0 1rem; font-size: .96rem; }
.th-spec th, .th-spec td { text-align: left; padding: .85rem 0; border-bottom: 1px solid var(--th-line); vertical-align: top; }
.th-spec th { width: 36%; font-weight: 600; color: var(--th-green); padding-right: 1rem; }
.th-spec td small { display: block; color: var(--muted-light); margin-top: .15rem; }
.th-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: end; }
@media (max-width: 900px) { .th-labels { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.th-labels figure { margin: 0; }
.th-labels img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--th-line); background: #fff; box-shadow: 0 24px 50px -34px rgba(11,31,21,.5); }
.th-labels figcaption { margin-top: .7rem; font-size: .85rem; color: var(--muted-light); }
.th-dl { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.th-dl a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 12px; border: 1px solid var(--th-line); background: #fff; font-weight: 600; font-size: .88rem; text-decoration: none; color: var(--th-green); }
.th-dl a:hover { border-color: var(--th-green); }
.th-dl small { font-weight: 400; color: var(--muted-light); }
.th-box { border-radius: 16px; border: 1px dashed rgba(20,83,45,.4); padding: 1.1rem 1.3rem; background: rgba(255,255,255,.7); font-size: .92rem; color: var(--th-ink); }
.th-box b { color: var(--th-green); }
.th-notice { margin-top: 2.2rem; font-size: .84rem; color: var(--muted-light); display: flex; gap: .8rem; align-items: flex-start; max-width: 62ch; }
.th-notice svg { flex: none; width: 18px; height: 18px; margin-top: .15rem; color: var(--th-leaf); }

/* audience (B2B) */
.th-audience { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(91,208,138,.22); border-bottom: 1px solid rgba(91,208,138,.22); }
.th-audience div { padding: 2rem 1.4rem 2.2rem; border-left: 1px solid rgba(91,208,138,.22); }
.th-audience div:first-child { border-left: 0; }
.th-audience svg { width: 34px; height: 34px; color: var(--th-mint); }
.th-audience h4 { font-family: var(--th-display); font-size: 1.45rem; margin: 1.2rem 0 .4rem; color: #fff; } .th-audience p { margin: 0; font-size: .9rem; color: #b6c8bc; }
@media (max-width: 1000px) { .th-audience { grid-template-columns: repeat(2, 1fr); } .th-audience div { border-left: 0; border-top: 1px solid rgba(91,208,138,.22); } .th-audience div:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 560px) { .th-audience { grid-template-columns: 1fr; } .th-audience div:nth-child(2) { border-top: 1px solid rgba(91,208,138,.22); } }

.theme-thulli .step { background: #fff; border-top-color: var(--th-leaf); } .theme-thulli .step::before { color: var(--th-leaf); }
.theme-thulli .step h4 { font-size: 1.5rem; }
.theme-thulli .form-shell { border-color: var(--th-line); }
.theme-thulli .site-footer { background: #0b1f15; }
.theme-thulli .page-pad { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.th-tagline-alts { list-style: none; padding: 0; margin: 1rem 0 0; font-family: var(--th-display); font-style: italic; font-size: 1.3rem; color: var(--th-slate); display: grid; gap: .3rem; }
.th-compliance { background: #0b101c; color: #b6c8bc; font-size: .84rem; }
.th-compliance .wrap { padding-block: 1.4rem; display: grid; gap: .3rem; }
.th-compliance b { color: #fff; }
.th-hero.compact { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.th-hero.compact h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem); max-width: 18ch; }
.th-crumbs { font-size: .82rem; color: #b6c8bc; margin-bottom: 1.4rem; } .th-crumbs a { color: #d6e6db; } .th-crumbs span { opacity: .6; margin-inline: .4rem; }
.th-swatches { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.th-swatches span { display: flex; flex-direction: column; justify-content: flex-end; width: 104px; height: 84px; border-radius: 14px; padding: .55rem .7rem; font-size: .72rem; font-weight: 600; border: 1px solid var(--th-line); }
.th-sheet { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .th-sheet { grid-template-columns: 1fr; } }
.th-sheet img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--th-line); box-shadow: 0 30px 60px -36px rgba(11,31,21,.5); background: #fff; }
.th-faq { display: grid; gap: .8rem; max-width: 52rem; }
.th-faq details { border-radius: 14px; border: 1px solid var(--th-line); background: #fff; padding: 0 1.3rem; }
.th-faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.th-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--th-leaf); } .th-faq details[open] summary::after { content: "\2212"; }
.th-faq summary::-webkit-details-marker { display: none; }
.th-faq p { margin: 0 0 1.1rem; color: var(--muted-light); }

/* v2.2: classes replacing former inline styles (strict CSP: no inline styles) */
.here{opacity:1;margin:0}
.mt-12{margin-top:1.2rem}.mt-14{margin-top:1.4rem}.mt-16{margin-top:1.6rem}
.pd-h1{font-size:var(--step-5);margin:.6rem 0 1rem}
.th-ml-sm{font-size:.7em}
.logo-card{background:#eff5f0;padding:2rem;border-radius:20px;max-width:100%;height:auto}
.th-audience-flat{background:#0b1f15;border-radius:20px;border:0}
.sw-ink{background:#0b101c;color:#fff}.sw-deep{background:#14532d;color:#fff}.sw-leaf{background:#1f7a45;color:#fff}
.sw-mint{background:#5bd08a;color:#0b101c}.sw-paper{background:#eff5f0;color:#14532d}.sw-gold{background:#b88a28;color:#fff}

/* v2.3: photographic hero, product photos, banner (no inline styles) */
.th-hero-photo { padding: 0; min-height: clamp(560px, 47vw, 740px); display: flex; align-items: center; background: #0b1f15; }
.th-hero-photo::before { display: none; }
.th-hero-bg { position: absolute; inset: 0; }
.th-hero-bg picture, .th-hero-bg img { display: block; width: 100%; height: 100%; }
.th-hero-bg img { object-fit: cover; object-position: 28% 50%; }
.th-hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(270deg, rgba(8,22,15,.93) 0%, rgba(8,22,15,.86) 34%, rgba(8,22,15,.5) 52%, rgba(8,22,15,0) 68%), linear-gradient(180deg, rgba(8,22,15,.4), rgba(8,22,15,0) 30%); }
.th-hero-photo .th-hero-inner { z-index: 2; display: grid; grid-template-columns: 1fr minmax(0, 540px); padding-block: clamp(3rem, 5vw, 5rem); width: 100%; }
.th-hero-photo .th-copy { grid-column: 2; }
.th-hero-photo .th-lockup img { width: min(260px, 60%); height: auto; }
.th-hero-photo h1 { max-width: 14ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.th-hero-photo .th-meta { grid-template-columns: 1fr; gap: .5rem; }
.th-credit { position: absolute; left: clamp(1rem, 2vw, 2rem); bottom: .9rem; z-index: 3; margin: 0; font-size: .72rem; letter-spacing: .02em; color: #eef4f0; background: rgba(8,22,15,.66); padding: .25rem .75rem; border-radius: 999px; max-width: calc(100% - 2rem); }
@media (max-width: 900px) {
  .th-hero-photo { display: block; min-height: 0; padding-bottom: 1.2rem; }
  .th-hero-photo::after { display: none; }
  .th-hero-bg { position: relative; aspect-ratio: 4 / 3.3; }
  .th-hero-bg img { object-position: 30% 55%; }
  .th-hero-photo .th-hero-inner { display: block; padding-block: 2rem 1rem; }
  .th-hero-photo h1 { max-width: 15ch; }
  .th-credit { position: static; display: inline-block; margin: .6rem 1rem 0; }
}
.th-card .pic.photo { padding: 0; aspect-ratio: 10 / 9; background: #0b1f15; display: block; }
.th-card .pic.photo picture, .th-card .pic.photo img { display: block; width: 100%; height: 100%; }
.th-card .pic.photo img { object-fit: cover; object-position: 50% 54%; filter: none; }
.th-card .pic { aspect-ratio: 10 / 9; }
.th-pd-pic { background: none; padding: 0; text-align: left; top: 100px; align-self: start; }
.th-pd-main img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(11,31,21,.6); }
.th-pd-thumbs { display: flex; gap: .7rem; margin-top: .8rem; }
.th-pd-thumbs div { width: 84px; flex: none; }
.th-pd-thumbs img { display: block; width: 84px; height: 84px; object-fit: cover; object-position: 50% 55%; border-radius: 12px; border: 1px solid var(--th-line); }
.th-pd-pic figcaption { margin-top: .7rem; font-size: .78rem; color: var(--muted-light, #475569); }
.th-banner { padding-block: clamp(1.5rem, 3vw, 2.5rem) 0; background: #eff5f0; }
.th-banner figure { margin: 0 auto; }
.th-banner-pic img { display: block; width: 100%; height: auto; border-radius: 24px; }
.th-banner figcaption { margin-top: .6rem; font-size: .78rem; color: #475569; }
