:root {
  color-scheme: dark;
  --bg: #0f1714;
  --bg-alt: #14201a;
  --panel: rgba(19, 29, 24, 0.84);
  --panel-strong: rgba(21, 33, 27, 0.96);
  --text: #f3ede3;
  --muted: #c9c0b1;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #d8b27b;
  --accent-soft: rgba(216, 178, 123, 0.16);
  --accent-2: #85a98e;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  font-family: "Aptos", "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 178, 123, 0.18), transparent 20%),
    radial-gradient(circle at 86% 14%, rgba(133, 169, 142, 0.16), transparent 22%),
    linear-gradient(180deg, #101713 0%, #0f1714 42%, #090d0b 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 92%);
}

img {
  display: block;
  width: 100%;
}

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

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(24px);
  pointer-events: none;
  opacity: 0.56;
}

.ambient-a {
  width: 420px;
  height: 420px;
  right: -140px;
  top: -160px;
  background: radial-gradient(circle, rgba(216, 178, 123, 0.2), transparent 68%);
}

.ambient-b {
  width: 320px;
  height: 320px;
  left: -100px;
  bottom: 90px;
  background: radial-gradient(circle, rgba(133, 169, 142, 0.18), transparent 68%);
}

.page-shell {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 30px;
  position: relative;
  z-index: 1;
}

.topbar,
.hero,
.section,
.footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.topbar,
.footer {
  border-radius: 24px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 14px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ead3a7, #b48a4d);
  box-shadow: 0 0 0 6px rgba(216, 178, 123, 0.12);
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-copy small,
.eyebrow,
.support,
.lede,
.hero-notes p,
.service-card p,
.portfolio-card figcaption,
.process-step p,
.area-panel p,
.contact-card p,
.footer span {
  color: var(--muted);
}

.brand-copy small {
  display: block;
  margin-top: 2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.nav a {
  opacity: 0.85;
  transition: opacity 160ms ease, color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
  opacity: 1;
}

.hero {
  margin-top: 20px;
  border-radius: 36px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 22px;
}

.hero-copy {
  display: grid;
  align-content: start;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.lede {
  margin: 0;
  max-width: 60ch;
  font-size: 1.06rem;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #1b1209;
  background: linear-gradient(135deg, #ebc992, #d8b27b);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-notes > div,
.service-card,
.portfolio-card,
.process-step,
.area-panel,
.contact-card,
.contact-form {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.hero-notes > div {
  padding: 18px 16px;
}

.hero-notes span {
  display: block;
  margin-bottom: 8px;
  color: #f5e5c9;
  font-weight: 700;
}

.hero-media {
  display: grid;
  gap: 14px;
}

.feature-shot {
  margin: 0;
  display: grid;
  gap: 10px;
}

.feature-shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 28px;
}

.feature-shot figcaption {
  color: var(--muted);
  font-size: 0.9rem;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  gap: 14px;
}

.support-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-shot img {
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.support-shot.tall img {
  aspect-ratio: 0.86 / 1;
}

.ticker {
  margin-top: 18px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  padding: 14px 20px;
  width: max-content;
  animation: scroll 24s linear infinite;
}

.ticker-track span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: #f3e1c0;
}

.section {
  margin-top: 20px;
  border-radius: 30px;
  padding: 30px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.support {
  margin: 0;
  max-width: 62ch;
  line-height: 1.7;
}

.tight {
  max-width: 31rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 18px 18px 20px;
}

.service-card h3,
.portfolio-card figcaption,
.process-step h3,
.contact-card h3,
.area-panel strong {
  margin: 0;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.service-card p {
  margin: 0;
  line-height: 1.7;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 14px;
}

.portfolio-card {
  margin: 0;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.portfolio-card.wide {
  grid-row: span 2;
}

.portfolio-card img {
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-card figcaption {
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
}

.process-column {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ead3a7, #c79c63);
  color: #1b130b;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 6px;
  font-size: 1.24rem;
}

.process-step p {
  margin: 0;
  line-height: 1.7;
}

.process-image {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
}

.process-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.area-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.map-shell {
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(22, 30, 25, 0.96), rgba(39, 31, 18, 0.96));
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.area-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.area-panel,
.contact-card,
.contact-form {
  padding: 20px;
}

.area-panel strong,
.contact-card h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.area-panel p,
.contact-card p {
  margin: 0;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 16px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(201, 192, 177, 0.62);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(216, 178, 123, 0.34);
  border-color: rgba(216, 178, 123, 0.58);
}

.footer {
  margin-top: 20px;
  font-size: 0.95rem;
}

.footer div {
  display: grid;
  gap: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 110ms; }
.delay-2 { transition-delay: 220ms; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track,
  .reveal,
  .button {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .area-layout,
  .contact-grid,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 26px;
  }

  h1 {
    max-width: none;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 16px, 1240px);
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
  }

  .hero,
  .section {
    padding: 20px;
    border-radius: 24px;
  }

  .hero,
  .split,
  .area-layout,
  .contact-grid,
  .services-grid,
  .portfolio-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

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

  .map-shell,
  .map-shell iframe {
    min-height: 320px;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }
}
