/* AlitaFrida — Bienestar privado
   Design system for the main site and the campaign landing pages.
   The online workshop (/taller/) keeps its own stylesheet (styles.css). */

@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }

/* Palette: sun-bleached white, warm sand, sea glass, and the seal's teal.
   Contrast (WCAG): text 11.5:1, muted 5.5–6.1:1 on every light background,
   light text on teal 5:1 or better. */
:root {
  --ivory: #FBF8F2;
  --sand-light: #F4ECE0;
  --sand: #E8DAC6;
  --sea: #E3EFEB;
  --teal: #2A6B67;
  --teal-deep: #1F4E4B;
  --teal-night: #1B4441;
  --ink: #22302F;
  --text: #2C3836;
  --muted: #55615F;
  --accent: #C98E6B;        /* sunset terracotta: rules and decoration */
  --accent-text: #96603F;   /* terracotta for numerals on light backgrounds */
  --on-dark: #FBF8F2;
  --on-dark-muted: #D3E5DF;
  --warm-light: #F3E4D3;
  --line: rgba(34, 48, 47, 0.13);
  --line-dark: rgba(251, 248, 242, 0.22);

  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(96px, 13vw, 184px);
  --col-gap: clamp(16px, 2.4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Paper texture, barely there */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }
section[id] { scroll-margin-top: 80px; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--teal); color: var(--on-dark); padding: 12px 18px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type ---------- */

.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 500; font-size: 11.5px; line-height: 1.4; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.on-dark .label { color: var(--on-dark-muted); }
.display { font-family: var(--serif); font-weight: 300; letter-spacing: -0.012em; line-height: 1.02; color: var(--ink); }
.title { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; font-size: clamp(38px, 4.8vw, 72px); line-height: 1.05; color: var(--ink); }
.title--sm { font-size: clamp(32px, 3.4vw, 48px); }
.title em, .display em { font-style: italic; }
.label + .title, .label + .display { margin-top: 28px; }
.on-dark .title, .on-dark .display, .on-dark .lede { color: var(--on-dark); }
.lede { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.45; color: var(--text); }
.lede--muted { max-width: 38ch; color: var(--muted); }
.prose p { max-width: 60ch; }
.prose p + p { margin-top: 1.1em; }
.small { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 30px; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--solid { background: var(--teal); color: var(--on-dark); }
.btn--solid:hover { background: var(--teal-deep); }
.btn--ivory { background: var(--ivory); color: var(--teal); }
.btn--ivory:hover { background: var(--sand); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: rgba(251, 248, 242, 0.1); }
.btn--line.btn--dark:hover { background: rgba(42, 107, 103, 0.06); }
button.btn:disabled { opacity: .6; cursor: progress; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 0;
  font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: inherit;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(.35); }

/* ---------- Header ---------- */

.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(251, 248, 242, 0.92); color: var(--ink);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease), background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.hd.is-hidden { transform: translateY(-100%); }   /* hides on scroll down, returns on scroll up (lux.js) */
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .5s var(--ease); }
.hd.is-over:not(.is-open) { background: transparent; border-color: transparent; color: var(--on-dark); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hd.is-over:not(.is-open) .hd__in { height: 104px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; text-decoration: none; color: inherit;
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: 0.34em; text-transform: uppercase;
}
.wordmark small { display: block; margin-top: 2px; font-family: var(--sans); font-weight: 400; font-size: 9.5px; letter-spacing: 0.32em; opacity: .75; }
/* The AlitaFrida seal, in its own colors, crowns the header */
.crest { width: 52px; height: 52px; flex: 0 0 auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18)); }
.hd.is-over:not(.is-open) .crest { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)); }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: inherit; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav .btn { min-height: 44px; padding: 0 22px; opacity: 1; white-space: nowrap; }
@media (min-width: 1061px) and (max-width: 1240px) { .nav { gap: 18px; } .nav a { letter-spacing: .14em; } }
.nav .btn:hover { text-decoration: none; }
.lang { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; }
.lang > * { padding: 4px 6px; }
.lang span[aria-current] { opacity: 1; border-bottom: 1px solid currentColor; }
.lang a { opacity: .7; }
.hd:not(.is-over) .btn--line, .hd.is-open .btn--line { background: var(--teal); border-color: var(--teal); color: var(--on-dark); }

