/* ZeroPoint Geospatial
   One stylesheet for the whole site. Sections, in order:
   fonts, tokens, base, layout, type, buttons, header, footer, bands,
   home, projects, field notes, prints, utilities, print. */

/* ---------- fonts (self-hosted, Latin) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/fonts/barlow-300.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --ink: #0b0d0c;
  --ink-2: #121614;
  --paper: #f1f0eb;
  --paper-2: #e8e7e1;
  --white: #fafaf7;
  --olive: #788653;
  --olive-ink: #56623a;      /* olive dark enough for small text on paper */
  --olive-light: #aab590;
  --wa: #17803f;

  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header: 72px;
  --band: clamp(72px, 9vw, 132px);

  /* light surface defaults; .band--ink swaps these */
  --bg: var(--paper);
  --fg: #1a1d1b;
  --fg-soft: #5a615b;
  --fg-faint: #646a65;
  --rule: #d3d3cc;
  --accent: var(--olive-ink);
  --surface: var(--white);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--olive-light); outline-offset: 3px; }
::selection { background: var(--olive-light); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--white); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); }

.band { background: var(--bg); color: var(--fg); padding-block: var(--band); }
.band--paper { --bg: var(--paper); --surface: var(--white); }
.band--paper-2 { --bg: var(--paper-2); --surface: var(--paper); }
.band--white { --bg: var(--white); --surface: var(--paper); }
.band--ink {
  --bg: var(--ink);
  --fg: #f4f3ee;
  --fg-soft: rgba(244, 243, 238, 0.66);
  --fg-faint: rgba(244, 243, 238, 0.54);
  --rule: rgba(255, 255, 255, 0.14);
  --accent: var(--olive-light);
  --surface: var(--ink-2);
}
.band--tight { padding-block: clamp(48px, 6vw, 80px); }

/* section heading: small numbered label beside a large title */
.sec-head { display: grid; grid-template-columns: minmax(150px, 0.22fr) 1fr; gap: 24px clamp(24px, 5vw, 80px); margin-bottom: clamp(36px, 5vw, 72px); }
.sec-head__body { max-width: 780px; }
.sec-head .lede { margin-top: 20px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; gap: 14px; } }

/* a grid whose cells are separated by hairlines */
.rule-grid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.rule-grid > * { background: var(--bg); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-4, .cols-3 { grid-template-columns: 1fr; } }

