@font-face {
  font-family: "Baskervville";
  src: url("./fonts/Baskervville-Regular-1.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Prompt";
  src: url("./fonts/Prompt-Regular-1.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #000000;
  --gold: #eaa700;
  --light-gold: #f8e39d;
  --brown: #824f29;
  --paper: #f5f1e8;
  --paper-deep: #e9e1d2;
  --ink-soft: #4a443c;
  --line: rgba(0, 0, 0, 0.18);
  --display: "Baskervville", Georgia, serif;
  --body: "Prompt", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  background: var(--gold);
  color: var(--black);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

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

.site-shell {
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  padding: 1.35rem clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}


.site-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.75rem);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.86fr) minmax(0, 1.14fr);
  min-height: min(760px, calc(100vh - 5.5rem));
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(1.4rem, 4vw, 4rem);
  background: var(--black);
  color: var(--light-gold);
}


.hero-logo {
  display: block;
  width: min(70%, 23rem);
  height: auto;
  margin: auto;
  aspect-ratio: 1;
}

.panel-caption {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.15rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 8vw, 8rem) clamp(1.5rem, 7vw, 8rem) clamp(3rem, 6vw, 6rem);
  background: var(--paper);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  color: var(--brown);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.8rem, 7.5vw, 8.5rem);
}

.hero h1 em {
  color: var(--brown);
  font-style: normal;
}

.hero-lead {
  max-width: 31rem;
  margin: 2.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  min-width: 13.5rem;
  margin-top: 2.5rem;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button-dark {
  background: var(--black);
  color: var(--paper);
}

.button-dark:hover {
  background: var(--brown);
  transform: translateY(-2px);
}

.button-arrow {
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
}

.hero-footnote {
  margin: 3.6rem 0 0;
  color: var(--brown);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  color: var(--brown);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-underline-offset: 0.25em;
}

.hero-text-link span {
  color: var(--gold);
  font-size: 1.1em;
}

.section {
  padding: clamp(4.5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem);
}

.section-about {
  background: var(--paper-deep);
}

.section-kicker {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-kicker span:first-of-type {
  color: var(--brown);
  font-weight: 400;
}

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

.section h2 {
  max-width: 8ch;
  font-size: clamp(3.4rem, 7vw, 7.2rem);
}

.section-copy {
  max-width: 31rem;
  align-self: end;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.section-copy p {
  margin: 0;
}

.section-copy p + p {
  margin-top: 1.4rem;
  color: var(--brown);
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.2;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.65fr);
  gap: 3rem;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 7vw, 8rem);
  background: var(--black);
  color: var(--paper);
}

.section-kicker-light {
  color: var(--light-gold);
}

.contact h2 {
  max-width: 12ch;
  color: var(--paper);
  font-size: clamp(3rem, 6vw, 6.5rem);
}

.contact-main > p:not(.section-kicker) {
  max-width: 26rem;
  margin: 2rem 0 0;
  color: var(--light-gold);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2.25rem;
}

.contact-links a {
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.contact-links a span {
  color: var(--paper);
  font-family: var(--body);
  font-size: 0.9em;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  align-self: end;
  gap: 0.35rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(248, 227, 157, 0.4);
  color: var(--light-gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 4rem);
  background: var(--black);
  color: var(--light-gold);
  border-top: 1px solid rgba(248, 227, 157, 0.25);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-version {
  color: rgba(248, 227, 157, 0.72);
  white-space: nowrap;
}

@media (max-width: 800px) {
  .site-header {
    min-height: 4.75rem;
    padding-block: 1rem;
  }

  .site-nav {
    gap: 0.85rem;
    font-size: 0.62rem;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .hero-panel {
    min-height: 30rem;
  }

  .hero-logo {
    width: clamp(180px, 58%, 17rem);
  }

  .hero-copy {
    min-height: 37rem;
    padding-block: 4rem;
  }

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

  .section-copy {
    align-self: start;
  }

  .contact-aside {
    align-self: start;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(248, 227, 157, 0.4);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .site-nav {
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    line-height: 1.2;
    text-align: left;
  }

  .hero-panel {
    min-height: 25rem;
  }

  .hero-copy {
    min-height: 34rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .site-footer {
    flex-direction: column;
    gap: 0.45rem;
  }

  .footer-version {
    white-space: normal;
  }
}

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

  .button {
    transition: none;
  }
}

.section-kicker-light span:first-of-type { color: var(--gold); }

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.wordmark { white-space: nowrap; }
