:root {
  --black: #07080c;
  --black-2: #0c0e14;
  --black-3: #12151d;
  --navy: #0a1628;
  --ink: #f4eee3;
  --muted: #c9b98a;
  --quiet: #8d7d58;
  --gold: #d4af37;
  --gold-light: #f0d78a;
  --gold-bold: #e0b84a;
  --gold-dark: #a78422;
  --line: rgba(224, 184, 74, 0.42);
  --serif: "Cormorant Garamond", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: 1160px;
  --pad: clamp(1.1rem, 3.6vw, 2.4rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.62;
}

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

a {
  color: var(--gold-light);
  text-underline-offset: 0.18em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--gold-light);
}

p {
  margin: 0;
}

ul,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  background: var(--gold);
  color: #1a1408;
  padding: 0.55rem 0.8rem;
}

.skip-link:focus {
  top: 0.8rem;
}

.shell {
  width: min(var(--shell), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.label {
  margin: 0 0 0.55rem;
  color: var(--gold-bold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-solid {
  background: var(--gold-bold);
  color: #1a1408;
  border-color: var(--gold-dark);
  font-weight: 600;
}

.btn-solid:hover {
  background: var(--gold-light);
  color: #1a1408;
}

.btn-ghost {
  background: transparent;
  color: var(--gold-light);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.12);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 8, 12, 0.96);
  border-bottom: 1px solid var(--line);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.6rem;
  gap: 1rem;
  padding-block: 0.55rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--gold-light);
}

.brand-mark {
  overflow: visible;
  width: clamp(10.5rem, 24vw, 15rem);
  height: auto;
  max-height: none;
  background: transparent;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 8px rgba(224, 184, 74, 0.28));
}

.links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.links a:not(.btn) {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.links a:not(.btn):hover {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -5px;
}

.nav-toggle-bar::after {
  top: 5px;
}

.splash {
  min-height: 34rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(7, 8, 12, 0.97) 0%, rgba(10, 22, 40, 0.88) 48%, rgba(7, 8, 12, 0.55) 100%),
    radial-gradient(ellipse 50% 65% at 78% 40%, rgba(224, 184, 74, 0.28), transparent 62%),
    linear-gradient(180deg, #121820 0%, #07080c 100%);
  padding: 3.2rem 0 3.5rem;
}

.splash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.splash-copy {
  max-width: 36rem;
}

.splash h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.04;
  color: var(--ink);
}

.deck {
  margin: 0.45rem 0 1.05rem;
  color: var(--gold-bold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}

.standfirst {
  color: var(--muted);
  font-size: 1.08rem;
}

.values-line {
  margin-top: 0.95rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.55rem;
}

.splash-crest {
  justify-self: end;
  position: relative;
  width: min(100%, 24rem);
  padding: 1.75rem 1.1rem 1.25rem;
  background: transparent;
  border: none;
  overflow: visible;
}

.splash-crest img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  background: transparent;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 0 18px rgba(224, 184, 74, 0.22));
}

.house {
  padding: 4.25rem 0 4rem;
  background: var(--black-2);
  border-bottom: 1px solid var(--line);
}

.intro {
  max-width: 42rem;
  margin-bottom: 2.1rem;
}

.intro h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  margin-bottom: 0.75rem;
}

.intro > p:last-child {
  color: var(--muted);
}

.people {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 1.15rem;
}

.card {
  background: var(--black-3);
  border: 1px solid var(--line);
}

.person {
  padding: 1.55rem 1.45rem 1.7rem;
}

.portrait {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gold-bold);
  border-radius: 50%;
  overflow: hidden;
  background: #1a160f;
}

.initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: var(--serif);
  letter-spacing: 0.06em;
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait img.is-missing {
  display: none;
}

.person h3 {
  font-size: 1.65rem;
  color: var(--ink);
}

