/* 18 Contact. Clarivus360 round four, Contact with FAQs.
   Contract: docs/03_design/ART-DIRECTION-v4.md sections 9.0 and 9.3, with sections 2 and 3.
   Base, type, buttons, nav and footer are copied unchanged from 14b_final_short. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Inter-400.woff2?v=1dc044f4") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/assets/fonts/Inter-500.woff2?v=1dc044f4") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Inter-600.woff2?v=1dc044f4") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url("/assets/fonts/InterTight-500.woff2?v=35babd43") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url("/assets/fonts/InterTight-600.woff2?v=35babd43") format("woff2"); }

:root {
  --night: #050B1F;
  --navy: #0B183D;
  --slate: #12385C;
  --steel: #7C97B2;
  --teal: #1EA5A6;
  --teal-ink: #117A7B;
  --white: #FFFFFF;
  --paper: #F5F7FA;
  --ink: #0B1220;
  --muted: #5B6577;
  --line: #DDE3EA;
  --on-dark: #C9D3E1;
  --on-dark-muted: #93A3BA;
  --hair-dark: rgb(255 255 255 / 12%);

  --font-display: "Inter Tight", "Inter", Arial, sans-serif;
  --font-text: "Inter", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --nav-h: 84px;
  --content: 1260px;
  --gutter: 90px;
  --pad: 184px;
  --h-hero: 80px;
  --h-2: 72px;
  --h-2-xl: 96px;
  --support: 24px;
  --body: 19px;
  --radius: 28px;
}
@media (max-width: 1279px) { :root { --gutter: 56px; --h-hero: 72px; --h-2-xl: 84px; } }
@media (max-width: 1023px) { :root { --gutter: 32px; --pad: 128px; --h-hero: 60px; --h-2: 56px; --h-2-xl: 68px; } }
@media (max-width: 639px) { :root { --nav-h: 64px; --gutter: 20px; --pad: 96px; --h-hero: 40px; --h-2: 40px; --h-2-xl: 46px; --support: 20px; --body: 17px; --radius: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-text); font-size: var(--body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--teal); color: var(--night); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--pad) 0; }
.band-white { background: var(--white); }
.band-paper { background: var(--paper); }
.band-night { background: var(--night); color: var(--white); }

/* ---------- Type ---------- */
.h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--h-2); line-height: 1.03; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
.h2-xl { font-size: var(--h-2-xl); letter-spacing: -0.028em; }

/* Small label with a teal rule, as in the hero */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; line-height: 1.2; color: var(--muted); margin-bottom: 28px; }
.eyebrow .rule { flex: none; width: 40px; height: 2px; background: var(--teal); border-radius: 2px; }
.eyebrow-dark { color: var(--on-dark-muted); }

