/* Base styles. Every value comes from the design system variables (see design-system/design.md). */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: var(--weight-normal);
  font-size: var(--text-base);
  line-height: var(--leading-base);
  color: var(--color-foreground);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.tone-dark {
  background: var(--color-night);
}
:lang(en) {
  line-height: var(--leading-en);
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: var(--weight-heading);
  line-height: var(--leading-tight);
}

a {
  color: inherit;
  text-decoration: none;
}
img,
svg,
iframe {
  display: block;
  max-width: 100%;
}
svg {
  flex-shrink: 0;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
}
button {
  cursor: pointer;
}
ul,
ol {
  list-style: none;
}

/* Fonts. Headings, names and numbers are set in the serif (--font-heading); body copy in --font-sans. */
.serif {
  font-family: var(--font-heading);
}
.balance {
  text-wrap: balance;
}

/* The page gutters. Sections sit inside one of them unless they are full-bleed. */
.gutter {
  padding-inline: var(--page-gutter);
}
.gutter-wide {
  padding-inline: var(--page-gutter-wide);
}
@media (min-width: 768px) {
  .gutter {
    padding-inline: var(--page-gutter-md);
  }
  .gutter-wide {
    padding-inline: var(--page-gutter-wide-md);
  }
}
@media (min-width: 1024px) {
  .gutter {
    padding-inline: var(--page-gutter-lg);
  }
  .gutter-wide {
    padding-inline: var(--page-gutter-wide-lg);
  }
}

/* An inner page's column: clears the header and leaves room above the footer. */
.page-shell {
  padding-top: var(--page-padding-top);
  padding-bottom: var(--page-padding-bottom);
}

/* Centered content widths (layout tokens). */
.container {
  max-width: var(--layout-container);
  margin-inline: auto;
}
.container-wide {
  max-width: var(--layout-wide);
  margin-inline: auto;
}
.container-medium {
  max-width: var(--layout-medium);
  margin-inline: auto;
}
.container-content {
  max-width: var(--layout-content-width);
  margin-inline: auto;
}
.container-narrow {
  max-width: var(--layout-narrow);
  margin-inline: auto;
}

/* A section heading: serif, centered, one step larger per breakpoint. */
.section-title {
  font-family: var(--font-heading);
  font-size: var(--section-title-font-size);
  text-align: center;
}
@media (min-width: 768px) {
  .section-title {
    font-size: var(--section-title-font-size-md);
  }
}
@media (min-width: 1024px) {
  .section-title {
    font-size: var(--section-title-font-size-lg);
  }
}

/* A small spaced-out label above a heading ("GALLERY", "CONCEPT"). */
.eyebrow {
  font-size: var(--eyebrow-font-size);
  letter-spacing: var(--eyebrow-letter-spacing);
  color: var(--eyebrow-color);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Scroll reveal entrances. data-reveal="left" / "right" slides in from that side. */
[data-reveal] {
  transition:
    opacity var(--reveal-duration) var(--reveal-easing),
    transform var(--reveal-duration) var(--reveal-easing);
}
[data-reveal]:not(.is-revealed) {
  opacity: 0;
}
[data-reveal="left"]:not(.is-revealed) {
  transform: translateX(calc(-1 * var(--reveal-distance)));
}
[data-reveal="right"]:not(.is-revealed) {
  transform: translateX(var(--reveal-distance));
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transition: none;
  }
}

/* ---------- header (Header) ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: var(--header-padding-y) var(--header-padding-x);
  line-height: var(--header-line-height);
  border-bottom: var(--border-width-thin) solid var(--header-border-color);
  background: var(--header-background);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__icon-sm {
  width: var(--space-4);
  height: var(--space-4);
}
.header__icon-md {
  width: var(--space-5);
  height: var(--space-5);
}
.header__icon-lg {
  width: var(--space-6);
  height: var(--space-6);
}

.header__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--header-logo-font-size);
  line-height: var(--header-logo-line-height);
  letter-spacing: var(--tracking-wide);
  color: var(--header-color);
}
.header__logo-mark {
  width: var(--header-logo-size);
  height: var(--header-logo-size);
  overflow: hidden;
  border: var(--border-width-thin) solid var(--header-logo-border-color);
  border-radius: var(--radius-full);
}
.header__logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header__logo-full {
  display: none;
}

.header__desktop {
  display: none;
  align-items: center;
  gap: var(--header-gap);
}
.header__nav-link {
  font-size: var(--header-font-size);
  font-weight: var(--weight-medium);
  color: var(--header-link-color);
  transition: color var(--duration-fast) var(--ease-standard);
}
.header__nav-link:hover,
.header__social:hover,
.header__switch:hover {
  color: var(--header-link-hover-color);
}
.header__book {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-primary);
  font-size: var(--header-font-size);
  font-weight: var(--weight-medium);
  color: var(--color-primary-foreground);
  transition: background var(--duration-fast) var(--ease-standard);
}
.header__book:hover {
  background: var(--color-primary-hover);
}
.header__book.pill {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  color: var(--color-light);
}
.header__book.pill:hover {
  background: var(--color-primary-soft);
}
.header__social {
  color: var(--header-icon-color);
  transition: color var(--duration-fast) var(--ease-standard);
}
.header__switch {
  padding: var(--space-1) var(--space-2);
  border: var(--border-width-thin) solid var(--color-light-ghost);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  line-height: var(--header-switch-line-height);
  color: var(--header-icon-color);
  transition: color var(--duration-fast) var(--ease-standard);
}

.header__mobile-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.header__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-10);
  height: var(--space-10);
  border-radius: var(--radius-md);
  color: var(--header-link-color);
  transition:
    color var(--duration-fast) var(--ease-standard),
    background var(--duration-fast) var(--ease-standard);
}
.header__icon-button:hover {
  color: var(--header-link-hover-color);
}
a.header__icon-button:hover {
  background: var(--color-light-hairline);
}
.header__when-open,
.is-open .header__when-closed {
  display: none;
}
.is-open .header__when-open {
  display: block;
}

.header__menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height var(--duration-base) var(--ease-menu),
    opacity var(--duration-base) var(--ease-menu);
}
.is-open .header__menu {
  max-height: var(--header-menu-max-height);
  opacity: 1;
}
.header__menu-inner {
  margin-top: var(--space-4);
  border-top: var(--border-width-thin) solid var(--header-border-color);
  background: var(--header-menu-background);
  backdrop-filter: blur(var(--header-menu-blur));
}
.header__menu-link {
  display: block;
  padding: var(--space-4) var(--space-2);
  border-bottom: var(--border-width-thin) solid var(--header-border-color);
  font-size: var(--header-font-size);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--header-menu-item-color);
}
.header__menu-book {
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}
.header__menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-2);
}
.header__menu-social {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.header__menu-social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--header-font-size);
  color: var(--color-light-body);
}
.header__menu .header__switch {
  color: var(--color-light-body);
}

@media (min-width: 768px) {
  .header {
    padding: var(--header-padding-y-md) var(--header-padding-x-md);
  }
  .header__logo {
    gap: var(--space-3);
    font-size: var(--header-logo-font-size-md);
    line-height: var(--header-logo-line-height-md);
  }
  .header__logo-mark {
    width: var(--header-logo-size-md);
    height: var(--header-logo-size-md);
  }
  .header__logo-full {
    display: inline;
  }
  .header__logo-short,
 .header__mobile-actions,
 .header__menu {
    display: none;
  }
  .header__desktop {
    display: flex;
  }
}

/* ---------- footer (Footer) ---------- */
.footer {
  padding-block: var(--footer-padding-y);
  background: var(--footer-background);
  color: var(--footer-color);
}

