/* ============================================================
   Wolsit — main.css
   Extracted from example.html (Claude Design export)
   ============================================================ */

:root {
  /* Palette */
  --charcoal: #2c2e2e;
  --charcoal-deep: #1f2121;
  --charcoal-soft: #3d4040;

  --petrol: #165367;
  --petrol-deep: #103e4d;
  --petrol-soft: #2a7a92;

  --ocher: #c9a23a;
  --ocher-soft: #e3c270;

  --white: #ffffff;
  --taupe: #f3efe8;
  --taupe-2: #ebe6dc;
  --grey-light: #d8d4cb;
  --black: #111313;

  --bg: var(--taupe);
  --surface: var(--white);
  --line: var(--grey-light);
  --line-soft: #e0dcd1;
  --fg: var(--charcoal);
  --fg-dim: #5b5d5b;
  --fg-mute: #8a8c87;

  --serif: 'Lora', Georgia, serif;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: 32px;
  --maxw: 1240px;
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}

::selection {
  background: var(--ocher);
  color: var(--petrol-deep);
}

/* ── Layout primitives ─────────────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--ocher);
  display: inline-block;
}

/* ── Top bar ───────────────────────────────────────────────── */
.topbar {
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--sans);
  font-size: 13px;
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar .left,
.topbar .right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar .left a,
.topbar .right a,
.topbar .pip {
  white-space: nowrap;
}

.topbar .pip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.topbar .pip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ocher);
}

.topbar .pip b {
  color: var(--white);
  font-weight: 500;
}

.topbar a:hover {
  color: var(--ocher-soft);
}

/* ── Nav ───────────────────────────────────────────────────── */
nav.main {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  transition: box-shadow 0.2s, background 0.2s;
}

nav.main.scrolled {
  background: rgba(243, 239, 232, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 40px;
  width: auto;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.topbar .left ul,
.topbar .right ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar .left li,
.topbar .right li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--fg-dim);
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--petrol);
}

.nav-links a.active {
  color: var(--petrol);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--ocher);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--petrol);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--petrol-deep);
}

.nav-cta::after {
  content: "→";
  font-family: var(--mono);
}

/* ── Mobile menu ───────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 24px;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  border-bottom: 1px solid var(--line);
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-dim);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--petrol);
}

nav.main.menu-open .mobile-menu {
  display: block;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: all 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--petrol);
  color: var(--white);
  border-color: var(--petrol);
}

.btn-primary:hover {
  background: var(--petrol-deep);
  border-color: var(--petrol-deep);
}

.btn-primary::after {
  content: "→";
  font-family: var(--mono);
}

.btn-ghost {
  background: var(--ocher);
  color: var(--charcoal);
  border-color: var(--ocher);
}

.btn-ghost:hover {
  border-color: var(--charcoal);
}

.btn-ghost::after {
  content: "→";
  font-family: var(--mono);
  color: var(--charcoal);
}

/* ── Section frame ─────────────────────────────────────────── */
.sec,
.hero {
  scroll-margin-top: 69px;
}

.sec {
  padding: 18px 0;
  position: relative;
}

.sec.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec.dark {
  background: var(--charcoal);
  color: var(--white);
}

.sec.dark .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.sec.dark .eyebrow::before {
  background: var(--ocher);
}

.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 40px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.sec.dark .sec-head {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.sec-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin: 16px 0 0;
  color: inherit;
  text-wrap: balance;
}

.sec-head h2 i {
  color: var(--petrol-soft);
  font-weight: 300;
}

.sec.dark .sec-head h2 i {
  color: var(--ocher);
}

.sec-head h2 u {
  text-decoration: underline;
  text-decoration-color: var(--ocher);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.12em;
}

.sec.dark .sec-head h2 u {
  text-decoration-color: var(--ocher-soft);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 18px 0 18px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.22;
  letter-spacing: -0.028em;
  margin: 16px 0 24px;
  color: var(--charcoal);
  text-wrap: balance;
}

.hero h1 i {
  font-style: italic;
  color: var(--petrol);
  font-weight: 300;
}

.hero h1 u {
  text-decoration: underline;
  text-decoration-color: var(--ocher);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.1em;
}

.hero h1 .underline {
  position: relative;
  display: inline-block;
}

.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.18em;
  background: var(--ocher);
  z-index: -1;
  opacity: 0.7;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 0 28px;
}

.hero-sub b {
  color: var(--charcoal);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-mute);
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-actions .meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ocher);
}

/* hero portrait card */
.hero-card {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 500px;
  background: var(--charcoal);
  border-radius: var(--r-md);
  overflow: hidden;
  color: var(--white);
  box-shadow: 0 30px 60px -30px rgba(44, 46, 46, 0.4);
}