/* ---------- type ---------- */
.display { font-size: clamp(3rem, 7.4vw, 6.75rem); font-weight: 300; line-height: 0.9; letter-spacing: -0.035em; text-transform: uppercase; }
.display strong { font-weight: 500; }
.h2 { font-size: clamp(2.1rem, 4.3vw, 3.75rem); font-weight: 300; line-height: 1; letter-spacing: -0.028em; text-wrap: balance; }
.h2 strong { font-weight: 500; }
.h3 { font-size: 1.375rem; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.lede { max-width: 60ch; color: var(--fg-soft); font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.55; }
.label { color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; line-height: 1.4; text-transform: uppercase; }
.label a { text-decoration: none; }
.label a:hover { text-decoration: underline; }
.label .num, .label .sep { margin-right: 0.6em; color: var(--fg-faint); font-family: var(--mono); font-weight: 400; letter-spacing: 0.04em; }
.label .sep { margin-left: 0.6em; }
.mono { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0; }
.muted { color: var(--fg-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 0;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.13em; line-height: 1; text-decoration: none; text-transform: uppercase;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.72rem; }
.btn--light { background: #f4f3ee; color: var(--ink); }
.btn--light:hover { background: var(--olive-light); }
.btn--dark { background: var(--ink); color: #f4f3ee; }
.btn--dark:hover { background: var(--olive-ink); }
.btn--ghost { border-color: currentColor; background: transparent; color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #126a33; }
.btn .icon { flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.13em; text-decoration: none; text-transform: uppercase; }
.text-link::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .18s ease; }
.text-link:hover::after { width: 34px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header); padding-inline: var(--gutter);
  background: rgba(11, 13, 12, 0.94); color: #f4f3ee;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.brand__name span { color: var(--olive-light); }
.brand__tag { margin-top: 3px; color: rgba(244, 243, 238, 0.54); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { position: relative; padding-block: 8px; color: rgba(244, 243, 238, 0.72); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; white-space: nowrap; transition: color .18s ease; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--olive-light); }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; margin-inline: auto; background: #f4f3ee; transition: transform .2s ease, background-color .2s ease; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--header)); max-height: calc(100dvh - var(--header)); overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav .btn { margin-top: 20px; min-height: 48px; }
}
@media (max-width: 520px) { .brand__tag { display: none; } .brand__name { font-size: 0.85rem; } }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(56px, 7vw, 88px) 28px; background: var(--ink); color: rgba(244, 243, 238, 0.66); font-size: 0.95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1fr; gap: 40px clamp(28px, 4vw, 64px); }
.site-footer .brand { color: #f4f3ee; }
.site-footer__brand p { max-width: 36ch; margin-top: 20px; }
.site-footer h2 { margin-bottom: 16px; color: #f4f3ee; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; transition: color .18s ease; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(244, 243, 238, 0.54); font-size: 0.85rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* floating WhatsApp (desktop) and call bar (phones) */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24); transition: transform .18s ease, background-color .18s ease; }
.wa-float:hover { background: #126a33; transform: translateY(-2px); }
.wa-float .icon { width: 28px; height: 28px; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, 0.14); border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; background: var(--ink); color: #f4f3ee; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.13em; text-decoration: none; text-transform: uppercase; }
  .mobile-bar .mobile-bar__wa { background: var(--wa); color: #fff; }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}

/* ---------- page heads (inner pages) ---------- */
.page-head { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 150px) clamp(48px, 6vw, 88px); }
.page-head__title { max-width: 14ch; margin-top: 18px; font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 300; line-height: 0.92; letter-spacing: -0.035em; text-transform: uppercase; text-wrap: balance; }
.page-head__title--post { max-width: none; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.028em; text-transform: none; }
.page-head .lede { margin-top: 24px; }
.page-head__texture { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); pointer-events: none; }
.page-head > .wrap { position: relative; z-index: 1; }

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 104px) 0; }
.hero__texture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; -webkit-mask-image: radial-gradient(120% 90% at 78% 30%, #000 0%, transparent 72%); mask-image: radial-gradient(120% 90% at 78% 30%, #000 0%, transparent 72%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero__copy { padding-bottom: clamp(40px, 6vw, 88px); }
.hero .display { margin-top: 22px; }
.hero .lede { margin-top: 28px; max-width: 52ch; }
.hero .btn-row { margin-top: 36px; }
.hero__photo { position: relative; align-self: end; }
.hero__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(0.72) contrast(1.04); }
.hero__photo::before, .hero__photo::after { content: ""; position: absolute; z-index: 1; width: 22px; height: 22px; border: 1px solid rgba(244, 243, 238, 0.7); pointer-events: none; }
.hero__photo::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.hero__photo::after { right: 12px; bottom: 44px; border-left: 0; border-top: 0; }
.hero__photo figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 12px; color: var(--fg-faint); font-family: var(--mono); font-size: 0.72rem; }
.hero__facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.hero__facts > div { padding: 22px 24px 26px 0; }
.hero__facts > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.hero__facts dt { font-size: 1.5rem; font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
.hero__facts dd { margin-top: 6px; color: var(--fg-faint); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; }
  .hero__photo img { aspect-ratio: 4 / 3; object-position: 50% 42%; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .hero__facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__facts > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- home: services ---------- */
.svc { border-top: 1px solid var(--rule); }
.svc__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr) 150px 130px; gap: 8px 28px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--rule); transition: background-color .18s ease; }
.svc__num { color: var(--fg-faint); font-family: var(--mono); font-size: 0.8125rem; }
.svc__name { font-size: 1.5rem; font-weight: 400; line-height: 1.15; letter-spacing: -0.012em; }
.svc__desc { color: var(--fg-soft); }
.svc__time { font-family: var(--mono); font-size: 0.8125rem; }
.svc__time span { display: block; margin-bottom: 2px; color: var(--fg-faint); font-family: var(--font); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.svc__row .text-link { justify-self: end; color: var(--accent); }
@media (max-width: 1020px) {
  .svc__row { grid-template-columns: 44px minmax(0, 1fr) 150px; }
  .svc__desc { grid-column: 2 / 3; grid-row: 2; }
  .svc__time { grid-column: 3; grid-row: 1 / 3; }
  .svc__row .text-link { grid-column: 2 / -1; justify-self: start; margin-top: 6px; }
}
@media (max-width: 600px) {
  .svc__row { grid-template-columns: 36px minmax(0, 1fr); gap: 8px 12px; padding: 22px 0; }
  .svc__name { font-size: 1.3rem; }
  .svc__desc, .svc__time, .svc__row .text-link { grid-column: 2; grid-row: auto; }
  .svc__time span { display: inline; margin-right: 8px; }
}

/* ---------- cards used on several bands ---------- */
.card { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); }
.card .label { margin-bottom: clamp(36px, 5vw, 72px); }
.card .h3 { max-width: 18ch; font-size: clamp(1.35rem, 1.9vw, 1.7rem); }
.card p:not(.label) { margin-top: 12px; color: var(--fg-soft); font-size: 1rem; }
.card ul { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--fg-soft); font-size: 0.95rem; }
.card li { position: relative; padding-left: 20px; }
.card li + li { margin-top: 8px; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 10px; height: 1px; background: var(--accent); }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.steps > li { padding: 24px 28px 8px 0; }
.steps > li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.steps .mono { color: var(--accent); }
.steps .h3 { margin-top: clamp(32px, 4vw, 60px); }
.steps p { margin-top: 10px; color: var(--fg-soft); font-size: 1rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps > li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .steps > li { padding-bottom: 28px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .steps > li, .steps > li + li { padding: 22px 0 26px; border-left: 0; border-top: 1px solid var(--rule); }
  .steps > li:first-child { border-top: 0; }
  .steps .h3 { margin-top: 16px; }
}

/* quality: checks beside an example record */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.deflist { margin-top: 36px; border-top: 1px solid var(--rule); }
.deflist > div { display: grid; grid-template-columns: 190px 1fr; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.deflist dt { font-weight: 500; }
.deflist dd { color: var(--fg-soft); }
@media (max-width: 560px) { .deflist > div { grid-template-columns: 1fr; } }
.record { border: 1px solid var(--rule); background: var(--surface); }
.record__head { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.record dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
.record dl > div:last-child { border-bottom: 0; }
.record dt { color: var(--fg-soft); }
.record dd { font-family: var(--mono); font-size: 0.8125rem; text-align: right; }
.record__note { padding: 14px 20px; border-top: 1px solid var(--rule); color: var(--fg-faint); font-size: 0.85rem; }

/* prints teaser on the home page */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 44px); align-items: end; margin-top: clamp(40px, 5vw, 72px); }
.wall a { display: block; text-decoration: none; }
.wall a:nth-child(even) { margin-bottom: clamp(16px, 3vw, 48px); }
.wall .mono { display: block; margin-top: 16px; color: var(--fg-faint); }
.wall strong { display: block; margin-top: 2px; font-size: 1.05rem; font-weight: 400; }
@media (max-width: 760px) { .wall { grid-template-columns: repeat(2, 1fr); } .wall a:nth-child(even) { margin-bottom: 0; } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.about p + p { margin-top: 16px; }
.about blockquote { margin-top: 32px; padding-left: 20px; border-left: 1px solid var(--accent); font-size: 1.2rem; font-style: italic; line-height: 1.5; }
.about blockquote cite { display: block; margin-top: 8px; color: var(--fg-soft); font-size: 0.9rem; font-style: normal; }
.about__panel { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--rule); background: var(--surface); }
.about__num { font-size: clamp(5rem, 9vw, 8.5rem); font-weight: 300; line-height: 0.8; letter-spacing: -0.05em; }
.about__panel .label { margin-top: 28px; }
.about__panel p:not(.label) { margin-top: 6px; color: var(--fg-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { padding: 6px 10px; border: 1px solid var(--rule); color: var(--fg-soft); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; align-items: start; } }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--rule); }
.strip > div { padding: 22px 24px 0 0; }
.strip > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.strip h3 { font-size: 1.05rem; font-weight: 500; }
.strip p { margin-top: 8px; color: var(--fg-soft); font-size: 0.95rem; }
@media (max-width: 900px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip > div { padding-bottom: 22px; }
  .strip > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .strip > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 520px) {
  .strip { grid-template-columns: 1fr; }
  .strip > div, .strip > div + div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .strip > div:first-child { border-top: 0; }
}

