/* =========================================================
   HPCO — Habibullah Paracha & Co.
   Design: "Godown & garden" — tea-garden green, jute sacking,
   brass fittings and strong-liquor brown. One signature
   element: the stencilled jute tea sack in the hero.
   ========================================================= */

:root {
  /* Palette */
  --leaf:      #17321f;   /* tea-garden green */
  --leaf-2:    #1f4129;
  --leaf-3:    #2e5a3c;
  --leaf-deep: #0f2316;
  --jute:      #e8dcc2;   /* jute sacking */
  --jute-2:    #dccbaa;
  --jute-3:    #c4ad84;
  --brass:     #c9a24f;   /* brass fittings */
  --brass-2:   #a8832f;
  --liquor:    #8b3a19;   /* strong tea liquor */
  --brew:      #2a1b12;   /* dark brew */
  --ink:       #1f1c16;
  --ink-soft:  #4d473b;
  --field:     #f8f2e4;

  /* Type */
  --f-display: "Young Serif", Georgia, "Times New Roman", serif;
  --f-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-stencil: "Saira Stencil One", Impact, sans-serif;
  --f-arabic:  "Amiri", "Traditional Arabic", serif;
  --f-urdu:    "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;

  --step--1: .875rem;
  --step-0:  1.0625rem;
  --step-1:  1.3125rem;
  --step-2:  clamp(1.55rem, 1.2rem + 1.2vw, 2rem);
  --step-3:  clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem);
  --step-4:  clamp(2.35rem, 1.4rem + 3.6vw, 4.1rem);

  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 3px;
  --section: clamp(4rem, 9vw, 7.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--jute);
  /* faint jute weave */
  background-image:
    repeating-linear-gradient(0deg,  rgba(80,55,20,.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(80,55,20,.03)  0 1px, transparent 1px 4px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p  { margin: 0 0 1em; max-width: 64ch; }
address { font-style: normal; }
code { font-size: .9em; background: rgba(0,0,0,.06); padding: .1em .35em; border-radius: 2px; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--brass); color: var(--ink); padding: .6rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }
.muted { color: var(--ink-soft); }
.plain { list-style: none; margin: 0; padding: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: var(--step--1); color: var(--liquor);
  margin-bottom: 1.1rem; letter-spacing: .02em;
}
.kicker::before { content: ""; width: 1.8rem; height: 1px; background: currentColor; }

.lede { font-size: var(--step-1); line-height: 1.5; max-width: 46ch; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.45rem; border-radius: var(--radius);
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #d8b363; }
.btn-ghost { border-color: rgba(232,220,194,.45); color: var(--jute); }
.btn-ghost:hover { border-color: var(--jute); background: rgba(232,220,194,.08); }
.btn-ghost-light { border-color: rgba(232,220,194,.45); color: var(--jute); }
.btn-ghost-light:hover { border-color: var(--jute); }
.btn-ghost-dark { border-color: var(--ink-soft); color: var(--ink); }
.btn-ghost-dark:hover { background: rgba(0,0,0,.05); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.link {
  font-weight: 600; color: var(--liquor); text-decoration: none;
  border-bottom: 1.5px solid rgba(139,58,25,.35); padding-bottom: 2px;
  transition: border-color .2s;
}
.link:hover { border-color: var(--liquor); }

/* ---------- Image slots ---------- */
.media { position: relative; margin: 0; overflow: hidden; background: var(--leaf-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-empty {
  background-color: var(--leaf-2);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 64 64'%3E%3Cg fill='%23c9a24f' fill-opacity='.09'%3E%3Cpath d='M32 21C28.5 17 29 12 32 9c3 3 3.5 8 0 12z'/%3E%3Cpath d='M31.5 33C25 33 19.5 29 18 22.5c6.5-.5 12.5 3 13.5 10.5z'/%3E%3Cpath d='M32.5 40c6.5 0 12-4 13.5-10.5-6.5-.5-12.5 3-13.5 10.5z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, var(--leaf-3), var(--leaf) 70%);
  background-size: 80px 80px, cover;
}
.ph-label {
  position: absolute; inset: auto 1rem 1rem auto;
  display: flex; flex-direction: column; align-items: flex-end; gap: .15rem;
  color: var(--jute); text-align: right; font-size: .82rem; line-height: 1.3;
  background: rgba(15,35,22,.72); padding: .5rem .7rem; border: 1px dashed rgba(201,162,79,.6); border-radius: 2px;
}
.ph-label b { font-weight: 600; color: var(--brass); }
.ph-label small { opacity: .85; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,35,22,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(201,162,79,.28);
  color: var(--jute);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--jute); --mark-vein: var(--leaf-deep); }
.logo-mark { color: var(--brass); display: inline-flex; }
.logo-mark svg { width: 44px; height: 44px; }
.logo-word { display: flex; flex-direction: column; line-height: 1.05; }
.logo-word b { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; letter-spacing: .04em; }
.logo-word small { font-size: .74rem; opacity: .75; letter-spacing: .02em; margin-top: .2rem; }
.logo-img { height: 52px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .85;
  padding-block: .4rem; border-bottom: 1.5px solid transparent; transition: opacity .2s, border-color .2s;
}
.site-nav ul a:hover { opacity: 1; }
.site-nav ul a[aria-current="page"] { opacity: 1; border-color: var(--brass); }
.nav-call {
  display: inline-flex; align-items: center; gap: .45rem; text-decoration: none;
  font-weight: 600; font-size: .95rem; color: var(--brass);
  padding: .55rem .9rem; border: 1px solid rgba(201,162,79,.5); border-radius: var(--radius);
}
.nav-call:hover { background: rgba(201,162,79,.1); }
.nav-call svg { width: 16px; height: 16px; fill: currentColor; }

.nav-toggle { display: none; background: none; border: 0; color: var(--jute); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; margin-inline: auto; position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--leaf); color: var(--jute);
  min-height: min(88vh, 860px); display: flex; align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15,35,22,.94) 0%, rgba(15,35,22,.78) 45%, rgba(15,35,22,.35) 100%);
}
.hero .hero-bg.is-empty .ph-label { inset: auto 1rem 1rem auto; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lede { color: rgba(232,220,194,.88); }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 2.2rem; margin: 2.8rem 0 0; padding-top: 1.4rem;
  border-top: 1px solid rgba(201,162,79,.35);
}
.hero-facts dt { font-size: .82rem; opacity: .7; }
.hero-facts dd { margin: .15rem 0 0; font-family: var(--f-display); font-size: 1.2rem; color: var(--brass); }