.footer__columns {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer__name {
  margin-bottom: var(--space-6);
  font-size: var(--text-2xl);
}
.footer__details {
  display: grid;
  gap: var(--space-4);
}
.footer__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.footer__detail-icon {
  width: var(--space-5);
  height: var(--space-5);
  margin-top: var(--space-half);
  color: var(--footer-icon-color);
}
.footer__label {
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
  color: var(--footer-label-color);
}
.footer__value {
  font-size: var(--text-sm);
  color: var(--footer-text-color);
}
.footer__address {
  transition: color var(--duration-fast) var(--ease-standard);
}
.footer__address:hover {
  color: var(--footer-link-hover-color);
}

.footer__map {
  width: 100%;
  height: var(--footer-map-height);
  overflow: hidden;
}
.footer__map iframe {
  min-height: var(--footer-map-height);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: var(--border-width-thin) solid var(--footer-border-color);
}
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.footer__copyright-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.footer__copyright,
.footer__link {
  font-size: var(--text-xs);
  color: var(--footer-link-color);
}
.footer__link {
  transition: color var(--duration-fast) var(--ease-standard);
}
.footer__link:hover {
  color: var(--footer-link-hover-color);
}
.footer__with-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.footer__small-icon {
  width: var(--space-3);
  height: var(--space-3);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

/* The English footer is set a size larger and a shade brighter. */
.en .footer__label,
.en .footer__copyright,
.en .footer__link {
  color: var(--color-light-body);
}
.en .footer__copyright,
.en .footer__link {
  font-size: var(--text-sm);
  color: var(--color-light-muted);
}
.en .footer__value {
  font-size: var(--text-base);
  color: var(--footer-color);
}
.en .footer__map {
  border-radius: var(--radius-lg);
}
.en .footer__bottom {
  border-top-color: var(--color-light-border);
}
.en .footer__booking {
  font-weight: var(--weight-medium);
}
.en .footer__link:hover {
  color: var(--footer-link-hover-color);
}

@media (min-width: 768px) {
  .footer__columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__map {
    height: auto;
  }
  .footer__map iframe {
    height: 100%;
  }
  .footer__bottom-inner {
    flex-direction: row;
  }
  .footer__links {
    justify-content: flex-end;
  }
  .en .footer__links {
    gap: var(--space-6);
  }
}

/* ---------- button (Button) ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  padding: var(--button-padding-y) var(--button-padding-x);
  border-radius: var(--button-radius);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  white-space: nowrap;
  transition:
    background var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
}
.button.lg {
  padding: var(--space-4) var(--space-8);
}
.button.xl {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
}

.button.primary {
  background: var(--button-primary-background);
  color: var(--button-primary-color);
}
.button.primary:hover {
  background: var(--button-primary-hover-background);
}
.button.outline {
  border: var(--border-width-thin) solid var(--button-outline-color);
  color: var(--button-outline-color);
}
.button.outline:hover {
  background: var(--button-outline-hover-background);
}
.button.outline-strong {
  border: var(--border-width-medium) solid var(--color-light-ghost);
  color: var(--button-outline-color);
}
.button.outline-strong:hover {
  border-color: var(--color-light-muted);
}
.button.night {
  background: var(--color-night);
  color: var(--color-light);
}
.button.night:hover {
  background: var(--color-night-soft);
}
.button.dark {
  background: var(--button-dark-background);
  color: var(--button-dark-color);
}
.button.dark:hover {
  background: var(--button-dark-hover-background);
}

.button svg {
  width: var(--space-4);
  height: var(--space-4);
}

/* ---------- hero (Hero) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--hero-min-height);
  overflow: hidden;
  background: var(--hero-background);
}
.hero__background {
  position: absolute;
  inset: 0;
  background: url("../images/2026-01-16.webp") center / cover no-repeat;
}
.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--layout-medium);
  margin-inline: auto;
  padding-block: var(--space-24);
  text-align: center;
  color: var(--color-light);
}
.hero__title {
  margin-bottom: var(--space-6);
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
}
.hero__line {
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}
.hero__line.last {
  margin-bottom: var(--space-10);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .hero {
    min-height: var(--hero-min-height-md);
  }
  .hero__background {
    background-size: contain;
  }
  .hero__title {
    font-size: var(--text-4xl);
  }
  .hero__line {
    font-size: var(--text-base);
  }
}
@media (min-width: 1024px) {
  .hero {
    min-height: var(--hero-min-height-lg);
  }
  .hero__title {
    font-size: var(--text-5xl);
  }
}

/* ---------- home-gallery (GallerySection) ---------- */
.home-gallery {
  padding-block: var(--space-24);
  background: var(--color-night);
}
.home-gallery__heading {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}
.home-gallery__heading h2 {
  line-height: inherit;
}
.home-gallery__rule {
  flex: 1;
  height: var(--border-width-thin);
  background: var(--color-light-border);
}

.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.home-gallery__cell {
  aspect-ratio: 1;
  overflow: hidden;
}
.home-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-standard);
}
.home-gallery__cell img:hover {
  transform: scale(var(--gallery-hover-scale));
}

