/* Atelier · genre: modern-minimal · macrostructure: Split Studio · theme: custom (studio grey, cobalt panels) · reference: 14islands.com · design-system: DESIGN.md v2 · nav: split label nav · footer: big email · scope: page */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: var(--space-xs);
  left: var(--space-xs);
  z-index: calc(var(--z-menu) + 1);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-label);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--indent);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--tile-gap);
}
.split > .half { grid-column: 2; }

@media (max-width: 60rem) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split > .half { grid-column: 1; padding-left: var(--aside-indent); }
}

.label {
  font-weight: 400;
  font-size: var(--t-label);
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.label .kicker { display: block; color: var(--grey); }

.aside { max-width: 29rem; font-size: var(--t-aside); line-height: 1.42; letter-spacing: -0.01em; text-wrap: pretty; }
.aside .soft { color: var(--grey); }
.aside .kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-sm);
  color: var(--grey);
  font-size: var(--t-label);
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.aside .kicker::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: var(--bar-thin);
  border-radius: var(--bar-thin);
  background: var(--cobalt);
}

.xbar {
  flex: 1 1 0;
  min-width: 0;
  height: var(--bar);
  margin-left: 0.22em;
  border-radius: var(--bar);
  background: var(--cobalt);
  position: relative;
  top: var(--bar-rise);
  transform-origin: left center;
}
.xline { display: flex; align-items: baseline; }

.section-title {
  display: flex;
  align-items: flex-start;
  gap: 0.3em;
  font-weight: 300;
  font-size: var(--t-title);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.section-title .count {
  margin-top: 0.2em;
  color: var(--cobalt);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.label-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 2.75rem;
  font-size: var(--t-label);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color var(--dur-ui) var(--ease-quart);
}
.label-link:hover { text-decoration-color: currentColor; }
.label-link svg { flex-shrink: 0; }

.display {
  font-weight: 300;
  font-size: var(--t-statement);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.display .soft { color: var(--grey-display); }
.display .line { display: block; }

.title {
  font-weight: 300;
  font-size: var(--t-title);
  line-height: 1.1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: var(--control-h);
  padding: 0 1.25rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-label);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease-quart);
}
.btn:hover { background: var(--ink-soft); }
.btn:active { background: #000; }
.btn--sm { min-height: 2.5rem; padding: 0 1rem; }

.header {
  position: relative;
  z-index: var(--z-header);
  background: var(--band);
}
.header__bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--tile-gap);
  align-items: center;
  min-height: var(--header-h);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: start;
  min-height: 2.75rem;
  font-size: 1.1875rem;
  font-weight: 450;
  letter-spacing: -0.02em;
}
.wordmark svg { width: 1.625rem; height: 1.625rem; }
.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.header__links { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.header__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: var(--t-label);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color var(--dur-ui) var(--ease-quart);
}
.header__links a:hover,
.header__links a[aria-current="page"] { text-decoration-color: currentColor; }

.menu-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0 0 var(--space-md);
  border: 0;
  background: none;
  font-size: var(--t-label);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  background: var(--band);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu__bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.menu__close { display: inline-flex; padding: 0; }
