/* =========================================================
   National Glass House — site styles
   Palette from the NGH logo; one motif: the plywood edge.
   ========================================================= */
/* Self-hosted fonts: Archivo (variable weight + width) and Noto Sans Malayalam */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-standard-normal.woff2) format("woff2-variations"), url(../fonts/archivo-latin-standard-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-standard-normal.woff2) format("woff2-variations"), url(../fonts/archivo-latin-ext-standard-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Noto Sans Malayalam"; font-style: normal; font-display: swap; font-weight: 600;
  src: url(../fonts/noto-sans-malayalam-malayalam-600-normal.woff2) format("woff2"); unicode-range: U+0D00-0D7F,U+200C-200D,U+25CC; }

:root {
  --green: #1F6B5C;
  --green-d: #154D42;
  --ink: #12372F;
  --yellow: #FFC907;
  --paper: #F2F5F3;
  --white: #FFFFFF;
  --line: #D3DCD7;
  --muted: #4A615A;
  --wa: #25D366;
  --v1: #E6D2AC;   /* face-grain veneer */
  --v2: #C59F72;   /* cross-grain veneer */
  --glue: #8A6A44;
  --radius: 4px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ml: "Noto Sans Malayalam", "Archivo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body); font-stretch: 100%;
  text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; display: block; }
picture { display: contents; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 112%; font-weight: 750; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--yellow); color: var(--ink); padding: 10px 14px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { margin: .25em 0; }
.big { font-size: 1.25rem; font-weight: 600; }

/* ---------- the plywood edge ---------- */
.ply {
  --plies: 7;
  background-color: var(--v1);
  background-image:
    repeating-linear-gradient(90deg, rgba(90,60,25,.07) 0 1px, transparent 1px 9px),
    linear-gradient(to bottom, var(--v1) 0 44%, var(--glue) 44% 50%, var(--v2) 50% 94%, var(--glue) 94% 100%);
  background-size: 100% 100%, 100% calc(200% / var(--plies));
}
.ply--band { height: 21px; width: 100%; }
.hero .ply--band { transform-origin: left; animation: ply-in 900ms cubic-bezier(.2,.7,.2,1) 150ms both; }
@keyframes ply-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero .ply--band { animation: none; } html { scroll-behavior: auto; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.25em; border-radius: var(--radius);
  font: 650 1rem/1 var(--body); font-stretch: 105%; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--wa { background: var(--wa); color: var(--ink); }
.btn--wa:hover { background: #1EBE5A; color: var(--ink); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--green-d); color: #DDEBE6; font-size: .875rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar__where { margin: 0; }
.topbar__phones { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: var(--yellow); }

.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand img { height: 54px; width: auto; border-radius: 2px; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .5em 0; border-bottom: 3px solid transparent; }
.nav ul a:hover { border-bottom-color: var(--line); }
.nav ul a[aria-current="page"] { border-bottom-color: var(--yellow); }
.navtoggle { display: none; }

/* ---------- hero ---------- */
.hero { background: var(--white); }
.hero__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(32px, 6vw, 72px); }
.hero__ml { font-family: var(--ml); color: var(--green); font-weight: 600; font-size: 1.1rem; margin-bottom: .75rem; }
.hero__title { font-size: clamp(2.35rem, 4.4vw, 3.6rem); font-stretch: 122%; font-weight: 800; line-height: 1.0; letter-spacing: -.02em; max-width: 16ch; margin-bottom: .45em; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero__media { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1.02; }
.hero__media figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__main { grid-row: 1 / 3; }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.section__head h2 { margin: 0; }
.section__head p { margin: 0; color: var(--muted); max-width: 60ch; }
.section__title { margin-bottom: 1.25rem; }

/* stock */
.stock { background: var(--paper); }
.stock__group { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; padding: 1.75rem 0; border-top: 2px solid var(--ink); }
.stock__label { font-size: 1.05rem; font-stretch: 125%; margin: .25rem 0 0; color: var(--green); }
.stock__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.tile a { display: block; text-decoration: none; color: var(--ink); }
.tile__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--white); position: relative; }
.tile__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  background: linear-gradient(to bottom, var(--v1) 0 33%, var(--v2) 33% 66%, var(--v1) 66%); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile a:hover img { transform: scale(1.03); }
.tile__text { padding: .9rem 0 0; }
.tile__text h4 { font-size: 1.15rem; margin-bottom: .3em; }
.tile a:hover h4 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.tile__text p { font-size: .95rem; color: var(--muted); margin-bottom: .4em; }
.tile__count { font-size: .875rem; font-weight: 600; color: var(--green); }