/* ---------- Buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 999px; background: var(--teal); color: var(--night); font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.pill:hover { background: var(--white); color: var(--navy); }
.pill-small { height: 36px; padding: 0 18px; font-size: 15px; }
.chev { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 500; color: var(--navy); text-decoration: none; }
.chev::after { content: "›"; font-size: 23px; line-height: 1; color: var(--teal-ink); transform: translateY(-1px); transition: transform 180ms var(--ease); }
.chev:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.chev:hover::after { transform: translate(3px, -1px); }
.chev-light { color: var(--white); }
.chev-light::after { color: var(--teal); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: transparent; border-bottom: 1px solid transparent; transition: background-color 300ms var(--ease), border-color 300ms var(--ease), height 300ms var(--ease); }
.nav.is-scrolled { height: 68px; background: rgb(5 11 31 / 90%); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: var(--hair-dark); }
.nav-inner { height: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 40px; }
.nav-logo { flex: none; display: block; }
.nav-logo img { width: 200px; height: auto; transition: width 300ms var(--ease); }
.nav.is-scrolled .nav-logo img { width: 190px; }
.nav-links { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav-links a:not(.pill) { font-size: 15px; font-weight: 500; color: #DCE3EE; text-decoration: none; transition: color 160ms ease; }
.nav-links a:not(.pill):hover { color: var(--white); }
.nav-cta { margin-left: 4px; }
.nav-links a[aria-current="page"] { position: relative; color: var(--white); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--teal); }
.nav-menu { display: none; margin-left: auto; background: none; border: 0; padding: 8px 0; font-size: 16px; font-weight: 500; color: var(--white); cursor: pointer; }

.settle { animation: settle-in 1s var(--ease) both; }
.settle-1 { animation-delay: 120ms; }
.settle-2 { animation-delay: 260ms; }
.settle-3 { animation-delay: 400ms; }
@keyframes settle-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Footer: the junk drawer ---------- */
.footer { background: var(--night); color: var(--on-dark); padding: 112px 0 48px; }
.footer-top { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding-bottom: 72px; border-bottom: 1px solid var(--hair-dark); }
.footer-brand img { width: 260px; height: auto; }
.footer-brand p { font-size: 16px; line-height: 1.55; color: var(--on-dark-muted); margin-top: 28px; max-width: 36ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-h { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer-cols li { font-size: 15px; line-height: 1.5; color: var(--on-dark-muted); padding: 5px 0; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--white); }
.chev-small { font-size: 15px; color: var(--on-dark-muted); }
.chev-small::after { font-size: 19px; }
.footer-bottom { font-size: 14px; color: var(--on-dark-muted); padding-top: 28px; }
.footer-bottom a { text-decoration: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Contact page ---------- */
/* Nav is solid here: the page opens on a light band, so it never sits transparent on paper. */
.nav.is-solid, .nav.is-solid.is-scrolled { background: var(--night); border-bottom: 1px solid rgb(255 255 255 / 8%); -webkit-backdrop-filter: none; backdrop-filter: none; }
[id] { scroll-margin-top: 96px; }

/* 1 Opening: big, typographic, short */
.opening { padding: calc(var(--nav-h) + 168px) 0 128px; }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: var(--h-2-xl); line-height: 1.0; letter-spacing: -0.03em; color: var(--navy); max-width: 11ch; text-wrap: balance; }
.page-line { font-size: var(--support); line-height: 1.42; color: var(--muted); margin-top: 32px; max-width: 36ch; text-wrap: pretty; }

/* 2 Two ways: navy booking card and white email card */
.two-ways { padding: 96px 0 var(--pad); }
.ways { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: stretch; }
.way { border-radius: var(--radius); overflow: hidden; }
.way-title { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1.06; letter-spacing: -0.022em; text-wrap: balance; }

.way-book { background: var(--navy); color: var(--white); padding: 64px 56px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  background-image: radial-gradient(120% 70% at 100% 0%, rgb(30 165 166 / 22%) 0%, rgb(30 165 166 / 0%) 60%), linear-gradient(180deg, var(--navy) 0%, var(--night) 100%); }
.way-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgb(30 165 166 / 70%); margin-bottom: 40px; }
.way-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; }
.way-book .way-title { color: var(--white); max-width: 12ch; }
.way-line { font-size: 20px; line-height: 1.45; color: var(--on-dark); margin-top: 24px; max-width: 24ch; }
.way-book .pill { width: 100%; margin-top: 48px; }
.way-note { font-size: 14px; color: var(--on-dark-muted); margin-top: 16px; text-align: center; }

.ways { grid-template-columns: 1fr 1fr; }
.way-mail { background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgb(11 24 61 / 8%); display: flex; }
.way-body { padding: 64px 56px 56px; display: flex; flex-direction: column; width: 100%; }
.way-body .way-title { color: var(--navy); }


/* 3 A good fit */
.fit > * { max-width: 980px; }
.nowrap { white-space: nowrap; }
.fit-list { margin-top: 80px; }
.fit-list li { font-family: var(--font-display); font-weight: 500; font-size: 48px; line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); padding: 44px 0 46px; border-top: 1px solid #CDD6E0; text-wrap: balance; }
.fit-list li:last-child { border-bottom: 1px solid #CDD6E0; }
.fit-close { font-size: var(--support); line-height: 1.42; color: var(--muted); margin-top: 56px; max-width: 44ch; text-wrap: balance; }
.fit-close span { color: var(--navy); font-weight: 600; }

/* 4 Questions: native details, styled like the 14b steps control */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; }
.faq .h2 { max-width: 8ch; position: sticky; top: 140px; }
.faq-list { border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.25; letter-spacing: -0.008em; color: var(--navy); border-radius: 6px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover span:first-child { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.qa-icon { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--teal); transition: background-color 200ms var(--ease); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--teal-ink); border-radius: 2px; transition: transform 240ms var(--ease); }
.qa-icon::after { transform: rotate(90deg); }
.qa[open] .qa-icon { background: var(--navy); border-color: var(--navy); }
.qa[open] .qa-icon::before, .qa[open] .qa-icon::after { background: var(--white); }
.qa[open] .qa-icon::after { transform: rotate(0deg); }
.qa p { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 46ch; padding: 0 64px 34px 0; }

