:root {
  --ink: #0f1c24;
  --ink-soft: #1a2e3a;
  --fog: #e8f0f2;
  --mist: #b7c9d0;
  --teal: #2a9d8f;
  --teal-deep: #1d7a6f;
  --sand: #f0e6d4;
  --glow: rgba(42, 157, 143, 0.35);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fog);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sand);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: var(--teal);
  color: var(--ink);
  text-decoration: none;
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.header-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.35rem;
  object-fit: cover;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.header-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.35rem;
  object-fit: cover;
}

.header-mark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
}

.brand-wordmark {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  margin: 0 0 0.35rem;
}

.header-brand:hover .header-mark,
.header-brand:focus-visible .header-mark {
  color: #fff;
}

.header-contact {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--fog);
}

.header-contact:hover,
.header-contact:focus-visible {
  color: var(--teal);
}

/* ——— Hero: one composition ——— */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  min-height: calc(100vh - 4.5rem);
  padding: clamp(1.5rem, 5vh, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(2rem, 6vh, 4rem);
  overflow: clip;
}

.hero-atmosphere {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 85%;
  background:
    radial-gradient(ellipse 55% 50% at 18% 35%, var(--glow), transparent 70%),
    radial-gradient(ellipse 45% 40% at 78% 20%, rgba(240, 230, 212, 0.12), transparent 65%),
    linear-gradient(165deg, var(--ink-soft) 0%, var(--ink) 55%, #0a1419 100%);
  pointer-events: none;
  animation: atmosphere-drift 14s var(--ease-out) infinite alternate;
}

@keyframes atmosphere-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, -1%, 0) scale(1.03);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding-bottom: 0.5rem;
  animation: rise 0.9s var(--ease-out) both;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.brand {
  margin: 0 0 0.85rem;
  line-height: 0;
}

.brand-wordmark {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  margin-left: -0.35rem;
}

.headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: var(--sand);
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--mist);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--teal);
  border-radius: 0.2rem;
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  background: #3cb5a5;
  color: var(--ink);
  transform: translateY(-1px);
}

.cta-secondary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--fog);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.2s ease;
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  color: #fff;
  border-bottom-color: var(--teal);
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: stretch;
  animation: rise 1.05s var(--ease-out) 0.12s both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: min(62vh, 560px);
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: saturate(0.92) contrast(1.05);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 100%);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— About / contact ——— */

.about,
.contact {
  position: relative;
  max-width: 42rem;
  padding: clamp(2.5rem, 6vh, 4.5rem) clamp(1.25rem, 4vw, 3rem);
}

.about {
  border-top: 1px solid rgba(183, 201, 208, 0.18);
}

.about h2,
.contact h2,
.legal h1,
.legal h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.about h2,
.contact h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.about p,
.contact p {
  margin: 0 0 1.25rem;
  color: var(--mist);
}

.audience {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  color: var(--fog);
  border-top: 1px solid rgba(183, 201, 208, 0.14);
}

.audience li:last-child {
  border-bottom: 1px solid rgba(183, 201, 208, 0.14);
}

.audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}

.contact {
  padding-top: 0;
}

.contact-email {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
}

.contact-email a {
  color: var(--teal);
  text-decoration: none;
}

.contact-email a:hover,
.contact-email a:focus-visible {
  color: #3cb5a5;
  text-decoration: underline;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid rgba(183, 201, 208, 0.16);
  color: var(--mist);
  font-size: 0.95rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fog);
}

.footer-logo {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.25rem;
  object-fit: cover;
}

.site-footer p {
  margin: 0 0 0.4rem;
}

.footer-copy {
  opacity: 0.75;
}

/* ——— Privacy page ——— */

.legal-page .legal {
  max-width: 40rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.legal-updated {
  margin: -0.25rem 0 1.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--mist);
}

.legal p,
.legal li {
  color: var(--mist);
}

.legal ul {
  padding-left: 1.2rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal-back {
  margin-top: 2.5rem;
  font-family: var(--font-display);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
    gap: 2rem;
  }

  .hero-visual img {
    min-height: 42vh;
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }

  .brand-wordmark {
    width: min(100%, 22rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-atmosphere,
  .hero-copy,
  .hero-visual {
    animation: none;
  }
}
