/* ==========================================================================
   TWENTY TWENTY ORIGIN LLC — Corporate design system (Version 3.0)

   1. Tokens       corporate colors, type, spacing (edit here only)
   2. Base
   3. Sections     dark / graphite / light surfaces set local color roles
   4. Components   header, buttons, media, forms, footer
   5. Pages
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Corporate color system */
  --obsidian: #080808;
  --graphite: #181818;
  --industrial: #303030;
  --steel: #a3a3a3;
  --arch-white: #f5f5f5;
  --white: #ffffff;

  /* Typography */
  --font-display: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --text-sm: 0.875rem;                                  /* 14px */
  --text-base: 1.0625rem;                               /* 17px */
  --text-lg: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --h4: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --h3: clamp(1.5rem, 1.25rem + 0.8vw, 2.25rem);        /* service titles 24-36px */
  --h2: clamp(1.75rem, 1.2rem + 1.9vw, 3rem);           /* section headings 28-48px */
  --h1: clamp(2.25rem, 1.6rem + 2.4vw, 4rem);           /* interior page H1 36-64px */
  --h1-hero: clamp(2.5rem, 4.6vw, 5rem);                /* homepage hero 40-80px; two lines on desktop */

  /* Layout */
  --max: 86rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --gap: clamp(1rem, 2.4vw, 2.5rem);
  --section: clamp(3rem, 6.5vw, 6rem);                  /* 48-96px */
  --header-h: 5.5rem;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
@media (max-width: 720px) { :root { --header-h: 4.5rem; } }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.3s; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  background: var(--obsidian);
}
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, picture { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
main:focus { outline: none; }

/* Headings: bold uppercase (Space Grotesk) */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
}
h4 { text-transform: none; letter-spacing: 0; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--obsidian);
  padding: 0.75rem 1rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- 3. Sections ---------- */
.s-dark, body { --bg: var(--obsidian); --fg: var(--white); --muted: var(--steel); --line: var(--industrial); --raised: var(--graphite); }
.s-dark { background: var(--bg); color: var(--fg); color-scheme: dark; }
.s-graphite { --bg: var(--graphite); --fg: var(--white); --muted: var(--steel); --line: var(--industrial); --raised: #202020; background: var(--bg); color: var(--fg); color-scheme: dark; }
.s-light { --bg: var(--arch-white); --fg: var(--obsidian); --muted: var(--industrial); --line: rgba(48, 48, 48, 0.28); --raised: var(--white); background: var(--bg); color: var(--fg); color-scheme: light; }
.section { padding-block: var(--section); }

/* Section label: small uppercase text, no decorative prefix line */
.label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted { color: var(--muted); }
.prose { max-width: 40em; }
.prose p + p { margin-top: 1.1em; }
.mt-1 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2.5rem; }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 1rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head__main { grid-column: 1 / span 7; }
.section-head__main h2 { margin-top: 1rem; font-size: var(--h2); }
.section-head__aside { grid-column: 9 / -1; color: var(--muted); }
@media (max-width: 900px) { .section-head__main, .section-head__aside { grid-column: 1 / -1; } }

/* ---------- 4. Components ---------- */

/* Buttons: rectangular, uppercase */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0.85rem 1.6rem;
  border: 1px solid var(--fg); background: var(--fg); color: var(--bg);
  font-family: var(--font-body); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: transparent; color: var(--fg); }