/* 5 Contact line */
.contact-line { background: var(--white); padding: 0 0 112px; }
.contact-line p { font-size: 17px; color: var(--muted); text-align: left; }
.contact-line a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-line a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-line .dot { margin: 0 12px; color: #B4BDCA; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .nav-links a:not(.pill) { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .ways { grid-template-columns: 1fr; }
  .way-book .way-title { max-width: 14ch; }
  .faq { grid-template-columns: 1fr; gap: 48px; }
  .faq .h2 { position: static; max-width: none; }
  .fit-list li { font-size: 40px; }
}

/* ---------- Phone ---------- */
@media (max-width: 639px) {
  .nav-logo img, .nav.is-scrolled .nav-logo img { width: 160px; }
  .nav.is-scrolled { height: 64px; }
  .nav-menu { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: rgb(5 11 31 / 96%); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--hair-dark); }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.pill) { display: block; padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--hair-dark); }
  .nav-links a[aria-current="page"]:not(.pill) { color: var(--teal); }
  .nav-links a[aria-current="page"]::after { content: none; }
  .nav-cta { margin: 20px 0 0; height: 48px; font-size: 17px; }
  .nav.menu-open, .nav.is-solid.menu-open { background: var(--night); }
  .eyebrow .rule { width: 24px; }
  .eyebrow { font-size: 16px; gap: 10px; margin-bottom: 20px; }
  .pill { width: 100%; }

  .opening { padding: calc(var(--nav-h) + 88px) 0 72px; }
  .page-line { margin-top: 22px; }

  .two-ways { padding: 56px 0 var(--pad); }
  .ways { gap: 32px; }
  .way-title { font-size: 32px; }
  .way-book { padding: 40px 28px 32px; }
  .way-icon { width: 48px; height: 48px; margin-bottom: 28px; }
  .way-line { font-size: 18px; margin-top: 16px; }
  .way-body { padding: 36px 24px 32px; }

  .fit-list { margin-top: 48px; }
  .fit-list li { font-size: 30px; padding: 28px 0 30px; }
  .fit-close { margin-top: 36px; }

  .faq { gap: 32px; }
  .qa summary { font-size: 21px; padding: 22px 0; }
  .qa-icon { width: 40px; height: 40px; }
  .qa p { font-size: 17px; padding: 0 0 26px; }

  .contact-line { padding-bottom: 80px; }
  .contact-line p { display: flex; flex-direction: column; gap: 6px; }
  .contact-line .dot { display: none; }

  .footer { padding-top: 80px; }
  .footer-brand img { width: 240px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Reduced motion: end states at once ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .settle { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .qa-icon, .qa-icon::before, .qa-icon::after { transition: none; }
}


/* ---------- Opening with a photo on the right (round five) ---------- */
.opening-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.opening-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #E6EBF1; }
.opening-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.opening { padding-top: calc(var(--nav-h) + 96px); padding-bottom: 112px; }
@media (max-width: 1023px) { .opening-grid { gap: 40px; } }
@media (max-width: 767px) {
  .opening-grid { grid-template-columns: 1fr; gap: 36px; }
  .opening-photo { aspect-ratio: 3 / 2; }
  .opening { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 72px; }
}
.opening-photo { aspect-ratio: 1 / 1; }
.opening-photo img[src*="S3_b"] { object-position: 62% center; }
@media (max-width: 767px) { .opening-photo { aspect-ratio: 3 / 2; } }

/* Email card (launch: replaces the note form, which never sent) */
.way-icon-light { border-color: rgb(17 122 123 / 55%); }
.way-icon-light svg { stroke: var(--teal-ink); }
.way-mail .way-title { max-width: 12ch; }
.mail-line { font-size: 20px; line-height: 1.45; color: var(--muted); margin-top: 24px; max-width: 26ch; }
.mail-address { display: inline-block; align-self: flex-start; margin-top: 28px; font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 7px; overflow-wrap: anywhere; }
.mail-address:hover { color: var(--teal-ink); }
.mail-foot { margin-top: auto; padding-top: 48px; }
.mail-foot .pill { width: 100%; }
.mail-status { margin-top: 14px; text-align: center; font-size: 15px; line-height: 1.4; color: var(--muted); min-height: 1.4em; }
.mail-status.is-copied { color: var(--teal-ink); font-weight: 600; }
.pill-navy { background: var(--navy); color: var(--white); }
.pill-navy:hover { background: var(--teal); color: var(--night); }
@media (max-width: 1023px) { .ways { grid-template-columns: 1fr; } }
@media (max-width: 639px) {
  .way-body { padding: 40px 28px 32px; }
  .mail-line { font-size: 18px; margin-top: 16px; }
  .mail-address { font-size: 22px; margin-top: 20px; }
  .mail-foot { padding-top: 32px; }
}
