/* ==========================================================
   Herkam Atelier — company profile
   Tokens: ink #090B0A, yellow #FEF104 (dari logo)
   ========================================================== */
:root {
  --ink: #090B0A;
  --yellow: #FEF104;
  --yellow-soft: #FFFBB8;
  --paper: #F5F6F3;
  --surface: #FFFFFF;
  --stone: #E3E6E1;
  --line: #D3D7D1;
  --muted: #586059;
  --ok: #1F6B3A;
  --err: #A32418;

  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 3px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: var(--header-h); }
.section { padding-block: clamp(72px, 10vw, 136px); }

/* ---------- type ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 500; font-size: .75rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 10px; height: 10px; background: var(--yellow); outline: 1px solid var(--ink); }
.h-display {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em;
  line-height: 1.04; text-wrap: balance;
}
.h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.hl {
  background: linear-gradient(transparent 60%, var(--yellow) 60% 94%, transparent 94%);
  padding-inline: .06em; margin-inline: -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  font-style: italic;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 58ch; }
.section-head { display: grid; align-content: start; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); transition: transform .2s, background-color .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #1c211e; box-shadow: 4px 4px 0 var(--yellow); transform: translate(-2px, -2px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; line-height: 1.3; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a:not(.btn) { font-size: .95rem; font-weight: 500; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 3px no-repeat; transition: background-size .25s; }
.nav a:not(.btn):hover { background-size: 100% 3px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--ink); background: transparent; border-radius: var(--radius); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .brand span { display: none; }
  .nav {
    position: absolute; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; background: none; }
  .nav .btn { margin-top: 20px; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 104px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-eyebrow { margin-bottom: 28px; }
.hero h1 { font-size: clamp(2.9rem, 7.4vw, 6.3rem); }
.hero .lead { margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-meta { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 32px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-meta b { color: var(--ink); font-weight: 500; }

.hero-art { position: relative; padding: 0 0 56px 44px; }
.hero-art::before { content: ""; position: absolute; top: -18px; right: -18px; width: 42%; aspect-ratio: 1; background: var(--yellow); z-index: 0; }
.hero-main { position: relative; z-index: 1; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--stone); border: 1.5px solid var(--ink); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-inset { position: absolute; z-index: 2; left: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid var(--paper); outline: 1.5px solid var(--ink); background: var(--stone); overflow: hidden; }
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag { position: absolute; z-index: 3; right: 0; bottom: 20px; background: var(--ink); color: var(--paper); padding: 12px 16px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; max-width: 46%; }
.hero-tag b { display: block; color: var(--yellow); font-weight: 500; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; padding-left: 28px; }
}

/* ---------- band ---------- */
.band { background: var(--yellow); border-block: 1.5px solid var(--ink); }
.band ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding-block: 18px; font-family: var(--font-mono); font-weight: 500; font-size: clamp(.72rem, 1.5vw, .9rem); letter-spacing: .18em; text-transform: uppercase; }
.band li { display: flex; align-items: center; }
.band li + li::before { content: "/"; margin-inline: clamp(12px, 2.4vw, 32px); opacity: .55; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 112px); }
.about-copy { display: grid; gap: 22px; font-size: 1.1rem; }
.about-copy p { max-width: 62ch; color: #2A302C; }
.about-copy strong { font-weight: 700; }
.philosophy { margin-top: 12px; padding: 32px clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-left: 0; position: relative; }
.philosophy::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--yellow); border-right: 1.5px solid var(--ink); }
.philosophy .label { margin-bottom: 14px; }
.philosophy h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; margin-bottom: 14px; }
.philosophy p { color: var(--muted); font-size: 1rem; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 7vw, 88px); border-top: 1.5px solid var(--ink); }
.pillar { padding: 28px clamp(16px, 2.4vw, 32px) 0 0; }
.pillar + .pillar { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.pillar h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; line-height: 1.1; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 1rem; }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; border-top: 0; }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 1.5px solid var(--ink); }
}