.home-gallery__more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-12);
}
.home-gallery__view-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  color: var(--color-light);
}
.home-gallery__view-more-line {
  display: inline-block;
  width: var(--space-8);
  height: var(--border-width-thin);
  background: var(--color-primary);
  transition: width var(--duration-fast) var(--ease-standard);
}
.home-gallery__view-more:hover .home-gallery__view-more-line {
  width: var(--space-12);
}

@media (min-width: 768px) {
  .home-gallery {
    padding-block: var(--space-32);
  }
  .home-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }
}

/* ---------- staff (StaffSection) ---------- */
.staff {
  overflow: hidden;
  padding-block: var(--space-20);
  background: var(--color-night);
  color: var(--color-light);
}
.staff__section-title {
  margin-bottom: var(--space-16);
}
.staff__profile {
  display: grid;
  align-items: start;
  gap: var(--space-10);
}
.staff__photo {
  width: var(--staff-photo-width);
  height: var(--staff-photo-height);
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--staff-radius);
}
.staff__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff__name {
  margin-bottom: var(--space-6);
  font-size: var(--text-xl);
}
.staff__text {
  line-height: var(--leading-relaxed);
  color: var(--color-light-strong);
}
.staff__text + .staff__text {
  margin-top: var(--space-4);
}

@media (min-width: 768px) {
  .staff {
    padding-block: var(--space-28);
  }
  .staff__profile {
    grid-template-columns: var(--staff-photo-width-md) 1fr;
    gap: var(--space-14);
  }
  .staff__photo {
    width: var(--staff-photo-width-md);
    height: var(--staff-photo-height-md);
    margin-inline: 0;
  }
  .staff__name {
    font-size: var(--text-2xl);
  }
}

/* ---------- reservation (ReservationCta) ---------- */
.reservation {
  padding-block: var(--space-12);
  background: var(--color-night-raised);
  color: var(--color-light);
}
.reservation__row {
  display: grid;
  align-items: center;
  gap: var(--space-8);
}
.reservation__room {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.reservation__room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reservation__title {
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-wide);
}
.reservation__text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-light-muted);
}
.reservation__reserve {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) var(--space-10);
  background: var(--color-primary);
  text-align: center;
  transition: background var(--duration-fast) var(--ease-standard);
}
.reservation__reserve:hover {
  background: var(--color-primary-soft);
}
.reservation__reserve-ja {
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wider);
}
.reservation__reserve-en {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
}

@media (min-width: 768px) {
  .reservation {
    padding-block: var(--space-16);
  }
  .reservation__row {
    grid-template-columns: var(--reservation-image-column) 1fr auto;
  }
  .reservation__room {
    width: var(--reservation-image-size);
    aspect-ratio: 1;
  }
  .reservation__title {
    font-size: var(--text-xl);
  }
}

/* ---------- home-menu (MenuSection) ---------- */
.home-menu {
  padding-block: var(--space-20);
  background: var(--color-night);
  color: var(--color-light);
}
.home-menu__section-title {
  margin-bottom: var(--space-4);
}
.home-menu__note {
  margin-bottom: var(--space-12);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--color-light-subtle);
}
.home-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}
.home-menu__item {
  text-align: center;
}
.home-menu__name {
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
}
.home-menu__price {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--color-light-body);
}
.home-menu__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .home-menu__actions {
    flex-direction: row;
  }
}
@media (min-width: 768px) {
  .home-menu {
    padding-block: var(--space-28);
  }
  .home-menu__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-menu__name {
    font-size: var(--text-base);
  }
}

/* ---------- about (AboutSection) ---------- */
.about {
  padding-block: var(--space-20);
  background: var(--color-night-raised);
  color: var(--color-light);
}
.about__section-title {
  margin-bottom: var(--space-16);
}
.about__features {
  display: grid;
  gap: var(--space-12);
}
.about__feature {
  display: flex;
  gap: var(--space-6);
}
.about__badge {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--space-12);
  height: var(--space-12);
  border-radius: var(--radius-full);
  background: var(--color-night);
}
.about__badge.accent {
  background: var(--color-primary);
}
.about__badge-icon {
  width: var(--space-6);
  height: var(--space-6);
}
.about__feature-title {
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
}
.about__feature-text {
  line-height: var(--leading-relaxed);
  color: var(--color-light-body);
}

.about__cta {
  margin-top: var(--space-16);
  text-align: center;
}
.about__cta-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
}
.about__cta-heart {
  width: var(--space-5);
  height: var(--space-5);
  fill: currentColor;
}
.about__cta-button {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .about {
    padding-block: var(--space-28);
  }
  .about__features {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-16);
  }
}

/* ---------- pricing (PriceList) ---------- */
.pricing__title {
  margin-bottom: var(--space-4);
  font-size: var(--text-3xl);
  text-align: center;
  color: var(--color-light);
}
.pricing__note {
  margin-bottom: var(--space-16);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--color-light-subtle);
}
.pricing__categories {
  display: grid;
  gap: var(--space-16);
}
.pricing__category {
  padding: var(--card-padding);
  border-radius: var(--card-radius);
  background: var(--color-night);
}
.pricing__category.raised {
  background: var(--card-background);
}
.pricing__category-name {
  margin-bottom: var(--space-2);
  font-size: var(--text-2xl);
  color: var(--color-light);
}
.pricing__category-description {
  margin-bottom: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-light-subtle);
}
.pricing__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}
.pricing__item:not(:last-child) {
  border-bottom: var(--border-width-thin) solid var(--color-light-hairline);
}
.pricing__item-name {
  color: var(--color-light);
}
.pricing__duration {
  margin-left: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-light-faint);
}
.pricing__price {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  color: var(--color-light);
}
.pricing__cta {
  margin-top: var(--space-20);
  text-align: center;
}
.pricing__cta-text {
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-light-muted);
}

@media (min-width: 768px) {
  .pricing__title {
    font-size: var(--text-4xl);
  }
  .pricing__category {
    padding: var(--card-padding-md);
  }
}

/* ---------- viewer (GalleryViewer) ---------- */
.viewer {
  --gallery-surface: var(--gallery-background);
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--header-height));
  overflow: hidden;
  background: var(--gallery-surface);
  color: var(--color-light);
}
.viewer.en {
  --gallery-surface: var(--gallery-background-en);
}

