@font-face {
  font-family: Inter;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Unbounded;
  src: url('/fonts/unbounded-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --palette-ink: #102526;
  --ink: var(--palette-ink);
  --muted: #475a57;
  --canvas: #f8f6f0;
  --palette-ivory: #fffef9;
  --paper: var(--palette-ivory);
  --line: #ced3c9;
  --night: #0d1f30;
  --night-deep: #102b2c;
  --night-text: #fff;
  --night-muted: #a3b0bd;
  --night-line: #243747;
  --accent: hsl(189 85% 40%);
  --accent-ink: #075752;
  --body-font: Inter, system-ui, sans-serif;
  --display-font: Unbounded, system-ui, sans-serif;
  --gutter: clamp(1rem, 4.8vw, 4.25rem);
  --section-space: clamp(3rem, 8.4vw, 7.5rem);
  --focus: var(--accent-ink);
  --link: var(--accent-ink);
  color: var(--ink);
  background: var(--canvas);
  font: 400 1rem/1.75 var(--body-font);
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
::selection { color: var(--night-deep); background: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
[id] { scroll-margin-block-start: 1rem; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

a:hover { text-decoration-thickness: 2px; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-inline-size: 100%; block-size: auto; }
figure { min-inline-size: 0; margin: 0; }
p, blockquote, ul, ol, dl { margin: 0; }
hr { block-size: 1px; margin-block: 2rem; border: 0; background: var(--line); }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: inherit;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

h1, h2, h3, h4 {
  font-family: var(--display-font);
  font-weight: 700;
  line-height: 1.37;
}

h1 { font-size: clamp(2rem, 1.35rem + 3.15vw, 4rem); }
h2 { font-size: clamp(1.65rem, 1rem + 2.8vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 1rem + 1.2vw, 2rem); }
h4 { font-size: clamp(1rem, 0.8rem + 1vw, 1.75rem); }
h5, h6 { font-size: 1.05rem; }
b, strong { font-weight: 650; }

.shell {
  width: min(calc(100% - var(--gutter) * 2), 73.125rem);
  min-width: 0;
  margin-inline: auto;
}

.legacy-anchor { display: block; height: 0; }

.site-header, .site-footer, .hero, .section[id^="ws-block-cover-with-"] {
  --focus: var(--accent);
  --link: var(--accent);
  color: var(--night-text);
  background: var(--night);
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 1rem auto auto 1rem;
  padding: 0.6rem 0.9rem;
  color: var(--night-deep);
  background: var(--accent);
  font-weight: 650;
  transform: translateY(calc(-100% - 2rem));
}

.skip-link:focus { transform: none; }
.site-header {
  position: relative;
  z-index: 2;
  color: var(--ink);
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  --focus: var(--accent-ink);
}

.header-layout {
  min-height: 4.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  color: inherit;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -.048em;
  line-height: 1.1;
  text-decoration: none;
}

.brand-mark {
  flex: none;
  inline-size: 2.65rem;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}

.brand-name { min-width: 0; }
.site-nav { display: flex; align-items: center; gap: clamp(0.55rem, 1.8vw, 1.55rem); }
.nav-group { position: relative; }

.folio-page {
  --folio-serif: Georgia, "Times New Roman", serif;
  --folio-space: clamp(3rem, 7.5vw, 7rem);
  color: var(--night);
}

.folio-cover {
  padding-block: clamp(1.65rem, 3.7vw, 3.25rem) clamp(2rem, 3.5vw, 3rem);
  background: var(--canvas);
}

.folio-cover-grid {
  display: grid;
  grid-template: "title portrait" 1fr "intro portrait" .85fr / minmax(0, 1.04fr) minmax(0, 1fr);
  gap: 1.4rem clamp(1.25rem, 5.3vw, 5rem);
  align-items: start;
}

.folio-cover-grid h1 {
  grid-area: title;
  align-self: end;
  font: 400 clamp(2.25rem, 6.1vw, 5.85rem)/.98 var(--folio-serif);
  letter-spacing: -.062em;
}

.folio-cover-grid h1 em { color: var(--accent-ink); }

.folio-lede {
  grid-area: intro;
  color: var(--muted);
  max-width: 36ch;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.62;
}

.folio-portrait {
  grid-area: portrait;
  aspect-ratio: 1.015;
}

.folio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

.folio-paths { margin-block-start: clamp(1.35rem, 3.4vw, 2.5rem); }

.folio-paths ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--line);
}

.folio-paths li + li { border-inline-start: 1px solid var(--line); }

.folio-paths a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  min-height: 3rem;
  padding: .95rem clamp(.65rem, 2vw, 1.65rem);
  color: var(--accent-ink);
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}

.folio-paths a:hover { text-decoration: underline; }
.folio-paths a span { flex: none; font: 400 1.15em/1 system-ui, sans-serif; }

.folio-story, .folio-bio, .folio-contact, .folio-partners {
  padding-block: var(--folio-space);
}

.folio-page h2 { font: 400 clamp(2rem, 4.2vw, 3.95rem)/1.03 var(--folio-serif); letter-spacing: -.045em; }

.folio-story, .folio-contact {
  --focus: #a5d8d0;
  --link: #a5d8d0;
  color: var(--night-text);
}

.folio-story { background: var(--night-deep); }
.folio-contact { background: var(--night); }

.folio-story-grid, .folio-contact-grid, .folio-bio-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 6rem);
}

