:root {
  color-scheme: dark;
  --ink: #060706;
  --paper: #f8f3ea;
  --muted: #bdb5a8;
  --soft: rgba(248, 243, 234, 0.72);
  --line: rgba(248, 243, 234, 0.16);
  --teal: #72ddd2;
  --amber: #dca85b;
  --charcoal: #101210;
  --panel: rgba(12, 14, 13, 0.74);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::selection {
  background: var(--teal);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(6, 7, 6, 0.84), rgba(6, 7, 6, 0));
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

.site-header nav {
  display: flex;
  gap: clamp(14px, 2.2vw, 34px);
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.site-header nav a:hover {
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  padding: 132px clamp(22px, 6vw, 92px) 72px;
  overflow: hidden;
}

main,
section {
  max-width: 100%;
  overflow-x: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 7, 6, 0.9) 0%, rgba(6, 7, 6, 0.72) 34%, rgba(6, 7, 6, 0.3) 68%, rgba(6, 7, 6, 0.72) 100%),
    linear-gradient(180deg, rgba(6, 7, 6, 0.14), rgba(6, 7, 6, 0.84));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
blockquote {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 8vw, 8.4rem);
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--soft);
  font-size: clamp(1.08rem, 1.6vw, 1.45rem);
  overflow-wrap: break-word;
}

.hero-actions,
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--paper);
  color: var(--ink);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgba(248, 243, 234, 0.06);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 5vw, 80px);
  bottom: 58px;
  width: min(360px, calc(100vw - 44px));
  border-left: 2px solid var(--teal);
  padding: 8px 0 10px 22px;
}

.hero-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.intro-band,
.services-section,
.split-section,
.process-section,
.profile-section,
.contact-section {
  padding: clamp(72px, 9vw, 132px) clamp(22px, 6vw, 92px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 8vw, 120px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090a09;
}

.intro-statement h2,
.section-heading h2,
.copy-block h2,
.contact-section h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 5.7rem);
}

.intro-copy {
  align-self: end;
}

.intro-copy p,
.copy-block p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: clamp(1.02rem, 1.45vw, 1.26rem);
}

.services-section {
  background:
    radial-gradient(circle at 16% 12%, rgba(114, 221, 210, 0.12), transparent 32%),
    #060706;
}

.section-heading {
  margin-bottom: clamp(36px, 5vw, 70px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-grid article {
  min-height: 338px;
  background: rgba(12, 14, 13, 0.94);
  padding: clamp(24px, 3vw, 38px);
}

.service-grid span,
.process-list span {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 0.82rem;
}

.service-grid h3 {
  margin-bottom: 18px;
  font-size: 1.28rem;
}

.service-grid p,
.process-list li {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 116px);
  align-items: center;
  background: #0b0c0b;
}

.visual-panel {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.metric {
  min-height: 142px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(248, 243, 234, 0.08), rgba(248, 243, 234, 0.02));
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.metric span {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--paper);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.process-section {
  background: #060706;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.process-list li {
  min-height: 240px;
  padding: 30px;
  background: #0f1110;
  font-size: 0.98rem;
}

.process-list span {
  margin-bottom: 52px;
  color: var(--paper);
  font-size: 1.2rem;
  font-weight: 800;
}

.profile-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(220, 168, 91, 0.13), rgba(114, 221, 210, 0.08) 55%, transparent);
}

blockquote {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 6.2rem);
}

.contact-section {
  align-items: end;
  justify-content: space-between;
  background: #080908;
}

.contact-section h2 {
  max-width: 900px;
}

@media (max-width: 1100px) {
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 58px;
  }
}

@media (max-width: 760px) {
  :root {
    --mobile-measure: min(300px, calc(100vw - 92px));
  }

  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 8.6vw, 2.55rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hero-content,
  .hero-copy,
  .hero-actions,
  .intro-statement,
  .intro-copy,
  .section-heading,
  .copy-block,
  .contact-section > div,
  blockquote {
    width: var(--mobile-measure);
    max-width: var(--mobile-measure);
  }

  .intro-statement h2,
  .section-heading h2,
  .copy-block h2,
  .contact-section h2,
  blockquote {
    font-size: clamp(1.85rem, 7vw, 2.15rem);
    line-height: 1.03;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .intro-band,
  .split-section {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .process-list li {
    min-height: auto;
  }

  .contact-section {
    align-items: flex-start;
  }
}
