@font-face {
  font-family: "Unbounded";
  src: url("./assets/fonts/Unbounded-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Century Gothic Custom";
  src: url("./assets/fonts/Century Gothic.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #f6f4ef;
  --paper: rgba(255, 255, 255, 0.72);
  --text: #090909;
  --muted: rgba(9, 9, 9, 0.62);
  --line: rgba(9, 9, 9, 0.14);
  --shadow: 0 30px 70px rgba(9, 9, 9, 0.14);
  --radius: 28px;
  --gutter: clamp(1rem, 2vw, 2rem);
  --section-gap: clamp(3.5rem, 8vw, 8rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(211, 182, 155, 0.36), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(173, 196, 203, 0.34), transparent 22%),
    linear-gradient(180deg, #fbfaf7 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Century Gothic Custom", "Avenir Next", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(9, 9, 9, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 9, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
}

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

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 0 var(--gutter) 4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid rgba(9, 9, 9, 0.08);
  background: linear-gradient(180deg, rgba(246, 244, 239, 0.92), rgba(246, 244, 239, 0.65));
  content: "";
}

.brand-mark {
  width: clamp(9rem, 15vw, 12rem);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.site-nav a,
.contact-links a,
.text-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.site-nav a:hover,
.contact-links a:hover,
.text-link:hover {
  border-color: #090909;
  background: #090909;
  color: #f6f4ef;
  transform: translateY(-1px);
}

main {
  display: grid;
  gap: var(--section-gap);
  padding-top: 1.2rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100svh - 6rem);
  padding: clamp(1rem, 2vw, 2rem) 0 1rem;
}

.hero-copy {
  padding-top: clamp(1rem, 3vw, 2.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  display: grid;
  gap: 0.1em;
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(3.4rem, 10vw, 8.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero h1 span:nth-child(2) {
  padding-left: 0.4em;
}

.hero h1 span:nth-child(3) {
  padding-left: 0.12em;
}

.hero-text {
  width: min(36rem, 100%);
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  color: rgba(9, 9, 9, 0.8);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: end;
  padding: 1.2rem 0 2rem;
}

.portrait-frame {
  position: relative;
  width: min(100%, 32rem);
  aspect-ratio: 0.78;
  overflow: hidden;
  border: 1px solid rgba(9, 9, 9, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #ffffff;
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%);
  content: "";
  pointer-events: none;
}

.portrait-frame img,
.image-break-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(18rem, 65%);
  padding: 1.15rem 1.2rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(9, 9, 9, 0.94);
  color: #f5f4ef;
  box-shadow: 0 16px 38px rgba(9, 9, 9, 0.24);
}

.note-label,
.card-index {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-note p {
  margin: 0;
  line-height: 1.5;
  color: rgba(245, 244, 239, 0.84);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.story-card,
.contact-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(9, 9, 9, 0.06);
}

.story-card {
  min-height: 16rem;
  padding: clamp(1.25rem, 2vw, 2rem);
}

.story-card h2,
.image-break-copy h2 {
  margin: 0 0 0.8rem;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.story-card p:last-child,
.contact-strip p {
  margin: 0;
  color: rgba(9, 9, 9, 0.78);
  line-height: 1.6;
}

.image-break {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 1rem;
  align-items: stretch;
}

.image-break-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

.image-break-figure {
  overflow: hidden;
  min-height: clamp(20rem, 50vw, 38rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.25rem, 2vw, 1.8rem);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enhanced .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enhanced .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-parallax] {
  transform: translate3d(0, calc(var(--parallax-shift, 0) * 1px), 0);
  transition: transform 140ms linear;
  will-change: transform;
}

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

  .reveal,
  [data-parallax] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .image-break,
  .contact-strip,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 1.5rem;
  }

  .hero-visual {
    justify-items: stretch;
    padding-bottom: 0;
  }

  .portrait-frame {
    width: 100%;
    aspect-ratio: 0.82;
  }

  .hero-note {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: -2rem;
    margin-left: auto;
  }

  .image-break-copy {
    order: 2;
    padding-left: 0;
    padding-right: 0;
    border-top: 0;
  }

  .image-break-figure {
    min-height: 18rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-bottom: 2rem;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero h1 span:nth-child(2),
  .hero h1 span:nth-child(3) {
    padding-left: 0;
  }

  .hero-text {
    font-size: 1rem;
  }

  .site-nav a,
  .contact-links a,
  .text-link {
    width: 100%;
    text-align: center;
  }

  .hero-links,
  .contact-links {
    width: 100%;
  }

  .contact-strip {
    align-items: stretch;
  }
}
