:root {
  --paper: #f6f2e6;
  --sand: #ece7d9;
  --coffee: #103649;
  --ink: #031d2e;
  --clay: #89682e;
  --muted: #465661;
  --line: #d4ccb7;
  --gold: #d7b66e;
  --gold-deep: #a78341;
  --on-dark: #eee8d9;
}

.brand-emblem {
  display: block;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
}
.brand-emblem img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 49px;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}
.wordmark { gap: 13px; }
.wordmark > p { font-size: 11px; }
.wordmark small { font-size: 8px; }
.nav-shell nav { font-size: 12px; }
.nav-cta { font-size: 11px; }
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 55;
  height: 3px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.cover {
  min-height: 825px;
  background: radial-gradient(ellipse at 50% 39%, #163b4b, var(--ink) 66%);
}
.cover-photo img {
  top: 92px;
  height: 125%;
  opacity: .98;
  mask-image: linear-gradient(90deg, transparent 10%, #000 29%, #000 71%, transparent 90%);
}
.cover-photo:after {
  background: linear-gradient(180deg, transparent 31%, #031d2e60 53%, #031d2eeb 84%, var(--ink)),
              linear-gradient(90deg, #031d2ec0, transparent 38%, transparent 62%, #031d2ec0);
}
.cover h1 { font-size: clamp(72px, 8.4vw, 121px); }
.cover h1 em { color: var(--gold); }
.cover-content > p { font-size: 15px; color: var(--on-dark); }
.cover-kicker { font-size: 10px; color: var(--on-dark); }
.cover-kicker span { font-size: 8px; color: var(--gold); }
.cover-caption { font-size: 9px; color: var(--gold); }
.cover-social { right: 150px; display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .14em; color: var(--gold); }
.scroll-cue { color: var(--on-dark); }
.button { min-height: 58px; font-size: 12px; }
.button-light > span { background: #e9dfc2; }
.text-link { min-height: 42px; font-size: 13px; }
.js-motion .cover-photo { animation: cover-drift 8s ease-in-out infinite alternate; }
.js-motion .cover-content h1 { animation: cover-entrance .9s var(--ease) both; }
.js-motion .cover-content > p { animation: cover-entrance .85s .16s var(--ease) both; }
.js-motion .cover-content > a { animation: cover-entrance .85s .27s var(--ease) both; }
.js-motion .scroll-cue i { animation: cue-drop 1.9s ease-in-out infinite; }
@keyframes cover-drift {
  to { transform: scale(1.075) translateY(9px); }
}
@keyframes cover-entrance {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes cue-drop {
  50% { translate: 0 7px; }
}
.js-motion .reveal {
  transition: opacity .75s var(--ease), translate .85s var(--ease);
}
.js-motion .reveal:not(.seen) {
  opacity: .12;
  translate: 0 36px;
}

.opening h2 { margin-top: 0; }
.opening h2 em { color: var(--clay); }
.opening-note > p { font-size: 17px; }
.scene-caption { justify-content: center; color: var(--muted); }
.scene-caption button { min-height: 44px; font-size: 12px; }
#justice-scene { height: 425px; touch-action: pan-y; }
#justice-scene.dragging { cursor: grabbing; }
#justice-scene canvas { touch-action: pan-y; }
.justice-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 425px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("assets/justice-atlas.webp") no-repeat 0 0 / 1200% 1200%;
  transition: opacity .6s;
}
#justice-scene.ready .justice-preview {
  opacity: 0;
}
.themes-heading > p:last-child { font-size: 15px; max-width: 290px; }
.theme-tabs button { border-color: var(--line); }
#theme-panel { min-height: 315px; background: var(--paper); }
#theme-panel .theme-mark { color: #d8caaa; }
#theme-panel h3 { margin-top: 22px; max-width: 85%; }
#theme-copy { font-size: 15px; color: var(--muted); }
#theme-panel .text-link { position: relative; font-size: 12px; }

.contact-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 7vw;
  align-items: center;
  background: radial-gradient(ellipse at 77% 42%, #1b4a5b, transparent 60%), var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: 85px;
}
.contact-content { position: relative; z-index: 1; }
.contact-content h2 { font-size: clamp(50px, 6vw, 86px); }
.contact-content h2 em, .office h2 em { color: var(--gold); }
.contact-content > p { max-width: 390px; color: var(--on-dark); margin: 24px 0 26px; }
.contact-picker { display: grid; gap: 12px; max-width: 410px; }
.contact-picker label { font-size: 13px; font-weight: 600; }
.contact-picker select {
  width: 100%;
  min-height: 53px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font: inherit;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
}
.contact-picker .button { margin-top: 7px; }
.contact-direct {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
  min-height: 44px;
  font-size: 13px;
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-direct svg { width: 18px; height: 18px; }
.contact-portrait {
  margin: 0;
  min-width: 0;
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
}
.contact-portrait img {
  position: relative;
  width: min(100%, 465px);
  height: auto;
  filter: drop-shadow(15px 20px 28px #010e1ba0);
  mask-image: linear-gradient(#000 86%, #0000 100%);
}
.portrait-arch {
  position: absolute;
  inset: 8% 9% 4%;
  border: 1px solid #dfbe8955;
  border-radius: 50% 50% 3px 3px / 36% 36% 3px 3px;
  transform: rotate(-7deg);
}
.portrait-arch::after {
  content: '';
  position: absolute;
  inset: 15px;
  border: 1px solid #dfbe8930;
  border-radius: inherit;
}
.js-motion .contact-portrait.seen img {
  animation: step-forward .95s var(--ease) both, portrait-sway 5s 1s ease-in-out infinite alternate;
}
@keyframes step-forward {
  from { transform: translateX(32px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes portrait-sway {
  from { transform: translate(0, 0); }
  to { transform: translate(7px, -9px); }
}

.about-image > img { object-position: center 32%; }
.about-label { z-index: 1; }
.about-label small { font-size: 9px; color: var(--muted); }
.about-credentials p { color: var(--muted); }
.about-text > p:not(.overline) { font-size: 16px; }
.about-text > p.lead { font-size: 20px; }
.about-text .text-link { font-size: 13px; }
.social { background: var(--sand); }
.social-portrait img { filter: none; object-position: 61% 32%; }
.social-orbit { border-color: var(--gold-deep); }
.social-copy h2 { margin-top: 0; }
.social-copy > p:not(.overline) { color: var(--muted); }
.instagram-handle { font-size: clamp(23px, 2.7vw, 38px); overflow-wrap: anywhere; border-color: var(--gold-deep); }
.social-topics a { min-height: 52px; font-size: 13px; color: var(--coffee); }
.social-seal {
  position: absolute;
  right: -3%;
  bottom: 6%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--coffee);
  color: var(--gold);
  box-shadow: 0 0 0 8px var(--sand);
}
.review { background: var(--paper); min-height: 375px; display: flex; flex-direction: column; }
.review-stars { color: var(--clay); letter-spacing: .23em; }
.review > span { margin-top: 23px; color: var(--gold-deep); }
.review blockquote { flex: 1; font-size: 15px; color: var(--muted); }
.review > p { display: flex; gap: 10px; align-items: center; border-color: var(--line); }
.review > p > i { font-style: normal; border-radius: 50%; padding: 7px; background: var(--sand); font-size: 10px; }
.review-controls button { min-width: 44px; min-height: 44px; border-color: var(--line); }
.review-controls button:disabled { opacity: .3; cursor: default; }

.office {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  align-items: center;
  gap: 7vw;
  background: var(--ink);
  color: var(--paper);
}
.office-brand { margin: auto; width: min(80%, 325px); }
.office-brand img { width: 100%; height: auto; }
.office address { margin: 23px 0; color: var(--on-dark); font-style: normal; }
.office-content > p { margin: 23px 0; color: var(--on-dark); max-width: 400px; }
.office-actions { display: flex; align-items: start; flex-direction: column; gap: 19px; }
.office-email { font-size: 14px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.office-brand { width: min(78%, 245px); }
.footer-phone { font-size: 13px; }
.floating-controls > a { background: var(--coffee); }

@media (max-width: 950px) {
  .nav-shell nav { gap: 17px; font-size: 11px; }
  .wordmark { gap: 9px; }
  .nav-cta { gap: 10px; }
  .contact-feature { gap: 4vw; }
}
@media (max-width: 760px) {
  .nav-shell { padding: 9px 14px; }
  .nav-shell nav { font-size: 15px; }
  .wordmark > p { font-size: 9px; }
  .wordmark small { font-size: 7px; }
  .brand-emblem { width: 36px; height: 36px; }
  .brand-emblem img { width: 40px; }
  .cover { min-height: 0; height: 760px; }
  .cover-photo img { top: 80px; height: 103%; }
  .cover-photo:after {
    background: linear-gradient(180deg, #031d2e55, transparent 26%, #031d2e45 48%, #031d2edd 72%, var(--ink) 96%),
                linear-gradient(90deg, #031d2e82, transparent 23%, transparent 77%, #031d2e82);
  }
  .cover h1 { font-size: clamp(41px, 11.7vw, 67px); }
  .cover-content { padding-bottom: 105px; }
  .cover-content > p { font-size: 13px; max-width: 270px; }
  .cover-social { right: 90px; bottom: 28px; }
  .cover-social span { display: none; }
  .cover-kicker { top: 116px; font-size: 8px; }
  .js-motion .reveal:not(.seen) { translate: 0 28px; }
  .opening h2 { font-size: clamp(37px, 9.2vw, 54px); }
  #justice-scene { height: 325px; }
  .justice-preview { max-width: 325px; }
  .opening-note > p { font-size: 15px; }
  .themes-heading > p:last-child { font-size: 14px; }
  #theme-panel { min-height: 292px; }
  #theme-panel h3 { font-size: 34px; }
  #theme-copy { font-size: 14px; }
  .contact-feature { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 70px 30px; }
  .contact-content h2 { font-size: clamp(43px, 11vw, 61px); }
  .contact-content > p { font-size: 14px; }
  .contact-portrait img { width: min(82%, 320px); }
  .portrait-arch { inset: 8% 14% 5%; }
  .social-portrait { max-width: 270px; }
  .instagram-handle { font-size: clamp(17px, 5vw, 24px); }
  .social-seal { width: 49px; height: 49px; }
  .review { min-height: 345px; }
  .review blockquote { font-size: 14px; }
  .office { grid-template-columns: 1fr; gap: 12px; }
  .office-brand { width: 90px; margin: 0; }
  .office h2 { font-size: clamp(43px, 11vw, 60px); }
}
@media (prefers-reduced-motion: reduce) {
  .js-motion .cover-photo,
  .js-motion .cover-content > *,
  .js-motion .scroll-cue i,
  .js-motion .contact-portrait.seen img { animation: none; }
}
