:root {
  --navy: #071525;
  --navy-2: #0c2238;
  --navy-3: #14304c;
  --ink: #162033;
  --muted: #5d6b7e;
  --gold: #c4a35a;
  --gold-2: #e4c98a;
  --cream: #f3eee4;
  --paper: #faf8f3;
  --white: #ffffff;
  --line: rgba(196, 163, 90, 0.32);
  --shadow: 0 24px 60px rgba(7, 21, 37, 0.14);
  --radius: 18px;
  --max: 1180px;
  --header: 84px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: var(--gold-2);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 21, 37, 0.08);
}

.header-inner {
  position: relative;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  width: 46px;
  height: 46px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.logo-text span {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

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

.nav a,
.nav-drop > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav a.is-active,
.nav-drop:hover > span {
  color: var(--gold);
}

.nav-drop {
  position: relative;
}

.nav-drop > span {
  cursor: default;
}

.nav-drop ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid rgba(7, 21, 37, 0.08);
  box-shadow: var(--shadow);
  border-radius: 12px;
}

.nav-drop:hover ul,
.nav-drop:focus-within ul {
  display: block;
}

.nav-drop ul a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: 0.22s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(7, 21, 37, 0.12);
  background: transparent;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 122px);
  display: grid;
  place-items: end stretch;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--navy-2);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 37, 0.86) 0%, rgba(7, 21, 37, 0.55) 48%, rgba(7, 21, 37, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 21, 37, 0.15), rgba(7, 21, 37, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 72px;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  color: var(--navy);
}

h3 {
  font-size: 1.55rem;
  color: var(--navy);
}

.lede {
  font-size: 1.15rem;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 32px;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 560px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-meta strong {
  display: block;
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: lining-nums;
  color: var(--gold-2);
}

.hero-meta span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero {
  min-height: 420px;
  place-items: center stretch;
}

.page-hero .hero-content {
  padding: 90px 0 70px;
}

/* Sections */
section {
  padding: 92px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head p,
.prose p,
.muted {
  color: var(--muted);
}

.kicker {
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.split-image {
  position: relative;
}

.split-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.split-image::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.caption-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 18px 20px;
  border-radius: 12px;
  max-width: 240px;
}

.caption-card strong {
  display: block;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(7, 21, 37, 0.08);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--line);
}

.service-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 28px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 18px;
}

.service-card .more {
  margin-top: auto;
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
}

.service-card .more:hover {
  color: var(--gold);
}

.band {
  background: var(--navy);
  color: var(--white);
}

.band h2,
.band h3 {
  color: var(--white);
}

.band p {
  color: rgba(255, 255, 255, 0.76);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pillar {
  padding: 8px 8px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.pillar h3 {
  font-size: 1.45rem;
}

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

.process article {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(7, 21, 37, 0.07);
}

.process span {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background:
    linear-gradient(120deg, rgba(7, 21, 37, 0.88), rgba(12, 34, 56, 0.72)),
    url("../img/apron.jpg") center/cover;
  color: var(--white);
  border-radius: 28px;
  padding: 56px;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* Service detail blocks */
.detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid rgba(7, 21, 37, 0.08);
}

.detail:nth-child(even) {
  grid-template-columns: 1.1fr 0.9fr;
}

.detail:nth-child(even) .detail-copy {
  order: -1;
}

.detail img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.detail li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--muted);
}

.detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 1px;
  background: var(--gold);
}

.detail {
  scroll-margin-top: 110px;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.value {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(7, 21, 37, 0.07);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.contact-card,
.form-card {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(7, 21, 37, 0.08);
  box-shadow: var(--shadow);
}

.contact-card {
  background: var(--navy);
  color: var(--white);
  padding: 36px;
}

.contact-card h2,
.contact-card h3 {
  color: var(--white);
}

.contact-card a:hover {
  color: var(--gold-2);
}

.info-row {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row span {
  display: block;
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-card {
  padding: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  border: 1px solid rgba(7, 21, 37, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fcfbf8;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(196, 163, 90, 0.45);
  border-color: var(--gold);
}

.form-note {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: #eef7ef;
  color: #215c2e;
  border-radius: 12px;
}

.form-note.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.site-footer a:hover {
  color: var(--gold-2);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.footer-brand p {
  max-width: 36ch;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.reveal {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(var(--header) + 32px);
    left: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-drop ul {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
  }

  .header-cta {
    display: none;
  }

  .services-grid,
  .pillars,
  .process,
  .split,
  .detail,
  .detail:nth-child(even),
  .contact-grid,
  .footer-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .detail:nth-child(even) .detail-copy {
    order: 0;
  }

  .hero-meta,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 32px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .split-image img,
  .detail img {
    height: 280px;
  }

}

@media (max-width: 720px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }

  .hero-content,
  .page-hero .hero-content {
    padding: 56px 0 48px;
  }
}