.menu__list { padding-block: var(--space-xl) var(--space-2xl); }
.menu__list a {
  display: block;
  padding-block: 0.15em;
  font-weight: 300;
  font-size: clamp(2.25rem, 1rem + 6vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.menu__list a:hover { color: var(--grey); }
.menu__foot { margin-top: auto; padding-bottom: var(--space-xl); display: grid; gap: var(--space-md); justify-items: start; }

@media (max-width: 60rem) {
  .header__bar { grid-template-columns: auto 1fr; }
  .header__nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

.hero { background: var(--band); }
.hero__aside { padding-top: clamp(1.5rem, 4vw, 3.5rem); }
.hero__aside .label-link { margin-top: var(--space-xs); }

.hero__title {
  margin-top: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 300;
  font-size: var(--t-hero);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero__line > span { display: flex; align-items: baseline; white-space: nowrap; }
.hero__line--end > span { justify-content: flex-end; }
.hero__amp { color: var(--grey-display); }
.hero__title .xbar { margin-left: 0.3em; margin-right: 0.08em; }
.hero__title .xbar--end { display: none; }
.hero__tail { display: flex; align-items: baseline; }

.hero__media {
  position: relative;
  isolation: isolate;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.hero__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 55%;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--paper);
}

.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--field-cobalt);
  aspect-ratio: 16 / 7;
}
.panel svg { width: 100%; height: 100%; }

@media (max-width: 60rem) {
  .hero__line--end > span { justify-content: flex-start; }
  .hero__title .xbar--start { display: none; }
  .hero__title .xbar--end { display: block; }
}

@media (max-width: 40rem) {
  .hero__line--end > span { flex-wrap: wrap; }
  .hero__tail { flex-basis: 100%; }
}

@media (max-width: 40rem) {
  .panel { aspect-ratio: 1; }
  .panel .hero-art { width: auto; max-width: none; height: 100%; aspect-ratio: 16 / 7; transform: translateX(-49.7%); }
  .hero-art .art-web { display: none; }
}

.section { padding-top: var(--section); }

.intro__aside { margin-top: clamp(2.5rem, 5vw, 5rem); }
.intro__aside .label-link { margin-top: var(--space-xs); }

.display .xline { display: flex; }
.display .xbar { margin-left: 0.3em; }

.chip {
  display: inline-block;
  width: 1.35em;
  height: 0.86em;
  margin-right: 0.16em;
  vertical-align: -0.04em;
}

.section-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  padding-bottom: clamp(1.25rem, 2.2vw, 2rem);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl) var(--tile-gap);
}

.tile { display: block; }
.tile__art {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
}
.tile__art svg {
  width: 100%;
  height: 100%;
  transition: transform var(--dur-hover) var(--ease-quart);
}
.tile:hover .tile__art svg { transform: scale(1.025); }
.tile:focus-visible { outline: none; }
.tile:focus-visible .tile__art { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.tile__cap { margin-top: var(--space-sm); }
.tile__cap .soft { color: var(--grey); margin-left: 0.35em; }

.field-navy { background: var(--field-navy); }
.field-sand { background: var(--field-sand); }
.field-mist { background: var(--field-mist); }
.field-ink { background: var(--field-ink); }

.wave rect { transform-box: fill-box; transform-origin: center; }
.tile:hover .wave rect { animation: wave 1.1s var(--ease-quart) infinite alternate; }
.tile:hover .wave rect:nth-child(3n) { animation-delay: -0.4s; }
.tile:hover .wave rect:nth-child(3n + 1) { animation-delay: -0.8s; }
@keyframes wave { to { transform: scaleY(0.45); } }

.tiles__note { grid-column: 1; grid-row: 2; align-self: start; }
.tiles__note .label-link { margin-top: var(--space-xs); }

@media (max-width: 40rem) {
  .tiles { grid-template-columns: 1fr; gap: var(--space-lg); }
  .tiles__note { grid-column: auto; grid-row: auto; padding-left: var(--aside-indent); }
}

.index { border-bottom: 1px solid var(--rule); }
.index__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--tile-gap);
  align-items: baseline;
  position: relative;
  padding-block: clamp(1.25rem, 2vw, 2rem);
  border-top: 1px solid var(--rule);
}
.index__name {
  position: relative;
  font-weight: 300;
  font-size: var(--t-title);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.index__name > span { display: inline-block; transition: translate var(--dur-hover) var(--ease-expo); }
.index__name::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.33em;
  width: 0.9em;
  height: var(--bar);
  border-radius: var(--bar);
  background: var(--cobalt);
  scale: 0 1;
  transform-origin: left center;
  transition: scale var(--dur-hover) var(--ease-expo);
}
.index__row:hover .index__name > span,
.index__row:focus-visible .index__name > span { translate: 1.2em 0; }
.index__row:hover .index__name::before,
.index__row:focus-visible .index__name::before { scale: 1 1; }
.index__row .index__desc { transition: color var(--dur-ui) var(--ease-quart); }
.index__row:hover .index__desc { color: var(--ink); }
.index__desc { max-width: 26rem; padding-right: 3rem; color: var(--grey); text-wrap: pretty; }
.index__arrow {
  position: absolute;
  right: 0;
  top: 50%;
  translate: -0.5rem -50%;
  opacity: 0.3;
  transition: opacity var(--dur-ui) var(--ease-quart), translate var(--dur-hover) var(--ease-quart);
}
.index__row:hover .index__arrow { opacity: 1; translate: 0 -50%; }