.folio-stat {
  color: #dce8df;
  border-inline-end: 1px solid rgb(255 255 255 / .26);
  padding: 1rem 1rem 1rem 0;
}

.folio-stat strong {
  display: block;
  margin-block-end: .55rem;
  font: 400 clamp(2.9rem, 6.8vw, 6.15rem)/1 var(--folio-serif);
  letter-spacing: -.045em;
  color: var(--night-text);
}

.folio-stat strong span { font-size: .55em; vertical-align: .38em; }

.folio-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 650;
}

.folio-text { max-width: 62ch; }
.folio-text p { color: var(--muted); }
.folio-text p + p, .folio-text h2 + p, .folio-text .folio-link { margin-block-start: 1rem; }
.folio-story .folio-text p { color: #dce8df; }

.folio-partners { background: var(--paper); }

.folio-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 7vw, 7rem);
  margin-block-start: clamp(1.65rem, 4vw, 3.5rem);
  border-block-start: 1px solid var(--line);
}

.folio-partner-grid article { padding-block-start: clamp(1.4rem, 2.8vw, 2.5rem); }
.folio-partner-grid > div { padding-block-start: clamp(1.1rem, 3.2vw, 3.25rem); }
.folio-partner-grid h3 { font: 400 clamp(1.8rem, 3vw, 2.8rem)/1.1 var(--folio-serif); letter-spacing: -.035em; }
.folio-partner-grid p { max-width: 44ch; margin-block: .75rem .5rem; color: var(--muted); }

.folio-bio { background: var(--canvas); }
.folio-bio-grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
.folio-bio figure img {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  object-position: 50% 32%;
}

.folio-contact a { margin-block-start: .35rem; }

@media (max-width: 43rem) {
  .folio-cover-grid {
    grid-template: "title" auto "portrait" auto "intro" auto / minmax(0, 1fr);
    gap: clamp(1rem, 4vw, 1.65rem);
  }
  .folio-cover-grid h1 { font-size: clamp(2.3rem, 10.4vw, 4.1rem); }
  .folio-portrait { max-width: 32rem; aspect-ratio: 1.23; }
  .folio-portrait img { object-position: 50% 33%; }
  .folio-paths ul, .folio-story-grid, .folio-partner-grid, .folio-bio-grid, .folio-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .folio-paths li + li { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .folio-paths a { padding-inline: .2rem; }
  .folio-stat { border-inline-end: 0; padding: 0; }
  .folio-partner-grid > div { padding: 0; border-block-start: 1px solid var(--line); }
  .folio-bio figure { max-width: 23rem; }
}

.site-nav > a, .nav-group > summary, .language-link, .menu-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.site-nav a:hover, .site-nav [aria-current], .nav-group > summary:hover,
.nav-group[open] > summary { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .35em; }

.nav-group > summary { gap: 0.48rem; list-style: none; }
.nav-group > summary::-webkit-details-marker, .faq-item > summary::-webkit-details-marker { display: none; }

.nav-group > summary::after, .menu-toggle::after, .faq-item > summary::after {
  content: "";
  flex: none;
  inline-size: 0.37rem;
  block-size: 0.37rem;
  margin: -0.2rem 0.1rem 0 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.nav-group[open] > summary::after, .menu-toggle[aria-expanded="true"]::after,
.faq-item[open] > summary::after { margin-block-start: 0.17rem; transform: rotate(225deg); }

.nav-flyout {
  position: absolute;
  inset-block-start: calc(100% + 0.25rem);
  inset-inline-start: 0;
  min-inline-size: max(100%, 11rem);
  inline-size: max-content;
  max-inline-size: 18rem;
  padding: .45rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .4rem;
  box-shadow: 0 .8rem 1.8rem #10252616;
}

.nav-flyout a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.2rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
  text-decoration: none;
}

.nav-flyout a:hover, .nav-flyout a:focus-visible { background: #edf1ea; }

.language-link, .menu-toggle {
  justify-content: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  color: var(--ink);
  background: transparent;
}

.language-link:hover, .menu-toggle:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.site-nav .nav-contact { gap: .65rem; padding-inline: 1.1rem; background: var(--accent-ink); color: #fff; border-radius: 2rem; }
.site-nav .nav-contact:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; }

.hero, .section[id^="ws-block-cover-with-"] {
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--night-line) calc(25% - 1px) 25%) center / min(83.2%, 75rem) 100% no-repeat var(--night);
}

