:root {
  --bg: #eef2f5;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --ink: #11161c;
  --muted: #65707a;
  --line: rgba(17, 22, 28, 0.1);
  --brand: #162b3c;
  --accent: #b9803d;
  --shadow: 0 24px 56px rgba(16, 22, 29, 0.08);
  --radius-xl: 26px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 124px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f4f7f9 0%, #eef2f5 100%);
}

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

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

.page-shell {
  width: min(calc(100% - 36px), var(--max-width));
  margin: 0 auto 84px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(16, 22, 29, 0.07);
  backdrop-filter: blur(14px);
}

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

.brand img {
  display: block;
}

.brand-wordmark img {
  width: 280px;
  height: auto;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-textonly {
  padding-left: 4px;
}

.site-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-cta {
  padding: 0 22px;
  background: var(--brand);
  color: #fff;
}

.button {
  padding: 0 24px;
}

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

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.button-full {
  width: 100%;
}

.section {
  padding: 58px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Tinos", serif;
  line-height: 1.02;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 5.4vw, 5.9rem);
}

.hero,
.hero-visual,
.company-layout,
.contact {
  display: grid;
  gap: 26px;
}

.hero {
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  padding-top: 84px;
}

.hero-text,
.section-heading p,
.service-card li,
.process-grid p,
.contact-copy p,
.hero-data span,
.hero-note span,
.table-row span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 60ch;
  margin: 24px 0 30px;
  font-size: 1.08rem;
}

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

.hero-data {
  display: grid;
  grid-template-columns: 0.85fr 0.95fr 1.2fr;
  gap: 14px;
  margin-top: 34px;
}

.hero-data div,
.hero-note,
.service-card,
.company-table,
.process-grid article,
.contact-form {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-data div {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-data span,
.hero-note span,
.table-row span,
.contact-direct span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-data strong {
  display: block;
  font-size: clamp(0.98rem, 1.4vw, 1.05rem);
  line-height: 1.45;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: #d8dee4;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame-hero {
  aspect-ratio: 4 / 3;
}

.media-frame-company {
  aspect-ratio: 4 / 3;
}

.hero-note {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.hero-note strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.55;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 24px;
  align-items: end;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin-bottom: 14px;
}

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

.service-card {
  min-height: 292px;
  padding: 24px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.service-index {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.46rem;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
}

.service-card li + li {
  margin-top: 8px;
}

.service-cta {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(185, 128, 61, 0.35);
  box-shadow:
    0 24px 56px rgba(16, 22, 29, 0.1),
    0 0 0 1px rgba(185, 128, 61, 0.2),
    0 0 40px rgba(185, 128, 61, 0.14);
}

.service-card:hover .service-cta,
.service-card:focus-visible .service-cta {
  transform: translateY(-1px);
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.service-card-emphasis {
  background: linear-gradient(180deg, #162b3c 0%, #12212e 100%);
  color: #fff;
}

.service-card-emphasis li {
  color: rgba(255, 255, 255, 0.82);
}

.service-card-emphasis .service-cta {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.service-card-emphasis:hover,
.service-card-emphasis:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 24px 56px rgba(10, 14, 19, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 42px rgba(185, 128, 61, 0.16);
}

.company-layout {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}

.company-table {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.table-row {
  display: grid;
  gap: 10px;
  padding: 24px 26px;
}

.table-row + .table-row {
  border-top: 1px solid var(--line);
}

.table-row strong {
  font-size: 1.08rem;
  line-height: 1.55;
}

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

.process-grid article {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.process-grid article span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 800;
}

.contact {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-direct {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-direct a {
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.35;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(247, 249, 251, 0.96);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1120px) {
  .hero,
  .section-heading-split,
  .company-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-grid,
  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 22px), var(--max-width));
  }

  .site-header {
    position: static;
    display: grid;
    justify-items: start;
    border-radius: 28px;
  }

  .brand-wordmark img {
    width: min(250px, 62vw);
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-data,
  .service-grid,
  .process-grid,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .nav-cta,
  .reveal {
    transition: none;
  }
}
