:root {
  --ink: #062f3e;
  --ink-deep: #031f2a;
  --ink-soft: #0d4859;
  --cream: #f3e8d0;
  --paper: #f7f1e5;
  --sand: #c3a36f;
  --sage: #708066;
  --sky: #8eb2bd;
  --line: rgba(6, 47, 62, 0.16);
  --shadow: 0 20px 50px rgba(3, 31, 42, 0.18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(195,163,111,.10), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  z-index: 100;
  background: var(--cream);
  color: var(--ink-deep);
  padding: .7rem 1rem;
  border-radius: 4px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), var(--max));
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  color: var(--cream);
  border-bottom: 1px solid rgba(243,232,208,.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
}

.nav { display: flex; gap: 1.75rem; }
.nav a {
  text-decoration: none;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  opacity: .88;
}
.nav a:hover, .nav a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

.hero {
  min-height: 790px;
  height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--cream);
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.webp');
  background-size: cover;
  background-position: center right;
  transform: scale(1.025);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,31,42,.98) 0%, rgba(3,31,42,.88) 29%, rgba(3,31,42,.42) 59%, rgba(3,31,42,.12) 100%),
    linear-gradient(0deg, rgba(3,31,42,.70) 0%, transparent 35%, rgba(3,31,42,.24) 100%);
}
.hero-inner {
  width: min(calc(100% - 40px), var(--max));
  position: relative;
  z-index: 2;
  padding-top: 70px;
}
.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 14px 50px rgba(0,0,0,.34);
  margin-bottom: 1.2rem;
}
.eyebrow, .section-kicker {
  text-transform: uppercase;
  letter-spacing: .20em;
  font-weight: 800;
  font-size: .78rem;
}
.eyebrow { color: #c9d7d8; }
.eyebrow span { color: var(--sand); margin: 0 .4rem; }
.hero h1 {
  max-width: 760px;
  margin: .2rem 0 0;
  font-family: Rockwell, "Roboto Slab", Georgia, serif;
  font-size: clamp(4rem, 8vw, 7.4rem);
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
}
.tagline {
  margin: 1.05rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
  color: #f5dfb3;
}
.hero-copy {
  max-width: 620px;
  margin: .75rem 0 0;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  color: rgba(243,232,208,.84);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 52px;
  padding: .8rem 1.25rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .025em;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--cream); color: var(--ink-deep); }
.button-secondary { border: 1px solid rgba(243,232,208,.62); color: var(--cream); background: rgba(3,31,42,.28); backdrop-filter: blur(8px); }
.button-secondary:hover { background: rgba(243,232,208,.10); }
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .18em;
  text-decoration: none;
  opacity: .76;
}
.scroll-cue span { margin-left: .35rem; }

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) 0;
}
.section-kicker { color: var(--sage); margin-bottom: 1.3rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.4rem, 7vw, 6rem);
  align-items: start;
}
.about h2, .follow h2 {
  margin: 0;
  font-family: Rockwell, "Roboto Slab", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.about-copy { font-size: 1.14rem; color: #244f59; }
.about-copy p:first-child { margin-top: .2rem; }
.about-copy strong { color: var(--ink-deep); }

.principles {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 0;
  padding-bottom: 0;
}
.principle {
  position: relative;
  padding: 4.2rem clamp(1.3rem, 3vw, 2.8rem) 4.5rem;
  border-right: 1px solid var(--line);
}
.principle:first-child { padding-left: 0; }
.principle:last-child { border-right: 0; padding-right: 0; }
.principle-number { font-size: .72rem; letter-spacing: .16em; font-weight: 900; color: var(--sand); }
.principle h3 {
  margin: .65rem 0 .65rem;
  font-family: Rockwell, "Roboto Slab", Georgia, serif;
  font-size: 2rem;
}
.principle p { margin: 0; color: #3e6269; max-width: 28ch; }

.follow {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.8rem, 8vw, 7rem);
  align-items: start;
}
.follow-copy p { max-width: 55ch; color: #3e6269; font-size: 1.06rem; }
.social-cards { display: grid; border-top: 1px solid var(--line); }
.social-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem .2rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: padding-left .16s ease, background-color .16s ease;
}
.social-card:hover, .social-card:focus-visible { padding-left: .65rem; background: rgba(195,163,111,.08); }
.social-label { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 900; color: var(--sage); }
.social-card strong { font-size: clamp(1.15rem, 2vw, 1.5rem); overflow-wrap: anywhere; }
.social-arrow { font-size: 1.4rem; color: var(--sand); }

.site-footer {
  background: var(--ink-deep);
  color: var(--cream);
  padding: 2.4rem max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand span { opacity: .68; font-family: Georgia, serif; font-style: italic; }
.site-footer p { opacity: .58; font-size: .86rem; }

@media (max-width: 800px) {
  .site-header { height: 72px; }
  .brand span { display: none; }
  .nav { gap: 1.1rem; }
  .nav a { font-size: .72rem; letter-spacing: .10em; }
  .hero { min-height: 720px; }
  .hero-image { background-position: 62% center; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(3,31,42,.92) 0%, rgba(3,31,42,.68) 58%, rgba(3,31,42,.35) 100%),
      linear-gradient(90deg, rgba(3,31,42,.74), rgba(3,31,42,.15));
  }
  .hero-inner { align-self: end; padding-bottom: 92px; }
  .hero-logo { width: 120px; height: 120px; }
  .hero h1 { font-size: clamp(3.3rem, 16vw, 5.6rem); }
  .about-grid, .follow { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:first-child, .principle:last-child {
    padding: 2.4rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .principle:last-child { border-bottom: 0; }
  .social-card { grid-template-columns: 80px 1fr auto; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav a:nth-child(1) { display: none; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .social-card { grid-template-columns: 1fr auto; gap: .3rem 1rem; }
  .social-label { grid-column: 1; }
  .social-card strong { grid-column: 1; }
  .social-arrow { grid-column: 2; grid-row: 1 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