.viewer__details {
  position: relative;
  z-index: 10;
  order: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: var(--space-6);
  background: var(--gallery-surface);
}
.viewer__details-inner {
  display: grid;
  gap: var(--space-4);
}
.viewer__number {
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  color: var(--color-light-subtle);
}
.viewer__title {
  font-size: var(--text-2xl);
}
.viewer__description {
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  color: var(--color-light-body);
}
.viewer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-4);
}
.viewer__tag {
  padding: var(--space-1) var(--space-3);
  border: var(--border-width-thin) solid var(--color-light-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-light-muted);
}
.viewer__instagram-cta {
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-2);
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  color: var(--color-light-body);
}
.viewer__instagram-cta a {
  justify-self: start;
  padding: var(--space-2) var(--space-4);
  border: var(--border-width-thin) solid var(--color-light-border);
  border-radius: var(--radius-full);
  color: var(--color-light);
}

.viewer__main {
  position: relative;
  order: 1;
  flex-shrink: 0;
  height: var(--gallery-image-height);
  background: var(--gallery-image-background);
}
.viewer__main img {
  width: 100%;
  height: 100%;
  padding: var(--space-4);
  object-fit: contain;
}

.viewer__thumbs {
  order: 3;
  flex-shrink: 0;
  height: var(--space-24);
  border-top: var(--border-width-thin) solid var(--color-light-wash);
  background: var(--gallery-surface);
}
.viewer__thumbs-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
  overflow-x: auto;
  padding: var(--space-4);
  scrollbar-width: none;
}
.viewer__thumbs-inner::-webkit-scrollbar {
  display: none;
}
.viewer__thumb {
  position: relative;
  flex-shrink: 0;
  width: var(--gallery-thumb-size);
  height: var(--gallery-thumb-size);
  aspect-ratio: 1;
  overflow: hidden;
  opacity: var(--gallery-thumb-inactive-opacity);
  filter: grayscale(1);
  transition: all var(--duration-base) var(--ease-standard);
}
.viewer__thumb:hover {
  filter: grayscale(0);
}
.viewer__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-standard);
}
.viewer__thumb:hover img {
  transform: scale(var(--gallery-hover-scale));
}
.viewer__thumb.selected {
  opacity: 1;
  filter: grayscale(0);
}
.viewer__thumb.selected::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 var(--border-width-medium) var(--gallery-thumb-ring-color);
}

@media (min-width: 768px) {
  .viewer__description {
    font-size: var(--text-base);
  }
  .viewer__title {
    font-size: var(--text-4xl);
  }
  .viewer__instagram-cta {
    font-size: var(--text-sm);
  }
}
@media (min-width: 1024px) {
  .viewer {
    flex-direction: row;
  }
  .viewer__details {
    order: 1;
    flex: none;
    width: 25%;
    overflow: visible;
    padding: var(--space-12);
  }
  .viewer__details-inner {
    gap: var(--space-6);
  }
  .viewer__number {
    font-size: var(--text-sm);
  }
  .viewer__title {
    font-size: var(--text-3xl);
  }
  .viewer__main {
    order: 2;
    width: 50%;
    height: 100%;
  }
  .viewer__main img {
    padding: var(--space-8);
  }
  .viewer__thumbs {
    width: 25%;
    height: 100%;
    overflow-y: auto;
    border-top: 0;
    border-left: var(--border-width-thin) solid var(--color-light-wash);
    scrollbar-width: none;
  }
  .viewer__thumbs-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--space-8);
    height: auto;
    overflow: visible;
    padding: var(--space-12) var(--space-24);
  }
  .viewer__thumb {
    width: 100%;
    height: auto;
    opacity: var(--gallery-thumb-inactive-opacity-lg);
  }
  .viewer__thumb:hover {
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .viewer {
    height: calc(100dvh - var(--header-height-md));
  }
}

/* ---------- info (info) ---------- */
.info__title {
  margin-bottom: var(--space-12);
  font-size: var(--text-3xl);
  text-align: center;
  color: var(--color-light);
}
.info__guests {
  margin-bottom: var(--space-8);
  padding: var(--card-padding);
  border: var(--border-width-thin) solid var(--color-primary-focus);
  border-radius: var(--card-radius);
  background: var(--color-primary-tint);
}
.info__guests-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  font-size: var(--text-2xl);
  color: var(--color-light);
}
.info__guests-title-icon {
  width: var(--space-6);
  height: var(--space-6);
  color: var(--color-primary);
}
.info__tips {
  display: grid;
  gap: var(--space-4);
}
.info__tip {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: var(--leading-relaxed);
  color: var(--color-light-strong);
}
.info__tip-icon {
  width: var(--space-5);
  height: var(--space-5);
  margin-top: var(--space-half);
  color: var(--color-primary);
}
.info__sections {
  display: grid;
  gap: var(--space-16);
}
.info__items {
  display: grid;
  gap: var(--space-8);
}
.info__lead {
  margin-bottom: var(--space-8);
  font-weight: var(--weight-medium);
  color: var(--color-light);
}
.info__steps {
  display: grid;
  gap: var(--space-12);
}

@media (min-width: 768px) {
  .info__title {
    font-size: var(--text-4xl);
  }
  .info__guests {
    padding: var(--card-padding-md);
  }
}

/* ---------- info-section (InfoSection) ---------- */
.info-section {
  padding: var(--card-padding);
  border-radius: var(--card-radius);
  background: var(--card-background);
}
.info-section.bordered {
  border: var(--border-width-thin) solid var(--card-border-color);
}
.info-section__title {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: var(--border-width-thin) solid var(--card-border-color);
  font-size: var(--text-2xl);
  color: var(--color-light);
}

@media (min-width: 768px) {
  .info-section {
    padding: var(--card-padding-md);
  }
}

