:root {
  --ink: #111a24;
  --ink-soft: #43505d;
  --paper: #ffffff;
  --mist: #f2f4f6;
  --line: #d8dde2;
  --gold: #ba9557;
  --gold-bright: #d4b77d;
  --shell: 1180px;
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 26, 36, 0.12);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: stretch;
  gap: 0.8rem;
  width: max-content;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.wordmark-rule {
  width: 3px;
  background: var(--gold);
}

.wordmark strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.wordmark small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a,
.header-contact {
  position: relative;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: stretch;
  min-height: 690px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 5rem 6rem 0;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: #88672e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow-light {
  color: var(--gold-bright);
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4vw, 4rem);
}

h3 {
  line-height: 1.24;
}

.hero-intro {
  max-width: 690px;
  margin-bottom: 2.25rem;
  color: #cbd1d7;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #d2b277;
}

.text-link {
  padding-block: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-details {
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  margin: 4.5rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-details div {
  min-width: 0;
}

.hero-details dt {
  margin-bottom: 0.2rem;
  color: #8f99a3;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-details dd {
  margin: 0;
  color: #e7eaed;
  font-size: 0.95rem;
}

.matrix-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
}

.matrix-panel::before,
.matrix-panel::after {
  content: "";
  position: absolute;
  background: rgba(212, 183, 125, 0.5);
}

.matrix-panel::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.matrix-panel::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.matrix-core {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(75%, 310px);
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 183, 125, 0.75);
  background: var(--ink);
  text-align: center;
  transform: rotate(45deg);
}

.matrix-core > * {
  transform: rotate(-45deg);
}

.matrix-core strong {
  display: block;
  margin: 0.3rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.matrix-core span {
  display: block;
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.matrix-label {
  position: absolute;
  z-index: 2;
  color: #98a2ab;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.matrix-label-top {
  top: 2rem;
  right: 2rem;
}

.matrix-label-bottom {
  bottom: 2rem;
  left: 2rem;
}

.section {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.about {
  border-bottom: 1px solid var(--line);
}

.about-copy {
  padding-top: 2.2rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.expertise {
  background: var(--mist);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: 4rem;
  margin-bottom: 4rem;
}

.section-heading > p {
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
}

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

.service-card {
  min-height: 340px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-right: 1px solid #bdc4cb;
  border-bottom: 1px solid #bdc4cb;
  background: rgba(255, 255, 255, 0.45);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  position: relative;
  z-index: 1;
  background: var(--paper);
  transform: translateY(-3px);
}

.service-number {
  display: block;
  margin-bottom: 3.6rem;
  color: #876a39;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}

.service-card h3 {
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
  font-weight: 500;
}

.service-card p {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.approach {
  padding-bottom: 0;
}

.approach-heading {
  margin-bottom: 2rem;
}

.approach-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.approach-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding-block: 2.1rem;
  border-bottom: 1px solid var(--line);
}

.approach-list > li > span {
  color: #8a6b37;
  font-family: Georgia, "Times New Roman", serif;
}

.approach-list h3 {
  margin-bottom: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.approach-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.principal {
  border-bottom: 1px solid var(--line);
}

.principal-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.principal-monogram {
  display: grid;
  place-items: center;
  width: min(100%, 350px);
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 8rem);
  letter-spacing: 0.06em;
}

.principal-role {
  margin: 1.25rem 0 1.6rem;
  color: #87672f;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principal-copy {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.contact {
  padding-block: clamp(5rem, 9vw, 8.5rem);
  background: var(--ink);
  color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.contact h2 {
  max-width: 650px;
}

.contact-details {
  padding-top: 0.5rem;
}

.contact-details > div,
.contact-details address {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  color: #d3d8dd;
  font-style: normal;
}

.contact-details span {
  color: #8d98a2;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details a {
  width: fit-content;
  text-underline-offset: 0.25rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d151e;
  color: #aab2ba;
}

.footer-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

a:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    min-height: 650px;
    padding: 6rem 0 5rem;
  }

  .matrix-panel {
    min-height: 520px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 0;
    border-left: 0;
  }

  .matrix-core {
    width: min(54vw, 300px);
  }

  .section-grid,
  .section-heading,
  .principal-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 2rem;
  }

  .principal-monogram {
    width: min(62vw, 320px);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .header-inner {
    min-height: 72px;
    gap: 1rem;
  }

  .wordmark small {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .header-contact {
    font-size: 0.82rem;
  }

  .hero-copy {
    min-height: 610px;
    padding-block: 4.6rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-details {
    flex-direction: column;
    gap: 1rem;
    margin-top: 3.5rem;
  }

  .matrix-panel {
    min-height: 430px;
  }

  .matrix-label-top {
    top: 1.25rem;
    right: 1.25rem;
  }

  .matrix-label-bottom {
    bottom: 1.25rem;
    left: 1.25rem;
  }

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

  .service-card {
    min-height: 300px;
    padding: 2rem 1.5rem;
  }

  .service-number {
    margin-bottom: 2.5rem;
  }

  .approach-list li {
    grid-template-columns: 50px 1fr;
    gap: 0.75rem;
  }

  .contact-details > div,
  .contact-details address {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    padding-block: 1.25rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