@media (max-width: 40rem) {
  .index__row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); }
  .index__desc { padding-right: 2rem; }
  .index__arrow { opacity: 1; translate: 0 -50%; }
}

.plans__head { align-items: start; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.plans__head .label-link { margin-top: var(--space-xs); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tile-gap);
}
.plan {
  display: grid;
  align-content: start;
  gap: var(--space-sm);
  padding-top: var(--space-md);
}
.plan__name {
  font-weight: 300;
  font-size: var(--t-title);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.plan__desc { max-width: 22rem; color: var(--grey); text-wrap: pretty; }
.gauge {
  position: relative;
  height: 6px;
  margin-bottom: var(--space-sm);
  border-radius: 6px;
  background: var(--rule);
  overflow: hidden;
}
.gauge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: var(--cobalt);
  transform-origin: left center;
  scale: var(--level) 1;
}
.gauge--1 { --level: 0.34; }
.gauge--2 { --level: 0.67; }
.gauge--3 { --level: 1; }

@media (max-width: 60rem) {
  .plans__head .half { margin-top: var(--space-md); }
}

@media (max-width: 40rem) {
  :root { --aside-indent: 0px; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .plan { gap: var(--space-xs); }
}

.footer { margin-top: var(--section); padding-top: var(--section); background: var(--navy); color: var(--on-navy); }
.footer :focus-visible { outline-color: var(--cobalt-light); }
.footer .display .soft { color: var(--on-navy-soft); }
.footer .xbar { background: var(--cobalt-light); }
.footer__email {
  display: inline-block;
  font-weight: 300;
  font-size: min(var(--t-statement), 4.2vw);
  line-height: 1.06;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
  transition: text-decoration-color var(--dur-ui) var(--ease-quart);
}
.footer__email:hover { text-decoration-color: var(--cobalt-light); }
.footer__contact { margin-top: clamp(2.5rem, 5vw, 5rem); display: grid; justify-items: start; gap: var(--space-lg); }
.btn--light { background: var(--on-navy); color: var(--navy); }
.btn--light:hover { background: var(--cobalt-light); }
.btn--light:active { background: #fff; }
.footer__hours { max-width: 26rem; color: var(--on-navy-soft); }
.clocks { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); }
.clock { display: grid; gap: 0.15rem; }
.clock__city { color: var(--on-navy-soft); }
.clock__time { font-size: 1.5rem; font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.clocks:not([data-ready]) { display: none; }
.footer__base {
  margin-top: clamp(4.5rem, 9vw, 9rem);
  padding-block: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--navy-line);
  align-items: start;
}
.footer__brand { display: grid; justify-items: start; align-content: start; gap: var(--space-xs); }
.footer__brand .wordmark { min-height: 2.25rem; }
.footer__brand .wordmark rect { fill: #22305a; }
.footer__copy { color: var(--on-navy-soft); }
.footer__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color var(--dur-ui) var(--ease-quart);
}
.footer__links a:hover { text-decoration-color: var(--cobalt-light); }

@media (max-width: 60rem) {
  .split > .footer__contact { padding-left: 0; }
  .footer__base .footer__brand { order: 2; margin-top: var(--space-xl); }
  .footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
  .footer__email { font-size: clamp(1.75rem, 8.4vw, 2.25rem); }
  .footer__links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-md); }
}

