@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0A0A0C;
  --navy: #0B1622;
  --surface: #0F2537;
  --sapphire: #1D4E89;
  --sapphire-light: #2D6EC2;
  --sapphire-bright: #3B82F6;
  --text: #F4F6F8;
  --muted: #A4B8CC;
  --accent: #8DB8EC;
  --rule: #263547;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 6.25vw, 5.75rem);
  --transition: 220ms cubic-bezier(.16, 1, .3, 1);
}

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

body {
  min-width: 0;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.6 var(--body);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

h1, h2, p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

a svg {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
}

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

.site-header {
  position: relative;
  z-index: 1;
  background: #0a0e14;
  border-bottom: 1px solid var(--rule);
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner {
  min-height: 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.monogram {
  border-right: 1px solid var(--rule);
  padding-right: 1rem;
  font: 500 2.375rem/.95 var(--display);
  letter-spacing: -.09em;
}

.brand-copy {
  display: grid;
  gap: .25rem;
}

.brand-name, .brand-role, .eyebrow, .signature-inner, .contact-label {
  text-transform: uppercase;
}

.brand-name {
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .26em;
}

.brand-role {
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.4;
  letter-spacing: .13em;
}

.header-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .8125rem;
  transition: color var(--transition);
}

.header-link svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

.header-link:hover, .contact-links a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 105rem;
  margin-inline: auto;
  background: var(--bg);
}

.hero-content {
  padding-block: clamp(3.125rem, 10vw, 5rem) 1.5rem;
}

.hero-copy {
  max-width: 35rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6875rem;
  color: var(--accent);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .2em;
}

.eyebrow::before {
  content: "";
  flex: 0 0 1.625rem;
  height: 1px;
  background: var(--sapphire-bright);
}

h1, h2 {
  font-family: var(--display);
  font-weight: 500;
}

h1 {
  margin-top: 1.125rem;
  font-size: clamp(3rem, 9.4vw, 5rem);
  line-height: .91;
  letter-spacing: -.045em;
}

h1 em {
  display: block;
  color: var(--accent);
  font-weight: inherit;
}

.hero-description {
  max-width: 26.5rem;
  margin-top: 1.375rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-top: 1.625rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .625rem;
  padding: .65rem 1rem;
  border: 1px solid;
  border-radius: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  transition: background-color var(--transition), border-color var(--transition);
}

.button-primary {
  background: var(--sapphire);
  border-color: var(--sapphire-light);
}

.button-primary:hover {
  background: #245E9F;
  border-color: var(--sapphire-bright);
}

.button-secondary {
  background: var(--bg);
  border-color: #52647a;
}

.button-secondary svg {
  color: var(--accent);
}

.button-secondary:hover {
  background: var(--navy);
  border-color: var(--accent);
}

.hero-media {
  position: relative;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg), transparent 17%, transparent 89%, #0a0a0c90);
}

.signature {
  border-block: 1px solid var(--rule);
  background: #0a111a;
}

.signature-inner {
  min-height: 3rem;
  display: flex;
  align-items: center;
  gap: .75em;
  color: var(--muted);
  font-size: clamp(.5625rem, 2.3vw, .6875rem);
  font-weight: 600;
  letter-spacing: .18em;
}

.signature-inner span {
  color: var(--accent);
}

.contact {
  flex: 1;
  display: grid;
  align-items: center;
  background: linear-gradient(105deg, var(--navy), var(--surface));
  border-bottom: 1px solid var(--rule);
}

.contact-inner {
  display: grid;
  align-items: center;
  gap: 1.25rem 2.25rem;
  padding-block: 1.625rem;
}

h2 {
  margin-top: .375rem;
  font-size: clamp(2rem, 4vw, 2.625rem);
  line-height: 1;
  letter-spacing: -.025em;
}

.contact-description {
  max-width: 46rem;
  margin-top: .5rem;
  color: var(--muted);
}

.contact-links {
  display: grid;
  min-width: 0;
  font-style: normal;
}

.contact-links a {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) 1rem;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding-block: .375rem;
  border-bottom: 1px solid #405873;
  font-size: .875rem;
  overflow-wrap: anywhere;
  transition: color var(--transition);
}

.contact-links a:first-child {
  border-top: 1px solid #405873;
}

.contact-label {
  color: var(--muted);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .13em;
}

.contact-links svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

.site-footer {
  color: var(--muted);
  font-size: .75rem;
}

.footer-inner {
  min-height: 3.625rem;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  padding-block: .875rem;
}

.footer-inner span {
  color: var(--text);
}

@media (min-width: 52rem) {
  .hero {
    display: grid;
    align-items: center;
    min-height: clamp(31rem, min(62svh, 58vw), 40rem);
  }

  .hero-content {
    padding-block: 2.25rem;
  }

  .hero-copy {
    width: 48%;
  }

  h1 {
    font-size: clamp(3.625rem, 6.15vw, 5.75rem);
  }

  .hero-media {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 27%;
  }

  .hero-media img {
    height: 100%;
    object-fit: cover;
    object-position: 55% 54%;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, var(--bg), #0a0a0cf5 8%, #0a0a0cb0 20%, transparent 45%),
      linear-gradient(0deg, #0a0a0ca0, transparent 18%, transparent 88%, #0a0a0c65);
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem);
  }
}

@media (min-width: 64rem) and (max-height: 50rem) {
  .header-inner {
    min-height: 4.5rem;
  }

  .hero-content {
    padding-block: 1.75rem;
  }

  h1 {
    font-size: clamp(3.625rem, 6.15vw, 4.75rem);
  }

  .contact-inner {
    padding-block: 1.25rem;
  }
}

@media (min-width: 105rem) {
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--bg), #0a0a0cf5 8%, #0a0a0cb0 20%, transparent 45%, transparent 85%, var(--bg)),
      linear-gradient(0deg, #0a0a0ca0, transparent 18%, transparent 88%, #0a0a0c65);
  }
}

@media (max-width: 29rem) {
  .header-inner {
    min-height: 4.125rem;
    gap: .5rem;
  }

  .brand {
    gap: .625rem;
  }

  .monogram {
    padding-right: .625rem;
    font-size: 1.875rem;
  }

  .brand-role {
    font-size: .625rem;
    letter-spacing: .06em;
  }

  .header-link {
    gap: .125rem;
    font-size: .75rem;
  }

  .header-link svg {
    width: .75rem;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .signature-inner {
    letter-spacing: .14em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: appear 540ms ease-out both;
  }

  @keyframes appear {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition: 0ms;
  }
}
