/* Onaria — coastal, quiet, readable. Fonts: Fraunces and Outfit (SIL OFL). */

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin-600-italic.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2");
}

:root {
  --sand: #f3efe6;
  --sand-deep: #e7e0d4;
  --paper: #fffcf7;
  --ink: #14343c;
  --ink-soft: #3c5660;
  --line: rgba(20, 52, 60, 0.14);
  --sea: #0f4c57;
  --sea-deep: #0b333b;
  --lagoon: #1a6f68;
  --foam: #d7efe9;
  --mist: #e7f4f1;
  --sun: #c4622f;
  --shadow: 0 24px 60px rgba(11, 51, 59, 0.12);
  --radius: 24px;
  --header: 76px;
  --serif: Fraunces, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: Outfit, "Segoe UI", "Helvetica Neue", sans-serif;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(26, 111, 104, 0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 8%, rgba(196, 98, 47, 0.08), transparent 55%),
    var(--sand);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

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

a {
  color: var(--sea);
}

a:hover {
  color: var(--sea-deep);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.1rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

p {
  color: var(--ink-soft);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--paper);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.skip:focus {
  top: 0.75rem;
}

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

section {
  scroll-margin-top: calc(var(--header) + 12px);
}

.section {
  padding: clamp(4.2rem, 8vw, 6.5rem) 0;
}

.section.tight {
  padding-top: 0;
}

.lede {
  font-size: 1.125rem;
  max-width: 42rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--sea);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lagoon);
  box-shadow: 0 0 0 5px rgba(26, 111, 104, 0.15);
}

.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;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 0;
  background: var(--sea);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--sea-deep);
  color: var(--paper);
}

.btn:active {
  transform: translateY(1px);
}

.btn-small {
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
}

.btn-ghost {
  background: transparent;
  color: var(--sea);
  box-shadow: inset 0 0 0 1.5px rgba(15, 76, 87, 0.35);
}

.btn-ghost:hover {
  background: rgba(15, 76, 87, 0.06);
  color: var(--sea-deep);
}

.btn-paper {
  background: var(--paper);
  color: var(--sea-deep);
}

.btn-paper:hover {
  background: white;
  color: var(--sea);
}