/* ---------- The jute tea sack ---------- */
.sack-stage { position: relative; justify-self: center; width: min(100%, 410px); }
.sack-svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 26px 30px rgba(0,0,0,.35)); }
.sack-stencil { mix-blend-mode: multiply; }
.st { font-family: var(--f-stencil); fill: rgba(38,22,12,.82); }
.st-sm { font-size: 22px; letter-spacing: .14em; }
.st-xl { font-size: 54px; letter-spacing: .05em; }
.st-md { font-size: 27px; letter-spacing: .12em; fill: rgba(139,58,25,.9); }
.st-xs { font-size: 15px; letter-spacing: .14em; }
.st-line { fill: rgba(38,22,12,.7); }

/* the one orchestrated moment: the sack drops and settles, then the stencil is sprayed on */
@media (prefers-reduced-motion: no-preference) {
  .sack-front, .sack-back { transform-box: fill-box; transform-origin: 50% 100%; }
  .sack-front { animation: sack-land 1s cubic-bezier(.3,.7,.3,1) .2s both; }
  .sack-back  { animation: fade-in .8s ease .05s both; }
  .sack-stencil { animation: spray 1s steps(8) 1.15s both; }
  @keyframes sack-land {
    0%   { opacity: 0; transform: translateY(-70px); }
    55%  { opacity: 1; transform: translateY(0) scale(1.04, .93); }
    75%  { transform: translateY(0) scale(.98, 1.03); }
    100% { transform: translateY(0) scale(1, 1); }
  }
  @keyframes fade-in { from { opacity: 0; } }
  @keyframes spray { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Legacy ---------- */
.legacy-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.legacy-img { aspect-ratio: 4 / 5; outline: 1px solid var(--brass-2); outline-offset: 14px; margin: 14px; }
.legacy-copy h2 { max-width: 18ch; }

/* ---------- Values (dark brew band) ---------- */
.values { background: var(--brew); color: var(--jute); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: .4em; }
.section-head p { font-size: var(--step-1); opacity: .85; max-width: 52ch; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value { padding: .5rem clamp(1.2rem, 3vw, 2.2rem) .5rem 0; }
.value + .value { padding-left: clamp(1.2rem, 3vw, 2.2rem); border-left: 1px solid rgba(201,162,79,.25); }
.value h3 { color: var(--brass); font-size: 1.5rem; }
.value p { color: rgba(232,220,194,.82); }

.ayah { margin: clamp(3.5rem, 7vw, 5.5rem) auto 0; max-width: 820px; text-align: center; padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid rgba(201,162,79,.25); }
.ayah blockquote { margin: 0; }
.ayah-ar { font-family: var(--f-arabic); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); line-height: 1.9; color: var(--brass); max-width: none; margin-bottom: .8rem; }
.ayah-en { font-family: var(--f-display); font-size: var(--step-1); line-height: 1.5; max-width: 52ch; margin-inline: auto; }
.ayah figcaption { font-size: .9rem; opacity: .7; }

/* ---------- Features (home) & services ---------- */
.feature, .svc { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature + .feature, .svc + .svc { margin-top: clamp(3.5rem, 7vw, 6rem); }
.feature-flip > .media, .svc-flip > .media, .svc-flip > .svc-note { order: 2; }
.feature-img, .svc-img { aspect-ratio: 7 / 5; border-radius: var(--radius); }
.feature-copy h3 { font-size: var(--step-2); }
.services-home { border-top: 1px solid var(--jute-2); }

.svc-copy h2 { font-size: var(--step-2); }
.svc-note { background: var(--leaf); color: var(--jute); padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.svc-note h3 { color: var(--brass); font-size: var(--step-2); }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .7rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .8rem;
  background: var(--leaf-3);
  clip-path: path("M6.4 0C2.5 2 .2 6 0 12.8 6.8 12.6 10.8 10.3 12.8 6.4 12.8 2.9 9.9 0 6.4 0Z");
}

/* ---------- Origins band ---------- */
.origins-band { background: var(--leaf); color: var(--jute); }
.origins-band-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.origins-band p { color: rgba(232,220,194,.85); }
.origin-chips { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; }
.origin-chips li { font-family: var(--f-display); font-size: 1.15rem; padding: .15rem .9rem; border-left: 1px solid rgba(201,162,79,.4); }
.origin-chips li:first-child { padding-left: 0; border-left: 0; }

.route-map { width: 100%; height: auto; }
.rm-dot { fill: rgba(232,220,194,.13); }
.rm-sea-label { font-family: var(--f-display); font-size: 15px; fill: rgba(232,220,194,.32); font-style: italic; }
.rm-arc { fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-dasharray: 5 6; opacity: .85; }
.rm-origin { fill: var(--jute); stroke: var(--leaf); stroke-width: 3; }
.rm-label { font-family: var(--f-body); font-size: 17px; font-weight: 600; fill: var(--jute); }
.rm-hub { fill: var(--brass); }
.rm-hub-ring { fill: none; stroke: var(--brass); stroke-width: 1.5; opacity: .6; }
.rm-hub-label { font-family: var(--f-display); font-size: 24px; fill: var(--brass); }

/* ---------- CTA ---------- */
.cta { background: var(--liquor); color: var(--jute); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem 4rem; align-items: center; }
.cta h2 { margin-bottom: .3em; }
.cta p { color: rgba(232,220,194,.88); margin: 0; }
.cta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.cta-list li { display: grid; grid-template-columns: 4.5rem 1fr; align-items: baseline; gap: 1rem; }
.cta-list span { font-size: .85rem; opacity: .7; }
.cta-list a { font-family: var(--f-display); font-size: 1.3rem; text-decoration: none; border-bottom: 1px solid rgba(232,220,194,.3); }
.cta-list a:hover { border-color: var(--jute); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Page heroes ---------- */
.page-hero { padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem); position: relative; isolation: isolate; overflow: hidden; }
.page-hero h1 { max-width: 20ch; }
.page-hero-plain { border-bottom: 1px solid var(--jute-2); }
.page-hero-dark { background: var(--leaf); color: var(--jute); border-bottom: 0; }
.page-hero-dark .kicker { color: var(--brass); }
.page-hero-dark .lede { color: rgba(232,220,194,.86); }
.page-hero-image { color: var(--jute); background: var(--leaf); min-height: 52vh; display: flex; align-items: flex-end; }
.page-hero-image .hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15,35,22,.92), rgba(15,35,22,.45)); }
.page-hero-image .kicker { color: var(--brass); }
.page-hero-image .lede { color: rgba(232,220,194,.9); }
.page-hero-image .hero-bg.is-empty .ph-label { inset: 1rem 1rem auto auto; }

