@font-face { font-family: 'Satoshi'; src: url('/fonts/Satoshi-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/Satoshi-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/Satoshi-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/SpaceGrotesk-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #FBFCFC; }
a { color: inherit; text-decoration: none; }
a:hover { color: #0D5964; }
input, textarea, button { font-family: inherit; }
::placeholder { color: #98A9AF; }
::selection { background: rgba(124, 197, 207, 0.35); }
a:focus-visible, button:focus-visible { outline: 2px solid #167F90; outline-offset: 3px; }
[hidden] { display: none !important; }

/* Page transitions: one 0.2s crossfade of the whole page, nothing named, nothing moves. The shell is
   identical on every page, so only the middle visibly changes. Reduced motion: no transition. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-group(root), ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.2s; animation-timing-function: ease; }

/* Page: the same shell on every page. The wash is sized to the viewport, not the page, so it matches everywhere. */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(90% 60% at 85% 0%, #E8F3F4 0%, #F4F9F9 40%, #FBFCFC 75%) top / 100% 100vh no-repeat, #FBFCFC;
  color: #172D36;
  font-family: 'Satoshi', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page > main { flex: 1; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 40px; }

/* Header */
/* One height on every page, so the nav never moves whatever sits on the left: the text logo or the Isobel lockup. */
.site-head { height: 86px; padding-block: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: 3px; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; color: #172D36; }
.logo-dot { width: 7px; height: 7px; border-radius: 50%; background: #167F90; display: inline-block; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 500; color: #3E5862; }
.nav a[aria-current="page"] { color: #0D5964; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 80px); display: flex; flex-direction: column; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px 72px; align-items: start; }
/* The copy starts at the same height on every page, so the headline crossfades in place. */
.hero-copy { display: flex; flex-direction: column; padding-top: clamp(0px, calc(100vw - 1040px), 72px); }
.kicker { font-size: 13px; line-height: 1.35; font-weight: 500; color: #0D5964; }
.kicker .sep { font-size: 1.3em; line-height: 0; } /* the middle dot, drawn larger without moving the line */
/* One headline cut for every page: the longest line on the site, "Just the record.", fits its column up to this. */
h1 { font-size: clamp(46px, 5.2vw, 76px); font-weight: 600; letter-spacing: -0.055em; line-height: 1; margin-top: 28px; }
h1 span { color: #0D5964; }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: #3E5862; margin-top: 36px; max-width: 36ch; text-wrap: pretty; }
.lede-home { min-height: 4.8em; hyphens: manual; }
.early {
  margin-top: 8px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #0D5964;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(13, 89, 100, 0.28);
  transition: border-color 0.2s;
}
.early:hover { border-bottom-color: #0D5964; color: #0A4A53; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(28px, 3vw, 44px);
  align-self: flex-start;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: #0D5964;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(10, 48, 58, 0.14), 0 12px 24px -14px rgba(10, 64, 76, 0.6);
  transition: background 0.15s;
}
.cta:hover { background: #0A4750; color: #FFFFFF; }

/* The right card: one frame on Home and Contact (size, corners, shadow); only what's inside changes. */
.hero-card {
  width: 100%;
  aspect-ratio: 5 / 6;
  max-height: 560px;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(10, 48, 58, 0.08), 0 22px 44px -24px rgba(10, 64, 76, 0.30);
}

/* Isobel panel */
.panel {
  display: block;
  position: relative;
  overflow: hidden;
  background: #123039;
  color: #FFFFFF;
}
.panel-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(65% 50% at 50% 44%, rgba(22, 127, 144, 0.32) 0%, rgba(18, 48, 57, 0) 72%),
    linear-gradient(180deg, #143640 0%, #0F2A32 100%);
}
.panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.panel-edge {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.panel-centre {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 32px;
  text-align: center;
  transform: translateY(-5%);
  pointer-events: none;
}
.panel-centre img { height: clamp(34px, 4vw, 46px); width: auto; filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35)); }
.panel-status { position: absolute; left: 32px; right: 32px; bottom: 32px; display: flex; justify-content: center; pointer-events: none; }
.panel-status span { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: #7FA9B0; }

/* Facts row */
.facts { margin-top: clamp(72px, 9vw, 104px); border-top: 1px solid #DCE8E9; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.facts > div { padding: 24px 24px 28px 0; display: flex; flex-direction: column; gap: 8px; }
.facts > div:last-child { padding-right: 0; }
.label { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: #647A83; }
.value { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.mail { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: #172D36; }
.mail:hover { color: #0D5964; }

/* Footer */
.site-foot { padding-block: 28px 36px; }
.foot-row { border-top: 1px solid #E7F0F1; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #647A83; }
.copy { font-size: 12px; }
.foot-left { display: flex; align-items: center; gap: 20px; }
.foot-link { font-size: 12px; }
.foot-link[aria-current="page"] { color: #0D5964; }
.makers { display: flex; align-items: center; gap: 6px; }
.makers img { height: 12px; width: auto; margin-top: 1px; }

/* Contact: form card */
.card {
  display: flex;
  flex-direction: column;
  overflow: auto;
  background: #FFFFFF;
  border: 1px solid #E3ECED;
  padding: clamp(24px, 3vw, 36px);
}
.form { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-grow { flex: 1; min-height: 0; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.optional { font-size: 12px; color: #98A9AF; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid #E3ECED;
  background: #FFFFFF;
  color: #3E5862;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.topic[aria-checked="false"]:hover { border-color: #B9D6DA; }
.topic[aria-checked="true"] { border-color: #0D5964; background: #0D5964; color: #FFFFFF; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.input {
  height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid #E3ECED;
  background: #FFFFFF;
  font-size: 16px;
  color: #172D36;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.input { height: auto; flex: 1; min-height: 88px; padding: 14px 20px; border-radius: 24px; line-height: 1.55; resize: none; }
.input[aria-invalid="true"] { border-color: #C15D68; }
.input:focus { border-color: #167F90; box-shadow: 0 0 0 3px rgba(22, 127, 144, 0.12); }
.err { font-size: 13px; color: #C15D68; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.note { font-size: 13px; line-height: 1.5; color: #647A83; max-width: 34ch; }
.send {
  height: 50px;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  background: #0D5964;
  border: none;
  padding: 0 24px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(10, 48, 58, 0.12), 0 10px 20px -12px rgba(10, 64, 76, 0.55);
  transition: background 0.15s;
}
.send:hover { background: #0A4A53; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Contact: sent state */
.sent { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.sent-icon { width: 44px; height: 44px; border-radius: 50%; background: #E6F3F5; display: flex; align-items: center; justify-content: center; }
.sent-dot { width: 10px; height: 10px; border-radius: 50%; background: #167F90; box-shadow: 0 0 0 5px rgba(22, 127, 144, 0.15); }
.sent h2 { font-size: clamp(32px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.sent h2:focus { outline: none; }
.sent p { font-size: 17px; line-height: 1.6; color: #3E5862; max-width: 34ch; text-wrap: pretty; }
.again { margin-top: 8px; font-size: 12px; font-weight: 500; color: #0D5964; background: none; border: none; padding: 0; cursor: pointer; }

/* Privacy: label-and-text rows, like the facts row. */
.policy { margin-top: clamp(64px, 8vw, 96px); max-width: 900px; }
.policy-row { border-top: 1px solid #DCE8E9; padding-block: 24px 32px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px 40px; }
.policy-row h2 { padding-top: 8px; }
.policy-text { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.6; color: #3E5862; max-width: 60ch; text-wrap: pretty; }
.policy-text a { color: #0D5964; border-bottom: 1px solid rgba(13, 89, 100, 0.28); transition: border-color 0.2s; }
.policy-text a:hover { border-bottom-color: #0D5964; }
.processors { display: flex; flex-direction: column; gap: 16px; }
.processors dt { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: #172D36; }
.processors dd { margin-top: 2px; }
@media (max-width: 720px) {
  .policy-row { grid-template-columns: 1fr; }
  .policy-row h2 { padding-top: 0; }
}

/* Phones: the form outgrows a 5:6 card, so it takes its natural height. */
@media (max-width: 560px) {
  .card { aspect-ratio: auto; max-height: none; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 24px; }
}