.role {
  margin: 0.2rem 0 0.8rem;
  color: var(--gold-bold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.person-lede {
  color: var(--muted);
  margin-bottom: 0.95rem;
}

.bio-block {
  margin-top: 0.75rem;
}

.bio-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--gold-bold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bio-block p {
  color: var(--muted);
  font-size: 0.98rem;
}

.capabilities {
  padding: 4.25rem 0 4.1rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(224, 184, 74, 0.08), transparent 55%),
    var(--black);
}

.person > p {
  color: var(--muted);
  margin-top: 0.75rem;
}

.person > p.person-lede {
  margin-top: 0;
  margin-bottom: 0;
}

.converse {
  border-top: 1px solid var(--line);
}

.cta-band {
  background: linear-gradient(90deg, #c9a227 0%, var(--gold-bold) 45%, #f0d78a 100%);
  color: #1a1408;
  padding: 2.6rem 0;
}

.cta-band .label,
.cta-band h2,
.cta-band p {
  color: #1a1408;
}

.cta-band .label {
  opacity: 0.72;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  margin-bottom: 0.65rem;
}

.cta-band p {
  max-width: 36rem;
}

.converse-body {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: 2.25rem;
  padding: 2.5rem 0 3.6rem;
}

.channels {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.channels dt {
  color: var(--quiet);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.channels dd {
  margin: 0;
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}

.inquiry-form .full {
  grid-column: 1 / -1;
}

.inquiry-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #6c6454;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-light);
}

.inquiry-form button {
  justify-self: start;
  font-family: inherit;
}

.form-note {
  color: var(--gold-light);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.legal {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 1.9rem;
  background: var(--black-2);
}

.legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 2rem;
  align-items: baseline;
}

.legal-brand {
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 1.15rem;
}

.legal-tag {
  margin-top: 0.2rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.disclaimer {
  color: var(--quiet);
  font-size: 0.88rem;
  max-width: 40rem;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.15rem;
}

.tile {
  position: relative;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  flex-direction: column;
  padding: 1.3rem 1.15rem 1.45rem;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.tile:hover {
  border-color: var(--gold-bold);
  background: #161a24;
}

.js .tile {
  cursor: pointer;
}

.tile-no {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--gold-bold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.tile h3 {
  font-size: 1.22rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.tile p {
  color: var(--muted);
  font-size: 0.97rem;
}

.tile-snippet {
  flex-grow: 1;
}

.tile-more {
  align-self: flex-start;
  margin-top: 1.05rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-bold);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.tile-more::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tile:hover .tile-more,
.tile-more:hover {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.tile-more:focus-visible {
  outline: none;
}

.tile-more:focus-visible::after {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* Full narrative: hidden in the card, shown in the dialog. Without JS it stays inline. */
.js .tile-full {
  display: none;
}

html:not(.js) .tiles {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
}

html:not(.js) .tile-more {
  display: none;
}

html:not(.js) .tile-full {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(224, 184, 74, 0.28);
}

.js .tile.is-expanded {
  grid-column: 1 / -1;
}

.js .tile.is-expanded .tile-full {
  display: block;
  margin-top: 1.25rem;
}

.js .tile.is-expanded .tile-more::after {
  display: none;
}

.tile-sub {
  margin: 0 0 1rem;
  color: var(--gold-bold) !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem !important;
  line-height: 1.45;
}

.tile-full h4 {
  margin: 1.35rem 0 0.55rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tile-full ul {
  margin: 0.35rem 0 0.75rem;
  padding: 0 0 0 1.15rem;
  list-style: disc;
}

.tile-full ul li {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0.28rem 0;
  padding-left: 0.15rem;
}

.tile-full ul li::marker {
  color: var(--gold-dark);
}

.tile-full p + p {
  margin-top: 0.75rem;
}

.tile-cta {
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(224, 184, 74, 0.28);
  color: var(--gold-light) !important;
  font-size: 0.98rem !important;
}

/* Service dialog */
.svc-dialog {
  width: min(760px, calc(100vw - 2rem));
  max-width: 760px;
  max-height: 85vh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--black-2);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(224, 184, 74, 0.08);
}

.svc-dialog[open] {
  display: flex;
  flex-direction: column;
}

.svc-dialog::backdrop {
  background: rgba(3, 4, 7, 0.8);
  backdrop-filter: blur(2px);
}

.svc-dialog-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.svc-dialog-bar {
  position: absolute;
  top: 0.75rem;
  right: 1.1rem;
  z-index: 2;
}

.svc-dialog-close {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--gold);
  background: rgba(7, 8, 12, 0.9);
  color: var(--gold-bold);
  font-family: var(--sans);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.svc-dialog-close:hover {
  background: var(--gold-bold);
  color: #1a1408;
}

.svc-dialog-close:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.svc-dialog-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 2.25rem 2.25rem;
  scrollbar-color: var(--gold-dark) transparent;
  scrollbar-width: thin;
}

.svc-dialog-body:focus {
  outline: none;
}

.js .svc-dialog .tile-full {
  display: block;
}

.svc-dialog .tile-full h3 {
  margin: 0 3.25rem 0.55rem 0;
  color: var(--gold-light);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.15;
}

.svc-dialog .tile-full p,
.svc-dialog .tile-full ul li {
  color: var(--ink);
  font-size: 1rem;
}

.svc-dialog .tile-full h4 {
  font-size: 1.22rem;
  color: var(--gold-light);
}

html.has-dialog {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tiles {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .svc-dialog {
    width: calc(100vw - 0.75rem);
    max-width: none;
    height: calc(100dvh - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
  }

  .svc-dialog-bar {
    top: 0.5rem;
    right: 0.6rem;
  }

  .svc-dialog-body {
    padding: 1.4rem 1.15rem 2rem;
  }

  .svc-dialog .tile-full h3 {
    margin-right: 3rem;
  }
}

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

  .splash-crest {
    justify-self: start;
    width: min(100%, 22rem);
  }
}

@media (max-width: 760px) {
  .splash {
    min-height: 0;
    padding: 2.6rem 0 2.9rem;
  }

  .people,
  .converse-body,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 5.6rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem var(--pad) 1rem;
    background: #110e0a;
    border-bottom: 1px solid var(--line);
  }

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

  .links a {
    padding: 0.75rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.16);
  }

  .links .btn {
    margin-top: 0.7rem;
    width: fit-content;
  }
}

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note.is-err { color: #f2a19a; }
.form-fine { color: var(--muted, #a9a39a); font-size: 0.85rem; margin: 0; }
.form-fine a, .form-note a { color: var(--gold-light); }
