/* Pragathi Vidya Nikethan High School — site stylesheet (structure only).
   All colours, fonts and radii come from assets/css/theme.css, which must be
   linked BEFORE this file. See that file to switch the site's theme. */

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--ground); color:var(--ink);
  font-family:var(--f-body); font-size:17px; line-height:1.65;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img{max-width:100%; display:block}
h1,h2,h3,h4{margin:0; text-wrap:balance; font-weight:var(--display-weight)}
p{margin:0}
a{color:var(--peacock); text-decoration-thickness:1px; text-underline-offset:2px}
a:focus-visible, button:focus-visible, summary:focus-visible{outline:2px solid var(--madder); outline-offset:3px; border-radius:2px}
.wrap{max-width:var(--maxw); margin:0; padding:0 var(--pad)}
.narrow{max-width:760px}

/* ---------- skip link ---------- */
.skip{position:absolute; left:-9999px; top:0; background:var(--peacock); color:#fff; padding:10px 16px; z-index:200}
.skip:focus{left:8px; top:8px}

/* ---------- fixed left navigation column (Prospectus layout) ---------- */
:root{--side:256px}
.side{position:fixed; left:0; top:0; bottom:0; width:var(--side); z-index:100;
  background:var(--peacock-deep); color:var(--on-deep-2);
  display:flex; flex-direction:column; padding:26px 0 0; overflow-y:auto}
.side-top{padding:0 22px 20px; border-bottom:1px solid var(--deep-rule)}
.brand{display:block; text-decoration:none; color:inherit; text-align:center}
/* the school crest. width/height attributes on the <img> beat CSS sizing,
   so both dimensions are set explicitly here. */
.crest{width:132px; height:132px; border-radius:20px; display:block; margin:0 auto;
  box-shadow:0 3px 16px -5px rgba(0,0,0,.6)}
.brand-text{display:block}
.brand-name{display:block; font-family:var(--f-display); font-size:19px; line-height:1.16; font-weight:700;
  letter-spacing:-.022em; color:var(--on-deep); margin-top:16px}
.brand-name .brand-hs{display:block; font-size:13.5px; font-weight:600; letter-spacing:.01em;
  color:var(--zari-lite); margin-top:3px}
.brand-sub{display:block; font-family:var(--f-mono); font-size:10px; letter-spacing:.13em;
  text-transform:uppercase; color:var(--on-deep-3); margin-top:9px;
  padding-top:9px; border-top:1px solid var(--deep-rule)}

.nav-toggle{display:none; background:rgba(255,255,255,.10); border:1px solid var(--deep-rule); border-radius:6px;
  padding:9px 14px; font-family:var(--f-body); font-size:14px; font-weight:600; color:var(--on-deep); cursor:pointer}

.site-nav{display:flex; flex-direction:column; gap:1px; padding:16px 12px 0; flex:1}
.site-nav a{display:flex; align-items:center; gap:10px;
  font-size:14px; font-weight:500; color:var(--on-deep-2); text-decoration:none;
  padding:10px 13px; border-radius:7px; line-height:1.3}
.site-nav a:hover{background:rgba(255,255,255,.07); color:var(--on-deep)}
.site-nav a[aria-current="page"]{background:var(--peacock); color:#fff; font-weight:600}
.site-nav .nav-cta{background:var(--madder); color:#fff; font-weight:600; justify-content:center;
  margin:16px 2px 0; padding:12px 14px; text-align:center}
.site-nav .nav-cta:hover{background:var(--madder-hover); color:#fff}
.side-foot{margin-top:auto; padding:20px 14px 24px; font-size:12.5px; color:var(--on-deep-3); line-height:1.5}
.side-foot .ph{display:block; color:var(--zari-lite); text-decoration:none; font-weight:600; font-size:14.5px;
  margin-bottom:6px; padding:0; background:none}
.side-foot .ph:hover{background:none; text-decoration:underline}

.main{margin-left:var(--side); min-width:0}

@media (max-width:1000px){
  :root{--side:0px}
  .side{position:sticky; top:0; bottom:auto; width:auto; padding:0; overflow:visible}
  .side-top{display:flex; align-items:center; justify-content:space-between; gap:16px;
    padding:12px var(--pad); border-bottom:1px solid var(--deep-rule)}
  .brand{display:flex; align-items:center; gap:12px; text-align:left}
  .crest{flex:none; width:48px; height:48px; border-radius:9px; margin:0}
  .brand-name{margin-top:0; font-size:15.5px; line-height:1.14}
  .brand-name .brand-hs{font-size:11.5px; margin-top:1px}
  .brand-sub{display:none}
  .nav-toggle{display:block}
  .site-nav{display:none; padding:8px var(--pad) 16px; background:var(--peacock-deep);
    border-bottom:1px solid var(--deep-rule)}
  .site-nav.open{display:flex}
  .site-nav a{padding:12px 4px; border-radius:0; border-bottom:1px solid var(--deep-rule); font-size:16px}
  .site-nav .nav-cta{margin:12px 0 0; border-radius:6px; border-bottom:0}
  .side-foot{display:none}
}

/* ---------- buttons ---------- */
.btn{display:inline-flex; align-items:center; gap:9px; font-family:var(--f-body); font-size:15px; font-weight:600;
  padding:13px 24px; border-radius:var(--radius-sm); text-decoration:none; border:1.5px solid transparent; cursor:pointer;
  transition:background .15s, color .15s, border-color .15s}
.btn-primary{background:var(--madder); color:#fff; border-color:var(--madder)}
.btn-primary:hover{background:var(--madder-hover); border-color:var(--madder-hover)}
.btn-secondary{background:transparent; color:var(--peacock); border-color:var(--peacock)}
.btn-secondary:hover{background:var(--peacock-hover); border-color:var(--peacock-hover); color:#fff}
.btn-ghost{background:var(--surface); color:var(--ink); border-color:var(--rule)}
.btn-ghost:hover{border-color:var(--ink-3)}
.btn-row{display:flex; flex-wrap:wrap; gap:12px; margin-top:26px}
.btn-row.on-dark .btn-secondary{color:var(--on-deep); border-color:rgba(255,255,255,.5)}
.btn-row.on-dark .btn-secondary:hover{background:var(--on-deep); color:var(--peacock-deep); border-color:var(--on-deep)}

/* ---------- typography helpers ---------- */
.kicker{font-family:var(--f-mono); font-size:11.5px; font-weight:500; letter-spacing:.18em;
  text-transform:uppercase; color:var(--madder); display:block}
.kicker.light{color:var(--zari-lite)}
.h-xl{font-family:var(--f-display); font-size:clamp(33px,5.6vw,58px); line-height:1.05; letter-spacing:var(--display-tracking)}
.h-lg{font-family:var(--f-display); font-size:clamp(27px,3.9vw,40px); line-height:1.12; letter-spacing:var(--display-tracking)}
.h-md{font-family:var(--f-display); font-size:clamp(21px,2.6vw,27px); line-height:1.2; letter-spacing:var(--display-tracking)}
.h-sm{font-family:var(--f-body); font-size:15px; font-weight:700; letter-spacing:.02em}
.lead{font-family:var(--f-display); font-size:clamp(18px,2.1vw,21.5px); line-height:1.55; color:var(--ink-2)}
.muted{color:var(--ink-2)}
.small{font-size:14.5px}
.prose > * + *{margin-top:18px}
.prose p{max-width:68ch}
.te{font-family:var(--f-te)}

/* ---------- sections ---------- */
section{padding:clamp(52px,7vw,88px) 0}
.sec-head{max-width:70ch; margin-bottom:clamp(28px,4vw,44px)}
.sec-head .kicker{margin-bottom:10px}
.sec-head p{margin-top:14px}
.band{background:var(--surface)}
.band-2{background:var(--surface-2)}
.band-dark{background:var(--peacock-deep); color:var(--on-deep-2)}
.band-dark .h-lg, .band-dark .h-md{color:var(--on-deep)}
.band-dark p{color:var(--on-deep-2)}
.rule-top{border-top:1px solid var(--rule)}

/* ---------- split hero (Prospectus) ---------- */
.hero{display:grid; grid-template-columns:1fr 1fr; min-height:clamp(380px,44vw,520px); background:var(--peacock)}
.hero-txt{padding:clamp(30px,4.2vw,58px); display:flex; flex-direction:column; justify-content:center; color:var(--on-deep)}
.hero-txt .kicker{color:var(--zari-lite); margin-bottom:16px}
.hero h1{font-family:var(--f-display); font-size:clamp(28px,3.7vw,46px); line-height:1.06;
  letter-spacing:var(--display-tracking); color:#fff}
.hero p{color:var(--on-deep-2); font-size:16.5px; margin-top:18px; max-width:46ch}
.hero .btn-row{margin-top:26px}
.hero-img{position:relative; overflow:hidden; background:var(--peacock-deep)}
.hero-img img{width:100%; height:100%; object-fit:cover}
@media (max-width:900px){ .hero{grid-template-columns:1fr} .hero-img{min-height:260px} }

/* page banner (inner pages) — solid panel, no photo wash */
.pagehead{background:var(--peacock); color:var(--on-deep); border-bottom:4px solid var(--peacock-deep)}
.pagehead-bg{display:none}
.pagehead .wrap{padding-top:clamp(38px,5vw,62px); padding-bottom:clamp(38px,5vw,62px)}
.pagehead .kicker{color:var(--zari-lite)}
.pagehead h1{font-family:var(--f-display); font-size:clamp(28px,4.4vw,44px); line-height:1.08;
  letter-spacing:var(--display-tracking); color:#fff; margin-top:12px}
.pagehead p{color:var(--on-deep-2); margin-top:16px; max-width:58ch; font-size:17px}

/* ---------- key figures bar ---------- */
.stats{background:var(--surface); border-bottom:1px solid var(--rule)}
.stats .wrap{display:grid; grid-template-columns:repeat(4,1fr); padding:0; max-width:none}
.stat{padding:22px clamp(16px,2.2vw,30px); border-right:1px solid var(--rule)}
.stat:last-child{border-right:0}
.stat b{display:block; font-family:var(--f-display); font-size:clamp(21px,2.7vw,32px); line-height:1;
  color:var(--peacock); font-weight:700; letter-spacing:-.03em}
.stat span{display:block; margin-top:6px; font-size:12.5px; color:var(--ink-3); line-height:1.4}
@media (max-width:760px){ .stats .wrap{grid-template-columns:repeat(2,1fr)}
  .stat{border-bottom:1px solid var(--rule)} .stat:nth-child(even){border-right:0} }

/* ---------- numbered section head ---------- */
.sechead{display:flex; align-items:baseline; gap:16px; margin-bottom:26px}
.sechead .num{font-family:var(--f-mono); font-size:11px; color:var(--madder); letter-spacing:.1em; flex:none}
.sechead h2{font-family:var(--f-display); font-size:clamp(22px,2.9vw,30px); letter-spacing:var(--display-tracking)}
.sechead .line{flex:1; height:1px; background:var(--rule)}

/* ---------- strict numbered grid ---------- */
.gridn{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--rule); border:1px solid var(--rule)}
.gridn .cell{background:var(--surface); padding:24px 22px}
.gridn .cell .n{font-family:var(--f-mono); font-size:11px; color:var(--madder); letter-spacing:.1em}
.gridn .cell h3{font-family:var(--f-display); font-size:16.5px; margin-top:10px; font-weight:600; letter-spacing:-.01em}
.gridn .cell p{font-size:14.5px; color:var(--ink-2); margin-top:7px}
@media (max-width:960px){ .gridn{grid-template-columns:repeat(2,1fr)} }
@media (max-width:620px){ .gridn{grid-template-columns:1fr} }

/* ---------- ruled data table ---------- */
.tbl-wrap{overflow-x:auto}
.tbl{width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--rule);
  font-size:14.5px; min-width:560px}
.tbl th{text-align:left; font-family:var(--f-mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-3); padding:12px 18px; border-bottom:1px solid var(--rule); background:var(--surface-2); font-weight:500}
.tbl td{padding:13px 18px; border-bottom:1px solid var(--rule); color:var(--ink-2); vertical-align:top}
.tbl tr:last-child td{border-bottom:0}
.tbl td:first-child{font-weight:600; color:var(--ink); width:30%}
.tbl .tag{display:inline-block; font-family:var(--f-mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase;
  background:var(--zari-soft); color:var(--zari); padding:3px 8px; border-radius:3px; white-space:nowrap}
/* a stage can carry more than one programme tag */
.tbl .tags{display:flex; flex-wrap:wrap; gap:5px}

/* ---------- photo rail ---------- */
.rail{display:grid; grid-template-columns:repeat(5,1fr); gap:10px}
.rail figure{margin:0; position:relative; border-radius:var(--radius-sm); overflow:hidden; border:1px solid var(--rule)}
/* height:auto is required — the width/height attributes on the <img> act as a
   presentation hint and would otherwise beat aspect-ratio. */
.rail img{width:100%; height:auto; aspect-ratio:3/4; object-fit:cover}
.rail figcaption{position:absolute; left:0; right:0; bottom:0; padding:30px 11px 11px; color:#fff;
  font-size:12px; line-height:1.3; background:linear-gradient(to top, rgba(0,0,0,.9) 35%, transparent)}
@media (max-width:900px){ .rail{grid-template-columns:repeat(3,1fr)} .rail figure:nth-child(n+4){display:none} }
@media (max-width:520px){ .rail{grid-template-columns:repeat(2,1fr)} .rail figure:nth-child(n+3){display:none} }

/* ---------- quote card ---------- */
.qcard{background:var(--surface); border:1px solid var(--rule); border-left:4px solid var(--madder);
  border-radius:var(--radius); padding:clamp(24px,3.2vw,40px);
  display:grid; grid-template-columns:1fr 210px; gap:32px; align-items:center}
.qcard q{quotes:none; display:block; font-family:var(--f-display); font-size:clamp(18px,2.1vw,23px);
  line-height:1.42; letter-spacing:-.018em; color:var(--ink)}
.qcard .who{margin-top:16px; font-family:var(--f-mono); font-size:11px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--ink-3)}
.qcard img{border-radius:var(--radius-sm); aspect-ratio:1; object-fit:cover; width:100%; height:auto}
@media (max-width:820px){ .qcard{grid-template-columns:1fr} .qcard img{max-width:240px} }

/* ---------- cards & grids ---------- */
.grid{display:grid; gap:clamp(16px,2.4vw,26px)}
.g2{grid-template-columns:repeat(auto-fit, minmax(300px,1fr))}
.g3{grid-template-columns:repeat(auto-fit, minmax(268px,1fr))}
.g4{grid-template-columns:repeat(auto-fit, minmax(210px,1fr))}

.card{background:var(--surface); border:1px solid var(--rule); border-radius:var(--radius); padding:26px 24px;
  display:flex; flex-direction:column; gap:10px}
.card .h-sm{color:var(--ink)}
.card p{color:var(--ink-2); font-size:15.5px}
.card .num{font-family:var(--f-mono); font-size:12px; letter-spacing:.12em; color:var(--madder); font-weight:600}
.card-accent{border-top:3px solid var(--peacock)}

.split{display:grid; grid-template-columns:1fr 1fr; gap:clamp(26px,4.5vw,60px); align-items:center}
@media (max-width:860px){ .split{grid-template-columns:1fr} }
.figure{border-radius:var(--radius); overflow:hidden; border:1px solid var(--rule); box-shadow:var(--shadow-1); background:var(--surface-2)}
.figure img{width:100%; height:100%; object-fit:cover; aspect-ratio:4/3}
.figure figcaption{font-size:13.5px; color:var(--ink-3); padding:11px 14px; background:var(--surface); border-top:1px solid var(--rule-soft)}

/* feature list */
.flist{display:flex; flex-direction:column; gap:0; margin:0; padding:0; list-style:none}
.flist li{display:grid; grid-template-columns:auto 1fr; gap:18px; padding:20px 0; border-bottom:1px solid var(--rule)}
.flist li:first-child{border-top:1px solid var(--rule)}
.flist .mark{width:34px; height:34px; border-radius:50%; background:var(--peacock-soft); color:var(--peacock);
  display:grid; place-items:center; font-family:var(--f-mono); font-size:12px; font-weight:600}
.flist b{display:block; font-size:16.5px; color:var(--ink)}
.flist span{display:block; color:var(--ink-2); font-size:15.5px; margin-top:3px}

/* ---------- quote / principal ---------- */
.quote{border-left:4px solid var(--madder); padding:6px 0 6px 26px; margin:6px 0}
.quote p{font-family:var(--f-display); font-size:clamp(19px,2.3vw,24px); line-height:1.48; color:var(--ink)}
.quote cite{display:block; margin-top:14px; font-style:normal; font-size:14px; color:var(--ink-3);
  font-family:var(--f-mono); letter-spacing:.06em; text-transform:uppercase}

.person{display:grid; grid-template-columns:auto 1fr; gap:16px; align-items:start;
  background:var(--surface); border:1px solid var(--rule); border-radius:var(--radius); padding:20px}
.person .ini{width:48px; height:48px; border-radius:50%; background:var(--peacock-soft); color:var(--peacock);
  display:grid; place-items:center; font-family:var(--f-display); font-size:19px}
.person b{display:block; font-size:16.5px}
.person .role{font-family:var(--f-mono); font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--madder); margin-top:4px}
.person .qual{display:block; font-size:14.5px; color:var(--ink-2); margin-top:6px}

/* ---------- notes / placeholders ---------- */
.note{background:var(--zari-soft); border:1px dashed var(--zari); border-radius:var(--radius-sm); padding:14px 18px;
  font-size:14.5px; color:var(--zari-ink); font-family:var(--f-body)}
.note b{font-family:var(--f-mono); font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; display:block; margin-bottom:5px}

/* ---------- gallery ---------- */
.filters{display:flex; flex-wrap:wrap; gap:9px; margin-bottom:28px}
.filters button{font-family:var(--f-body); font-size:14px; font-weight:600; color:var(--ink-2);
  background:var(--surface); border:1px solid var(--rule); border-radius:100px; padding:9px 18px; cursor:pointer}
.filters button:hover{border-color:var(--ink-3)}
.filters button[aria-pressed="true"]{background:var(--peacock); border-color:var(--peacock); color:#fff}
.filters .count{font-family:var(--f-mono); font-size:11px; opacity:.7; margin-left:6px}

.gal{display:grid; grid-template-columns:repeat(auto-fill, minmax(232px,1fr)); gap:14px}
.gal figure{margin:0; position:relative; border-radius:var(--radius); overflow:hidden; background:var(--surface-3);
  border:1px solid var(--rule); cursor:zoom-in; box-shadow:var(--shadow-1)}
.gal img{width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; transition:transform .35s ease}
.gal figure:hover img{transform:scale(1.045)}
.gal figcaption{position:absolute; left:0; right:0; bottom:0; padding:26px 13px 11px; color:#fff; font-size:13.5px; line-height:1.35;
  background:linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,0)); opacity:0; transition:opacity .25s}
.gal figure:hover figcaption, .gal figure:focus-within figcaption{opacity:1}
.gal figure .tag{position:absolute; top:9px; left:9px; font-family:var(--f-mono); font-size:10px; letter-spacing:.1em;
  text-transform:uppercase; background:rgba(255,255,255,.94); color:var(--peacock); padding:4px 8px; border-radius:3px}
.gal button.shot{all:unset; display:block; cursor:zoom-in; width:100%}
.gal-more{display:flex; justify-content:center; margin-top:34px}

/* lightbox */
.lb{position:fixed; inset:0; z-index:300; background:rgba(10,12,11,.95); display:none;
  align-items:center; justify-content:center; padding:clamp(12px,4vw,48px)}
.lb.open{display:flex}
.lb-fig{max-width:min(1200px, 100%); max-height:100%; display:flex; flex-direction:column; gap:12px}
.lb img{max-height:78vh; width:auto; margin:0 auto; border-radius:5px; object-fit:contain}
.lb figcaption{color:#E2E7E3; font-size:14.5px; text-align:center; max-width:70ch; margin:0 auto}
.lb figcaption .of{display:block; font-family:var(--f-mono); font-size:11.5px; letter-spacing:.12em; color:#9AA6A0; margin-top:7px}
.lb-btn{position:absolute; background:rgba(255,255,255,.13); color:#fff; border:1px solid rgba(255,255,255,.32);
  width:46px; height:46px; border-radius:50%; font-size:20px; cursor:pointer; display:grid; place-items:center; line-height:1}
.lb-btn:hover{background:rgba(255,255,255,.26)}
.lb-prev{left:clamp(8px,2vw,26px)} .lb-next{right:clamp(8px,2vw,26px)}
.lb-close{top:clamp(8px,2vw,26px); right:clamp(8px,2vw,26px)}
@media (max-width:620px){ .lb-prev{left:8px; bottom:14px; top:auto} .lb-next{right:8px; bottom:14px; top:auto} }

/* ---------- documents (mandatory disclosures) ---------- */
.doc-group{margin-top:44px}
.doc-group > h2{font-family:var(--f-display); font-size:clamp(21px,2.6vw,27px); padding-bottom:10px;
  border-bottom:2px solid var(--ink); margin-bottom:0}
.doc-group > p.gnote{font-size:14.5px; color:var(--ink-3); margin-top:10px}
.doc{display:grid; grid-template-columns:auto 1fr auto; gap:20px; align-items:center;
  padding:22px 4px; border-bottom:1px solid var(--rule)}
.doc .pdf{width:42px; height:52px; flex:none; border-radius:4px; background:var(--madder-soft); color:var(--madder);
  border:1px solid rgba(0,0,0,.09); display:grid; place-items:center; font-family:var(--f-mono); font-size:10.5px; font-weight:600; letter-spacing:.06em}
.doc-main{min-width:0}
.doc-main b{display:block; font-size:17px; color:var(--ink); font-weight:600}
.doc-main .desc{display:block; font-size:15px; color:var(--ink-2); margin-top:4px; max-width:62ch}
.doc-meta{display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:9px; font-family:var(--f-mono); font-size:11.5px;
  letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
.doc-meta .yr{color:var(--peacock)}
.doc-actions{display:flex; gap:9px; flex-wrap:wrap}
.doc-actions a{font-size:13.5px; font-weight:600; text-decoration:none; padding:9px 15px; border-radius:var(--radius-sm);
  border:1.5px solid var(--rule); color:var(--ink); white-space:nowrap}
.doc-actions a.view{border-color:var(--peacock); color:var(--peacock)}
.doc-actions a.view:hover{background:var(--peacock); color:#fff}
.doc-actions a:hover{border-color:var(--ink-3)}
.doc.missing{opacity:.72}
.doc.missing .doc-actions span{font-size:13px; color:var(--ink-3); font-family:var(--f-mono); letter-spacing:.06em;
  border:1px dashed var(--rule); padding:9px 14px; border-radius:5px}
@media (max-width:720px){
  .doc{grid-template-columns:auto 1fr; gap:14px}
  .doc-actions{grid-column:1/-1; margin-top:4px}
}

/* ---------- contact ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:clamp(26px,4vw,56px)}
@media (max-width:860px){ .contact-grid{grid-template-columns:1fr} }
.dl{display:grid; grid-template-columns:auto 1fr; gap:12px 22px; margin:0}
.dl dt{font-family:var(--f-mono); font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); padding-top:4px}
.dl dd{margin:0; font-size:16.5px}
.map{border-radius:var(--radius); overflow:hidden; border:1px solid var(--rule); min-height:320px; background:var(--surface-2)}
.map iframe{width:100%; height:100%; min-height:320px; border:0; display:block}

/* form */
.form{display:grid; gap:16px}
.field{display:flex; flex-direction:column; gap:6px}
.field label{font-size:13.5px; font-weight:600; color:var(--ink-2)}
.field input, .field select, .field textarea{
  font-family:var(--f-body); font-size:16px; color:var(--ink); background:var(--surface);
  border:1.5px solid var(--rule); border-radius:var(--radius-sm); padding:12px 14px; width:100%}
.field input:focus, .field select:focus, .field textarea:focus{outline:none; border-color:var(--peacock)}
.field textarea{min-height:110px; resize:vertical}
.f2{display:grid; grid-template-columns:1fr 1fr; gap:16px}
@media (max-width:560px){ .f2{grid-template-columns:1fr} }

/* ---------- footer ---------- */
.site-foot{background:var(--peacock-deep); color:var(--on-deep-2); font-size:15px; padding:clamp(44px,6vw,68px) 0 30px; margin-top:0}
.foot-grid{display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:clamp(26px,4vw,50px)}
@media (max-width:820px){ .foot-grid{grid-template-columns:1fr 1fr} }
@media (max-width:540px){ .foot-grid{grid-template-columns:1fr} }
.site-foot h4{font-family:var(--f-mono); font-size:11.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--zari-lite); margin-bottom:16px}
.site-foot a{color:var(--on-deep-2); text-decoration:none}
.site-foot a:hover{text-decoration:underline; color:var(--on-deep)}
.site-foot .foot-crest{width:64px; height:64px; border-radius:11px; display:block; margin-bottom:16px}
.site-foot .fname{display:block; font-family:var(--f-display); font-size:23px; font-weight:700;
  letter-spacing:-.022em; color:var(--on-deep); line-height:1.16}
.site-foot .fname .fname-hs{display:block; font-size:15px; font-weight:600; letter-spacing:.01em;
  color:var(--zari-lite); margin-top:4px}
.site-foot ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px}
.motto{margin-top:40px; padding-top:26px; border-top:1px solid var(--deep-rule); text-align:center}
.motto .te{font-family:var(--f-te); font-size:clamp(17px,2.4vw,22px); color:var(--zari-lite); line-height:1.6}
.motto .en{font-size:14.5px; color:var(--on-deep-3); margin-top:8px; font-style:italic}
.copyline{margin-top:26px; padding-top:20px; border-top:1px solid var(--deep-rule);
  display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:space-between; font-size:13.5px; color:var(--on-deep-3)}
/* developer credit — deliberately the quietest line on the page */
.credit{margin:18px 0 0; text-align:center; font-size:12.5px; color:var(--on-deep-3); opacity:.8}

/* ---------- misc ---------- */
.pill{display:inline-block; font-family:var(--f-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  background:var(--peacock-soft); color:var(--peacock); padding:5px 11px; border-radius:100px}
.loading{padding:40px 0; color:var(--ink-3); font-family:var(--f-mono); font-size:13px; letter-spacing:.08em}
@media (prefers-reduced-motion:reduce){ *{animation:none !important; transition:none !important} html{scroll-behavior:auto} }
@media print{ .side,.site-foot,.filters,.btn-row{display:none} .main{margin-left:0} body{background:#fff} }