/* grades */
.grades { background: var(--green-d); color: #E3EFEA; }
.grades__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.grades h2 { color: var(--white); }
.grades__seal { width: 150px; height: auto; margin-bottom: 1.25rem; }
.grades__tablewrap { overflow-x: auto; }
.grades__table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.grades__table th, .grades__table td { text-align: left; padding: .9rem .75rem; border-bottom: 1px solid rgba(255,255,255,.16); vertical-align: top; }
.grades__table thead th { font-size: .875rem; font-weight: 600; color: #B9D3CA; border-bottom: 2px solid var(--yellow); }
.grades__table tbody th a { color: var(--white); font-weight: 700; text-decoration: none; }
.grades__table tbody th a:hover { color: var(--yellow); text-decoration: underline; }
.grades__table td:last-child { color: var(--yellow); font-weight: 600; }
.grades__note { font-size: .9rem; color: #B9D3CA; margin-top: 1rem; }

/* feature & story */
.feature { background: var(--white); }
.feature__in, .story__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature__media video, .story__video video, .pd__video video { width: 100%; height: auto; border-radius: var(--radius); background: var(--ink); }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.checks li { padding: .35em .75em; background: var(--paper); border-left: 4px solid var(--green); font-weight: 600; font-size: .95rem; }
.feature__links { display: flex; flex-wrap: wrap; gap: .75rem; }
.story { background: var(--paper); }
.story__in { grid-template-columns: minmax(0, 360px) 1fr; }
.story__video video { max-height: 620px; width: auto; margin: 0 auto; }
.story__text { max-width: 52ch; }

/* visit */
.visit__in { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.visit__addr { font-size: 1.2rem; margin-bottom: 1rem; }
.visit__phones { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 1.2rem; font-weight: 650; }
.visit__phones a { color: var(--ink); text-decoration: none; }
.visit__phones a:hover { color: var(--green); text-decoration: underline; }
.visit__map iframe, .contact__map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); background: var(--paper); }

/* ---------- page heads ---------- */
.pagehead { background: var(--paper); padding: clamp(28px, 4vw, 52px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.pagehead h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-stretch: 120%; font-weight: 800; margin-bottom: .3em; max-width: 22ch; }
.pagehead__lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin: 0; }
.pagehead--product { padding: 14px 0; }
.pagehead--404 { padding: 96px 0; }
.crumbs { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5em; margin-bottom: .75rem; }
.pagehead--product .crumbs { margin: 0; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- catalogue ---------- */
.catalog > * { min-width: 0; }
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.catalog__side { position: sticky; top: 100px; }
.search label { display: block; font-weight: 650; margin-bottom: .4rem; }
.search__row { display: flex; gap: .5rem; }
.search input { flex: 1; min-width: 0; }
.search .btn { padding: 0 .9em; }
.filters ul { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.filters a { display: flex; justify-content: space-between; padding: .5rem .6rem; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.filters a span { color: var(--muted); font-size: .875rem; }
.filters a:hover { background: var(--paper); }
.filters a[aria-current="page"] { background: var(--ink); color: var(--white); }
.filters a[aria-current="page"] span { color: #B9D3CA; }
.filters__group { font-family: var(--display); font-stretch: 125%; font-weight: 750; font-size: .95rem; color: var(--green); padding: 1rem .6rem .3rem; }
.catalog__status { margin-bottom: 1.25rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 20px; }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.card__link { display: block; color: var(--ink); text-decoration: none; }
.card__media { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card__link:hover img { transform: scale(1.04); }
.card__body { padding-top: .75rem; }
.card__title { font-size: 1.05rem; font-stretch: 105%; font-weight: 700; line-height: 1.25; margin-bottom: .25em; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.card__meta { margin: 0; font-size: .9rem; color: var(--muted); }
.card__meta--g { color: var(--green); font-weight: 650; }

/* face-veneer placeholder for products without photos */
.plyface { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background:
    radial-gradient(ellipse 60% 18% at 30% 40%, rgba(150,105,55,.18), transparent 70%),
    repeating-linear-gradient(176deg, rgba(140,100,55,.10) 0 2px, transparent 2px 11px),
    #EBD8B4; }
.plyface .ply--edge { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; }
.plyface__name { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 1.05; color: #5B3F1E; text-align: center; margin-bottom: 20%; }
.plyface--big .plyface__name { font-size: clamp(1.6rem, 4vw, 2.6rem); }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.pd__stage { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.pd__stage img { width: 100%; height: 100%; object-fit: contain; }
.pd__thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.pd__thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--paper); }
.pd__thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__title { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-stretch: 115%; font-weight: 800; margin-bottom: .4em; }
.badge { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 700; padding: .3em .7em; border-radius: 3px; margin-bottom: 1rem; }
.pd__summary { font-size: 1.1rem; max-width: 60ch; }
.pd__h { font-size: 1rem; font-stretch: 110%; margin-bottom: .75rem; }
.pd__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.thick { margin: 1.75rem 0 1.25rem; }
.thick__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.thick__list li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.thick__bar { display: block; width: 68px; height: calc(var(--mm) * 3px); border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(90,60,25,.25); }
.thick__label { font-size: .875rem; font-weight: 650; }
.thick__hint { font-size: .8rem; color: var(--muted); margin: .5rem 0 0; }

.specs { margin: 0; border-bottom: 1px solid var(--line); }
.specs__row { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.specs dt { font-weight: 650; color: var(--muted); }
.specs dd { margin: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { border: 1px solid #A9BBB3; border-radius: 3px; padding: .15em .6em; font-size: .95rem; }

.pd__more { background: var(--white); }
.pd__moregrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); }
.pd__moregrid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.prose { max-width: 66ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.25em; }
.prose h2:first-child { margin-top: 0; }
.note { background: var(--paper); border-left: 4px solid var(--yellow); padding: .9rem 1rem; font-size: .95rem; }

.enquire { background: var(--paper); }
.enquire__in { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.enquire__in > div p { color: var(--muted); max-width: 44ch; }

/* ---------- forms ---------- */
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 650; display: block; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #92A69E; border-radius: var(--radius); padding: .7rem .8rem; min-height: 48px;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--yellow); outline-offset: 0; border-color: var(--green); }
[aria-invalid="true"] { border-color: #B3261E; }
.field__err { color: #B3261E; font-size: .9rem; margin: .35rem 0 0; font-weight: 600; }
.notice { padding: .9rem 1rem; border-radius: var(--radius); margin-bottom: 1.25rem; }
.notice--ok { background: #DDF3E6; border-left: 4px solid var(--green); }
.notice--err { background: #FBE3E1; border-left: 4px solid #B3261E; }

/* ---------- about / contact ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.about__fig { margin: 0; position: sticky; top: 100px; }
.about__fig img { width: 100%; height: auto; border-radius: var(--radius); }
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact__block { padding: 1.25rem 0; border-top: 2px solid var(--ink); }
.contact__block:first-child { padding-top: 0; border-top: 0; }
.contact__block h2, .contact__form h2 { font-size: 1.25rem; }
.contact__block .big a { color: var(--ink); text-decoration: none; }
.contact__block .big a:hover { color: var(--green); text-decoration: underline; }
.contact__map { margin-top: clamp(28px, 4vw, 48px); }
.empty { padding: 2rem; background: var(--paper); border-radius: var(--radius); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #C9DAD4; margin-top: 0; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-top: 56px; padding-bottom: 40px; }
.footer__brand img { width: 180px; height: auto; margin-bottom: 1rem; }
.footer__brand p { max-width: 34ch; font-size: .95rem; }
.footer__h { font-size: 1rem; color: var(--white); font-stretch: 115%; margin-bottom: .8rem; }
.footer .muted { color: #9FB8AF; margin-top: .75rem; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; color: #9FB8AF; }
.footer__base p { margin: 0; }
.actionbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .catalog__side { position: static; }
  .filters ul { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-top: 1rem; scrollbar-width: thin; }
  .filters li { flex: none; }
  .filters a { border: 1px solid var(--line); gap: .6em; white-space: nowrap; }
  .filters__group { display: none; }
}
@media (max-width: 900px) {
  .topbar__where { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__phones li:nth-child(n+3) { display: none; }
  .header__in { min-height: 64px; }
  .brand img { height: 44px; }
  .navtoggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: var(--ink); }
  .navtoggle__bars, .navtoggle__bars::before, .navtoggle__bars::after { display: block; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
  .navtoggle__bars::before, .navtoggle__bars::after { content: ""; position: absolute; left: 0; }
  .navtoggle__bars::before { top: -7px; } .navtoggle__bars::after { top: 7px; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 2px solid var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--yellow); padding-left: .75rem; }
  .nav .btn { margin-top: 1rem; }

  .hero__in, .feature__in, .story__in, .visit__in, .grades__in, .pd, .pd__moregrid, .enquire__in, .about, .contact { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 4 / 3; }
  .section__head { grid-template-columns: 1fr; gap: .75rem; }
  .stock__group { grid-template-columns: 1fr; gap: 1rem; }
  .about__fig { position: static; }
  .story__video video { max-height: 70vh; }

  .actionbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; border-top: 1px solid var(--line); }
  .actionbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 700; text-decoration: none; }
  .actionbar a:first-child { background: var(--white); color: var(--ink); }
  .actionbar a:last-child { background: var(--wa); color: var(--ink); }
  body { padding-bottom: 56px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .stock__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn, .pd__cta .btn { flex: 1 1 100%; }
  .specs__row { grid-template-columns: 1fr; gap: .25rem; }
  .visit__map iframe, .contact__map iframe { height: 300px; }
}
@media print {
  .topbar, .header, .actionbar, .footer, video, iframe { display: none !important; }
}

/* ---------- hero slider (touch-swipe, scroll-snap) ---------- */
.slider { position: relative; }
.slider__track {
  display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; }
.slide > .wrap { width: 100%; }
.slide--banner { background:
  radial-gradient(120% 90% at 85% 10%, #FFFFFF 0%, transparent 55%),
  linear-gradient(160deg, #EAF1EE 0%, var(--paper) 60%); }
.banner { max-width: 1360px; display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: center;
  padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 76px); }
.banner__box {
  position: relative; isolation: isolate; margin: 0; padding: 10px; background: var(--white); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(18,55,47,.08), 0 22px 44px -18px rgba(18,55,47,.45);
}
.banner__box img { width: 100%; height: auto; border-radius: 5px; }
/* the box rests on a plywood slab */
.banner__box::after {
  content: ""; position: absolute; z-index: -1; left: 18px; right: 18px; bottom: -13px; height: 13px; border-radius: 0 0 6px 6px;
  background-color: var(--v1);
  background-image: linear-gradient(to bottom, var(--v1) 0 44%, var(--glue) 44% 50%, var(--v2) 50% 94%, var(--glue) 94% 100%);
  background-size: 100% calc(200% / 5);
}
.banner__title { font-size: clamp(1.6rem, 2.3vw, 2rem); font-stretch: 118%; font-weight: 800; line-height: 1.04; letter-spacing: -.015em; }
.banner__text > p:not(.hero__ml) { color: var(--muted); font-size: 1rem; max-width: 40ch; }
.banner .hero__cta .btn { width: 100%; }
.banner .hero__cta { margin-top: 1.25rem; }

.slider__controls { position: absolute; left: 0; right: 0; bottom: 14px; max-width: 1360px; display: flex; align-items: center; gap: .5rem; pointer-events: none; }
.slider__controls > * { pointer-events: auto; }
.slider .slide__in { padding-bottom: calc(44px + clamp(36px, 5vw, 56px)); }
.slider__controls[hidden] { display: none; }
.slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.slider__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slider__btn:hover { background: var(--ink); color: var(--white); }
.slider__dots { display: flex; gap: 2px; }
.slider__dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider__dots button::before { content: ""; display: block; width: 26px; height: 6px; border-radius: 3px; background: #BFCDC7; transition: width .25s, background-color .25s; }
.slider__dots button[aria-current="true"]::before { width: 38px; background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(18,55,47,.15); }
.slider__pause { margin-left: auto; background: none; border: 0; color: var(--muted); font: 600 .9rem var(--body); cursor: pointer; min-height: 44px; padding: 0 .5rem; text-decoration: underline; text-underline-offset: .2em; }
.slider__pause:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .slider__track { scroll-behavior: auto; } .slider__dots button::before { transition: none; } }
@media (max-width: 900px) {
  .banner { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; padding-bottom: 36px; }
  .banner__box { padding: 6px; border-radius: 8px; }
  .banner { padding-left: 10px; padding-right: 10px; }
  .banner__text { padding: 0 6px; }
  .slider__track { align-items: flex-start; transition: height .35s ease; }
  .slider .slide__in { padding-bottom: 76px; }
  .slider__controls { bottom: 12px; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .slider__track { transition: none; } }