.header__links a[aria-current] { text-decoration-color: currentColor; }
.menu__list a[aria-current]::before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: var(--bar);
  margin-right: 0.25em;
  border-radius: var(--bar);
  background: var(--cobalt);
  vertical-align: 0.31em;
}

.xtail { white-space: nowrap; }
.xtail .xbar--tail {
  display: inline-block;
  width: 0;
  margin: 0;
  vertical-align: baseline;
  background: none;
}
.xtail .xbar--tail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0.3em;
  width: var(--tail, 0px);
  height: 100%;
  border-radius: var(--bar);
  background: var(--cobalt);
}

.kick { display: flex; align-items: center; gap: 0.6rem; color: var(--grey); }
.kick::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: var(--bar-thin);
  border-radius: var(--bar-thin);
  background: var(--cobalt);
}

.page-hero { background: var(--band); padding-bottom: clamp(3.5rem, 7vw, 7rem); }
.page-hero--media { padding-bottom: 0; }
.page-hero__aside { padding-top: clamp(1.5rem, 4vw, 3.5rem); }
.page-title {
  margin-top: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 300;
  font-size: var(--t-page);
  line-height: 1;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.page-title .line { display: block; }
.page-title .soft { color: var(--grey-display); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-md); }
.aside + .aside,
.lines + .aside { margin-top: var(--space-lg); }
.aside a:not(.label-link) { padding-block: 0.2em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md) var(--tile-gap);
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--rule);
}
.facts dt { color: var(--grey); }
.facts dd { margin: var(--space-2xs) 0 0; }

.panel.panel--page { aspect-ratio: 16 / 7; }
.panel.panel--case { aspect-ratio: 16 / 9; }