/* ---------- info-item (InfoItem) ---------- */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.info-item__badge {
  flex-shrink: 0;
  margin-top: var(--space-1);
  padding: var(--space-2);
  border-radius: var(--radius-full);
  background: var(--color-night);
  color: var(--color-primary);
}
.info-item__badge.light {
  background: var(--color-light);
}
.info-item__badge svg {
  width: var(--space-5);
  height: var(--space-5);
}
.info-item__label {
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: inherit;
  color: var(--color-light);
}
.info-item__value {
  line-height: var(--leading-relaxed);
  color: var(--color-light-soft);
}
.info-item__value .note {
  font-size: var(--text-sm);
  color: var(--color-light-muted);
}
.info-item__value .dim {
  color: var(--color-light-muted);
}
.info-item__value a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: var(--space-half);
}

/* ---------- step (AccessStep) ---------- */
.step {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.step__photo {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: var(--border-width-thin) solid var(--color-light-wash);
  border-radius: var(--radius-lg);
  background: var(--color-night-raised);
}
.step.light .step__photo {
  background: var(--color-light);
}
.step__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step__direction {
  display: flex;
  gap: var(--space-4);
}
.step__number {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--space-8);
  height: var(--space-8);
  border-radius: var(--radius-full);
  background: var(--color-night);
  color: var(--color-light);
}
.step.light .step__number {
  background: var(--color-light);
  color: var(--color-night);
}
.step__text {
  padding-top: var(--space-1);
  line-height: var(--leading-relaxed);
  color: var(--color-light-soft);
}

@media (min-width: 768px) {
  .step {
    flex-direction: row;
  }
  .step__photo {
    width: 50%;
  }
}

/* ---------- contact (contact) ---------- */
.contact {
  padding-block: var(--space-16);
  color: var(--color-foreground);
}
.contact__eyebrow-text {
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
}
.contact__title {
  margin-bottom: var(--space-5);
  font-size: var(--text-4xl);
}
.contact__lead {
  margin-bottom: var(--space-10);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  text-wrap: pretty;
  color: var(--color-foreground-body);
}

.contact__form {
  padding: var(--panel-padding);
  border: var(--border-width-thin) solid var(--panel-border-color);
  border-radius: var(--panel-radius);
  background: var(--panel-background);
}
.contact__fields {
  display: grid;
  gap: var(--space-5);
}
.contact__field {
  display: block;
}
.contact__field-label {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-foreground-body);
}
.contact__input {
  width: 100%;
  height: var(--field-height);
  padding: 0 var(--space-3);
  border: var(--border-width-thin) solid var(--field-border-color);
  border-radius: var(--field-radius);
  font-size: var(--text-sm);
  outline: none;
}
.contact__textarea {
  height: auto;
  padding-block: var(--space-2);
  resize: vertical;
}
.contact__input:focus {
  border-color: var(--field-focus-color);
  box-shadow: 0 0 0 var(--border-width-medium) var(--field-focus-ring-color);
}

.contact__message {
  margin-top: var(--space-5);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.contact__message[hidden] {
  display: none;
}
.contact__error {
  background: var(--color-primary-tint);
  color: var(--color-primary);
}
.contact__success {
  background: var(--color-success-surface);
  color: var(--color-success);
}

.contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--space-9);
  margin-top: var(--space-6);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-primary-foreground);
  transition: background var(--duration-fast) var(--ease-standard);
}
.contact__submit:hover {
  background: var(--color-primary-hover);
}
.contact__submit:disabled {
  pointer-events: none;
  opacity: 0.5;
}
.contact__submit-icon {
  width: var(--space-4);
  height: var(--space-4);
}
.contact__spinner,
.contact__submit:disabled .contact__idle-icon {
  display: none;
}
.contact__submit:disabled .contact__spinner {
  display: block;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .contact {
    padding-block: var(--space-20);
  }
  .contact__title {
    font-size: var(--text-5xl);
  }
  .contact__form {
    padding: var(--space-6);
  }
}

/* ---------- policy (PolicyPage) ---------- */
.policy {
  padding-block: var(--space-16);
  color: var(--color-foreground);
}
.policy__title {
  margin-bottom: var(--space-8);
  font-size: var(--text-4xl);
}
.policy__sections {
  display: grid;
  gap: var(--space-5);
}
.policy__card {
  padding: var(--panel-padding);
  border: var(--border-width-thin) solid var(--panel-border-color);
  border-radius: var(--panel-radius);
  background: var(--panel-background);
}
.policy__heading {
  margin-bottom: var(--space-2);
  font-size: var(--text-2xl);
}
.policy__body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  text-wrap: pretty;
  color: var(--color-foreground-body);
}

@media (min-width: 768px) {
  .policy {
    padding-block: var(--space-20);
  }
  .policy__title {
    font-size: var(--text-5xl);
  }
}

/* ---------- post (BlogLayout) ---------- */
/* Cover image with the title over it. */
.post__cover {
  position: relative;
  width: 100%;
  height: var(--post-hero-height);
  min-height: var(--post-hero-min-height);
  max-height: var(--post-hero-max-height);
  overflow: hidden;
}
.post__cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post__cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-shade-strong), var(--color-shade-soft), var(--color-shade-faint));
}
.post__cover-back {
  position: absolute;
  inset: 0 0 auto;
  padding-top: var(--space-24);
}
.post__cover-title {
  position: absolute;
  inset: auto 0 0;
  padding-bottom: var(--space-12);
}
.post__container-medium-left {
  max-width: var(--layout-medium);
}

/* Without a cover image: a plain dark band. */
.post__plain {
  padding-top: var(--space-32);
  padding-bottom: var(--space-16);
  background: var(--post-hero-plain-background);
}
.post__plain-back {
  display: inline-block;
  margin-bottom: var(--space-8);
}

.post__back {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-paper-muted);
  transition: color var(--duration-fast) var(--ease-standard);
}
.post__back:hover {
  color: var(--color-paper);
}
.post__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.post__category {
  padding: var(--space-1) var(--space-3);
  border: var(--border-width-thin) solid var(--color-paper-border);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-paper);
}
.post__date {
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-paper-muted);
}
.post__title {
  font-size: var(--text-3xl);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-tight);
  color: var(--color-paper);
}

.post__content {
  padding-block: var(--space-16);
  background: var(--color-background);
}
.post__lede {
  margin-bottom: var(--space-12);
  padding-left: var(--space-6);
  border-left: var(--border-width-medium) solid var(--color-primary);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-foreground-body);
}