.hero-layout, .section[id^="ws-block-cover-with-"] > .shell > .card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 3vw, 2rem);
}

.hero { padding-block: clamp(2.75rem, 6vw, 5rem) var(--section-space); }
.hero-layout.hero-centered { grid-template-columns: minmax(0, 1fr); }
.hero-copy, .hero-image { min-width: 0; }
.hero-copy .prose, .section[id^="ws-block-cover-with-"] .prose { color: var(--night-muted); }

.hero-copy h1, .section[id^="ws-block-cover-with-"] .prose > :is(h1, h2, h3) {
  color: var(--night-text);
  font-family: var(--display-font);
  font-size: clamp(2rem, 1.35rem + 3.15vw, 4rem);
  font-weight: 700;
  line-height: 1.286;
}

.hero-copy h1 :is(i, em), .section[id^="ws-block-cover-with-"] .prose > :is(h1, h2, h3) :is(i, em) {
  color: inherit;
  font-weight: inherit;
}

.hero-copy h1 + :is(p, h5), .section[id^="ws-block-cover-with-"] .prose > :is(h1, h2, h3) + :is(p, h5) {
  margin-block-start: 1.4rem;
}

.hero-copy p, .section[id^="ws-block-cover-with-"] .prose > :is(p, h5) { font-size: clamp(1rem, 0.93rem + 0.32vw, 1.125rem); }
.hero-copy .actions, .section[id^="ws-block-cover-with-"] .actions { margin-block-start: 1.85rem; }
.hero-image { position: relative; }

.hero-image:has(> figure:only-child), .section[id^="ws-block-cover-with-"] .column > figure {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 31rem;
  padding: 0.9rem 0.9rem 0 0;
  justify-self: end;
}

.hero-image:has(> figure:only-child)::before, .section[id^="ws-block-cover-with-"] .column > figure::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0.95rem 0.95rem;
  border: 1px solid var(--accent);
  border-radius: 0.24rem;
}

.hero-image > figure:only-child img, .section[id^="ws-block-cover-with-"] .column > figure img {
  width: 100%;
  aspect-ratio: 1 / 1.09;
  object-fit: cover;
  object-position: 50% 37%;
  border-radius: 0.24rem;
  background: var(--night-deep);
}

.hero[id^="ws-block-cover-with-tablet-"] { padding-block-start: 0; }
.hero[id^="ws-block-cover-with-tablet-"] .hero-layout { align-items: start; }

.hero[id^="ws-block-cover-with-tablet-"] .hero-image:has(> figure:only-child) {
  max-width: 30.4375rem;
  padding: 4.3% 4.3% 5.2%;
  border: 1px solid #565653;
  border-radius: clamp(0.9rem, 2.7vw, 2.25rem);
  background: #292b29;
}

.hero[id^="ws-block-cover-with-tablet-"] .hero-image::before {
  inset: 0.55rem auto auto 50%;
  inline-size: 0.28rem;
  block-size: 0.28rem;
  border: 0;
  border-radius: 50%;
  background: #121716;
}

.hero[id^="ws-block-cover-with-tablet-"] .hero-image img {
  aspect-ratio: 0.785;
  object-position: center;
  border-radius: 0.8rem;
}

.hero.hero-portrait {
  padding-block-start: clamp(2rem, 4.3vw, 4rem);
  background-image:
    radial-gradient(ellipse at 79% 19%, hsl(194 70% 34% / 0.24), transparent 43%),
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--night-line) calc(25% - 1px) 25%);
  background-size: 100% 100%, min(83.2%, 75rem) 100%;
}

.hero-portrait .hero-layout {
  grid-template:
    "intro portrait" auto
    "notes portrait" 1fr
    "gallery gallery" auto / minmax(0, 1.16fr) minmax(0, 0.84fr);
  align-items: start;
  column-gap: clamp(2rem, 6vw, 5.4rem);
  row-gap: clamp(1.6rem, 3.5vw, 3rem);
}

.hero-portrait .hero-copy { grid-area: intro; }