.cta-short {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(243, 239, 230, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-right: auto;
}

.nav-desktop {
  display: none;
}

.nav-desktop a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

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

.logo:hover {
  color: var(--sea);
}

.logo img {
  width: 36px;
  height: 36px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  margin-right: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.2rem 0.05rem;
}

.lang a:hover,
.lang a[aria-current="page"] {
  color: var(--sea);
}

.lang a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.lang span {
  color: rgba(20, 52, 60, 0.35);
}

.nav-details {
  position: static;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.7rem;
  border-radius: 999px;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}

.nav-toggle::-webkit-details-marker {
  display: none;
}

.burger {
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  display: inline-block;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.burger::before {
  top: -6px;
}

.burger::after {
  top: 6px;
}

.nav-details[open] .burger {
  background: transparent;
}

.nav-details[open] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-details[open] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-panel {
  display: none;
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  top: calc(100% + 0.35rem);
  z-index: 30;
  width: auto;
  padding: 0.35rem 1rem 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.nav-details[open] .nav-panel {
  display: block;
}

.nav-panel nav {
  display: grid;
}

.nav-panel a {
  display: block;
  padding: 0.85rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.nav-panel a:last-child {
  border-bottom: 0;
}

.nav-panel a:hover {
  color: var(--sea);
}

.hero {
  padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 em {
  font-style: italic;
  color: var(--lagoon);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1rem;
}

.fine {
  font-size: 0.95rem;
  max-width: 38rem;
}

.sea-panel {
  position: relative;
  background:
    radial-gradient(420px 220px at 20% 0%, rgba(159, 217, 208, 0.25), transparent 70%),
    var(--sea-deep);
  color: var(--paper);
  border-radius: 32px;
  padding: 1.3rem 1.1rem 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sea-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 74px;
  display: block;
}

.sample {
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  padding: 1.15rem 1.15rem 1rem;
}

.sample-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--sea);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sample-q {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.sample-a p {
  margin-bottom: 0.75rem;
}

.sample ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.sample li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 500;
}

.tag {
  flex: 0 0 auto;
  min-width: 4.6rem;
  text-align: center;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-yes {
  background: var(--foam);
  color: #0d4f49;
}

.tag-no {
  background: #f3e2d6;
  color: #6d3418;
}

.sample-note {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.card,
.plan,
.sector,
.about-card,
.form-card {
  background: var(--paper);
  border: 1px solid rgba(20, 52, 60, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.card,
.sector {
  padding: 1.3rem 1.25rem 1.35rem;
}

.card h3,
.sector h3 {
  margin-top: 0.85rem;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mist);
  color: var(--sea);
}

.icon svg {
  width: 26px;
  height: 26px;
}

.statement {
  margin: 2rem 0 0;
  max-width: 40rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.3;
  color: var(--ink);
}

.steps-band {
  background: var(--sea-deep);
  color: var(--paper);
}

.steps-band .lede,
.steps-band p {
  color: #d5e6e3;
}

.steps-band h2 {
  color: var(--paper);
}

.steps {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.2rem;
  padding: 0;
  list-style: none;
}

.steps li {
  padding-top: 0.2rem;
}

.step-num {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: #9fd9d0;
}

.steps h3 {
  color: var(--paper);
  font-size: 1.45rem;
}

.section-head {
  max-width: 40rem;
}

.note {
  margin-top: 0.8rem;
  font-size: 0.98rem;
}

.plans {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.plan {
  padding: 1.4rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.plan h3 {
  margin-bottom: 0.2rem;
}

.plan-kicker {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--lagoon);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0.7rem 0 0.4rem;
}

.price-num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.price-unit {
  color: var(--ink-soft);
  font-weight: 500;
}

.plan ul {
  margin: 0.4rem 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.plan li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--ink);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.5em;
  width: 0.65rem;
  height: 0.35rem;
  border-left: 2px solid var(--lagoon);
  border-bottom: 2px solid var(--lagoon);
  transform: rotate(-45deg);
}

.plan .btn {
  margin-top: auto;
}

.plan-accent {
  background: var(--sea);
  color: var(--paper);
  border-color: transparent;
}

.plan-accent h3,
.plan-accent .price-num,
.plan-accent li {
  color: var(--paper);
}

.plan-accent .plan-kicker,
.plan-accent .price-unit,
.plan-accent p {
  color: #d7efe9;
}

.plan-accent li::before {
  border-color: #b7e4dc;
}

.sectors {
  align-items: stretch;
}

.about-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.1rem;
}

.portrait {
  margin: 0;
  position: relative;
}

.portrait picture {
  display: block;
  aspect-ratio: 600 / 698;
  overflow: hidden;
  position: relative;
  border-radius: 18px;
  background:
    linear-gradient(160deg, #e7f4f1, #d5e4df 55%, #c9ddd6);
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portrait figcaption {
  margin-top: 0.7rem;
  font-weight: 600;
  color: var(--sea);
}

.about-copy {
  padding: 0.6rem 0.5rem 0.8rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.faq {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.faq details {
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid rgba(20, 52, 60, 0.08);
  padding: 0.2rem 1.1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 1rem 1.6rem 1rem 0;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.1rem;
  top: 1.35rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--sea);
  border-bottom: 2px solid var(--sea);
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  top: 1.5rem;
  transform: rotate(225deg);
}

.faq details p {
  margin: 0 0 1.1rem;
  max-width: 65ch;
}

.contact-band {
  background: var(--sea-deep);
  color: var(--paper);
}

.contact-band h2,
.contact-band .lede {
  color: var(--paper);
}

.contact-grid {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}

.contact-band a {
  color: #f6f1e8;
}

.contact-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.contact-points li {
  color: #d5e6e3;
}

.form-card {
  padding: 1.2rem 1.15rem 1.2rem;
  color: var(--ink);
}

.form-card p,
.form-card label {
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.optional {
  font-weight: 500;
  color: var(--ink-soft);
}

input,
textarea {
  width: 100%;
  border: 1.5px solid rgba(20, 52, 60, 0.18);
  background: white;
  color: var(--ink);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  min-height: 48px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(15, 76, 87, 0.28);
  border-color: var(--sea);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--sun);
}

.field-error {
  margin: 0.35rem 0 0;
  color: #8a3414;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status {
  min-height: 1.4em;
  margin: 0.8rem 0 0;
  color: var(--sea);
  font-weight: 600;
}

.form-help {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: #08262c;
  color: #d5e6e3;
  padding: 2.2rem 0 2.4rem;
}

.footer-inner {
  display: grid;
  gap: 1.1rem;
}

.footer-brand {
  margin-bottom: 0.35rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.3rem;
  text-decoration: none;
}

.footer-brand:hover {
  color: white;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.site-footer p {
  margin: 0;
  color: #d5e6e3;
}

.site-footer a {
  color: #f6f1e8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.subpage {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem;
}

.prose {
  max-width: 68ch;
}

.prose h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}

.prose h2 {
  font-size: 1.55rem;
  margin: 2rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.2rem;
}

.review {
  background: #fff6ea;
  border: 1px solid #e6c7a4;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
}

.review strong {
  color: #6d3418;
}

.review p {
  margin: 0.35rem 0 0;
  color: #5c4636;
}

.center-card {
  max-width: 38rem;
  margin: 8vh auto;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
}

@media (max-width: 420px) {
  .cta-long {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 1.4rem));
  }
}

@media (min-width: 760px) {
  .cards,
  .plans,
  .sectors {
    grid-template-columns: 1fr 1fr;
  }

  .about-card {
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 2rem;
    padding: 1.3rem;
    align-items: center;
  }

  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 980px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-left: auto;
  }

  .logo {
    margin-right: 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-details {
    display: none;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .cards:not(.sectors) {
    grid-template-columns: repeat(3, 1fr);
  }

  .sea-panel {
    padding: 1.5rem 1.3rem 1.7rem;
  }

  .footer-inner {
    grid-template-columns: 1.4fr auto auto;
    align-items: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