.btn--outline { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 55%, transparent); }
.btn--outline:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Understated text link */
.link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  padding-bottom: 0.2rem; border-bottom: 1px solid currentColor;
  transition: gap 0.3s var(--ease);
}
.link:hover { gap: 0.8rem; }
.link::after { content: ""; width: 0.5rem; height: 0.5rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  --fg: var(--white); --bg: var(--obsidian);
  color: var(--white);
}
.site-header.is-scrolled, .site-header.is-solid { background: rgba(8, 8, 8, 0.94); border-bottom-color: var(--industrial); }
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-scrolled, .site-header.is-solid { background: rgba(8, 8, 8, 0.84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; padding-block: 0.5rem; text-decoration: none; flex: none; }
.brand img { height: 3.25rem; width: auto; }
@media (max-width: 720px) { .brand img { height: 2.65rem; } }

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.nav__list { display: flex; gap: clamp(1.5rem, 2.6vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative; display: inline-block; padding-block: 0.45rem;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: var(--arch-white);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav .btn { min-height: 2.85rem; padding: 0.6rem 1.25rem; }

.menu-toggle {
  display: none; align-items: center; gap: 0.6rem;
  background: none; border: 1px solid var(--industrial); color: var(--white);
  padding: 0.65rem 0.9rem; cursor: pointer;
  font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: 1.5rem var(--gutter) 2.5rem;
    background: var(--obsidian); border-top: 1px solid var(--industrial);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-0.5rem);
    transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--industrial); }
  .nav__link { display: block; padding-block: 1.1rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 0; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
  .nav .btn { min-height: 3.5rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--obsidian); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Media: full rectangular photographs in natural color */
.media { position: relative; overflow: hidden; background: var(--graphite); }
.media > img, .media > picture, .media > picture > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x3 { aspect-ratio: 4 / 3; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.field--full, .fieldset, .consent-field, .form__actions, .form-status, .form__intro { grid-column: 1 / -1; }
.form__intro { font-size: 0.875rem; color: var(--muted); }
.field label, .fieldset legend { font-size: 0.9375rem; font-weight: 600; color: var(--fg); }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.85rem 1rem;
  background: var(--raised); color: var(--fg);
  border: 1px solid var(--line); border-radius: 0;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 10rem; resize: vertical; line-height: 1.55; }
.field select {
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--fg) 55%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.field input[type="file"] { padding: 0.6rem 0; font-size: 0.9375rem; color: var(--muted); }
.field input[type="file"]::file-selector-button {
  margin-right: 1rem; padding: 0.65rem 1rem; background: transparent; color: var(--fg);
  border: 1px solid var(--line); cursor: pointer; font-weight: 600;
}
.field__hint { font-size: 0.875rem; color: var(--muted); }
.field__error { display: none; font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem; margin-right: 0.45rem; background: var(--fg); color: var(--bg); font-size: 0.7rem; }
.is-invalid > .field__error { display: block; }
.is-invalid input:not([type="checkbox"]):not([type="radio"]), .is-invalid select, .is-invalid textarea { border-color: var(--fg); border-width: 2px; }

.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.fieldset legend { padding: 0; margin-bottom: 0.75rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1rem; border: 1px solid var(--line); background: var(--raised);
  font-size: 0.9375rem; font-weight: 500;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.choice span::before { content: ""; width: 0.75rem; height: 0.75rem; border: 1px solid currentColor; flex: none; }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.choice input:checked + span::before { background: var(--bg); box-shadow: inset 0 0 0 2px var(--fg); }
.choice input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.choice:hover span { border-color: var(--fg); }

.consent { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.9375rem; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; flex: none; accent-color: var(--fg); }
.consent a { text-underline-offset: 0.2em; }
.consent-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 0.25rem; }
.form__note { font-size: 0.875rem; color: var(--muted); max-width: 36em; }
.form-status { padding: 1rem 1.25rem; border: 1px solid var(--fg); background: var(--raised); font-size: 0.9375rem; }
.form-status[hidden] { display: none; }
.form-status strong { display: block; margin-bottom: 0.2rem; }
.hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Contact channels */
.channels { display: grid; border-top: 1px solid var(--line); }
.channel { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.channel dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.channel dd { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; overflow-wrap: anywhere; }
.channel dd + dd { margin-top: 0.2rem; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 400; color: var(--muted); }
.channel dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.channel dd a:hover { border-bottom-color: currentColor; }

/* Steps (true sequences only) */
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.75rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--muted); font-family: var(--font-display); font-weight: 500; }

/* Footer */
.site-footer { border-top: 1px solid var(--industrial); padding-top: clamp(3.5rem, 6vw, 5.5rem); overflow: hidden; font-size: 0.9375rem; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2.75rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand img { width: min(14rem, 70%); height: auto; }
.footer-brand dl { margin-top: 1.75rem; display: grid; gap: 0.3rem; }
.footer-brand dt { font-weight: 600; color: var(--white); }
.footer-brand dd { color: var(--steel); }
.footer-col { grid-column: span 2; }
.footer-col--services { grid-column: 6 / span 2; }
.footer-col--contact { grid-column: span 3; }
.footer-col h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; color: var(--steel); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { text-decoration: none; color: var(--arch-white); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.2em; }
.footer-col .channel-label { display: block; font-size: 0.875rem; color: var(--steel); }
.footer-col--contact li + li { margin-top: 0.5rem; }
.footer-signature {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 6.4vw, 6.25rem); line-height: 0.95; letter-spacing: -0.03em;
  color: var(--white);
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--industrial);
  white-space: nowrap;
}
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.75rem 2rem;
  padding-block: 1.5rem 2rem; border-top: 1px solid var(--industrial);
  font-size: 0.875rem; color: var(--steel);
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.2em; }
.footer-disclosure { flex-basis: 100%; order: 3; font-size: 0.8125rem; color: var(--steel); }
@media (max-width: 1000px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col--services { grid-column: span 3; }
  .footer-col--contact { grid-column: span 6; }
}
@media (max-width: 640px) {
  .footer-col, .footer-col--services { grid-column: span 6; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-signature { white-space: normal; font-size: clamp(2.4rem, 13vw, 4rem); }
}

/* ---------- 5. Pages ---------- */

/* Homepage hero: one left-aligned composition over a full-width photograph */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate;
  padding-top: var(--header-h);
}
.hero > .media { position: absolute; inset: 0; z-index: -1; }
.hero > .media img { object-position: center; }
.hero > .media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,8,8,0.86) 0%, rgba(8,8,8,0.68) 35%, rgba(8,8,8,0.3) 66%, rgba(8,8,8,0.08) 100%),
    linear-gradient(180deg, rgba(8,8,8,0.55) 0%, rgba(8,8,8,0) 24%, rgba(8,8,8,0) 72%, rgba(8,8,8,0.7) 100%);
}
.hero__body { flex: 1; display: flex; align-items: center; padding-block: clamp(2.5rem, 7vh, 5rem); }
.hero__content { max-width: 72rem; }
.hero h1 { margin-top: 1.25rem; font-size: var(--h1-hero); line-height: 1.02; letter-spacing: -0.015em; }
.hero h1 span { display: block; }
.hero__desc { margin-top: 1.5rem; max-width: 33rem; font-size: var(--text-lg); line-height: 1.6; color: var(--arch-white); }
.hero .btn-row { margin-top: 2.25rem; }
.hero .label { color: var(--arch-white); }
.hero__index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,0.24); }
.hero__index a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1rem 1.4rem 0; text-decoration: none;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--arch-white);
  border-right: 1px solid rgba(255,255,255,0.16);
}
.hero__index a + a { padding-left: 1rem; }
.hero__index a:last-child { border-right: 0; }
.hero__index a::after { content: ""; width: 0.45rem; height: 0.45rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; transition: transform 0.3s var(--ease), opacity 0.3s; }
.hero__index a:hover { color: var(--white); }
.hero__index a:hover::after { opacity: 1; transform: translateX(3px) rotate(45deg); }
@media (max-width: 900px) {
  .hero > .media::after { background: linear-gradient(90deg, rgba(8,8,8,0.84), rgba(8,8,8,0.5)), linear-gradient(180deg, rgba(8,8,8,0.5), rgba(8,8,8,0) 30%, rgba(8,8,8,0.75)); }
  .hero > .media img { object-position: 62% center; }
  .hero__index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__index a:nth-child(2) { border-right: 0; }
  .hero__index a:nth-child(3) { padding-left: 0; }
  .hero__index a:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.16); }
}
@media (max-width: 480px) {
  .hero .btn-row { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__content { animation: rise 0.9s var(--ease) both; }
  .hero > .media img { animation: settle 2.2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.04); } to { transform: none; } }