.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .4s var(--ease), background-color .2s; }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { transform: translateY(-7px); }
.menu-btn span::after { transform: translateY(7px); }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; }
  .hd__in, .hd.is-over:not(.is-open) .hd__in { height: 72px; }
  /* A blurred or transformed header would trap the full-screen menu inside its own 72px,
     so the open state drops both. */
  .hd.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; background: var(--ivory); }
  .nav {
    position: fixed; inset: 72px 0 0 0; display: none; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 24px var(--gutter) 40px; background: var(--ivory); color: var(--ink); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 300; font-size: 30px; letter-spacing: 0; text-transform: none; }
  .nav .btn { margin-top: 28px; width: 100%; min-height: 54px; }
  .nav .lang { margin-top: 24px; font-size: 13px; }
  .nav .lang a { width: auto; padding: 4px 6px; border: 0; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
}
@media (max-width: 520px) {
  .crest { width: 44px; height: 44px; }
  .wordmark { font-size: 16px; letter-spacing: .28em; gap: 12px; }
}

/* ---------- Hero ---------- */

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: var(--on-dark); background: var(--teal-deep); }
.hero--page { min-height: 86vh; min-height: 86svh; }
.hero__media, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media { z-index: -2; }
.hero__media video { opacity: 0; transition: opacity 1.6s ease; }
.hero.is-playing .hero__media video { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 42, 41, 0.34) 0%, rgba(18, 42, 41, 0) 22%, rgba(18, 42, 41, 0) 48%, rgba(18, 42, 41, 0.58) 100%),
    linear-gradient(90deg, rgba(18, 42, 41, 0.38) 0%, rgba(18, 42, 41, 0) 58%);
}
.hero__in { width: 100%; padding-top: 160px; padding-bottom: clamp(56px, 9vh, 112px); }
.hero .label { color: var(--warm-light); }
.hero__title { max-width: 17ch; font-size: clamp(42px, 5.2vw, 84px); color: var(--on-dark); }
.hero .label + .hero__title { margin-top: 24px; }
.hero__sub { margin-top: 24px; max-width: 46ch; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; color: rgba(251, 248, 242, 0.9); }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.hero__ctas .link { color: var(--on-dark); }
.hero__foot { position: absolute; right: var(--gutter); bottom: clamp(56px, 9vh, 112px); }
.vtoggle {
  width: 44px; height: 44px; padding: 0; border: 1px solid rgba(251, 248, 242, 0.5); border-radius: 999px; background: transparent; color: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: .8;
}
.vtoggle:hover { opacity: 1; }
.vtoggle .i-play, .vtoggle[aria-pressed="true"] .i-pause { display: none; }
.vtoggle[aria-pressed="true"] .i-play { display: block; }
@media (max-height: 760px) and (min-width: 761px) { .hero__title { font-size: clamp(40px, 4.4vw, 68px); } }
@media (max-width: 760px) { .hero__foot { right: 16px; bottom: 20px; } .hero__ctas .btn { width: 100%; } }

/* ---------- Sections ---------- */