.hero-portrait .hero-copy h1 {
  font-size: clamp(1.9rem, 1.17rem + 2.65vw, 3.5rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.hero-portrait .hero-copy h1 :is(i, em) { color: #a4e8f1; }
.hero-portrait .hero-copy .actions { gap: 0.7rem; }

.opening-portrait {
  position: relative;
  grid-area: portrait;
  justify-self: end;
  width: min(100%, 28rem);
  padding: clamp(0.45rem, 1.05vw, 0.95rem);
  border: 1px solid #45687a;
  border-radius: 1.45rem;
  background: #132b3d;
  box-shadow: 0 1.5rem 4rem #0610177a;
}

.opening-portrait img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 0.85rem;
}

.hero-notes {
  grid-area: notes;
  max-width: 65ch;
  padding-block-start: 1rem;
  border-block-start: 1px solid #345565;
  color: var(--night-muted);
}

.hero-notes p { font-size: 0.98rem; }
.hero-notes strong, .hero-notes b { color: var(--night-text); }

.hero-portrait .hero-image {
  grid-area: gallery;
  padding-block-start: clamp(0.9rem, 3vw, 2rem);
  border-block-start: 1px solid #345565;
}

.hero-portrait .image-strip {
  grid-auto-columns: clamp(15rem, 25vw, 21.25rem);
  gap: 0.7rem clamp(1rem, 2vw, 1.75rem);
}

.hero-portrait .image-strip img { aspect-ratio: 1.29; border-radius: 0.65rem; }

.hero-image:has(> figure:nth-of-type(2)) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: start;
}

.hero-image > figure:nth-last-of-type(3) { grid-column: 1 / -1; }

.carousel, .image-strip { position: relative; }

.image-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  grid-template-rows: auto auto;
  gap: 0.65rem 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--night-line) transparent;
}

.image-strip > figure { scroll-snap-align: start; }
.image-strip > .prose { padding-inline: 0.15rem; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 0.5rem; margin-block-start: 0.75rem; }

.hero-image:has(> figure:nth-of-type(2)) img, .image-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.24rem;
}

.image-strip > .prose, .hero-extra .prose { color: var(--night-muted); font-size: 0.9rem; }

.hero-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2rem;
  margin-block-start: clamp(2rem, 5vw, 4rem);
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--night-line);
}

.hero-extra h5 { font-size: inherit; }
.hero-extra > :only-child { max-width: 65ch; }

.section { padding-block: var(--section-space); }
.section + .section { border-block-start: 1px solid var(--line); }
.section + .section[id^="ws-block-cover-with-"] { border-color: var(--night-line); }
.section > .shell > * + * { margin-block-start: clamp(1.4rem, 3.5vw, 2.5rem); }
.section > .shell > .prose, .section > .shell > .single-column > .column > .prose { max-width: 69ch; }
.section-article > .shell { max-width: 48rem; }
.section-article > .shell > .prose { max-width: none; }
.section-article .prose > :is(h1, h2):first-child { font-size: clamp(2.5rem, 1.92rem + 2.6vw, 4.6rem); }
.section-article .prose > :is(h2, h3, h4):not(:first-child) { margin-block-start: 2.5rem; }
.section-article .prose > figure { max-width: 17rem; }

.section-feature, .section:is([id^="ws-block-testimonials-"], [id^="ws-block-about-splitscreen-"]) { background: var(--paper); }
.section.section-white { background-color: var(--canvas); }
.section.section-light, .hero.section-light { background-color: var(--paper); }
.section:is(.section-dark, .section-dark-muted) {
  --ink: var(--night-text);
  --muted: var(--night-muted);
  --paper: var(--night-deep);
  --line: var(--night-line);
  --link: var(--accent);
  --focus: var(--accent);
  color: var(--night-text);
  background-color: var(--night);
}
.section.section-dark-muted { background-color: hsl(211 41% 17%); }

.hero.section-light {
  --night-text: var(--ink);
  --night-muted: var(--muted);
  --night-line: var(--line);
  --link: var(--accent-ink);
  --focus: var(--accent-ink);
}

.hero.section-light .button { color: white; background: var(--accent-ink); border-color: var(--accent-ink); }
.hero.section-light .actions > .button ~ .button { color: var(--ink); background: transparent; }
.section-feature > .shell > figure img { border-radius: 0.3rem; }
.section-feature:not(:has(figure)) .shell { max-width: 65rem; }
.section-feature:not(:has(figure)) .shell > .prose { max-width: 68ch; }
.section:has(> .shell:empty) { display: none; }

