:root {
  --ink: #151515;
  --muted: #69665f;
  --paper: #f6f1e8;
  --paper-deep: #ece3d4;
  --charcoal: #102f3f;
  --charcoal-soft: #17485f;
  --line: rgba(21, 21, 21, 0.13);
  --gold: #f59b23;
  --blue: #0076af;
  --green: #0f4a60;
  --white: #fffaf1;
  --shadow: 0 24px 70px rgba(19, 21, 19, 0.14);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

body.menu-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
  padding: 10px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
  color: var(--ink);
  background: rgba(255, 250, 241, 0.98);
  box-shadow: 0 10px 28px rgba(16, 47, 63, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  height: 58px;
  overflow: hidden;
}

.brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 52px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(21, 21, 21, 0.72);
  font-size: 14px;
}

.nav a,
.nav-cta {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a {
  position: relative;
  padding: 9px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(0, 118, 175, 0.25);
  color: var(--white);
  background: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.nav-cta:hover {
  background: #086c9e;
  border-color: #086c9e;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(21, 21, 21, 0.18);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(80px, 10vw, 150px) clamp(20px, 6vw, 92px) 72px;
  padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + clamp(64px, 8vw, 110px));
  color: var(--white);
  background:
    linear-gradient(130deg, rgba(32, 35, 33, 0.94), rgba(32, 35, 33, 0.82)),
    radial-gradient(circle at 72% 12%, rgba(183, 147, 86, 0.23), transparent 32%),
    linear-gradient(135deg, #1f2824 0%, #151515 100%);
}

.hero-content {
  max-width: 950px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--gold);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  max-width: 980px;
  margin-bottom: 26px;
  font-size: clamp(48px, 7vw, 96px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 740px;
  color: rgba(255, 250, 241, 0.78);
  font-size: clamp(17px, 2vw, 22px);
}

.hero .eyebrow,
.detail-section .eyebrow,
.focus-section .eyebrow,
.contact-section .eyebrow {
  color: var(--gold);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #191813;
}

.button.secondary {
  border: 1px solid rgba(255, 250, 241, 0.28);
  color: var(--white);
}

.hero-panel {
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  background: rgba(255, 250, 241, 0.07);
  box-shadow: var(--shadow);
}

.hero-panel > p {
  margin-bottom: 28px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.2;
}

.metric-grid {
  display: grid;
  gap: 18px;
}

.metric-grid div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 241, 0.14);
}

.metric-grid strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.metric-grid span {
  display: block;
  max-width: 260px;
  margin-top: 7px;
  color: rgba(255, 250, 241, 0.68);
  font-size: 14px;
}

.intro-band,
.section,
.project-section,
.detail-section,
.team-section,
.focus-section,
.process-section,
.contact-section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 92px);
}

.intro-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.intro-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(24px, 5vw, 70px);
  margin-bottom: 48px;
}

.section-heading.compact {
  max-width: 940px;
}

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

.service-card {
  min-height: 280px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.38);
}

.service-card span,
.process-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.service-card p,
.project-card p,
.team-card p,
.process-grid p,
.focus-copy p,
.contact-section p,
.accordion-panel p {
  color: var(--muted);
}

.project-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.project-card {
  min-height: 245px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(246, 241, 232, 0.68);
}

.project-card.featured {
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(16, 47, 63, 0.94), rgba(15, 74, 96, 0.9)),
    linear-gradient(135deg, rgba(245, 155, 35, 0.2), transparent);
  border-color: rgba(245, 155, 35, 0.34);
}

.project-card.featured p {
  max-width: 640px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 18px;
}

.project-card.featured h3 {
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.05;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.project-meta span {
  padding: 8px 10px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured .project-meta span {
  border-color: rgba(255, 250, 241, 0.18);
  color: var(--gold);
}

.project-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 42px 0 0;
  background: rgba(255, 250, 241, 0.16);
}

.project-card dl div {
  padding: 18px;
  background: rgba(255, 250, 241, 0.08);
}

.project-card dt {
  color: rgba(255, 250, 241, 0.56);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card dd {
  margin: 6px 0 0;
  color: var(--white);
  font-weight: 700;
}

.detail-section {
  color: var(--white);
  background: var(--charcoal);
}

.detail-section h2 {
  color: var(--white);
}

.accordion {
  border-top: 1px solid rgba(255, 250, 241, 0.16);
}

.accordion-trigger {
  width: 100%;
  min-height: 74px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 250, 241, 0.16);
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: clamp(21px, 3vw, 34px);
  text-align: left;
  cursor: pointer;
}

.accordion-trigger::after {
  content: "+";
  float: right;
  color: var(--gold);
}

.accordion-trigger.is-open::after {
  content: "-";
}

.accordion-panel {
  display: none;
  max-width: 900px;
  padding: 24px 0 34px;
}

.detail-section .accordion-panel p {
  color: rgba(255, 250, 241, 0.86);
  font-size: 17px;
  line-height: 1.7;
}

.accordion-panel.is-open {
  display: block;
}

.team-section {
  background: var(--white);
}

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

.team-card {
  padding: 28px;
  background: var(--white);
}

.portrait {
  display: grid;
  place-items: center;
  width: 88px;
  height: 104px;
  margin-bottom: 28px;
  color: var(--gold);
  background: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.focus-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--green);
  color: var(--white);
}

.focus-copy p {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.7);
  font-size: 18px;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.focus-list span {
  padding: 13px 16px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  color: rgba(255, 250, 241, 0.86);
  background: rgba(255, 250, 241, 0.06);
}

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

.process-grid div {
  min-height: 250px;
  padding: 30px;
  background: var(--paper);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 450px);
  gap: clamp(28px, 6vw, 90px);
  color: var(--white);
  background: var(--charcoal-soft);
}

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

.contact-section > div:first-child > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 250, 241, 0.86);
  font-size: 18px;
  line-height: 1.65;
}

.contact-card {
  padding: 30px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  background: rgba(255, 250, 241, 0.07);
}

.contact-card a,
.contact-card p {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 250, 241, 0.78);
}

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

.contact-card hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid rgba(255, 250, 241, 0.16);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 92px);
  color: rgba(255, 250, 241, 0.7);
  background: #171917;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.is-open .nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .hero,
  .intro-band,
  .section-heading,
  .focus-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 460px;
  }

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

@media (max-width: 680px) {
  .brand {
    min-width: auto;
    width: 190px;
    height: 54px;
  }

  .brand img {
    width: auto;
    height: 46px;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 48px;
    background:
      linear-gradient(140deg, rgba(18, 52, 67, 0.9), rgba(24, 74, 84, 0.82)),
      radial-gradient(circle at 85% 0%, rgba(245, 155, 35, 0.2), transparent 38%),
      linear-gradient(135deg, #203f43 0%, #182c2d 100%);
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .project-card.featured {
    min-height: auto;
  }

  .project-card dl {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-grid div {
    min-height: auto;
  }
}