.hero-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(31, 33, 33, 0.85), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-card .portrait-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(201, 162, 58, 0.18), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px);
}

.hero-card .portrait-label {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  text-align: center;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card .portrait-placeholder {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  margin-top: 40px;
}

.hero-card .portrait-placeholder span {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
}

.hero-card .portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-card .portrait-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  background: linear-gradient(to top, rgba(31, 33, 33, 0.95), transparent);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
}

.hero-card .portrait-foot .name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.hero-card .portrait-foot .role {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.hero-card .portrait-foot .badge {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--ocher);
  color: var(--petrol-deep);
  padding: 6px 10px;
  border-radius: 100px;
  font-weight: 500;
}

/* hero client strip */
/* ── Services ──────────────────────────────────────────────── */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px;
  background: var(--surface);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background 0.25s;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--ocher);
  transition: width 0.35s ease;
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover {
  background: var(--taupe-2);
}

.service-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.service-card .icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--petrol);
  transition: all 0.25s;
  flex-shrink: 0;
}

.service-card:hover .icon {
  background: var(--petrol);
  color: var(--white);
  border-color: var(--petrol);
}

.service-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--charcoal);
  flex: 1;
}

.service-card p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.65;
  margin: 0 0 10px;
}

/* ── Process ───────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step {
  padding: 0 28px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step+.step {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 28px;
}

.step .num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  color: var(--ocher);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.012em;
  margin: 0 0 12px;
  color: var(--white);
  line-height: 1.15;
}

.step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin: 0;
  max-width: 30ch;
}

.step .when {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
  padding-top: 16px;
  display: block;
}

/* ── About ─────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
}

.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 500px;
  max-width: 400px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: repeating-linear-gradient(45deg, var(--white) 0 12px, var(--taupe) 12px 24px);
}

.about-portrait::after {
  content: "[ portret · drop-in ]";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  background: var(--white);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
}

.about-portrait .tape {
  position: absolute;
  top: -10px;
  left: 30%;
  width: 80px;
  height: 22px;
  background: var(--ocher);
  opacity: 0.85;
  transform: rotate(-2deg);
}

.about-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-portrait:has(img)::after {
  display: none;
}

.about-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--charcoal);
  margin: 0 0 32px;
  text-wrap: balance;
}

.about-quote i {
  color: var(--petrol);
}

.about-quote u {
  text-decoration: underline;
  text-decoration-color: var(--ocher);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.1em;
}

.about-bio {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.7;
}

.about-bio p {
  margin: 0 0 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-stat {
  padding: 22px 24px 22px 0;
  border-left: 1px solid var(--line);
}

.about-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.about-stat:not(:first-child) {
  padding-left: 28px;
}

.about-stat .v {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  color: var(--petrol);
  letter-spacing: -0.02em;
  line-height: 1;
}

.about-stat .v small {
  font-size: 18px;
  color: var(--petrol);
  margin-left: 4px;
}

.about-stat .l {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 8px;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-lead h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 0 0 32px;
  color: var(--charcoal);
  text-wrap: balance;
}

.contact-lead h3 i {
  color: var(--petrol);
}

.contact-lead h3 u {
  text-decoration: underline;
  text-decoration-color: var(--ocher);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.1em;
}

.contact-lead p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.7;
  margin: 0 0 14px;
}

.contact-lead .meta-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.contact-lead .meta-list .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.contact-lead .meta-list .k {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-lead .meta-list .v {
  font-size: 15px;
  color: var(--charcoal);
}

.contact-lead .meta-list .v a:hover {
  color: var(--petrol);
  border-bottom: 1px solid var(--ocher);
}

.form-notice {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  margin-bottom: 20px;
}

.form-notice--error {
  background: color-mix(in srgb, #c0392b 10%, transparent);
  border: 1px solid #c0392b;
  color: var(--charcoal);
}

.field-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.char-count {
  font-size: 12px;
  color: var(--charcoal-soft);
  margin-left: auto;
}

.char-count--over {
  color: #c0392b;
  font-weight: 600;
}

/* ── Snackbar ────────────────────────────────────────────── */

.snackbar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  display: flex;
  align-items: center;
  background: var(--charcoal-deep);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  font-size: 14px;
  line-height: 1.4;
  z-index: 9999;
  opacity: 0;
  transition: transform 300ms ease, opacity 300ms ease;
  max-width: min(480px, calc(100vw - 32px));
}

.snackbar--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.snackbar-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  margin-left: 16px;
  cursor: pointer;
  padding: 0 2px;
  opacity: 0.7;
  transition: opacity 150ms ease;
}

.snackbar-close:hover {
  opacity: 1;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  align-self: start;
}

.field {
  display: block;
  margin-bottom: 20px;
}