.prose > * + * { margin-block-start: 0.9em; }
.prose > :is(h2, h3, h4) + * { margin-block-start: 0.78rem; }
.prose > :is(h1, h2, h3, h4, h5, h6, p):empty { display: none; }
.prose > p, .prose li, .prose > dd, .prose > h5:not(:first-child) { overflow-wrap: anywhere; }
.prose :is(ul, ol) { padding-inline-start: 1.45rem; }
.prose li + li { margin-block-start: 0.35rem; }
.prose h5:not(:first-child) { color: var(--muted); font-weight: 450; line-height: 1.6; }
.hero .prose h5:not(:first-child), .section[id^="ws-block-cover-with-"] .prose h5:not(:first-child) { color: var(--night-muted); }
.prose dt { font-weight: 650; }
.prose dd { margin-inline-start: 1.45rem; }

.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose :is(td, th) { padding: 0.45rem 0.7rem; text-align: start; border: 1px solid var(--line); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }

.button {
  display: inline-block;
  max-width: 100%;
  min-height: 2.875rem;
  padding: 0.72rem 1.02rem;
  border: 2px solid var(--accent-ink);
  border-radius: 1.875rem;
  color: var(--night-text);
  background: var(--accent-ink);
  font: 500 0.94rem/1.4 var(--display-font);
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.button:hover { border-color: var(--night); background: var(--night); }
.actions > .button ~ .button { color: var(--ink); background: transparent; }
.actions > .button ~ .button:hover { color: var(--accent-ink); border-color: var(--accent-ink); }

.hero .button, .section[id^="ws-block-cover-with-"] .button {
  color: var(--night-deep);
  border-color: var(--accent);
  background: var(--accent);
}

.hero .button:hover, .section[id^="ws-block-cover-with-"] .button:hover { border-color: var(--night-text); background: var(--night-text); }
.hero .actions > .button ~ .button, .section[id^="ws-block-cover-with-"] .actions > .button ~ .button {
  color: var(--night-text);
  border-color: var(--accent);
  background: transparent;
}

.hero .actions > .button ~ .button:hover, .section[id^="ws-block-cover-with-"] .actions > .button ~ .button:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1rem, 2.25vw, 1.75rem);
}

.column { min-width: 0; }
.column > * + * { margin-block-start: 1.25rem; }
.card-grid .column > .catalog-card:only-child { height: 100%; }

.catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.36rem;
  background: var(--paper);
}

.catalog-card > figure { padding: 0.65rem 0.65rem 0; }
.catalog-card > figure a { display: block; border-radius: 0.2rem; }

.catalog-card > figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.2rem;
  background: var(--line);
}

.catalog-card > .prose {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.catalog-card .prose > :is(h2, h3, h4, h5, h6):first-child {
  color: var(--ink);
  font: 650 1.22rem/1.25 var(--body-font);
  letter-spacing: -0.035em;
}

.catalog-card .prose > :last-child:has(a) { margin-block-start: auto; padding-block-start: 0.95rem; }
.catalog-card .prose > :first-child:last-child:has(a) { padding-block-start: 0; }
.catalog-card .prose > :last-child a { display: inline-block; min-height: 1.5rem; font-weight: 650; }
.catalog-card .prose > p > b:only-child { font-weight: inherit; }
.catalog-card:has(> figure a:hover, > .prose a:focus-visible) { border-color: var(--accent-ink); }
.section-white .catalog-card:has(> figure), .section-light .catalog-card:has(> figure) {
  border-radius: 0.8rem;
  box-shadow: 0 0.55rem 1.45rem #0d1f3011;
}
.catalog-card blockquote { order: -1; margin-block-start: 0; color: var(--ink); font: 400 1.42rem/1.3 var(--display-font); }
.catalog-card blockquote + p, .catalog-card .prose > p:has(+ blockquote) { margin-block-start: 0.8rem; }
.catalog-card blockquote::before { content: open-quote; }
.catalog-card blockquote::after { content: close-quote; }
.catalog-card .event-date { color: var(--accent-ink); font-variant-numeric: tabular-nums; }

.section[id^="ws-block-cover-with-"] .catalog-card { border-color: var(--night-line); background: var(--night-deep); }
.section[id^="ws-block-cover-with-"] .catalog-card .prose > :is(h3, h4, h5, h6):first-child { color: var(--night-text); }

.section[id^="ws-block-about-splitscreen-"] > .shell:has(> figure),
.section[id^="ws-block-team-member-"] > .shell > .card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5.75vw, 5rem);
  align-items: center;
}

.section[id^="ws-block-about-splitscreen-"] > .shell:has(> figure) > * { margin-block-start: 0; }
.section[id^="ws-block-about-splitscreen-"] > .shell > .prose { grid-area: 1 / 1; }
.section[id^="ws-block-about-splitscreen-"] > .shell > figure {
  position: relative;
  grid-area: 1 / 2;
  aspect-ratio: 1.310659;
  overflow: hidden;
}