.sec { padding-top: var(--section); padding-bottom: var(--section); }
.sec--sand { background: linear-gradient(180deg, var(--sand-light) 0%, #F7F1E8 100%); }
.sec--sea { background: linear-gradient(180deg, var(--sea) 0%, #EAF3EF 100%); }
.sec--teal { background: linear-gradient(160deg, #296661 0%, var(--teal-deep) 100%); color: var(--on-dark); }
.sec-head { display: grid; gap: 28px; margin-bottom: clamp(56px, 7vw, 104px); }
.sec-head--sm { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .label + .title { margin-top: 0; }

/* Philosophy (also the intro block of the landing pages) */
.phil__head { grid-column: 1 / span 6; }
.phil__body { grid-column: 8 / span 5; padding-top: 12px; }
.phil__body .lede { margin-bottom: 32px; }
.phil__visual { grid-column: 1 / -1; margin-top: clamp(72px, 9vw, 136px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
.phil__img { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.phil__img img { width: 100%; height: 100%; object-fit: cover; }
.phil__quote { grid-column: 9 / span 4; padding-bottom: 8px; }
.phil__quote blockquote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.2; color: var(--teal-deep); }
.phil__quote figcaption { margin-top: 20px; }
.principles { grid-column: 1 / -1; margin-top: clamp(72px, 9vw, 136px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.principles > div { padding: 36px 36px 0 0; }
.principles > div + div { padding-left: 36px; border-left: 1px solid var(--line); }
.principles h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
.principles p { font-size: 16px; color: var(--muted); }
@media (max-width: 900px) {
  .phil__head, .phil__body, .phil__img, .phil__quote { grid-column: 1 / -1; }
  .phil__body { margin-top: 36px; }
  .phil__quote { margin-top: 40px; }
  .principles { grid-template-columns: 1fr; }
  .principles > div, .principles > div + div { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Signature experiences: editorial rows on sea glass */
.xp { border-top: 1px solid var(--line); }
.xp__row {
  display: grid; grid-template-columns: 90px minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2.4fr); column-gap: var(--col-gap);
  align-items: baseline; padding: clamp(32px, 3.6vw, 48px) 0; border-bottom: 1px solid var(--line);
}
.xp__n { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 22px; color: var(--accent-text); }
.xp__name { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; color: var(--ink); }
.xp__desc { font-size: 16px; line-height: 1.7; color: var(--muted); }
.xp__meta { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.9; color: var(--teal); }
.xp__meta span { display: block; }
.xp__foot { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.xp__foot p { max-width: 52ch; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .xp__row { grid-template-columns: 56px minmax(0, 1fr); row-gap: 14px; }
  .xp__desc, .xp__meta { grid-column: 2; }
  .xp__meta span { display: inline; }
  .xp__meta span + span::before { content: " · "; }
}

/* Founder, with the seal pressed onto the portrait like a wax seal on a letter */
.founder__photo { grid-column: 1 / span 5; align-self: start; position: relative; }
.founder__photo figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder__body { grid-column: 7 / span 6; align-self: center; }
.founder__body .title { margin-bottom: 32px; }
.founder__body .lede { margin-bottom: 36px; }
.seal-press {
  position: absolute; right: -28px; bottom: -36px; z-index: 2; width: clamp(96px, 10vw, 132px); height: auto;
  transform: rotate(-9deg); filter: drop-shadow(0 14px 22px rgba(20, 40, 38, 0.35));
}
.seal-press--sm { width: 84px; right: -22px; bottom: -24px; }
.facts { margin-top: 48px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { font-size: 16px; color: var(--text); }
.facts em { font-family: var(--serif); font-size: 19px; }
.facts a { color: var(--teal); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .founder__photo, .founder__body { grid-column: 1 / -1; }
  .founder__body { margin-top: 48px; }
  .seal-press { right: 12px; bottom: -32px; }
  .facts > div { grid-template-columns: 1fr; gap: 6px; }
}

/* Journey */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; border-top: 1px solid var(--line); }
.steps li { padding: 40px 32px 0 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps .n { display: block; margin-bottom: 28px; font-family: var(--serif); font-weight: 300; font-size: 64px; line-height: 1; color: var(--accent-text); }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
.steps p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 8px; }
  .steps .n { font-size: 44px; margin: 0; grid-row: span 2; }
}

/* Formats: who each experience is for */
.formats__head { grid-column: 1 / span 4; }
.formats__head .small { margin-top: 28px; max-width: 34ch; }
.formats { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.formats__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.formats__item h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--ink); }
.formats__item p { font-size: 15.5px; color: var(--muted); }
.formats__item a { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--teal); }
@media (max-width: 900px) {
  .formats__head, .formats { grid-column: 1 / -1; }
  .formats { margin-top: 48px; }
  .formats__item { grid-template-columns: 1fr; gap: 8px; }
}

/* Scope of service */
.scope { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
.scope__head { grid-column: 1 / span 5; }
.scope__body { grid-column: 7 / span 6; font-size: 16px; color: var(--muted); }
@media (max-width: 900px) { .scope__head, .scope__body { grid-column: 1 / -1; } .scope__body { margin-top: 28px; } }

/* Also by Alejandra: the online products, presented as a quiet add-on */
.also { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.also__media { display: block; }
.also figure { aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand-light); }
.also img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.also article:hover img { transform: scale(1.03); }
.also figure.is-neuro { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #296661 0%, var(--teal-deep) 100%); }
.also figure.is-neuro svg { width: 62%; height: auto; transition: transform 1.6s var(--ease); }
.also article:hover figure.is-neuro svg { transform: rotate(-8deg) scale(1.03); }
.also .label { margin-top: 24px; }
.also h3 { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--ink); }
.also h3 a { text-decoration: none; }
.also h3 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.also p:not(.label) { margin-top: 8px; font-size: 15px; color: var(--muted); }
.also p a { color: var(--teal); }
@media (max-width: 1060px) { .also { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 560px) { .also { grid-template-columns: 1fr; } .also figure { aspect-ratio: 4 / 3; } }

/* Landing pages: short founder block */
.mini-founder { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.mini-founder__photo { position: relative; }
.mini-founder__photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mini-founder .title { margin-bottom: 24px; }
.mini-founder .lede { max-width: 40ch; }
.mini-founder__more { margin-top: 28px; }
@media (max-width: 640px) { .mini-founder { grid-template-columns: 1fr; } .mini-founder__photo { max-width: 240px; } }

/* ---------- Request form ---------- */

.req { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.req__head { grid-column: 1 / span 5; }
.req__head .title { margin-bottom: 28px; }
.req__alt { margin-top: 48px; display: grid; gap: 14px; }
.req__alt a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--on-dark); font-size: 15px; }
.req__alt a:hover { text-decoration: underline; text-underline-offset: 5px; }
.req__alt svg { width: 18px; height: 18px; color: var(--warm-light); flex: 0 0 auto; }
.form { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; }
.f { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f label { font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); }
.f label span { letter-spacing: 0.06em; text-transform: none; opacity: .85; }
.f input, .f select, .f textarea {
  width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(251, 248, 242, 0.4); border-radius: 0;
  background: transparent; color: var(--on-dark); font-family: var(--sans); font-weight: 300; font-size: 17px; transition: border-color .3s ease;
}
.f select {
  appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D3E5DF' stroke-width='1.6'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") right 4px center no-repeat;
}
.f select option { color: var(--ink); background: var(--ivory); }
.f textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.f input::placeholder, .f textarea::placeholder { color: rgba(251, 248, 242, 0.45); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--warm-light); }
.f input:user-invalid, .f textarea:user-invalid { border-bottom-color: #F0B9A6; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 14px; line-height: 1.6; color: var(--on-dark-muted); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--warm-light); cursor: pointer; }
.consent a { color: var(--on-dark); }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--on-dark-muted); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.form__status { grid-column: 1 / -1; font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--warm-light); }
.form__status.is-err { color: #FFDCCF; }
@media (max-width: 900px) { .req__head, .form { grid-column: 1 / -1; } .form { margin-top: 56px; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ---------- Footer ---------- */

.ft { background: var(--teal-night); color: var(--on-dark-muted); font-size: 14.5px; }
.ft a { color: var(--on-dark); text-decoration: none; }
.ft a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 96px; padding-bottom: 72px; }
.ft .wordmark { color: var(--on-dark); font-size: 21px; }
.ft .crest { width: 56px; height: 56px; }
.ft__claim { margin-top: 20px; max-width: 30ch; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.35; color: var(--on-dark); }
.ft h2 { margin-bottom: 18px; font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-muted); }
.ft ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.ft__bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.ft__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.ft a.wepmade-credit:hover { text-decoration: none; opacity: 1 !important; }
@media (max-width: 900px) { .ft__top { grid-template-columns: 1fr 1fr; } .ft__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft__top { grid-template-columns: 1fr; } }

/* ---------- Discreet contact button (phones) ---------- */

.dock {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--teal); color: var(--on-dark); text-decoration: none;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.55);
  transform: translateY(160%); transition: transform .5s var(--ease);
}
.dock svg { width: 18px; height: 18px; }
.dock.is-visible { transform: none; }
.hd.is-open ~ .dock { transform: translateY(160%); }   /* the open menu has its own call to action */
@media (max-width: 760px) { .dock { display: inline-flex; } }

/* ---------- Consent bar (only when ad measurement is configured) ---------- */

.consentbar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 560px;
  padding: 22px 24px; background: var(--ivory); color: var(--text); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.4); font-size: 14px; line-height: 1.6;
}
.consentbar p { margin-bottom: 16px; }
.consentbar .row { display: flex; flex-wrap: wrap; gap: 10px; }
.consentbar .btn { min-height: 44px; padding: 0 20px; }

/* ---------- Motion ---------- */

.rv { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-img { overflow: hidden; }
.rv-img img { transform: scale(1.06); transition: transform 1.8s var(--ease); }
.rv-img.in img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hd { transition: none; }
  .rv, .rv-img img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__media video { display: none; }
}