.sec-head { align-items: start; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-head .half .label-link { margin-top: var(--space-xs); }
.sec-list { align-items: start; }
.sec-list__head { display: grid; justify-items: start; gap: var(--space-lg); }
.sec-list__head .section-title { max-width: 16ch; }
.section-bar .section-title,
.sec-list__head .section-title { display: block; text-wrap: balance; }
.section-bar .section-title .count,
.sec-list__head .section-title .count { display: inline-block; margin-left: 0.3em; vertical-align: top; }
.intro__aside .lines,
.sec-list__head + .half .aside { margin-top: var(--space-lg); }
.after-list { margin-top: clamp(2.5rem, 5vw, 4.5rem); }

.lines { border-bottom: 1px solid var(--rule); }
.lines > li {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--rule);
  font-size: var(--t-aside);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.lines--sm > li { min-height: 3rem; padding-block: 0.7rem; font-size: var(--t-body); letter-spacing: 0; }
.lines--big {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--tile-gap);
  border-bottom: 0;
}
.lines--big > li {
  min-height: 0;
  padding-block: clamp(0.9rem, 1.4vw, 1.4rem);
  border-top: 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 300;
  font-size: var(--t-list);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.lines--big > li:nth-child(-n + 2) { border-top: 1px solid var(--rule); }

.entries { border-bottom: 1px solid var(--rule); }
.entries > li {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--tile-gap);
  align-items: start;
  padding-block: clamp(1.25rem, 2vw, 2rem);
  border-top: 1px solid var(--rule);
}
.entry__name {
  display: flex;
  align-items: flex-start;
  gap: 0.45em;
  font-weight: 300;
  font-size: var(--t-title);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.entry__n {
  flex: none;
  min-width: 1.6rem;
  margin-top: 0.2em;
  color: var(--cobalt);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.entry__text {
  max-width: 30rem;
  padding-top: 0.3em;
  font-size: var(--t-aside);
  line-height: 1.42;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.entry__text .soft { color: var(--grey); }

.cells {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: var(--space-xl) var(--tile-gap);
}
.cells--3 { --cols: 3; }
.cells--5 { --cols: 5; }
.cell {
  display: grid;
  align-content: start;
  gap: var(--space-xs);
  padding-top: var(--space-md);
  border-top: 1px solid var(--rule);
}
.cell .entry__n { margin: 0 0 var(--space-xs); }
.cell .kick { color: var(--grey); }
.cell__title {
  font-weight: 300;
  font-size: var(--t-list);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cells--4 .cell__title { font-size: clamp(1.375rem, 0.9rem + 0.85vw, 1.875rem); }
.cells--5 .cell__title { font-size: var(--t-aside); font-weight: 400; letter-spacing: -0.01em; }
.cell__text { max-width: 24rem; color: var(--grey); text-wrap: pretty; }

.case-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--tile-gap);
  align-items: start;
  padding-top: var(--space-md);
  border-top: 1px solid var(--rule);
}
.case-row + .case-row { margin-top: clamp(3.5rem, 7vw, 7rem); }
.case-row__body { display: grid; gap: var(--space-md); justify-items: start; max-width: 42rem; }
.case-row__body .title { text-wrap: balance; }
.case-row__body > p:not(.title) { font-size: var(--t-aside); line-height: 1.42; letter-spacing: -0.01em; text-wrap: pretty; }
.case-row__body .soft { color: var(--grey); }
.case-row__body .lines { align-self: stretch; }
.case-row__body .btn { margin-top: var(--space-xs); }

.doc { border-bottom: 1px solid var(--rule); }
.doc > section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--tile-gap);
  align-items: start;
  padding-block: clamp(1.5rem, 2.5vw, 2.25rem);
  border-top: 1px solid var(--rule);
}
.doc h2 { font-weight: 400; font-size: var(--t-aside); line-height: 1.35; letter-spacing: -0.01em; }
.doc p { max-width: 38rem; text-wrap: pretty; }
.doc p + p { margin-top: var(--space-sm); }
.doc a, .faq__a a { padding-block: 0.2em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.title .soft { color: var(--grey-display); }

.cta-panel {
  align-items: start;
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1.25rem, 3.75vw, 4rem);
  border-radius: var(--radius);
  background: var(--cobalt);
  color: #fff;
}
.cta-panel .title .soft,
.cta-panel .aside .soft,
.cta-panel .aside .kicker { color: var(--on-cobalt-soft); }
.cta-panel .aside .kicker::before { background: #fff; }
.cta-panel :focus-visible { outline-color: #fff; }
.cta-panel .btn--light:hover { background: #fff; }
.cta-panel .xbar--tail::after { background: #fff; }
.cta-panel > .title { padding-right: var(--space-xl); }
.cta-panel .title .line { display: block; }

.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--line:active { background: #000; color: var(--paper); }

.plans--full .plan { display: flex; flex-direction: column; gap: var(--space-sm); }
.plan__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-sm); }
.plan__tag { color: var(--cobalt); }
.plan__cap { font-size: var(--t-aside); line-height: 1.35; letter-spacing: -0.01em; }
.plans--full .lines { margin-top: var(--space-xs); }
.plan__cta { margin-top: auto; padding-top: var(--space-lg); }

.tile__desc { margin-top: var(--space-2xs); max-width: 34rem; color: var(--grey); text-wrap: pretty; }

.faq { border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: clamp(1.1rem, 1.6vw, 1.5rem);
  font-size: var(--t-aside);
  line-height: 1.35;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 0.85em; height: 0.85em; margin-top: 0.25em; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: scale var(--dur-hover) var(--ease-expo), background-color var(--dur-ui) var(--ease-quart);
}
.faq__icon::after { rotate: 90deg; }
.faq summary:hover .faq__icon::before,
.faq details[open] .faq__icon::before { background: var(--cobalt); }
.faq details[open] .faq__icon::after { scale: 0 1; }
.faq__a { max-width: 40rem; padding: 0 2.5rem var(--space-lg) 0; text-wrap: pretty; }

.form,
.form-success { display: grid; gap: var(--space-lg); justify-items: start; }
.form[hidden],
.form-success[hidden] { display: none; }
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg) var(--space-md);
  justify-self: stretch;
}
.field { display: grid; gap: var(--space-2xs); align-content: start; justify-self: stretch; }
.field label { color: var(--grey); }
.field .req { color: var(--cobalt); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--control-h);
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink-soft);
  border-radius: 0;
  background-color: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--t-aside);
  letter-spacing: -0.01em;
  appearance: none;
  transition: border-color var(--dur-ui) var(--ease-quart), box-shadow var(--dur-ui) var(--ease-quart);
}
.field select {
  padding-right: 1.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%230c0c0e' stroke-width='1.3'%3E%3Cpath d='M2 4.5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.15rem center;
  background-size: 12px;
  cursor: pointer;
}
.field textarea { min-height: 8.5rem; line-height: 1.42; resize: vertical; }
.field ::placeholder { color: var(--grey); opacity: 1; }
.field :is(input, select, textarea):hover { border-bottom-color: var(--ink); }
.field :is(input, select, textarea):focus { border-bottom-color: var(--cobalt); box-shadow: 0 1px 0 var(--cobalt); }
.field :is(input, select, textarea):user-invalid { border-bottom-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: var(--error); }
.form__foot { max-width: 30rem; color: var(--grey); }
.form-success .title:focus { outline: none; }
.form-success p { max-width: 30rem; }
.form-success strong { font-weight: 500; }
.text-btn {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

@media (min-width: 60.01rem) {
  .sec-list__head { position: sticky; top: var(--space-xl); }
}

@media (max-width: 60rem) {
  .sec-head .half { margin-top: var(--space-md); }
  .sec-list > .half { margin-top: var(--space-xl); }
  .case-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }
  .case-row__body { padding-left: var(--aside-indent); }
  .cta-panel > .half { margin-top: var(--space-lg); }
  .plans--full { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .cells { --cols: 2; }
}

@media (max-width: 40rem) {
  .panel.panel--page,
  .panel.panel--case { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lines--big { grid-template-columns: minmax(0, 1fr); }
  .lines--big > li:nth-child(2) { border-top: 0; }
  .entries > li,
  .doc > section { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); }
  .entry__text { padding-top: 0; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .cells { --cols: 1; row-gap: var(--space-lg); }
}

@media (prefers-reduced-motion: no-preference) {
  .page-title { animation: lift var(--dur-enter) var(--ease-expo) both; }
  .page-hero__aside { animation: fade 800ms var(--ease-quart) 250ms both; }
  .page-title .xbar { animation: draw 1300ms var(--ease-expo) 520ms both; }
}

@keyframes lift { from { opacity: 0; translate: 0 0.3em; } }

@media (prefers-reduced-motion: no-preference) {
  .hero__line > span { animation: rise var(--dur-enter) var(--ease-expo) both; }
  .hero__line:nth-child(2) > span { animation-delay: 90ms; }
  .hero__aside { animation: fade 800ms var(--ease-quart) 250ms both; }
  .hero__media .panel { animation: open 1200ms var(--ease-expo) 150ms both; }
  .js [data-reveal] { opacity: 0; transform: translateY(2rem); transition: opacity 900ms var(--ease-quart), transform 900ms var(--ease-expo); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .tiles > [data-reveal]:nth-child(2n).is-in { transition-delay: 90ms; }
  .hero__title .xbar { animation: draw 1300ms var(--ease-expo) 520ms both; }
  .js [data-draw] .xbar { scale: 0 1; transition: scale 1400ms var(--ease-expo) 120ms; }
  .js [data-draw].is-in .xbar { scale: 1 1; }
  .js [data-draw] .gauge::after { scale: 0 1; transition: scale 1400ms var(--ease-expo); }
  .js [data-draw].is-in .gauge::after { scale: var(--level) 1; }
  .js [data-draw].is-in .plan:nth-child(2) .gauge::after { transition-delay: 90ms; }
  .js [data-draw].is-in .plan:nth-child(3) .gauge::after { transition-delay: 180ms; }

  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: var(--ease-quart); }
}

@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes draw { from { scale: 0 1; } }
@keyframes open { from { clip-path: inset(6% 3% 0 3% round var(--radius)); } to { clip-path: inset(0 round var(--radius)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .tile:hover .tile__art svg { transform: none; }
}