/* Company introduction */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2rem; }
.intro__head { grid-column: 1 / span 6; }
.intro__head h2 { margin-top: 1rem; font-size: var(--h2); }
.intro__body { grid-column: 8 / -1; align-self: end; }
.intro__body p:first-child { font-size: var(--text-lg); color: var(--fg); }
.intro__body p { color: var(--muted); }
@media (max-width: 900px) { .intro__head, .intro__body { grid-column: 1 / -1; } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--fg); }
.fact { padding: 1.4rem 1.5rem 0 0; }
.fact + .fact { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.fact dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.fact dd { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; line-height: 1.35; }
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 1.1rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Service grid (home): 2 x 2 photographic cards */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) var(--gap); }
.svc-card { position: relative; display: flex; flex-direction: column; }
.svc-card .media { aspect-ratio: 16 / 10; }
.svc-card .media img { transition: transform 0.8s var(--ease); }
.svc-card:hover .media img { transform: scale(1.03); }
.svc-card h3 { margin-top: 1.4rem; font-size: var(--h3); }
.svc-card p { margin-top: 0.6rem; color: var(--muted); max-width: 34em; }
.svc-card .link { margin-top: 1.1rem; align-self: flex-start; }
.svc-card .link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-card:focus-within { outline: 2px solid var(--fg); outline-offset: 6px; }
.svc-card .link:focus-visible { outline: none; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

/* Corporate philosophy (01 / 02 / 03) */
.approach__title { margin-top: 1rem; font-size: clamp(2.25rem, 1.3rem + 4vw, 5.5rem); letter-spacing: -0.025em; line-height: 0.98; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.principle { padding: 1.75rem 2rem 0 0; }
.principle + .principle { padding-left: 2rem; border-left: 1px solid var(--line); }
.principle__num { font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--muted); }
.principle h3 { margin-top: 1.25rem; font-size: var(--h3); }
.principle p { margin-top: 0.9rem; color: var(--muted); max-width: 24em; }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Markets */
.markets { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 4vw, 3.5rem) var(--gap); }
.market h3 { margin-top: 1.5rem; font-size: var(--h3); }
.market > p { margin-top: 0.8rem; color: var(--muted); max-width: 32em; }
.market ul { margin: 1.4rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.market li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
@media (max-width: 800px) { .markets { grid-template-columns: 1fr; } }

/* Interior page heading */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.5rem; align-items: end; }
.page-hero__title { grid-column: 1 / span 7; }
.page-hero__title h1 { font-size: var(--h1); }
.page-hero__lede { grid-column: 8 / -1; color: var(--muted); font-size: var(--text-lg); line-height: 1.6; }
@media (max-width: 900px) { .page-hero__title, .page-hero__lede { grid-column: 1 / -1; } }