.section[id^="ws-block-about-splitscreen-"] .shell > figure img,
.section[id^="ws-block-team-member-"] .column > figure img { width: 100%; border-radius: 0.36rem; }
.section[id^="ws-block-about-splitscreen-"] > .shell > figure img {
  position: absolute;
  inset-inline-start: 28.01%;
  inset-block-start: 50%;
  width: 55%;
  transform: translate(-50%, -50%);
}

#ws-block-about-splitscreen-with-media-jQxfCrlt > .shell > figure { aspect-ratio: 1.157993; }
.section[id^="ws-block-about-splitscreen-"] .actions { grid-column: 1; }
.section[id^="ws-block-contacts-"] .shell > p a { font-size: clamp(1rem, 0.8rem + 1.15vw, 1.5rem); }
.section[id^="ws-block-counters-"] .card-grid :is(h2, h3, h4) { font-variant-numeric: tabular-nums; }

.embed { width: 100%; }
.embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 0.36rem;
  background: var(--paper);
}

.embed p { margin-block-start: 0.65rem; }

.social-links ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links a, .page-links a, .footer-nav a, .footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.3rem;
  padding-block: 1.35rem;
  border-block-start: 1px solid var(--line);
}

.page-links a { font-size: 0.91rem; font-weight: 600; }
.site-footer { background: var(--night-deep); }

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem clamp(1.5rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 6vw, 4.75rem) 1.25rem;
}

.footer-brand { max-width: 40ch; }
.footer-brand > * + * { margin-block-start: 0.65rem; }
.footer-brand > a:not(.brand) { display: inline-flex; align-items: center; min-height: 2.75rem; color: #d3e9df; }
.footer-brand p, .footer-bottom { color: var(--night-muted); font-size: 0.9rem; }
.footer-nav, .footer-social { display: grid; justify-items: start; align-content: start; }
.footer-layout nav strong { font-size: .83rem; color: #adc6bf; margin-bottom: .5rem; }
.footer-social a span { color: #a6c4bb; padding-left: .3rem; }
.footer-nav a, .footer-social a { color: var(--night-text); font-size: 0.91rem; text-decoration: none; }
.footer-nav a:hover, .footer-social a:hover { color: var(--accent); text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  grid-column: 1 / -1;
  gap: 0.65rem 1.5rem;
  padding-block: 1.05rem 0.2rem;
  border-block-start: 1px solid var(--night-line);
}
.footer-bottom span { margin-right: auto; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #c6dad4; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.85rem;
}

.gallery :is(button, a) { display: block; width: 100%; padding: 0; border: 0; border-radius: 0.3rem; background: transparent; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: inherit; background: var(--line); }
.gallery :is(button, a):hover img { filter: brightness(0.85); }

.gallery-dialog {
  --focus: var(--accent);
  width: min(calc(100% - 2rem), 60rem);
  max-height: calc(100dvh - 2rem);
  padding: 1rem;
  border: 1px solid var(--night-line);
  border-radius: 0.36rem;
  color: var(--night-text);
  background: var(--night-deep);
}

.gallery-dialog::backdrop { background: #080e15d9; }
.gallery-dialog[open] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "close close close" "previous image next";
  align-items: center;
  gap: 0.65rem;
}

.gallery-dialog img { grid-area: image; width: 100%; max-height: 68dvh; object-fit: contain; }

:is(.carousel-controls, .gallery-dialog) button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--night-line);
  border-radius: 0.25rem;
  color: var(--night-text);
  background: transparent;
}

:is(.carousel-controls, .gallery-dialog) button:hover { color: var(--accent); border-color: var(--accent); }
.gallery-close { grid-area: close; justify-self: end; }
.gallery-previous { grid-area: previous; justify-self: start; }
.gallery-next { grid-area: next; justify-self: end; }

.faq-item { max-width: 52rem; border-block-end: 1px solid var(--line); }
.faq-item:first-of-type { border-block-start: 1px solid var(--line); }
.section > .shell > .faq-item + .faq-item { margin-block-start: 0; }

.faq-item > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.75rem;
  padding-block: 1rem;
  font-weight: 650;
  list-style: none;
  overflow-wrap: anywhere;
}

.faq-item > summary::after { inline-size: 0.5rem; block-size: 0.5rem; color: var(--accent-ink); }
.faq-item > :not(summary) { color: var(--muted); margin-block: 0 1.1rem; }

.editorial-page {
  --editorial-serif: Georgia, 'Times New Roman', serif;
  --editorial-space: clamp(2.75rem, 6.1vw, 5.75rem);
  color: var(--ink);
  background: var(--canvas);
}