/* ---------- About ---------- */
.story-grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.portrait { aspect-ratio: 9 / 11; border-radius: var(--radius); filter: sepia(.08); }
.caption { font-size: .9rem; color: var(--ink-soft); margin-top: .9rem; }
.dropcap::first-letter { font-family: var(--f-display); float: left; font-size: 4.4em; line-height: .82; margin: .06em .1em 0 0; color: var(--liquor); }
.story-copy p { font-size: 1.12rem; }

.generations { background: var(--brew); color: var(--jute); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: .55rem; height: 1px; background: rgba(201,162,79,.45); }
.timeline li { position: relative; padding-top: 2.2rem; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 5px var(--brew); }
.tl-year { display: block; font-family: var(--f-stencil); color: var(--brass); font-size: 1.4rem; letter-spacing: .06em; margin-bottom: .5rem; }
.timeline h3 { font-size: 1.45rem; }
.timeline p { color: rgba(232,220,194,.82); }

.today-grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-areas: "img copy" "img tasting"; gap: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem); }
.today-img { grid-area: img; min-height: 420px; border-radius: var(--radius); }
.today-copy { grid-area: copy; }
.tasting-img { grid-area: tasting; aspect-ratio: 1 / 1; max-width: 300px; border-radius: var(--radius); }

