/* Sablefish Wellness & Research
   Palette sampled from the client's emblem:
   ocean #1e375e / #244772 · aqua #399ab0 · lagoon #46ad9e · leaf #2e8a5d · sun #f2bd43 · violet #6b499a
   Display: Cinzel · Tagline: Cormorant Garamond italic · Body: Source Sans 3 */

:root {
  --white: #ffffff;
  --mist: #f3f8f9;
  --sky: #eaf4f6;
  --ocean-900: #1e375e;
  --ocean: #244772;
  --aqua: #399ab0;
  --aqua-deep: #2a7288;
  --lagoon: #46ad9e;
  --leaf: #2e8a5d;
  --leaf-deep: #28774f;
  --sun: #f2bd43;
  --sun-soft: #f7d98a;
  --violet: #6b499a;
  --ink: #2c3a4d;
  --muted: #5b6878;
  --line: #dbe6e9;
  --radius: 16px;
  --maxw: 1120px;
  --shadow: 0 12px 30px rgba(30, 55, 94, .09);
  --grad-water: linear-gradient(90deg, #244772, #399ab0 55%, #46ad9e);
  --grad-leaf: linear-gradient(90deg, #399ab0, #46ad9e 50%, #8cbd59);
  --grad-dna: linear-gradient(90deg, #244772, #6b499a);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-script: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--ocean-900); color: #fff; padding: 10px 14px; }
.skip:focus { left: 0; }

/* ---- Header ---- */
.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ocean-900); }
.brand__sub { margin-top: 3px; font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--aqua-deep); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__link { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
.nav__link:hover { color: var(--ocean-900); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center; transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn--primary { background: linear-gradient(135deg, var(--ocean), var(--aqua-deep)); color: #fff; box-shadow: 0 6px 16px rgba(36, 71, 114, .22); }
.btn--primary:hover { background: linear-gradient(135deg, var(--ocean-900), #245f72); }
.btn--ghost { background: transparent; border-color: var(--ocean); color: var(--ocean); }
.btn--ghost:hover { background: var(--ocean); color: #fff; }
.btn--light { background: #fff; color: var(--ocean-900); }
.btn--light:hover { background: var(--sun-soft); }
.btn--sm { padding: 9px 18px; font-size: .92rem; }

/* ---- Shared type ---- */
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua-deep); }
.eyebrow--center { text-align: center; }
.eyebrow--wellness { color: var(--leaf-deep); }
.eyebrow--research { color: var(--violet); }
.rule { display: flex; align-items: center; gap: 10px; width: min(300px, 80%); margin: 14px 0 12px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--sun); }
.rule span { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }

/* ---- Home hero ---- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, #f6fbfb 70%, #fff 100%); padding-top: 56px; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: center; padding-bottom: 12px; }
.hero__logo { width: 100%; max-width: 380px; height: auto; justify-self: center; filter: drop-shadow(0 14px 26px rgba(30, 55, 94, .14)); }
.hero__title { margin-top: 12px; color: var(--ocean-900); }
.hero__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 6.4vw, 4.4rem); line-height: 1.02; letter-spacing: .05em; text-transform: uppercase; }
.hero__sub { display: block; font-family: var(--font-body); font-weight: 700; font-size: clamp(.95rem, 2vw, 1.2rem); letter-spacing: .3em; text-transform: uppercase; color: var(--aqua-deep); }
.hero__tagline { margin-top: 16px; font-family: var(--font-script); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--ocean-900); }
.hero__intro { max-width: 540px; margin-top: 10px; font-size: 1.1rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.waves { display: block; width: 100%; height: clamp(56px, 8vw, 110px); }

/* ---- Sections ---- */
.section { padding: 76px 0; }
.section--soft { background: var(--mist); }
.section--flush { padding-top: 0; }
.section__head { max-width: 640px; margin: 0 auto 42px; text-align: center; }
.section__title { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: .04em; color: var(--ocean-900); }
.section__lead { margin-top: 10px; color: var(--muted); }

/* ---- Service grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-water); }
.svc__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--mist); }
.svc__body { display: flex; flex: 1; flex-direction: column; padding: 20px 24px 22px; }
.svc--wellness::before { background: var(--grad-leaf); }
.svc--research::before { background: var(--grad-dna); }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c8dade; }
.svc:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.svc__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua-deep); }
.svc--wellness .svc__kicker { color: var(--leaf-deep); }
.svc--research .svc__kicker { color: var(--violet); }
.svc h3 { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: .02em; color: var(--ocean-900); }
.svc p { flex: 1; margin-top: 8px; font-size: .98rem; }
.svc__more { margin-top: 16px; font-weight: 700; color: var(--ocean); }
.svc:hover .svc__more { text-decoration: underline; }

/* ---- Research band ---- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 44px 48px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, var(--ocean-900) 0%, #2c3f78 55%, var(--violet) 100%); }
.band__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--sun-soft); }
.band__title { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: .03em; }
.band__text { max-width: 560px; margin-top: 10px; color: #dde6f2; }

/* ---- Contact ---- */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact__item { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact__label { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua-deep); }
.contact__value { display: block; margin-top: 8px; font-size: 1.08rem; font-weight: 600; color: var(--ocean-900); text-decoration: none; overflow-wrap: anywhere; }
a.contact__value:hover { color: var(--aqua-deep); text-decoration: underline; }
.contact__hint { margin-top: 6px; font-size: .9rem; color: var(--muted); }

/* ---- Service page ---- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, #f7fbfb 80%, #fff 100%); padding-top: 26px; }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--aqua-deep); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 6px; }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 48px; align-items: center; padding: 30px 0 4px; }
.page-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); background: var(--mist); }
.page-hero__title { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: .03em; color: var(--ocean-900); }
.page-hero__lead { max-width: 640px; margin-top: 14px; font-size: 1.16rem; }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 52px; align-items: start; padding-top: 44px; padding-bottom: 80px; }
.prose h2 { margin-top: 40px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: .02em; color: var(--ocean-900); }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 68ch; margin-top: 12px; }
.checks { display: grid; gap: 10px; margin-top: 16px; list-style: none; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 20px; height: 20px; border-radius: 50%; background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.steps { display: grid; gap: 16px; margin-top: 16px; list-style: none; counter-reset: step; }
.steps li { position: relative; min-height: 34px; padding-left: 50px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-dna); color: #fff; font-weight: 700; }
.steps strong { display: block; color: var(--ocean-900); }
.note { margin-top: 16px; padding: 18px 22px; background: #fdf8ea; border: 1px solid #f0dfae; border-radius: 12px; }
.note p { margin-top: 10px; }
.note p:first-child { margin-top: 0; }
.note ul { display: grid; gap: 10px; padding-left: 20px; }

.side { position: sticky; top: 100px; display: grid; gap: 18px; }
.side__card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.side__title { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: .02em; color: var(--ocean-900); }
.side__card > p { margin-top: 8px; font-size: .98rem; color: var(--muted); }
.side__card .btn { width: 100%; margin-top: 12px; }
.side__addr { margin-top: 14px !important; font-size: .92rem; }
.side__list { display: grid; gap: 7px; margin-top: 12px; list-style: none; }
.side__list a { font-weight: 600; color: var(--aqua-deep); text-decoration: none; }
.side__list a:hover { text-decoration: underline; }
.side__list [aria-current] { font-weight: 700; color: var(--ocean-900); }

/* ---- Footer ---- */
.footer { padding: 52px 0 28px; background: var(--ocean-900); color: #c8d4e2; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1.1fr .8fr; gap: 36px; }
.footer__brand { display: flex; align-items: flex-start; gap: 16px; }
.footer__logo { flex: none; width: 72px; height: 72px; }
.footer__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.footer__tag { margin-top: 4px; font-family: var(--font-script); font-style: italic; font-size: 1.1rem; color: var(--sun-soft); }
.footer__addr { margin-top: 10px; }
.footer__head { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sun-soft); }
.footer__links { display: grid; gap: 7px; margin-top: 12px; list-style: none; }
.footer__links--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer a[aria-current] { color: var(--sun-soft); }
.footer__disclaimer { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; color: #aebdd0; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: .86rem; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: 1fr; gap: 36px; }
  .side { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .hero__logo { max-width: 230px; }
  .hero__intro { margin-left: auto; margin-right: auto; }
  .rule { margin-left: auto; margin-right: auto; }
  .hero .hero__actions { justify-content: center; }
  .band { grid-template-columns: 1fr; padding: 32px 28px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .page-hero__img { max-width: 560px; }
}
@media (max-width: 680px) {
  .grid, .contact { grid-template-columns: 1fr; }
  .nav__link { display: none; }
  .nav__link--keep { display: inline; }
  .section { padding: 58px 0; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .nav__link--keep { display: none; }
  .brand__name { font-size: 1.05rem; }
  .brand__mark { width: 42px; height: 42px; }
}

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