.post__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-20);
  padding-top: var(--space-10);
  border-top: var(--border-width-thin) solid var(--color-border);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.post__footer-back {
  color: var(--color-foreground-faint);
  transition: color var(--duration-fast) var(--ease-standard);
}
.post__footer-back:hover {
  color: var(--color-primary);
}
.post__footer-name {
  letter-spacing: var(--tracking-label);
  color: var(--color-foreground-ghost);
}

/* The article body. The site-wide reset zeroes every margin, so the element spacing is restored here. */
.post__prose {
  font-size: var(--text-lg);
  line-height: var(--leading-article);
  color: var(--color-foreground-body);
}
.post__prose h2,
.post__prose h3 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-foreground);
}
.post__prose h2 {
  margin: var(--space-section) 0 var(--space-6);
  font-size: var(--text-2xl);
}
.post__prose h3 {
  margin: var(--space-12) 0 var(--space-4);
  font-size: var(--text-xl);
}
.post__prose p,
.post__prose ul,
.post__prose ol,
.post__prose pre,
.post__prose blockquote,
.post__prose table {
  margin-block: var(--space-component);
}
.post__prose ul,
.post__prose ol {
  padding-left: var(--space-7);
}
.post__prose ul {
  list-style: disc;
}
.post__prose ol {
  list-style: decimal;
}
.post__prose li {
  margin-block: var(--space-3);
}
.post__prose li::marker {
  color: var(--color-foreground-ghost);
}
.post__prose strong {
  font-weight: var(--weight-semibold);
  color: var(--color-foreground);
}
.post__prose a {
  font-weight: var(--weight-medium);
  color: var(--link-color);
  text-decoration: var(--link-text-decoration);
}
.post__prose a:hover {
  text-decoration: underline;
}
.post__prose img {
  max-width: 100%;
  height: auto;
  margin-block: var(--space-8);
}
.post__prose hr {
  margin-block: var(--space-14);
  border-top: var(--border-width-thin) solid var(--color-border);
}
.post__prose blockquote {
  padding-left: var(--blockquote-padding-left);
  border-left: var(--blockquote-border-width) solid var(--blockquote-border-color);
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--blockquote-color);
}
.post__prose pre {
  padding: var(--code-block-padding);
  border-radius: var(--code-block-radius);
  box-shadow: var(--code-block-shadow);
  overflow-x: auto;
  font-size: var(--code-block-font-size);
}
.post__prose :not(pre) > code {
  padding: 0 var(--code-padding-x);
  border-radius: var(--code-radius);
  background: var(--code-background);
  font-size: var(--code-font-size);
}
.post__prose table {
  width: 100%;
  border-collapse: collapse;
}
.post__prose th,
.post__prose td {
  padding: var(--table-cell-padding-y) var(--table-cell-padding-x);
  border: var(--table-border-width) solid var(--table-border-color);
}
.post__prose > :first-child {
  margin-top: 0;
}

@media (min-width: 768px) {
  .post__cover-title {
    padding-bottom: var(--space-16);
  }
  .post__title {
    font-size: var(--text-4xl);
  }
  .post__content {
    padding-block: var(--space-24);
  }
  .post__lede {
    font-size: var(--text-xl);
  }
  .post__prose h2 {
    font-size: var(--text-3xl);
  }
}
@media (min-width: 1024px) {
  .post__title {
    font-size: var(--text-5xl);
  }
}

/* ---------- inquiry (ArticleInquiryCta) ---------- */
.inquiry {
  margin-top: var(--space-16);
  padding: var(--space-8) var(--space-6);
  border: var(--border-width-thin) solid var(--panel-border-color);
  border-radius: var(--radius-xl);
  background: var(--panel-background);
}
.inquiry__kicker {
  margin-bottom: var(--space-3);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-foreground-faint);
}
.inquiry__title {
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--color-foreground);
}
.inquiry__text {
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  line-height: var(--leading-long);
  color: var(--color-muted);
}
.inquiry__button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3-5) var(--space-6);
  border-radius: var(--radius-full);
  background: var(--button-dark-background);
  font-size: var(--text-sm);
  color: var(--button-dark-color);
  transition: background var(--duration-fast) var(--ease-standard);
}
.inquiry__button:hover {
  background: var(--button-dark-hover-background);
}
.inquiry__icon {
  width: var(--space-4);
  height: var(--space-4);
}
.inquiry__handle {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  color: var(--color-paper-muted);
}

@media (min-width: 640px) {
  .inquiry__mobile-break {
    display: none;
  }
}
@media (min-width: 768px) {
  .inquiry {
    margin-top: var(--space-20);
    padding: var(--space-10);
  }
  .inquiry__title {
    font-size: var(--text-xl);
  }
}

/* ---------- posts-hero (PostsHero) ---------- */
.posts-hero {
  position: relative;
  padding-top: var(--space-28);
  padding-bottom: var(--space-14);
  background: var(--color-night);
  color: var(--color-light);
}
.posts-hero__kicker {
  margin-bottom: var(--space-4);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-light-subtle);
}
.posts-hero__title {
  margin-bottom: var(--space-3);
  font-size: var(--text-5xl);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-tight);
}
.posts-hero__subtitle {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-caps);
  color: var(--color-light-body);
}
.posts-hero__lead {
  max-width: var(--layout-measure);
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  line-height: var(--leading-long);
  color: var(--color-light-body);
}
.posts-hero__rule {
  width: var(--space-12);
  height: var(--border-width-thin);
  margin-top: var(--space-10);
  background: var(--color-primary);
}

@media (min-width: 640px) {
  .posts-hero__mobile-break {
    display: none;
  }
}
@media (min-width: 768px) {
  .posts-hero {
    padding-top: var(--space-36);
    padding-bottom: var(--space-20);
  }
  .posts-hero__title {
    font-size: var(--text-7xl);
  }
  .posts-hero__subtitle {
    font-size: var(--text-lg);
  }
  .posts-hero__lead {
    font-size: var(--text-base);
  }
}

/* ---------- posts-index (PostsIndex) ---------- */
.posts-index {
  padding-block: var(--space-16);
}
.posts-index__empty-section {
  padding-block: var(--space-16);
}
.posts-index__empty-title {
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
  color: var(--color-foreground);
}
.posts-index__empty {
  padding-block: var(--space-16);
  border: var(--border-width-thin) dashed var(--color-border-input);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  text-align: center;
  color: var(--color-foreground-subtle);
}