/* ---------- services ---------- */
.services { background: var(--surface); border-block: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.svc { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s; }
.svc:hover { border-color: var(--ink); box-shadow: 8px 8px 0 var(--yellow); transform: translate(-4px, -4px); }
.svc-photo { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1.5px solid var(--ink); background: var(--stone); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.svc:hover .svc-photo img { transform: scale(1.05); }
.svc-body { padding: 28px clamp(20px, 2.2vw, 30px) 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.svc h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1.05; }
.svc p { color: var(--muted); font-size: 1rem; }
.svc ul { margin-top: auto; padding-top: 12px; }
.svc li { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; padding: 11px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.svc li::before { content: ""; width: 6px; height: 6px; background: var(--ink); flex: none; }
@media (max-width: 1020px) { .svc-grid { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- process ---------- */
.process-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; counter-reset: step; }
.process-list::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1.5px; background: var(--ink); }
.step { position: relative; padding: 44px clamp(12px, 1.6vw, 24px) 0 0; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 23px; height: 23px; background: var(--paper); border: 1.5px solid var(--ink); }
.step:first-child::before, .step:last-child::before { background: var(--yellow); }
.step-no { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; color: var(--muted); }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: .98rem; }
.process-note { margin-top: 48px; padding: 22px 26px; border: 1.5px solid var(--ink); background: var(--yellow); display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
.process-note strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
@media (max-width: 900px) {
  .process-list { grid-template-columns: 1fr; }
  .process-list::before { left: 11px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; }
  .step { padding: 0 0 36px 52px; }
  .step:last-child { padding-bottom: 0; }
}

/* ---------- portfolio ---------- */
.portfolio { background: var(--surface); border-block: 1px solid var(--line); }
.pf-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 40px; }
.pf-top .section-head { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; transition: background-color .2s; }
.filter:hover { background: var(--yellow-soft); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filter small { font-family: var(--font-mono); font-size: .7rem; opacity: .7; margin-left: 6px; }
.gallery { columns: 3 300px; column-gap: 20px; }
.pf { break-inside: avoid; margin: 0 0 20px; }
.pf button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.pf-img { display: block; position: relative; overflow: hidden; background: var(--stone); border: 1px solid var(--line); }
.pf-img img { width: 100%; height: auto; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pf button:hover .pf-img img { transform: scale(1.04); }
.pf-cat { position: absolute; left: 0; top: 0; background: var(--yellow); border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 5px 10px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.pf figcaption { padding: 12px 2px 0; font-size: .95rem; line-height: 1.4; }
.pf figcaption b { display: block; font-weight: 700; }
.pf figcaption span { color: var(--muted); font-size: .88rem; }
.pf[hidden] { display: none; }
.js .pf.extra { display: none; }
.js .gallery.expanded .pf.extra { display: block; }
.js .pf.gone { display: none; }
.pf-more { display: flex; justify-content: center; margin-top: 28px; }
.no-js .pf-more { display: none; }

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lb::backdrop { background: rgba(9, 11, 10, .92); }
.lb-inner { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 56px clamp(12px, 5vw, 72px) 24px; gap: 16px; color: #fff; }
.lb-inner img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; min-height: 0; }
.lb-cap { text-align: center; font-size: .95rem; }
.lb-cap b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.lb-cap span { color: #C9CEC8; font-size: .9rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--radius); cursor: pointer; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 12px; translate: none; } .lb-inner { padding-bottom: 76px; } }

/* ---------- clients ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); border-left: 1px solid var(--line); }
.client { padding: 30px 22px; min-height: 112px; display: flex; align-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.12; transition: background-color .2s; }
.client:hover { background: var(--yellow); }
.client small { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.clients-grid { border-right: 0; }
@media (max-width: 960px) { .clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .client { padding: 22px 14px; min-height: 96px; } }

/* ---------- quality ---------- */
.quality { background: var(--surface); border-block: 1px solid var(--line); }
.quality-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.checks { margin-top: 36px; display: grid; }
.checks li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); font-size: 1.08rem; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks svg { width: 32px; height: 32px; padding: 6px; background: var(--yellow); border: 1.5px solid var(--ink); }
.quality-photo { position: relative; padding: 0 20px 20px 0; }
.quality-photo::before { content: ""; position: absolute; right: 0; bottom: 0; width: 78%; height: 78%; background: var(--yellow); }
.quality-photo img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1.5px solid var(--ink); }
.quality-photo figcaption { position: absolute; left: 0; bottom: 20px; z-index: 2; background: var(--ink); color: var(--paper); padding: 9px 14px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 880px) { .quality-grid { grid-template-columns: 1fr; } .quality-photo { order: -1; max-width: 520px; } }

/* ---------- statement ---------- */
.statement { background: var(--ink); color: var(--paper); padding-block: clamp(72px, 10vw, 128px); text-align: center; }
.statement-logo { width: 96px; margin: 0 auto 36px; background: #fff; padding: 12px; border-radius: 10px; }
.statement blockquote { margin: 0 auto; max-width: 22em; font-family: var(--font-display); font-style: italic; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.18; text-wrap: balance; }
.statement .rule { width: 88px; height: 3px; background: var(--yellow); margin: 40px auto 20px; }
.statement cite { font-style: normal; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info { display: grid; gap: 34px; }
.info-list { display: grid; }
.info-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.info-list > div:last-child { border-bottom: 1px solid var(--line); }
.info-list dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.info-list dd { font-size: 1.05rem; overflow-wrap: anywhere; }
.info-list a { text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.info-list a:hover { background: var(--yellow); }
.map { border: 1.5px solid var(--ink); aspect-ratio: 16 / 10; background: var(--stone); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.85) contrast(1.05); }

.form-card { background: var(--surface); border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--yellow); padding: clamp(22px, 3.2vw, 40px); }
.form-card h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: 1rem; }
.mode { display: grid; grid-template-columns: 1fr 1fr; margin: 26px 0 8px; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.mode label { position: relative; cursor: pointer; }
.mode input { position: absolute; opacity: 0; inset: 0; }
.mode span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 12px; font-weight: 700; transition: background-color .2s; }
.mode svg { width: 20px; height: 20px; flex: none; }
.mode label + label span { border-left: 1.5px solid var(--ink); }
.mode input:checked + span { background: var(--yellow); }
.mode input:not(:checked) + span:hover { background: var(--yellow-soft); }
.mode input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: -5px; }
.mode-hint { font-size: .92rem; color: var(--muted); min-height: 1.6em; margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.field label i { font-style: normal; color: var(--muted); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9AA19A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px var(--yellow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; display: grid; gap: 12px; }
.form-actions .btn { width: 100%; min-height: 56px; }
.form-actions small { color: var(--muted); font-size: .88rem; }
.notice { margin-bottom: 22px; padding: 14px 16px; border: 1.5px solid; border-radius: var(--radius); font-size: .98rem; line-height: 1.5; }
.notice.ok { border-color: var(--ok); background: #EAF5EE; color: #14482A; }
.notice.err { border-color: var(--err); background: #FCECEA; color: #7A170E; }
.notice a { font-weight: 700; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .info-list > div { grid-template-columns: 1fr; gap: 4px; } .form-card { box-shadow: 6px 6px 0 var(--yellow); } }

/* ---------- footer ---------- */
.site-footer { padding-block: 56px 40px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot img { height: 56px; width: auto; margin-bottom: 18px; }
.foot p, .foot li { color: var(--muted); font-size: .96rem; }
.foot h4 { margin: 0 0 14px; font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.foot li + li { margin-top: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; gap: 32px; } }
.foot-bottom a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.foot-bottom a:hover { background: var(--yellow); }

/* floating whatsapp */
.wa-float { position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 56px; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