.field-lbl {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  font-size: 14px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.field-lbl .req {
  color: var(--petrol);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  border-radius: var(--r-sm);
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%232c2e2e' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--petrol);
  background: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--fg-mute);
}

.field textarea {
  resize: none;
  min-height: 110px;
  max-height: 220px;
  overflow-y: hidden;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--fg-dim);
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.15s;
}

.chip:hover {
  border-color: var(--petrol);
  color: var(--petrol);
}

.chip.active {
  background: var(--petrol);
  color: var(--white);
  border-color: var(--petrol);
}

.submit-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.err {
  font-size: 12px;
  color: #b85f3a;
  margin-top: 6px;
  min-height: 14px;
}

.field-footer .err {
  margin-top: 0;
}

.field--error input,
.field--error textarea {
  border-color: #b85f3a;
  outline-color: #b85f3a;
}

.warn {
  font-size: 12px;
  color: #c9860a;
  margin-top: 6px;
  min-height: 14px;
}

.field--warn input {
  border-color: #c9860a;
  outline-color: #c9860a;
}

.btn:disabled,
button[type="submit"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── 404 ──────────────────────────────────────────────────── */

.sec-404 {
  margin-top: 20px;
}

.four-oh-four {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.four-oh-four-code {
  display: block;
  font-family: var(--mono);
  font-size: clamp(100px, 20vw, 180px);
  font-weight: 700;
  line-height: 1;
  color: var(--line);
  margin-bottom: 16px;
}

.four-oh-four p {
  color: var(--fg-mute);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hit-counter {
  margin: 32px auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.four-oh-four-hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 auto 32px;
  max-width: 200px;
}

.hit-counter-label {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.6;
}

.hit-counter-digits {
  display: inline-flex;
  gap: 3px;
}

.digit {
  display: inline-block;
  width: 32px;
  height: 44px;
  line-height: 44px;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  background: var(--charcoal);
  color: var(--ocher);
  border-radius: 3px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hit-counter-nostalgia {
  font-size: 14px;
  font-style: italic;
  color: var(--fg-mute);
  line-height: 1.6;
}

/* ── Footer ────────────────────────────────────────────────── */
footer.foot {
  background: var(--charcoal);
  color: var(--white);
  padding: 36px 0 18px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
}

.foot h4 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ocher);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
  font-weight: 500;
}

.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.foot ul li {
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.78);
}

.foot ul li a:hover {
  color: var(--ocher);
}


.foot-bot {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
}

.mob-br { display: none; }
.mob-hide { display: inline; }

.foot-bot a:hover {
  color: var(--ocher);
}

.foot-legal ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: inherit;
}

.foot-legal a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.foot-legal a:hover {
  color: var(--ocher);
}

/* ── Page template ─────────────────────────────────────────── */
.page-main {
  padding: 64px 0 80px;
}

.page-head {
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 0;
}

.page-body {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-dim);
}

.page-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--charcoal);
  margin: 40px 0 12px;
}

.page-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--charcoal);
  margin: 28px 0 8px;
}

.page-body p {
  margin: 0 0 16px;
}

.page-body ul,
.page-body ol {
  padding-left: 24px;
  margin: 0 0 16px;
}

.page-body li {
  margin-bottom: 6px;
}

.page-body a {
  color: var(--petrol);
  border-bottom: 1px solid var(--ocher);
}

.page-body a:hover {
  color: var(--petrol-deep);
}

/* ── Accessibility ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--charcoal-deep);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom-right-radius: 4px;
}

.skip-link:focus {
  top: 0;
}

/* ── Responsive — Medium (≤839px) ──────────────────────────── */
@media (max-width: 839px) {
  :root {
    --gutter: 22px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .sec-head {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
  }

  .step+.step {
    border-left: 0;
    padding-left: 0;
  }

  .step:nth-child(2) {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 28px;
  }

  .step:nth-child(n+3) {
    padding-top: 24px;
  }

  .step:nth-child(4) {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 28px;
  }

  .step:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }


  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .foot-spacer {
    display: none;
  }

  .mob-br { display: block; }
  .mob-hide { display: none; }
}

/* ── Responsive — Compact (≤599px) ─────────────────────────── */
@media (max-width: 599px) {
  :root {
    --gutter: 16px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step+.step {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 24px;
    margin-top: 24px;
  }

  .step:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }

  .step {
    padding-right: 0;
  }

  .step p {
    max-width: none;
  }

  .nav-cta {
    display: none;
  }

  .contact-lead {
    order: -1;
  }

  .foot-bot {
    flex-direction: column-reverse;
    gap: 16px;
    align-items: flex-start;
  }

  .mob-br { display: block; }
  .mob-hide { display: none; }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .foot-spacer {
    display: none;
  }

}