@media (min-width: 768px) {
  .posts-index {
    padding-block: var(--space-24);
  }
  .posts-index__empty-title {
    font-size: var(--text-3xl);
  }
  .posts-index__empty {
    padding-block: var(--space-20);
  }
}

/* ---------- featured (FeaturedNotice) ---------- */
.featured {
  margin-bottom: var(--space-16);
}
.featured__heading-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.featured__dot {
  display: inline-block;
  width: var(--space-1-5);
  height: var(--space-1-5);
  border-radius: var(--radius-full);
  background: var(--color-primary);
}
.featured__heading {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-spaced);
  text-transform: uppercase;
  color: var(--color-foreground-body);
}
.featured__list {
  display: grid;
  gap: var(--space-3);
}
.featured__notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border: var(--border-width-thin) solid var(--panel-border-color);
  border-radius: var(--radius-lg);
  background: var(--panel-background);
  transition: border-color var(--duration-fast) var(--ease-standard);
}
.featured__notice:hover {
  border-color: var(--color-primary-soft);
}
.featured__calendar {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: var(--featured-calendar-width);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-foreground);
  color: var(--color-light);
}
.featured__month {
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-light-muted);
}
.featured__day {
  margin-top: var(--space-1);
  font-size: var(--text-2xl);
  line-height: var(--leading-none);
}
.featured__body {
  flex: 1;
  min-width: 0;
}
.featured__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-3);
  margin-bottom: var(--space-2);
}
.featured__category {
  display: inline-block;
  padding: var(--space-half) var(--space-2);
  border: var(--border-width-thin) solid var(--color-primary-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-primary);
}
.featured__date {
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-widest);
  color: var(--color-foreground-subtle);
}
.featured__title {
  font-size: var(--text-base);
  line-height: var(--leading-snug);
  color: var(--color-foreground);
  transition: color var(--duration-fast) var(--ease-standard);
}
.featured__notice:hover .featured__title,
.featured__notice:hover .featured__arrow {
  color: var(--color-primary);
}
.featured__description {
  display: none;
  margin-top: var(--space-2);
  overflow: hidden;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--color-muted);
}
.featured__arrow {
  align-self: center;
  color: var(--color-foreground-ghost);
  transition: all var(--duration-fast) var(--ease-standard);
}
.featured__notice:hover .featured__arrow {
  transform: translateX(var(--space-1));
}

@media (min-width: 768px) {
  .featured {
    margin-bottom: var(--space-20);
  }
  .featured__notice {
    gap: var(--space-6);
    padding: var(--space-6) var(--space-7);
  }
  .featured__calendar {
    display: flex;
  }
  .featured__date {
    display: none;
  }
  .featured__title {
    font-size: var(--text-lg);
  }
  .featured__description {
    display: block;
  }
}

/* ---------- posts (PostsList) ---------- */
.posts__heading {
  margin-bottom: var(--space-8);
}
.posts__kicker {
  margin-bottom: var(--space-2);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-foreground-faint);
}
.posts__title {
  font-size: var(--text-2xl);
  letter-spacing: var(--tracking-tight);
  color: var(--color-foreground);
}

.posts__filter {
  margin: 0 calc(-1 * var(--page-gutter)) var(--space-10);
  padding-inline: var(--page-gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.posts__filter::-webkit-scrollbar {
  display: none;
}
.posts__filter-inner {
  display: flex;
  gap: var(--space-2);
  min-width: max-content;
}
.posts__filter-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--filter-padding-y) var(--filter-padding-x);
  border: var(--border-width-thin) solid var(--filter-border-color);
  border-radius: var(--filter-radius);
  font-size: var(--text-sm);
  white-space: nowrap;
  color: var(--filter-color);
  transition: all var(--duration-fast) var(--ease-standard);
}
.posts__filter-button:hover {
  border-color: var(--color-foreground-subtle);
  color: var(--color-foreground);
}
.posts__filter-button[aria-selected="true"] {
  border-color: var(--filter-active-background);
  background: var(--filter-active-background);
  color: var(--filter-active-color);
}
.posts__count {
  font-size: var(--text-2xs);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-widest);
  color: var(--color-foreground-faint);
}
.posts__filter-button[aria-selected="true"] .posts__count {
  color: var(--color-paper-muted);
}

.posts__empty {
  padding-block: var(--space-20);
  border: var(--border-width-thin) dashed var(--color-border-input);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--color-foreground-subtle);
}
.posts__empty[hidden],
.posts__grid[hidden],
.posts__grid > li[hidden] {
  display: none;
}
.posts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 640px) {
  .posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .posts__heading {
    margin-bottom: var(--space-10);
  }
  .posts__title {
    font-size: var(--text-3xl);
  }
  .posts__filter {
    margin: 0 0 var(--space-14);
    padding-inline: 0;
  }
  .posts__filter-inner {
    gap: var(--space-3);
  }
  .posts__filter-button {
    padding: var(--filter-padding-y-md) var(--filter-padding-x-md);
  }
  .posts__grid {
    gap: var(--space-10);
  }
}
@media (min-width: 1024px) {
  .posts__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- post-card (PostCard) ---------- */
.post-card {
  height: 100%;
}
.post-card__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: var(--border-width-thin) solid var(--post-card-border-color);
  border-radius: var(--post-card-radius);
  background: var(--post-card-background);
  transition: border-color var(--duration-fast) var(--ease-standard);
}
.post-card__card:hover {
  border-color: var(--post-card-hover-border-color);
}
.post-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--post-card-image-background);
}
.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-standard);
}
.post-card__card:hover .post-card__image img {
  transform: scale(var(--post-card-hover-scale));
}
.post-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  letter-spacing: var(--tracking-widest);
  color: var(--color-border);
}

.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--space-6);
}
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
}
.post-card__category {
  padding: var(--space-half) var(--space-2-5);
  border: var(--border-width-thin) solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-foreground-body);
}
.post-card__date {
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-widest);
  color: var(--color-foreground-subtle);
}
.post-card__title {
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--color-foreground);
  transition: color var(--duration-fast) var(--ease-standard);
}
.post-card__card:hover .post-card__title,
.post-card__card:hover .post-card__more {
  color: var(--color-primary);
}
.post-card__description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: var(--text-sm);
  line-height: var(--leading-article);
  color: var(--color-muted);
}
.post-card__more-row {
  margin-top: auto;
  padding-top: var(--space-6);
}
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-foreground-body);
  transition: color var(--duration-fast) var(--ease-standard);
}
.post-card__more-line {
  display: inline-block;
  width: var(--space-6);
  height: var(--border-width-thin);
  background: currentColor;
  transition: width var(--duration-fast) var(--ease-standard);
}
.post-card__card:hover .post-card__more-line {
  width: var(--space-8);
}