.editorial-page :is(h1, h2, h3) {
  font-family: var(--editorial-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.editorial-page h1 { font-size: clamp(2.65rem, 1.4rem + 4.8vw, 5.65rem); }
.editorial-page h2 { font-size: clamp(1.85rem, 1.35rem + 2.1vw, 3.25rem); }
.editorial-page h3 { font-size: clamp(1.35rem, 1.2rem + .65vw, 1.8rem); }
.editorial-section { padding-block: var(--editorial-space); }
.editorial-section + .editorial-section { border-block-start: 1px solid var(--line); }
.editorial-section > .shell:not(.editorial-grid) > h2 + * { margin-block-start: 1.5rem; }
.editorial-section :is(.prose, .editorial-list, .editorial-formats) { max-width: 66ch; }

.editorial-intro { background: var(--paper); }
.editorial-intro .editorial-grid { align-items: center; }
.editorial-intro .editorial-reading { padding-block: clamp(.3rem, 1.6vw, 1.5rem); }
.editorial-lead { max-width: 51rem; }
.editorial-lead > p { max-width: 58ch; }
.editorial-lead > h1 + p {
  margin-block-start: clamp(1rem, 2.2vw, 1.5rem);
  color: var(--muted);
  font-size: clamp(1.02rem, .96rem + .4vw, 1.22rem);
  line-height: 1.65;
}
.editorial-lead .editorial-meta { margin-block-end: .85rem; color: var(--accent-ink); font-weight: 650; }
.editorial-date { margin-block-start: .85rem; color: var(--muted); }

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
}
.editorial-index { grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); align-items: start; }
.editorial-index > h2 { max-width: 16ch; }
.editorial-profile { align-items: center; }
.editorial-media { justify-self: end; width: 100%; max-width: 34rem; overflow: hidden; }
.editorial-media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.editorial-brand-image img { aspect-ratio: auto; }
.editorial-portrait { max-width: 26rem; }
.editorial-portrait img { aspect-ratio: 4 / 4.45; object-position: 50% 33%; }
.editorial-profile .editorial-portrait { max-width: 18rem; }

.editorial-panel { background: #e5eee8; }
.editorial-outro { background: var(--paper); }
.editorial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1.4rem;
  margin-block-start: 1.15rem;
}
.editorial-actions a, .editorial-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 650;
  line-height: 1.4;
}
.editorial-button {
  max-width: 100%;
  padding: .65rem 1rem;
  border: 1px solid var(--accent-ink);
  color: var(--paper);
  background: var(--accent-ink);
  text-decoration: none;
}
.editorial-button:hover { background: var(--ink); border-color: var(--ink); }

.editorial-list > div, .editorial-formats > section {
  padding-block: 1.05rem;
  border-block-start: 1px solid var(--line);
}
.editorial-list > div:last-child, .editorial-formats > section:last-child { border-block-end: 1px solid var(--line); }
.editorial-list h3 + p, .editorial-formats h3 + p { margin-block-start: .5rem; color: var(--muted); }
.editorial-formats .editorial-actions { margin-block-start: .4rem; }
.editorial-price strong { color: var(--accent-ink); font: 400 2.25rem/1.08 var(--editorial-serif); }
.editorial-page .faq-item > summary:hover { color: var(--accent-ink); }
.editorial-page .gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.editorial-gallery .gallery img { object-fit: contain; border: 1px solid var(--line); background: var(--paper); }

