:root {
  --ink: #0e1526;
  --ivory: #f8f6f1;
  --text: #23262e;
  --muted: #6b6a63;
  --faint: #a9a397;
  --accent: #6b2331;
  --error: #a12626;
  --hairline: #e2dcd0;
  --hairline-dark: #2a3350;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--ivory); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 246, 241, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.38em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links { display: flex; gap: 36px; }

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-toggle { display: none; }

.menu-overlay { display: none; }

.nav-est {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--hairline);
  padding-left: 14px;
  margin-left: 14px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(400px, 46%) 1fr;
  min-height: min(720px, calc(84vh - 69px));
}

.hero-text {
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 72px 96px max(32px, calc((100vw - var(--maxw)) / 2 + 32px));
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 40px;
}

.hero-statement {
  font-weight: 700;
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0;
}

.hero-pace {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.15;
  color: var(--ivory);
  margin: 8px 0 0;
}

.hero-sub {
  margin: 56px 0 0;
  max-width: 30em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--faint);
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--hairline-dark);
}

.hero-media img { display: block; }

.hero-img-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-sub {
  position: absolute;
  left: -9%;
  bottom: 9%;
  width: 54%;
  height: auto;
  border: 6px solid var(--ivory);
  box-shadow: 0 24px 48px rgba(14, 21, 38, 0.28);
}

.hero-block {
  position: absolute;
  top: 10%;
  right: -3%;
  width: 36%;
  height: 24%;
  background: rgba(14, 21, 38, 0.32);
}

/* Sections */

.section { border-top: 1px solid var(--hairline); }

.section-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 660px);
  gap: 72px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 6px 0 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.label-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

.section-body p { margin: 0 0 1.5em; }
.section-body p:last-child { margin-bottom: 0; }

.section-body > p:first-of-type {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
}

.story-quote {
  border: 1px solid #3d4a73;
  padding: 26px 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
}

/* Quote band */

.quoteband {
  background: var(--ink);
  color: var(--ivory);
  padding: 128px 0;
}

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.4;
  margin: 0;
  max-width: 22em;
}

/* Values */

.values {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.values-item {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}

.values-item dt {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.values-item dd {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Footer contact */

.footer-addr-label { color: #d8d4c6; }

.footer-col p + p { margin-top: 18px; }

.footer-col a.footer-mail {
  display: inline-block;
  font-family: var(--serif);
  font-size: 16px;
  color: #e8e4d9;
  border-bottom: 1px solid var(--hairline-dark);
  padding-bottom: 2px;
}

.footer-col a.footer-mail:hover {
  color: var(--ivory);
  border-bottom-color: var(--ivory);
}

/* Footer */

footer {
  background: var(--ink);
  color: var(--faint);
  font-size: 14px;
  padding: 88px 0 40px;
}

.footer-top { text-align: center; }

.footer-brand {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--ivory);
  margin: 0 0 20px;
}

.footer-est {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 16px;
}

.footer-tag {
  font-size: 17px;
  color: #cfccc2;
  margin: 0 0 72px;
}

.footer-tag em {
  font-family: var(--serif);
  font-style: italic;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  border-top: 1px solid var(--hairline-dark);
  padding: 56px 0;
}

.footer-col h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 20px;
}

.footer-col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #b9b5a8;
}

.footer-col a {
  display: block;
  color: #b9b5a8;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.footer-col a:last-child { margin-bottom: 0; }

.footer-col a:hover { color: var(--ivory); }

.footer-col a.inline { display: inline; }

.footer-bottom {
  border-top: 1px solid var(--hairline-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 12px;
  color: #6d7590;
}

.footer-bottom p { margin: 0; }

/* Sub pages */

.page-head { padding: 112px 0 56px; }

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.legal-h {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 48px 0 10px;
}

.page-body .meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 48px;
}

.page-body {
  max-width: 680px;
  padding: 0 0 112px;
}

.page-body p { margin: 0 0 1.5em; }

.page-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
}

.page-body a:hover { border-bottom-color: var(--ink); }

/* Data room */

.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 48px;
}

.auth-body main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px 72px;
}

.auth-brand { position: absolute; top: 28px; left: 36px; }

.card {
  width: 100%;
  max-width: 380px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 56px 0 48px;
}

.card .brand {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
}

.card .title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  color: var(--ink);
  margin: 0 0 40px;
}

.field { margin-bottom: 24px; }

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 8px 0;
  border-radius: 0;
}

.field input:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.card button {
  width: 100%;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--ink);
  border: none;
  padding: 15px 0;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.card button:hover { background: #1c2642; }

.error {
  color: var(--error);
  font-size: 14px;
  margin: 18px 0 0;
}

.auth-note {
  font-size: 13px;
  color: var(--muted);
  margin: 32px 0 0;
  text-align: center;
}

.auth-note a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}

/* Reveal on scroll */

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Focus */

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.field input:focus-visible { outline: none; }

/* Mobile */

@media (max-width: 860px) {
  .nav-links { display: none; }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    padding: 10px 2px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    margin: 6px 0;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  html.menu-open .menu-overlay { opacity: 1; visibility: visible; }
  html.menu-open, html.menu-open body { overflow: hidden; }

  .menu-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--ivory);
    font-size: 34px;
    line-height: 1;
    padding: 10px;
    cursor: pointer;
  }

  .menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .menu-links a {
    font-family: var(--serif);
    font-size: 27px;
    color: var(--ivory);
    text-decoration: none;
  }

  .section-grid {
    display: block;
    text-align: center;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .label { display: block; margin: 0; }

  .label::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 22px auto 34px;
  }

  .section-body p { max-width: 36em; margin-left: auto; margin-right: auto; }

  #story .section-grid { text-align: left; }
  #story .label::after { margin-left: 0; }
  #story .section-body p { max-width: none; margin-left: 0; margin-right: 0; margin-bottom: 1.2em; }
  #story .section-body > p:first-of-type { font-size: 17px; line-height: 1.65; }
  #story .story-quote { font-size: 17px; line-height: 1.5; padding: 22px 24px; margin: 1.6em 0; }

  .hero { display: block; min-height: 0; }
  .hero-text { text-align: center; padding: 72px 32px 80px; }
  .hero-rule { margin-left: auto; margin-right: auto; }
  .hero-sub { margin: 40px auto 0; }
  .hero-media { min-height: 400px; position: relative; }
  .hero-block { display: none; }
  .hero-img-sub { left: 6%; bottom: 8%; width: 44%; border-width: 4px; }

  .values { grid-template-columns: 1fr; gap: 24px; text-align: left; }

  .values-item {
    border: 1px solid #3d4a73;
    padding: 28px 26px;
  }

  .values-item dt { color: var(--ink); }

  .values-item dd { margin: 0; max-width: none; }

  .quoteband { padding: 80px 0; text-align: center; }
  .pull { margin: 0 auto; }

  .page-head { padding: 80px 0 40px; text-align: center; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 44px 32px; padding: 48px 0; text-align: left; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-col a.footer-mail { font-size: 15px; }
  .footer-bottom { justify-content: center; }
}

@media (max-width: 480px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .hero-text { padding: 64px 22px 72px; }
  .hero-media { min-height: 340px; }
  .section-grid { padding-top: 64px; padding-bottom: 64px; }
  .auth-brand { left: 22px; }
}