/* field notes list */
.notes { border-top: 1px solid var(--rule); }
.notes > li { border-bottom: 1px solid var(--rule); }
.notes a { display: grid; grid-template-columns: 150px minmax(0, 1fr) 40px; gap: 8px 28px; align-items: baseline; padding: 26px 0; text-decoration: none; }
.notes time { color: var(--fg-faint); font-family: var(--mono); font-size: 0.8125rem; }
.notes h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 400; line-height: 1.2; letter-spacing: -0.012em; transition: color .18s ease; }
.notes p { grid-column: 2; max-width: 68ch; color: var(--fg-soft); font-size: 1rem; }
.notes__arrow { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; width: 28px; height: 1px; background: currentColor; transition: width .18s ease; }
.notes a:hover h3 { color: var(--accent); }
.notes a:hover .notes__arrow { width: 40px; }
@media (max-width: 700px) {
  .notes a { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .notes p { grid-column: 1; }
  .notes__arrow { display: none; }
}

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 1.2rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 68ch; padding: 0 40px 24px 0; color: var(--fg-soft); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__list { margin-top: 36px; border-top: 1px solid var(--rule); }
.contact__list > div { display: grid; grid-template-columns: 130px 1fr; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact__list dt { color: var(--fg-faint); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; line-height: 1.9; text-transform: uppercase; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__list dd span { display: block; }
.contact .btn-row { margin-top: 28px; }
.form { padding: clamp(22px, 3vw, 40px); background: var(--paper); color: #1a1d1b; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #bfc1ba; border-radius: 0; background: #fff; font-size: 1rem; line-height: 1.3; }
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--olive-ink); outline: 2px solid rgba(120, 134, 83, 0.35); outline-offset: 0; }
.field ::placeholder { color: #6f7577; }
.form .btn { width: 100%; margin-top: 22px; }
.form__status { margin-top: 14px; font-size: 0.95rem; }
.form__status[data-state="ok"] { color: #2e5d2c; }
.form__status[data-state="error"] { color: #a3261c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__grid { grid-template-columns: 1fr; } .contact__list > div { grid-template-columns: 1fr; } }

/* ---------- projects ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.project { display: flex; flex-direction: column; background: var(--bg); }
.project__img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; filter: saturate(0.85); }
.project__body { padding: clamp(22px, 2.6vw, 36px); }
.project__body p { margin-top: 10px; color: var(--fg-soft); }
.project .chips { margin-top: 20px; }
@media (max-width: 700px) { .projects { grid-template-columns: 1fr; } }

.panel { padding: clamp(28px, 4vw, 56px); border: 1px solid var(--rule); background: var(--surface); }
.panel .lede { margin-top: 16px; }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 4vw, 56px); margin-top: 28px; }
.checklist li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--rule); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 10px; height: 1px; background: var(--accent); }
.panel .btn-row { margin-top: 32px; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- field notes (blog) ---------- */
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
.prose h3 { margin-top: 1.8em; font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.prose h1 { font-size: 2rem; font-weight: 400; line-height: 1.15; }
.prose a { color: var(--olive-ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--olive); }
.prose .task-list { padding-left: 0; list-style: none; }
.prose .task-list-item-checkbox { margin: 0 0.6em 0 0; accent-color: var(--olive-ink); }
.prose strong { font-weight: 600; }
.prose hr { height: 1px; margin-block: 2.4em; border: 0; background: var(--rule); }
.prose blockquote { padding-left: 20px; border-left: 1px solid var(--olive); color: var(--fg-soft); font-style: italic; }
.prose code { padding: 0.1em 0.35em; background: var(--paper-2); font-family: var(--mono); font-size: 0.88em; }
.prose pre { padding: 18px 20px; overflow-x: auto; background: var(--ink); color: #f4f3ee; font-size: 0.9rem; line-height: 1.5; }
.prose pre code { padding: 0; background: none; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.post__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--rule); }
.post__cta p:not(.label) { max-width: 44ch; margin-top: 6px; color: var(--fg-soft); }

/* ---------- prints ---------- */
/* A framed print. The plates carry their own paper margin, so the moulding
   sits straight on the sheet, with a thin inner shadow for depth. */
.frame { --moulding: #141615; --moulding-hi: #2a2d2b; position: relative; display: block; padding: 3.1%; background: linear-gradient(135deg, var(--moulding-hi), var(--moulding) 45%); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2), 0 24px 44px -18px rgba(0, 0, 0, 0.5); }
.frame img { width: 100%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3); }
.frame::after { content: ""; position: absolute; inset: 3.1%; box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.45); pointer-events: none; }
.band--ink .frame:not([data-frame]) { --moulding: #232725; --moulding-hi: #3a3f3c; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 24px 44px -18px rgba(0, 0, 0, 0.8); }
.frame[data-frame="none"] { padding: 0; background: none; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 18px 36px -18px rgba(0, 0, 0, 0.42); }
.frame[data-frame="none"]::after { inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.frame[data-frame="natural"] { --moulding: #a8845a; --moulding-hi: #c6a479; }
.frame[data-frame="gold"] { --moulding: #a98a4e; --moulding-hi: #d9c084; }
.frame[data-frame="silver"] { --moulding: #a9adab; --moulding-hi: #dfe2e0; }

.shop-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 120px); }
.shop-hero__grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.shop-hero .display { margin-top: 20px; font-size: clamp(2.5rem, 4.7vw, 4.3rem); }
.shop-hero .lede { margin-top: 26px; }
.shop-hero .btn-row { margin-top: 34px; }
.shop-hero__wall { position: relative; display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: clamp(10px, 2vw, 26px); align-items: center; }
.shop-hero__wall .frame:nth-child(1) { margin-top: 18%; }
.shop-hero__wall .frame:nth-child(3) { margin-bottom: 18%; }
@media (max-width: 900px) { .shop-hero__grid { grid-template-columns: 1fr; } }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--rule); background: var(--white); }
.specs > div { padding: 20px var(--gutter); }
.specs > div + div { border-left: 1px solid var(--rule); }
.specs dt { color: var(--fg-faint); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.specs dd { margin-top: 4px; font-size: 1rem; }
@media (max-width: 900px) {
  .specs { grid-template-columns: repeat(2, 1fr); }
  .specs > div:nth-child(3) { border-left: 0; }
  .specs > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 460px) { .specs > div { padding-inline: 20px; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.filter { min-height: 40px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 0; background: transparent; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.filter:hover { border-color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #f4f3ee; }

.catalogue { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 56px) clamp(20px, 2.6vw, 40px); }
.print-card { display: flex; flex-direction: column; text-decoration: none; }
.print-card[hidden] { display: none; }
.print-card__wall { display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 9% 14%; background: var(--paper-2); transition: background-color .25s ease; }
.print-card__wall .frame { width: 100%; max-height: 100%; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.print-card__wall .frame img { max-height: 100%; }
.print-card:hover .print-card__wall { background: #dedcd4; }
.print-card:hover .frame { transform: translateY(-6px); }
.print-card__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; color: var(--fg-faint); font-family: var(--mono); font-size: 0.78rem; }
.print-card h3 { margin-top: 8px; font-size: 1.45rem; font-weight: 400; line-height: 1.15; letter-spacing: -0.012em; }
.print-card p { margin-top: 4px; color: var(--fg-soft); font-size: 1rem; }
.print-card__price { margin-top: 12px; font-size: 0.95rem; font-weight: 500; }
@media (max-width: 1020px) { .catalogue { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catalogue { grid-template-columns: 1fr; } }

/* single print */
.print { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.print__stage { position: sticky; top: calc(var(--header) + 24px); display: grid; place-items: center; padding: clamp(24px, 5vw, 72px); background: var(--paper-2); }
.print__stage .frame { width: min(100%, 560px); cursor: zoom-in; border: 0; }
button.frame { font: inherit; text-align: inherit; }
.print__hint { margin-top: 16px; color: var(--fg-faint); font-family: var(--mono); font-size: 0.75rem; text-align: center; }
.print__title { margin-top: 14px; font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 300; line-height: 0.95; letter-spacing: -0.035em; text-transform: uppercase; }
.print__theme { margin-top: 12px; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.3; }
.print__body { margin-top: 26px; color: var(--fg-soft); }
.print__body p + p { margin-top: 14px; }
.print__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.print__price strong { font-size: 1.7rem; font-weight: 400; letter-spacing: -0.01em; }
.print__price span { color: var(--fg-soft); font-size: 0.95rem; }
.options { margin-top: 26px; border: 0; padding: 0; min-width: 0; }
.options legend { padding: 0; margin-bottom: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.options__row { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option span { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1px solid var(--rule); font-size: 0.95rem; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.option small { color: var(--fg-faint); font-family: var(--mono); font-size: 0.72rem; }
.option input:hover + span { border-color: var(--fg); }
.option input:checked + span { background: var(--ink); border-color: var(--ink); color: #f4f3ee; }
.option input:checked + span small { color: rgba(244, 243, 238, 0.6); }
.option input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.option i { width: 14px; height: 14px; border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 50%; }
.print .btn-row { margin-top: 30px; }
.print .btn-row .btn { flex: 1 1 220px; }
.print__assure { margin-top: 16px; color: var(--fg-soft); font-size: 0.92rem; }
.sheet { margin-top: 40px; border-top: 1px solid var(--rule); }
.sheet > div { display: grid; grid-template-columns: 170px 1fr; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sheet dt { color: var(--fg-faint); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; line-height: 1.9; text-transform: uppercase; }
.sheet dd { font-size: 0.98rem; }
@media (max-width: 900px) {
  .print { grid-template-columns: 1fr; }
  .print__stage { position: static; }
}
@media (max-width: 480px) { .sheet > div { grid-template-columns: 1fr; } }

.zoom { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 9, 9, 0.96); overflow: auto; }
.zoom::backdrop { background: rgba(8, 9, 9, 0.9); }
.zoom__inner { display: grid; place-items: center; min-height: 100%; padding: 20px; }
.zoom img { max-width: none; width: min(1400px, 150vw); cursor: zoom-out; }
.zoom__close { position: fixed; top: 16px; right: 16px; z-index: 2; }

/* ---------- utilities ---------- */
.mt-l { margin-top: clamp(40px, 5vw, 72px); }

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

/* ---------- printing a page ---------- */
@media print {
  .site-header, .site-footer, .wa-float, .mobile-bar, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; padding: 0; }
  .band, .band--ink { --bg: #fff; --fg: #000; --fg-soft: #333; --fg-faint: #555; --rule: #bbb; padding-block: 24px; }
}