.editorial-document > .shell { max-width: 47rem; }
.editorial-document h1 { font-size: clamp(2.5rem, 1.75rem + 3.6vw, 4.6rem); }
.editorial-document .prose > figure { max-width: 15rem; }
.editorial-document .prose > h2 { margin-block-start: 2.5rem; font-size: clamp(1.35rem, 1.2rem + .65vw, 1.85rem); }
.editorial-toc { padding: clamp(.85rem, 2.75vw, 1.5rem); background: #e5eee8; }
.editorial-toc ol { display: grid; gap: 0 1.5rem; list-style: none; padding: 0; }
.editorial-toc li + li { margin: 0; }

@media (min-width: 38rem) {
  .editorial-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47.5rem) {
  .editorial-grid { grid-template-columns: minmax(0, 1fr); }
  .editorial-media { justify-self: start; }
  .editorial-intro .editorial-portrait img { aspect-ratio: 4 / 3; object-position: 50% 23%; }
  .editorial-index > h2 { max-width: none; }
  .editorial-page .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .header-layout { min-height: 4.45rem; flex-wrap: wrap; gap: 0.7rem; padding-block: 0.8rem; }
  .brand-mark { inline-size: 2.4rem; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .site-nav { order: 1; flex: 0 0 100%; flex-wrap: wrap; gap: 0 1rem; }
  .has-js .site-nav:not(.is-open) { display: none; }
  .site-nav.is-open {
    display: grid;
    padding-block-start: 0.45rem;
    border-block-start: 1px solid var(--line);
    grid-template-columns: minmax(0, 1fr);
  }
  .nav-flyout { position: static; inline-size: 100%; max-inline-size: none; box-shadow: none; }
  .site-nav .language-link { justify-self: start; margin-block: 0.35rem; }
  .site-nav .nav-contact { justify-self: start; margin-block: .3rem; }
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 44rem) {
  .hero-layout, .section[id^="ws-block-cover-with-"] > .shell > .card-grid,
  .section[id^="ws-block-about-splitscreen-"] > .shell:has(> figure),
  .section[id^="ws-block-team-member-"] > .shell > .card-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-image:has(> figure:only-child), .section[id^="ws-block-cover-with-"] .column > figure { justify-self: start; }
  .section[id^="ws-block-about-splitscreen-"] > .shell > :is(.prose, figure) { grid-area: auto; }
  .section[id^="ws-block-about-splitscreen-"] > .shell > figure { max-width: 28rem; }
  .section[id^="ws-block-about-splitscreen-"] .actions { grid-column: 1; }
}

@media (max-width: 54rem) {
  .hero-portrait .hero-layout { grid-template: "intro" "portrait" "notes" "gallery" / minmax(0, 1fr); }
  .opening-portrait { justify-self: start; width: min(100%, 26rem); }
}

@media (max-width: 28rem) {
  .header-layout { gap: 0.45rem; }
  .brand { font-size: 1.3rem; gap: .5rem; }
  .brand-mark { inline-size: 2.2rem; }
  .language-link, .menu-toggle { padding-inline: 0.55rem; font-size: 0.82rem; }
  .hero:not([id^="ws-block-cover-with-tablet-"]) .hero-image:has(> figure:only-child), .section[id^="ws-block-cover-with-"] .column > figure { padding-inline-end: 0.65rem; padding-block-start: 0.65rem; }
  .hero-portrait .hero-copy .button { padding-inline: 0.85rem; font-size: 0.82rem; }
  .footer-layout { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem .85rem; }
  .footer-social { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 0 .9rem; }
  .footer-social strong { flex-basis: 100%; }
  .footer-bottom { gap: .15rem .85rem; }
  .footer-bottom span { flex-basis: 100%; }
  .gallery-dialog[open] { grid-template-columns: 1fr 1fr; grid-template-areas: "close close" "image image" "previous next"; }
}

@media (max-width: 22rem) {
  .site-header .brand { font-size: 1.1rem; gap: .4rem; }
  .site-header .brand-mark { inline-size: 1.85rem; }
}

.landing-cover .hero-copy .prose { max-width: 54ch; }
.landing-cover .hero-image:has(> figure:only-child) { max-width: 28rem; }

.landing-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1.4rem, 4vw, 3rem);
}

.landing-benefits > article { padding-block-start: 1.15rem; border-block-start: 1px solid var(--line); }
.landing-benefits p, .landing-cta p { color: var(--muted); }

@media (width > 44rem) {
  .landing-cover .hero-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .landing-cta > .shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 2rem;
    align-items: center;
  }

  .landing-cta > .shell > .actions { margin-block-start: 0; }
}

:where(html:not(.studio-editing)) .effect-hover-outline:focus-visible,
:where(html:not(.studio-editing)) .effect-hover-lift:focus-visible { box-shadow: 0 0 0 .125rem var(--focus); }

@media (hover: hover) {
  :where(html:not(.studio-editing)) .effect-hover-outline:hover,
  :where(html:not(.studio-editing)) .effect-hover-lift:hover { box-shadow: 0 0 0 .125rem var(--focus); }
}

@media (prefers-reduced-motion: no-preference) {
  :where(html:not(.studio-editing)) .effect-enter-fade { animation: effect-enter-fade 420ms ease-out; }
  :where(html:not(.studio-editing)) .effect-enter-rise { animation: effect-enter-rise 420ms ease-out; }
  :where(html:not(.studio-editing)) .effect-hover-lift { transition: translate 160ms ease-out; }
  :where(html:not(.studio-editing)) .effect-hover-lift:focus-visible { translate: 0 -.2rem; }

  @media (hover: hover) {
    :where(html:not(.studio-editing)) .effect-hover-lift:hover { translate: 0 -.2rem; }
  }

  @keyframes effect-enter-fade { from { opacity: .7; } }
  @keyframes effect-enter-rise { from { opacity: .7; transform: translateY(.6rem); } }
}