/* ---------- Process ---------- */
.process { background: var(--jute-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--f-stencil); font-size: 2.6rem; line-height: 1; color: var(--liquor); margin-bottom: .7rem; }
.steps h3 { font-size: 1.2rem; }
.steps p { font-size: .98rem; color: var(--ink-soft); }

/* ---------- Origins page ---------- */
.origins-hero { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.origin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); }
.origin-img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.origin-body { padding-top: 1.2rem; }
.origin-region { font-size: .88rem; color: var(--liquor); font-weight: 600; margin-bottom: .2rem; }
.origin h2 { font-size: var(--step-2); margin-bottom: .4em; }
.origin-route { font-size: .92rem; color: var(--ink-soft); border-top: 1px solid var(--jute-3); padding-top: .7rem; margin-top: 1rem; }
.note { margin-top: clamp(3rem, 6vw, 4.5rem); font-size: 1.1rem; font-family: var(--f-display); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-form-wrap h2 { font-size: var(--step-2); }
.form { display: grid; gap: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .45rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--field); border: 1.5px solid var(--jute-3); border-radius: var(--radius);
  padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf-3); box-shadow: 0 0 0 3px rgba(201,162,79,.35); }
.field.has-error input, .field.has-error textarea { border-color: #a3271b; }
.err { color: #a3271b; font-size: .9rem; margin: .4rem 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.notice-err { background: #f6dcd4; color: #6d1d13; border-left: 4px solid #a3271b; }
.notice-ok { background: var(--leaf); color: var(--jute); padding: 2rem; }
.notice-ok h2 { color: var(--brass); }
.notice-ok a { color: var(--jute); }
.notice-ok .link { border-color: rgba(232,220,194,.4); }

.contact-img { aspect-ratio: 14 / 9; border-radius: var(--radius); margin-bottom: 2rem; }
.info-list { margin: 0; display: grid; gap: 1.1rem; }
.info-list div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--jute-2); }
.info-list dt { font-size: .88rem; color: var(--ink-soft); padding-top: .2rem; }
.info-list dd { margin: 0; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.4; }
.info-list a { text-decoration: none; border-bottom: 1px solid var(--jute-3); }
.info-list a:hover { border-color: var(--liquor); }
.map-wrap iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.35) sepia(.18); }