@media (min-width: 768px) {
  .post-card__image {
    aspect-ratio: 5 / 4;
  }
  .post-card__body {
    padding: var(--space-7);
  }
  .post-card__title {
    font-size: var(--text-xl);
  }
}

/* ---------- posts-cta (PostsCta) ---------- */
.posts-cta {
  padding-block: var(--space-20);
  background: var(--color-night);
  text-align: center;
  color: var(--color-light);
}
.posts-cta__kicker {
  margin-bottom: var(--space-5);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-light-faint);
}
.posts-cta__title {
  margin-bottom: var(--space-6);
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
}
.posts-cta__lead {
  max-width: var(--layout-measure);
  margin: 0 auto var(--space-12);
  font-size: var(--text-sm);
  line-height: var(--leading-long);
  color: var(--color-light-body);
}
.posts-cta__wide-break {
  display: none;
}
.posts-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--layout-compact);
  margin-inline: auto;
}
.posts-cta__action {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border: var(--border-width-thin) solid var(--color-light-ghost);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wider);
  transition: all var(--duration-fast) var(--ease-standard);
}
.posts-cta__action:hover {
  border-color: var(--color-light-body);
  background: var(--color-light-wash);
}
.posts-cta__action.primary {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}
.posts-cta__action.primary:hover {
  background: var(--color-primary-soft);
}
.posts-cta__action-icon {
  width: var(--space-4);
  height: var(--space-4);
}
.posts-cta__note {
  margin-top: var(--space-10);
  font-size: var(--text-caption);
  line-height: var(--leading-relaxed);
  color: var(--color-light-faint);
}

@media (min-width: 640px) {
  .posts-cta__wide-break {
    display: inline;
  }
}
@media (min-width: 768px) {
  .posts-cta {
    padding-block: var(--space-28);
  }
  .posts-cta__title {
    font-size: var(--text-3xl);
  }
  .posts-cta__lead {
    margin-bottom: var(--space-14);
    font-size: var(--text-base);
  }
  .posts-cta__actions {
    flex-direction: row;
    gap: var(--space-4);
    max-width: var(--layout-narrow);
  }
}

/* ---------- callout (Callout) ---------- */
.callout {
  --accent: var(--color-info);
  margin: var(--space-component) 0;
  padding: var(--callout-padding-y) var(--callout-padding-x);
  border-left: var(--callout-border-width) solid var(--accent);
  border-radius: var(--callout-radius);
  box-shadow: var(--callout-shadow);
  background: color-mix(in srgb, var(--accent) var(--callout-tint), var(--color-background));
}
.callout.tip {
  --accent: var(--color-success);
}
.callout.warning {
  --accent: var(--color-warning);
}
.callout__title {
  font-weight: var(--weight-bold);
  color: var(--accent);
}
.callout__body > :last-child {
  margin-bottom: 0;
}

/* ---------- WordPress ---------- */
/* Logged-in users: the admin bar sits above the sticky header. */
.admin-bar .header {
  top: var(--wp-admin--admin-bar--height, 0px);
}
.admin-bar .viewer {
  height: calc(100dvh - var(--header-height) - var(--wp-admin--admin-bar--height, 0px));
}
@media (max-width: 600px) {
  .admin-bar .header {
    top: 0;
  }
}
@media (min-width: 768px) {
  .admin-bar .viewer {
    height: calc(100dvh - var(--header-height-md) - var(--wp-admin--admin-bar--height, 0px));
  }
}

/* Policy pages (page.php): the page content is blocks. A group is a card; a table is a list of label / value rows. */
.policy__content {
  display: grid;
  gap: var(--space-5);
}
.policy__content > .wp-block-group {
  padding: var(--panel-padding);
  border: var(--border-width-thin) solid var(--panel-border-color);
  border-radius: var(--panel-radius);
  background: var(--panel-background);
}
.policy__content h2 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  text-wrap: balance;
}
.policy__content p,
.policy__content li {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  text-wrap: pretty;
  color: var(--color-foreground-body);
}
.policy__content p + p {
  margin-top: var(--space-3);
}
.policy__content ul,
.policy__content ol {
  padding-left: var(--space-6);
}
.policy__content ul {
  list-style: disc;
}
.policy__content ol {
  list-style: decimal;
}
.policy__content a {
  color: var(--link-color);
  text-decoration: underline;
}
.policy__content .wp-block-table {
  margin: 0;
  overflow: visible;
}
.policy__content .wp-block-table table {
  display: block;
  border: var(--border-width-thin) solid var(--panel-border-color);
  border-radius: var(--panel-radius);
  background: var(--panel-background);
}
.policy__content .wp-block-table tbody {
  display: block;
}
.policy__content .wp-block-table tr {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
}
.policy__content .wp-block-table tr + tr {
  border-top: var(--border-width-thin) solid var(--panel-border-color);
}
.policy__content .wp-block-table td {
  padding: 0;
  border: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-foreground-body);
}
.policy__content .wp-block-table td:first-child {
  font-weight: var(--weight-medium);
  line-height: inherit;
  color: var(--color-muted);
}
@media (min-width: 768px) {
  .policy__content .wp-block-table tr {
    grid-template-columns: var(--legal-label-width) 1fr;
    padding: var(--space-5);
  }
}

/* Blocks inside an article. */
.post__prose figure {
  margin: var(--space-8) 0;
}
.post__prose figure img,
.post__prose figure table {
  margin-block: 0;
}
.post__prose figcaption {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--color-muted);
}
.post__prose .wp-block-table {
  margin-block: var(--space-component);
}
.post__prose .wp-block-table th,
.post__prose .wp-block-table td {
  padding: var(--table-cell-padding-y) var(--table-cell-padding-x);
  border: var(--table-border-width) solid var(--table-border-color);
}
.post__prose .wp-block-quote > * {
  margin-block: var(--space-2);
}
.post__prose hr.wp-block-separator {
  border-bottom: 0;
}