/* About */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.5rem; }
.split__head { grid-column: 1 / span 5; }
.split__head h2 { margin-top: 1rem; font-size: var(--h2); }
.split__body { grid-column: 7 / -1; }
.split__body > p:first-child { font-size: var(--text-lg); }
.split__body p + p { margin-top: 1.1em; color: var(--muted); }
@media (max-width: 900px) { .split__head, .split__body { grid-column: 1 / -1; } }

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: 1.75rem 2rem 1.75rem 0; border-bottom: 1px solid var(--line); }
.value:nth-child(even) { padding-left: 2rem; padding-right: 0; border-left: 1px solid var(--line); }
.value h3 { font-size: var(--h4); letter-spacing: 0.01em; }
.value p { margin-top: 0.6rem; color: var(--muted); max-width: 30em; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .value, .value:nth-child(even) { padding: 1.5rem 0; border-left: 0; } }

/* Services page */
.service-index { position: sticky; top: var(--header-h); z-index: 10; background: rgba(8,8,8,0.94); border-bottom: 1px solid var(--industrial); }
@supports (backdrop-filter: blur(1px)) { .service-index { background: rgba(8,8,8,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.service-index ul { display: flex; gap: clamp(1.25rem, 3vw, 3rem); margin: 0; padding: 1rem 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.service-index ul::-webkit-scrollbar { display: none; }
.service-index a { white-space: nowrap; text-decoration: none; color: var(--steel); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; padding-block: 0.25rem; border-bottom: 1px solid transparent; }
.service-index a:hover, .service-index a.is-active { color: var(--white); border-bottom-color: currentColor; }

.service-block { padding-block: var(--section); scroll-margin-top: calc(var(--header-h) + 3.25rem); }
.service-block__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2rem; align-items: center; }
.service-block .media { grid-column: 1 / span 6; aspect-ratio: 4 / 3; }
.service-block__body { grid-column: 8 / -1; }
.service-block--flip .media { grid-column: 7 / -1; grid-row: 1; }
.service-block--flip .service-block__body { grid-column: 1 / span 5; grid-row: 1; }
.service-block__body h2 { font-size: var(--h3); }
.service-block__body > p { margin-top: 1rem; font-size: var(--text-lg); line-height: 1.6; }
.service-block__body h3 { margin-top: 2rem; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); }
.capabilities { margin: 0.9rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; border-top: 1px solid var(--line); }
.capabilities li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
@media (max-width: 900px) {
  .service-block .media, .service-block__body,
  .service-block--flip .media, .service-block--flip .service-block__body { grid-column: 1 / -1; grid-row: auto; }
  .service-block .media { aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) { .capabilities { grid-template-columns: 1fr; } }

.closing { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.5rem; align-items: end; }
.closing__text { grid-column: 1 / span 8; }
.closing__text h2 { font-size: var(--h2); }
.closing__text p { margin-top: 0.9rem; color: var(--muted); max-width: 36em; }
.closing__action { grid-column: 9 / -1; justify-self: end; }
@media (max-width: 900px) { .closing__text, .closing__action { grid-column: 1 / -1; justify-self: start; } }

/* Projects (hidden from the public build until verified content exists) */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filters button { background: transparent; border: 1px solid var(--line); padding: 0.6rem 1rem; cursor: pointer; font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.filters button:hover { border-color: var(--fg); }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem) var(--gap); }
.project-card a { display: block; text-decoration: none; }
.project-card .media { aspect-ratio: 4 / 3; }
.project-card h3 { margin-top: 1.1rem; font-size: var(--h4); }
.project-card p { margin-top: 0.35rem; color: var(--muted); font-size: 0.875rem; }
@media (max-width: 960px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .project-grid { grid-template-columns: 1fr; } }
.empty { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2.5rem; }
.empty__text { grid-column: 1 / span 7; }
.empty__text h2 { margin-top: 1rem; font-size: var(--h2); }
.empty__text p { margin-top: 1.25rem; color: var(--muted); max-width: 34em; }
.empty__aside { grid-column: 9 / -1; }
.empty__aside h3 { font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 1rem; }
.showcase__cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.showcase__cats li { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .empty__text, .empty__aside { grid-column: 1 / -1; } }
.project-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.project-meta div { padding: 1.25rem 1.25rem 0 0; }
.project-meta dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.ba + .ba { margin-top: var(--gap); }
.ba .tag { position: absolute; z-index: 2; left: 0.75rem; top: 0.75rem; padding: 0.25rem 0.6rem; background: var(--obsidian); color: var(--white); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.gallery figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 760px) { .ba, .gallery, .project-meta { grid-template-columns: 1fr; } }

/* Two-column form pages */
.form-page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3rem; }
.form-page__aside { grid-column: 1 / span 4; }
.form-page__aside > * + * { margin-top: 2.25rem; }
.form-page__aside h2 { font-size: var(--h4); margin-bottom: 1.1rem; }
.form-page__main { grid-column: 6 / -1; }
@media (max-width: 960px) { .form-page__aside, .form-page__main { grid-column: 1 / -1; } }

/* Legal */
.legal { max-width: 46rem; }
.legal h2 { font-size: var(--h4); letter-spacing: 0.01em; margin: 2.75rem 0 1rem; }
.legal h3 { font-size: var(--text-lg); text-transform: none; letter-spacing: 0; margin: 1.75rem 0 0.75rem; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 1em; }
.legal ul { margin: 1em 0; padding-left: 1.2rem; }
.legal li + li { margin-top: 0.4em; }
.legal a { color: var(--fg); text-underline-offset: 0.2em; }
.legal-toc { margin: 2rem 0 0; padding: 1.25rem 0; border-block: 1px solid var(--line); columns: 2; column-gap: 2rem; list-style: none; font-size: 0.9375rem; }
.legal-toc a { color: var(--muted); text-decoration: none; display: block; padding: 0.2rem 0; }
.legal-toc a:hover { color: var(--fg); }
@media (max-width: 560px) { .legal-toc { columns: 1; } }

/* Message pages */
.message { min-height: 75vh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 3.5rem); padding-bottom: 4.5rem; }
.message h1 { margin-top: 1rem; font-size: var(--h1); max-width: 16em; }
.message p { margin-top: 1.25rem; color: var(--muted); font-size: var(--text-lg); max-width: 34em; }
.message .btn-row { margin-top: 2.25rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Print: light background, so the black logo is used */
.logo-on-light { display: none; }
@media print {
  .site-header { position: static; background: #fff !important; border: 0; }
  .logo-on-dark { display: none !important; }
  .logo-on-light { display: block !important; }
  .nav, .menu-toggle, .service-index, .media, .hero__index { display: none !important; }
  body, .s-dark, .s-graphite, .s-light { background: #fff !important; color: #000 !important; --fg: #000; --muted: #303030; --line: #ccc; }
  .hero { min-height: 0; }
  .site-footer { display: none; }
}

/* Former anchor name kept so older links still land on Landscape Services */
.anchor-alias { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + 3.25rem); }