/* ---------- Image guide ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.guide-card { border: 1px solid var(--jute-3); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.25); }
.guide-card.is-done { border-color: var(--leaf-3); }
.guide-thumb { aspect-ratio: 16 / 10; }
.guide-body { padding: 1.2rem 1.3rem 1.4rem; font-size: .96rem; }
.guide-body h2 { font-size: 1.1rem; font-family: var(--f-body); font-weight: 600; }
.guide-status { font-weight: 600; font-size: .85rem; color: var(--liquor); margin-bottom: .4rem; }
.is-done .guide-status { color: var(--leaf-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--leaf-deep); color: var(--jute); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1.2fr 1fr .8fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(201,162,79,.22); }
.site-footer h2 { font-family: var(--f-body); font-size: .9rem; font-weight: 600; color: var(--brass); margin-bottom: 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.site-footer li { margin-bottom: .45rem; }
.site-footer .muted { color: rgba(232,220,194,.6); margin-top: .8rem; font-size: .92rem; }
.urdu { text-align: left; font-family: var(--f-urdu); color: var(--brass); font-size: 1.35rem; line-height: 2.2; margin: 1rem 0 .2rem; }
.footer-line { color: rgba(232,220,194,.72); max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: .88rem; color: rgba(232,220,194,.6); }
.footer-bottom p { margin: 0; }
.membership img { height: 48px; width: auto; }
.membership-text { display: inline-block; padding: .4rem .8rem; border: 1px solid rgba(201,162,79,.4); border-radius: var(--radius); color: var(--brass); }

.notfound { min-height: 60vh; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .origin-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    background: var(--leaf-deep); padding: 1.2rem var(--gutter) 1.8rem;
    border-bottom: 1px solid rgba(201,162,79,.3);
    display: none;
  }
  .site-nav.is-open, .no-js .site-nav { display: flex; }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { position: static; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(232,220,194,.1); font-size: 1.1rem; }
  .site-nav ul a[aria-current="page"] { color: var(--brass); border-bottom-color: rgba(232,220,194,.1); }
  .nav-call { justify-content: center; padding: .85rem; }

  .hero { min-height: auto; }
  .hero-inner, .legacy-grid, .origins-band-grid, .origins-hero, .story-grid, .contact-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(15,35,22,.92), rgba(15,35,22,.8)); }
  .sack-stage { width: min(78%, 320px); margin-top: 1rem; }
  .feature, .svc { grid-template-columns: 1fr; gap: 1.6rem; }
  .feature-flip > .media, .svc-flip > .media, .svc-flip > .svc-note { order: 0; }
  .values-grid { grid-template-columns: 1fr; gap: 2rem; }
  .value, .value + .value { padding: 0; border-left: 0; }
  .value + .value { padding-top: 2rem; border-top: 1px solid rgba(201,162,79,.25); }
  .timeline { grid-template-columns: 1fr; gap: 2.2rem; padding-left: 2rem; }
  .timeline::before { left: .55rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -2rem; top: .3rem; }
  .today-grid { grid-template-columns: 1fr; grid-template-areas: "img" "copy" "tasting"; }
  .today-img { min-height: 0; aspect-ratio: 16 / 10; }
  .legacy-img { max-width: 420px; }
  .story-portrait { max-width: 420px; }
}

@media (max-width: 620px) {
  .rm-label { font-size: 26px; }
  .rm-hub-label { font-size: 32px; }
  .rm-sea-label { display: none; }
  .steps, .origin-grid, .field-row, .footer-top { grid-template-columns: 1fr; }
  .hero-facts { gap: 1.4rem; }
  .cta-list li { grid-template-columns: 1fr; gap: .1rem; }
  .cta-list a { font-size: 1.15rem; word-break: break-word; }
  .info-list div { grid-template-columns: 1fr; gap: .2rem; }
  .btn { width: 100%; }
  .actions .btn, .cta-actions .btn { width: 100%; }
  .map-wrap iframe { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
