/* ============================================================
   HAMID AUTO — H.NAJAFI MOTORS PARTS LTD
   Design system: "Industrial garage premium"
   Black canvas · gold accent · angular cuts · real photography
   Built by Vawebdev LTD (vanwebdev.ca)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand — black + gold (from the business card) */
  --ink:        #0c0d10;   /* primary dark canvas        */
  --jet:        #15171c;   /* raised dark surfaces       */
  --jet-2:      #1d2026;   /* cards / inputs on dark      */
  --paper:      #f6f2e9;   /* warm light section          */
  --paper-2:    #efe9da;
  --white:      #ffffff;

  --gold:       #f2b50a;   /* primary accent (on dark)    */
  --gold-deep:  #c8890a;   /* accent text on light (AA)   */
  --gold-soft:  #fbe08a;
  --gold-glow:  rgba(242,181,10,.18);

  --txt:        #f4f1ea;   /* body text on dark           */
  --txt-dim:    #a7adb6;   /* muted on dark               */
  --txt-ink:    #14140f;   /* body text on light          */
  --txt-ink-dim:#5b6066;

  --line:       rgba(255,255,255,.10);
  --line-strong:rgba(255,255,255,.16);
  --line-ink:   rgba(20,20,15,.12);

  /* Heritage tri-band (nod to the card edge) */
  --h-green:    #1f9d55;
  --h-red:      #e23b3b;

  /* Type */
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --f-mono:    "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;
  --f-fa:      "Vazirmatn", "Hanken Grotesk", Tahoma, sans-serif;

  /* Scale & rhythm */
  --wrap: 1200px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 50px -22px rgba(0,0,0,.65);
  --shadow-gold: 0 14px 40px -18px var(--gold-glow);
  --cut: 16px; /* angular corner cut */

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--txt);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .25vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); }
p { text-wrap: pretty; }
strong { font-weight: 700; color: #fff; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: var(--gold); display: inline-block; }
.fa { font-family: var(--f-fa); direction: rtl; unicode-bidi: isolate; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(3.5rem, 2.4rem + 5vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--txt-dim); max-width: 56ch; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow::before { display: none; }

.band--paper { background: var(--paper); color: var(--txt-ink); }
.band--paper .lead { color: var(--txt-ink-dim); }
.band--paper .eyebrow { color: var(--gold-deep); }
.band--paper .eyebrow::before { background: var(--gold-deep); }
.band--paper h1, .band--paper h2, .band--paper h3 { color: var(--txt-ink); }
.band--jet { background: var(--jet); }

.heritage-rule { height: 4px; border: 0; background: linear-gradient(90deg, var(--h-green) 0 33.33%, #fff 33.33% 66.66%, var(--h-red) 66.66% 100%); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: #1a1304;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: .95rem;
  padding: .95em 1.5em; min-height: 52px;
  background: var(--bg); color: var(--fg);
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn:active { transform: translateY(-1px); }
.btn--gold { box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.btn--ghost { background: transparent; color: var(--txt); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: #fff; }
.band--paper .btn--ghost { color: var(--txt-ink); box-shadow: inset 0 0 0 1.5px var(--line-ink); }
.band--paper .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold-deep); color: var(--gold-deep); }
.btn svg { width: 1.1em; height: 1.1em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.link-arrow { font-family: var(--f-mono); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: .5em; transition: gap .25s var(--ease); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover { gap: .8em; }
.band--paper .link-arrow { color: var(--gold-deep); }

/* ---------- Header ---------- */
.utility {
  background: #07080a; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em;
  color: var(--txt-dim); text-transform: uppercase;
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; padding-block: .35rem; }
.utility-left { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.utility .dot { color: var(--gold); }
.utility .fa { letter-spacing: 0; font-size: .85rem; color: var(--txt); }
.utility a:hover { color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(12,13,16,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: 1.32rem; color: #fff; }
.brand__name b { color: var(--gold); font-weight: 900; }
.brand__sub { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .22em; color: var(--txt-dim); text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; padding: 0; }
.nav-links a { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: .82rem; letter-spacing: .06em; color: var(--txt-dim); position: relative; padding-block: .4rem; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .25s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-call { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-mono); font-weight: 600; font-size: .9rem; color: #fff; padding: .55rem .8rem; border-radius: var(--radius); box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: box-shadow .2s, color .2s; white-space: nowrap; }
.nav-call:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); }
.nav-call svg { width: 1.05em; height: 1.05em; color: var(--gold); }
.nav-cta .btn { padding: .7em 1.1em; min-height: 46px; font-size: .85rem; }

.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; box-shadow: inset 0 0 0 1.5px var(--line-strong); border-radius: var(--radius); }
.nav-toggle span { width: 22px; height: 2px; background: var(--gold); transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.skip-link { position: absolute; left: 1rem; top: -60px; background: var(--gold); color: #111; padding: .6rem 1rem; border-radius: var(--radius); z-index: 100; transition: top .2s; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- Mobile menu ---------- */
@media (max-width: 940px) {
  .nav-links, .nav-cta .nav-call { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { gap: .7rem; }
  .mobile-menu { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--ink); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .3s var(--ease); z-index: 80; padding: 5.5rem 1.5rem 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: .4rem; }
  .mobile-menu[data-open="true"] { transform: translateX(0); box-shadow: var(--shadow); }
  .mobile-menu a.m-link { font-family: var(--f-display); text-transform: uppercase; font-weight: 700; font-size: 1.15rem; padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--txt); }
  .mobile-menu a.m-link:hover { color: var(--gold); }
  .mobile-contacts { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .7rem; font-family: var(--f-mono); font-size: .85rem; }
  .mobile-contacts a { display: flex; justify-content: space-between; gap: 1rem; color: var(--txt-dim); }
  .mobile-contacts a b { color: var(--gold); font-weight: 600; }
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 70; }
  .scrim[data-open="true"] { opacity: 1; visibility: visible; }
}
@media (min-width: 941px) { .mobile-menu, .scrim { display: none; } }

/* ---------- Sticky mobile call/book bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: none; grid-template-columns: 1.2fr 1fr 1fr; background: #07080a; border-top: 1px solid var(--line-strong); box-shadow: 0 -12px 30px -10px rgba(0,0,0,.6); }
.callbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: .6rem .3rem env(safe-area-inset-bottom); min-height: 60px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .04em; color: var(--txt); }
.callbar a svg { width: 20px; height: 20px; }
.callbar a.is-primary { background: var(--gold); color: #1a1304; }
.callbar a:not(.is-primary) { border-left: 1px solid var(--line); }
@media (max-width: 940px) { .callbar { display: grid; } body { padding-bottom: 64px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(560px, 86vh, 860px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(8,9,12,.55) 0%, rgba(8,9,12,.35) 38%, rgba(8,9,12,.92) 100%),
    linear-gradient(90deg, rgba(8,9,12,.78) 0%, rgba(8,9,12,.15) 60%, transparent 100%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .5; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.hero__inner { padding-block: clamp(2.5rem, 2rem + 6vw, 6rem); max-width: 64ch; }
.hero h1 { color: #fff; margin-block: .55rem .2rem; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero h1 .gold { color: var(--gold); }
.hero__fa { font-family: var(--f-fa); direction: rtl; color: var(--gold-soft); font-size: clamp(1.05rem, 1rem + .6vw, 1.5rem); font-weight: 700; margin-bottom: 1rem; }
.hero .lead { color: #e7e3d8; max-width: 52ch; margin-bottom: 1.7rem; }
.hero .cta-row { margin-bottom: 1.1rem; }
.hero__micro { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; color: var(--txt-dim); text-transform: uppercase; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.hero__micro span { display: inline-flex; align-items: center; gap: .45em; }
.hero__micro span::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.pulse::before { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 var(--gold-glow); } 50% { box-shadow: 0 0 0 6px transparent; } }

/* ---------- Trust strip ---------- */
.trust { background: #07080a; border-block: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.trust__item { padding: 1.5rem 1.25rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .25rem; }
.trust__item:last-child { border-right: 0; }
.trust__item dt { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; color: #fff; font-size: 1.05rem; letter-spacing: .01em; }
.trust__item dd { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; color: var(--txt-dim); }
.trust__item .ic { color: var(--gold); width: 24px; height: 24px; margin-bottom: .4rem; }

/* ---------- Section heading block ---------- */
.head { max-width: 60ch; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.head h2 { margin-block: .6rem .8rem; }
.head--center { margin-inline: auto; text-align: center; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.svc-card { background: var(--jet); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; min-height: 168px; position: relative; transition: background .25s var(--ease), transform .25s var(--ease); }
.svc-card:hover { background: var(--jet-2); }
.svc-card .ic { width: 30px; height: 30px; color: var(--gold); }
.svc-card h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; color: #fff; }
.svc-card p { color: var(--txt-dim); font-size: .92rem; line-height: 1.5; flex: 1; }
.svc-card .go { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.svc-card:hover .go { opacity: 1; transform: translateX(0); }
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--gold); transition: width .3s var(--ease); }
.svc-card:hover::before { width: 100%; }

/* ---------- Feature / Why grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.25rem; }
.feature { background: var(--jet); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem 1.6rem; position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); transition: transform .3s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-5px); border-color: rgba(242,181,10,.4); }
.feature .num { font-family: var(--f-mono); font-size: .8rem; color: var(--gold); letter-spacing: .1em; }
.feature h3 { margin-block: .7rem .5rem; color: #fff; text-transform: none; }
.feature p { color: var(--txt-dim); font-size: .95rem; }
.feature .ic { width: 34px; height: 34px; color: var(--gold); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media--stack { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1/1; }
.split__media--stack img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: auto; }
.split__media--stack img:first-child { grid-row: span 2; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* ---------- Band CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--gold) 0%, var(--gold-deep) 100%); color: #1a1304; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%); }
.cta-band h2 { color: #1a1304; }
.cta-band .inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.cta-band .btn--gold { --bg: #15110a; --fg: var(--gold); }
.cta-band .btn--ghost { color: #1a1304; box-shadow: inset 0 0 0 1.5px rgba(26,19,4,.4); }
.cta-band .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #15110a; color: #15110a; }

/* ---------- Mobile-mechanic steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.25rem; }
.step { background: var(--jet); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.6rem 1.6rem; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--f-display); font-weight: 900; font-size: 3rem; color: transparent; -webkit-text-stroke: 1.5px var(--gold); line-height: 1; display: block; margin-bottom: .6rem; }
.step h3 { color: #fff; margin-bottom: .4rem; }
.step p { color: var(--txt-dim); font-size: .95rem; }

.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: .9rem 1.5rem; list-style: none; padding: 0; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.checklist li .ic { color: var(--gold); width: 22px; height: 22px; flex: none; margin-top: 2px; }
.checklist li b { color: #fff; font-weight: 700; }

/* ---------- Map ---------- */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.25) contrast(1.05); }

/* contact chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .82rem; padding: .55rem .85rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--txt); transition: box-shadow .2s, color .2s; }
.chip svg { width: 1em; height: 1em; color: var(--gold); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: #fff; }

/* contact methods list */
.methods { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.method { background: var(--jet); padding: 1.3rem 1.4rem; display: flex; align-items: center; gap: 1rem; transition: background .2s; }
.method:hover { background: var(--jet-2); }
.method .ic { width: 28px; height: 28px; color: var(--gold); flex: none; }
.method .m-label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-dim); }
.method .m-value { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.method .m-note { font-size: .82rem; color: var(--gold); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; background: var(--jet); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.band--paper .form { background: #fff; border-color: var(--line-ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-dim); }
.band--paper .field label { color: var(--txt-ink-dim); }
.field .req { color: var(--gold); }
.field input, .field textarea, .field select {
  background: var(--jet-2); color: var(--txt); border: 1.5px solid var(--line-strong);
  border-radius: var(--radius); padding: .8rem .9rem; min-height: 50px; width: 100%;
  transition: border-color .2s, background .2s;
}
.band--paper .field input, .band--paper .field textarea, .band--paper .field select { background: var(--paper); color: var(--txt-ink); border-color: var(--line-ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); outline: none; background: #fff1; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f2b50a' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span { display: inline-flex; padding: .55rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-family: var(--f-mono); font-size: .82rem; transition: .2s; }
.radio-pill input:checked + span { background: var(--gold); color: #1a1304; box-shadow: none; font-weight: 600; }
.radio-pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.field-toggle[hidden] { display: none; }
.form-note { font-family: var(--f-mono); font-size: .78rem; color: var(--txt-dim); line-height: 1.5; }
.band--paper .form-note { color: var(--txt-ink-dim); }
.form-status { font-size: .9rem; padding: .8rem 1rem; border-radius: var(--radius); display: none; }
.form-status[data-show="ok"] { display: block; background: rgba(31,157,85,.15); box-shadow: inset 0 0 0 1.5px var(--h-green); color: #bff0d2; }
.band--paper .form-status[data-show="ok"] { color: #135c33; }

/* reassurance strip */
.reassure { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .04em; color: var(--txt-dim); text-transform: uppercase; }
.reassure span { display: inline-flex; align-items: center; gap: .45em; }
.reassure span::before { content: "✓"; color: var(--gold); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #07080a; border-top: 1px solid var(--line); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.3fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a, .footer-col p { color: var(--txt-dim); font-size: .9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-brand .brand__name { font-size: 1.4rem; }
.footer-tag { margin-top: .8rem; color: var(--txt-dim); font-size: .92rem; max-width: 32ch; }
.footer-fa { font-family: var(--f-fa); direction: rtl; color: var(--gold-soft); margin-top: .4rem; }
.footer-legal { font-family: var(--f-mono); font-size: .72rem; color: #6a6f78; margin-top: .8rem; letter-spacing: .03em; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: clamp(2rem,1.5rem+2vw,3.5rem); padding-block: 1.4rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: .74rem; color: #6a6f78; letter-spacing: .04em; }
.footer-bottom a { color: var(--gold); }

/* ---------- Card showcase (about/contact) ---------- */
.cards-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .cards-showcase { grid-template-columns: 1fr; } }
.cards-showcase figure { background: var(--jet); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; }
.cards-showcase img { border-radius: var(--radius); width: 100%; }
.cards-showcase figcaption { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-dim); margin-top: .7rem; text-align: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* misc */
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--txt-dim); }
.band--paper .prose p { color: var(--txt-ink-dim); }
.tag-todo { font-family: var(--f-mono); font-size: .72rem; color: var(--gold-deep); background: rgba(242,181,10,.12); padding: .15rem .5rem; border-radius: 3px; letter-spacing: .03em; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }
