/* 08 light — navy and wine field, cream type, bright face, light email panel. */

:root {
  --navy: #1a2744;
  --navy-deep: #152038;
  --wine: #6b3a4b;
  --cream: #f4efe6;
  --cream-soft: #e6dccf;
  --ink: #1a2744;
  --panel: #f7f2ea;
  --line: rgba(244, 239, 230, 0.2);
  --wrap: 1120px;
  --header: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mark: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--cream);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--wine);
  color: var(--cream);
}

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

a { color: inherit; }

h1, h2, h3 { text-wrap: balance; }

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

/* Field: two deep colours, slow drift, always both in view. */
.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--navy);
  pointer-events: none;
}

.field::before {
  content: "";
  position: absolute;
  width: 160%;
  height: 160%;
  left: -30%;
  top: -30%;
  background: linear-gradient(
    118deg,
    var(--navy) 0%,
    var(--navy) 40%,
    #3d3148 49%,
    var(--wine) 58%,
    var(--wine) 100%
  );
  animation: field-drift 40s ease-in-out infinite alternate;
}

@keyframes field-drift {
  from { transform: translate3d(-4%, -2%, 0); }
  to { transform: translate3d(6%, 4%, 0); }
}

.skip-link,
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  z-index: 5;
  padding: 0.7rem 1rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 650;
}

.skip-link:focus {
  transform: none;
  top: 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(21, 32, 56, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: var(--header);
  padding: 0.75rem 0;
}

.wordmark {
  text-decoration: none;
  color: var(--cream);
  flex: 0 1 auto;
  min-width: 0;
}

.wordmark:hover { text-decoration: none; }

.wordmark-live {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  font-family: var(--mark);
  font-weight: 700;
  font-size: clamp(12.5px, 1.5vw, 18px);
  letter-spacing: 0.2em;
  line-height: 1;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem 1.4rem;
  margin-left: auto;
  min-width: 0;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.header-nav a {
  color: var(--cream-soft);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.3;
}

.header-nav a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.lang-switch {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.06);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cream-soft);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  min-width: 2.5rem;
  min-height: 1.85rem;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--cream);
  color: var(--ink);
}

.lang-switch button:hover { color: var(--cream); }
.lang-switch button.is-active:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

/* Hero */
.hero { padding: 1.25rem 0 2.5rem; }

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  min-height: calc(100vh - var(--header) - 2rem);
  min-height: calc(100svh - var(--header) - 2rem);
}

.hero-copy { max-width: 40rem; min-width: 0; }

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--cream-soft);
  font-size: 0.98rem;
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--cream);
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--cream-soft);
  font-size: 1.125rem;
}

.hero-actions { margin: 0; }

.hero-face {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn-ghost {
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(244, 239, 230, 0.55);
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
}

/* Face geometry matches the live hero. Colours only are changed: a bright orb. */
.face-stage {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.face-rig {
  width: 132px;
  height: 132px;
  transform-origin: 50% 60%;
  z-index: 1;
}

.face-orb {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%,
    #ffffff 0%,
    #fff8ef 12%,
    #f6ecde 38%,
    #f0e0cc 68%,
    #e7d3b8 100%);
  box-shadow:
    0 16px 34px rgba(8, 10, 18, 0.28),
    inset 0 0 16px rgba(255, 255, 255, 0.72),
    inset 8px 10px 14px rgba(255, 255, 255, 0.9),
    inset -10px -14px 18px rgba(120, 78, 58, 0.22);
  transform-origin: 50% 62%;
  cursor: pointer;
}

.face-orb::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 16%;
  width: 38%;
  height: 20%;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.18) 70%, transparent);
  pointer-events: none;
}

.face-eyes {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 58px;
  height: 28px;
  margin-left: -29px;
  margin-top: -14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.face-eye {
  width: 11px;
  height: 26px;
  border-radius: 999px;
  background: #1a2744;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.28);
  flex: 0 0 auto;
}

.face-shadow {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 78px;
  height: 12px;
  margin-left: -39px;
  border-radius: 50%;
  background: rgba(6, 8, 16, 0.5);
  filter: blur(2px);
  z-index: 0;
}

.face-line {
  margin: 0.35rem 0 0;
  max-width: 16rem;
  text-align: center;
  color: var(--cream-soft);
  font-size: 0.95rem;
  min-height: 1.5em;
}

.face-spray {
  position: absolute;
  left: 50%;
  top: 68%;
  width: 0;
  height: 0;
  z-index: 3;
  pointer-events: none;
}

.face-drop {
  position: absolute;
  width: 5px;
  height: 8px;
  margin: -4px 0 0 -2px;
  border-radius: 40%;
  background: #f4efe6;
  animation: face-drop 620ms cubic-bezier(0.12, 0.7, 0.2, 1) forwards;
}

@keyframes face-drop {
  0% { opacity: 0; transform: translate(0, 0) scale(0.35); }
  18% { opacity: 0.95; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.25); }
}

/* Later sections */
.section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
  scroll-margin-top: 5rem;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.section-head h2,
.cta-panel h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-lead,
.step p,
.include-card p,
.cta-lead {
  margin: 0;
  color: var(--cream-soft);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step,
.include-card {
  margin: 0;
  padding: 1.35rem 1.25rem 1.4rem;
  background: rgba(20, 30, 52, 0.88);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--wine);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 700;
}

.step h3,
.include-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.include-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.include-card { grid-column: span 2; }

.include-card:nth-child(4) { grid-column: 2 / span 2; }
.include-card:nth-child(5) { grid-column: 4 / span 2; }

/* Email line in a light panel */
.section-cta { padding-top: clamp(1rem, 3vw, 2rem); }

.cta-panel {
  max-width: 40rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--panel);
  color: var(--ink);
  color-scheme: light;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(8, 10, 18, 0.22);
}

.cta-panel h2 { color: var(--ink); }

.cta-lead {
  color: #2c3854;
  max-width: 36rem;
}

.cta-mail {
  margin: 1.2rem 0 0;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(26, 39, 68, 0.14);
}

.cta-mail a {
  color: #5c2e40;
  font-size: clamp(1.12rem, 2.2vw, 1.4rem);
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.cta-mail a:hover { color: #1a2744; }

.cta-panel :focus-visible { outline-color: var(--ink); }

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.75rem 2rem;
  align-items: start;
}

.footer-wordmark { margin-bottom: 0.85rem; }

.footer-tag,
.footer-address,
.footer-copy {
  margin: 0;
  color: var(--cream-soft);
}

.footer-name {
  margin: 0.9rem 0 0.15rem;
  color: var(--cream);
}

.footer-address { line-height: 1.45; }

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.footer-label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.footer-cols p { margin: 0; }

.footer-cols a {
  color: var(--cream-soft);
  text-underline-offset: 0.18em;
}

.footer-cols a:hover { color: var(--cream); }

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .include-grid { grid-template-columns: 1fr 1fr; }
  .include-card,
  .include-card:nth-child(4),
  .include-card:nth-child(5) { grid-column: auto; }
}

@media (max-width: 720px) {
  :root { --header: auto; }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "mark lang"
      "nav nav";
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.45rem;
    padding: 0.7rem 0 0.75rem;
  }

  .wordmark { grid-area: mark; }

  .header-tools { display: contents; }

  .lang-switch {
    grid-area: lang;
    justify-self: end;
  }

  .header-nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: 0.35rem 0.85rem;
  }

  .header-nav a { font-size: 0.88rem; }

  .hero { padding: 0.85rem 0 1.35rem; }

  .hero-grid {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 0.85rem;
  }

  .hero-title { margin-bottom: 0.65rem; }

  .hero-lead {
    margin-bottom: 1rem;
    font-size: 1.02rem;
  }

  .hero-face { justify-content: center; }
}

@media (max-width: 520px) {
  .wrap { width: min(var(--wrap), calc(100% - 1.5rem)); }

  .footer-inner,
  .include-grid,
  .footer-cols { grid-template-columns: 1fr; }

  .include-card:last-child { grid-column: auto; }

  .wordmark-live { letter-spacing: 0.16em; }
}

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

  .field::before {
    animation: none;
    transform: none;
  }

  .face-drop { animation: none; }
}
