/* Address Morocco: one-page site + blog.
   Palette is picked in site.config.json ("palette"); on staging builds ?palette=… previews the others. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-latin.woff2") format("woff2");
}

/* ---------------------------------------------------------------- tokens */
:root,
[data-palette="majorelle"] {
  --brand: #2443b8; /* headings, buttons, links */
  --brand-strong: #1a3290; /* hover */
  --brand-soft: #d3dbf6; /* team cards, round buttons */
  --brand-line: #9fb0ea; /* review card borders */
  --eyebrow: #4f64be;
  --tint: #f4ede3; /* alternate section background */
  --paper: #fcfbf9; /* page background */
  --band: #2443b8; /* scrolling band above the footer */
  --footer: #15286d;
  --accent: #e0a33a; /* stars */
}
[data-palette="terracotta"] {
  --brand: #c4532d;
  --brand-strong: #a3401f;
  --brand-soft: #f6cdb7;
  --brand-line: #eaa98a;
  --eyebrow: #b0573a;
  --tint: #fbeae0;
  --paper: #fdfcfa;
  --band: #d9643a;
  --footer: #8a3418;
  --accent: #e9a23b;
}
[data-palette="emerald"] {
  --brand: #0f6b57;
  --brand-strong: #0b5444;
  --brand-soft: #cfe6de;
  --brand-line: #8fc3b3;
  --eyebrow: #387a69;
  --tint: #f2ece0;
  --paper: #fcfbf7;
  --band: #0f6b57;
  --footer: #0b3f34;
  --accent: #c9973b;
}
:root {
  --ink: #2a2a2a;
  --ink-soft: #5b5b5b;
  --on-brand: #fff;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 24px);
  --header-h: 96px;
  --radius: 16px;
  --section-y: clamp(72px, 9vw, 120px);
  --fs-display: clamp(2.4rem, 1.55rem + 3vw, 3.95rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.3vw, 1.24rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.5;
  overflow-x: clip;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
ul,
figure,
blockquote {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-brand);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
section[id] {
  scroll-margin-top: 64px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--wide {
  width: min(100% - 2 * var(--gutter), 1260px);
}
.section {
  padding-block: var(--section-y);
}
.section--tint {
  background: var(--tint);
}

/* --------------------------------------------------------------- type */
.display {
  color: var(--brand);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.display--ink {
  color: var(--ink);
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.35;
}
.lead > p + p,
.showcase__body > p + p,
.split__body > p + p {
  margin-top: 1.15em;
}
.lead a,
.showcase__body a {
  color: inherit;
  text-underline-offset: 3px;
}
.lead a:hover,
.showcase__body a:hover {
  color: var(--brand);
}
.eyebrow {
  color: var(--eyebrow);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .justify {
    text-align: justify;
    hyphens: auto;
  }
}

/* ------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--paper);
  color: var(--ink);
  transition:
    background-color 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 2 * var(--gutter), 1300px);
  height: var(--header-h);
  margin-inline: auto;
  transition: height 0.35s var(--ease);
}
.site-header.is-overlay:not(.is-scrolled) {
  background: transparent;
  color: #fff;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.07);
}
.site-header.is-scrolled .site-header__inner {
  height: 76px;
}
.page-main {
  padding-top: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  text-decoration: none;
}
.is-overlay:not(.is-scrolled) .logo {
  color: #fff;
}
.logo__mark {
  width: 44px;
  height: 44px;
}
.logo__text {
  display: grid;
  gap: 4px;
}
.logo__word {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 0.92;
  text-transform: uppercase;
}
.logo__tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav__list {
  display: flex;
  gap: clamp(18px, 3.2vw, 56px);
}
.nav__link {
  position: relative;
  display: block;
  padding-block: 6px;
  font-size: 1.05rem;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}
.site-header:not(.is-overlay) .nav__link[aria-current="page"],
.site-header.is-scrolled .nav__link.is-active {
  color: var(--brand);
}
.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-right: -8px;
  border: 0;
  background: none;
}
.nav-toggle .icon {
  width: 30px;
  height: 30px;
}

@media (max-width: 1100px) {
  .nav__link {
    font-size: 0.95rem;
  }
}
@media (max-width: 991px) {
  :root {
    --header-h: 80px;
  }
  .nav-toggle {
    display: grid;
    position: relative;
    z-index: 2;
  }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    background: var(--footer);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s,
      visibility 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .nav__link {
    font-size: 1.45rem;
    letter-spacing: 0.06em;
  }
  .site-header .nav .nav__link {
    color: #fff;
  }
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open .site-header {
    color: #fff;
    background: transparent;
    box-shadow: none;
  }
  body.nav-open .logo {
    position: relative;
    z-index: 2;
    color: #fff;
  }
}
@media (max-width: 479px) {
  .logo__mark {
    width: 38px;
    height: 38px;
  }
  .logo__word {
    font-size: 1.3rem;
  }
}

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #2b2522;
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__img {
  animation: kenburns 24s var(--ease) both;
}
.hero__video {
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.42) 0%, rgb(0 0 0 / 0.2) 40%, rgb(0 0 0 / 0.45) 100%);
}
.hero__content {
  max-width: 940px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 96px;
}
.hero__title {
  font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.25);
}
.hero__subtitle {
  margin-top: 12px;
  font-size: clamp(1.06rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.45;
}
.hero .button {
  margin-top: 32px;
}
.hero__foot {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  padding-inline: var(--gutter);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.hero__foot a {
  color: inherit;
  text-underline-offset: 3px;
}
@keyframes kenburns {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

/* -------------------------------------------------------------- buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 30px;
  border: 1.5px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s var(--ease);
}
.button:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  transform: translateY(-1px);
}
.button--ghost {
  background: transparent;
  color: var(--brand);
}
.button--ghost:hover {
  background: var(--brand);
  color: var(--on-brand);
}
.button--light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.button--light:hover {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

/* ------------------------------------------------------------ page hero */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 68vh, 640px);
  overflow: hidden;
  background: #2b2522;
  color: #fff;
  isolation: isolate;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 24s var(--ease) both;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.45) 0%, rgb(0 0 0 / 0.15) 45%, rgb(0 0 0 / 0.55) 100%);
}
.page-hero__content {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(44px, 7vw, 80px);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.breadcrumb a {
  color: inherit;
  opacity: 0.85;
  text-decoration: none;
}
.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}
.page-hero__title {
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.25);
}
.page-hero__subtitle {
  max-width: 640px;
  margin-top: 14px;
  font-size: clamp(1.06rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.45;
}

/* ---------------------------------------------------------------- about */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  max-width: 1120px;
}
.story__text .display {
  margin: 14px 0 32px;
}
.story__text .lead > p + p {
  margin-top: 1.15em;
}
.story__photo {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 440px;
}
.story__photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.14);
}
.story__photo figcaption {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 400;
  text-align: center;
}
.mission__inner {
  max-width: 900px;
  text-align: center;
}
.mission__text {
  margin-top: 18px;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}
@media (max-width: 767px) {
  .story {
    grid-template-columns: 1fr;
  }
  .story__photo {
    justify-self: center;
    max-width: 380px;
  }
}

/* ------------------------------------------------------------------ cta */
.cta__inner {
  max-width: 760px;
  text-align: center;
}
.mission + .cta {
  background: var(--paper);
}
.cta .lead {
  margin: 20px 0 30px;
}

/* ------------------------------------------- showcase (card sliders) */
.showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
}
.showcase--reverse .showcase__text {
  order: 2;
  text-align: right;
}
.showcase__text {
  min-width: 0;
}
.showcase__copy {
  overflow: hidden;
}
.showcase__copy .swiper-slide {
  height: auto;
  background: var(--paper);
}
.section--tint .showcase__copy .swiper-slide {
  background: var(--tint);
}
.showcase__title {
  margin: 14px 0 34px;
}
.showcase__count {
  margin-left: 6px;
  opacity: 0.7;
}
.showcase__intro {
  max-width: 920px;
  margin: 0 auto clamp(48px, 7vw, 80px);
  text-align: center;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.chip {
  padding: 9px 18px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.chip[aria-current="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-brand);
}
.showcase__body {
  font-size: var(--fs-lead);
  line-height: 1.22;
}
.showcase__highlights {
  margin-top: 1.1em;
  color: var(--brand);
  font-size: var(--fs-lead);
  line-height: 1.3;
}
.showcase__highlights strong {
  font-weight: 500;
}
.showcase__media {
  display: flex;
  justify-content: center;
}
.cards {
  width: min(420px, 100%);
  aspect-ratio: 3 / 4;
  margin: 0;
}
.cards .swiper-slide {
  overflow: hidden;
  border-radius: 20px;
  background: var(--tint);
}
.cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.pager {
  display: flex;
  gap: 14px;
  margin-top: 56px;
}
.showcase--reverse .pager {
  justify-content: flex-end;
}
.pager--center {
  justify-content: center;
}
.pager__btn {
  display: grid;
  place-items: center;
  width: 98px;
  height: 44px;
  border: 1.5px solid var(--brand);
  border-radius: 999px;
  background: transparent;
  color: var(--brand);
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.25s;
}
.pager__btn:hover {
  background: var(--brand);
  color: var(--on-brand);
}
.pager__btn:active {
  transform: scale(0.96);
}
.pager--solid .pager__btn {
  background: var(--brand);
  color: var(--on-brand);
}
.pager--solid .pager__btn:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

@media (max-width: 991px) {
  .showcase__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .showcase__media {
    order: -1;
  }
  .showcase--reverse .showcase__text,
  .showcase__text {
    order: 0;
    text-align: center;
  }
  .showcase__body,
  .showcase__highlights {
    text-align: left;
    line-height: 1.4;
  }
  .cards {
    width: min(300px, 72vw);
  }
  .pager,
  .showcase--reverse .pager {
    justify-content: center;
    margin-top: 40px;
  }
}

/* ---------------------------------------------------------- badges */
.badges {
  display: grid;
  gap: 10px;
}
.badge {
  display: flex;
  width: 280px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  color: #333;
  text-decoration: none;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.04);
  transition: transform 0.25s var(--ease);
}
.badge:hover {
  transform: translateY(-2px);
}
.badge__logo {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 112px;
  padding: 10px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.badge__logo .icon {
  width: 28px;
  height: 28px;
}
.badge--google .badge__logo {
  background: #4285f4;
}
.badge--tripadvisor .badge__logo {
  background: #34e0a1;
  color: #00321f;
}
.badge__body {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 10px 14px;
  text-align: left;
}
.badge__text {
  font-size: 0.85rem;
  line-height: 1.25;
}
.stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
}
.stars svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------- contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 7vw, 120px);
}
.contact__title {
  margin-bottom: 24px;
  text-align: center;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  background: transparent;
  font-weight: 400;
  transition: box-shadow 0.2s;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.field ::placeholder {
  color: #9b9b9b;
}
.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 30px;
}
.btn-submit {
  width: min(100%, 360px);
  height: 64px;
  border: 1px solid var(--brand);
  border-radius: 12px;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.btn-submit:hover {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}
.form-status {
  flex: 1 1 200px;
  min-height: 1.5em;
  font-size: 0.98rem;
  font-weight: 400;
}
.form-status.is-ok {
  color: #1b7a43;
}
.form-status.is-error {
  color: #b42318;
}
.contact__aside {
  padding-top: 100px;
}
.contact-list {
  display: grid;
  gap: 18px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-align: left;
}
.contact-list a {
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-list a:hover {
  text-decoration: underline;
}
.contact-list strong {
  color: var(--brand);
  font-weight: 500;
}
.field__optional {
  color: var(--ink-soft);
  font-size: 0.85em;
  letter-spacing: 0;
}
.contact-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 9%, transparent);
  color: var(--brand);
}
@media (max-width: 991px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .contact__aside {
    padding-top: 0;
  }
}
@media (max-width: 559px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------- journal / cards */
.journal__head {
  margin-bottom: 26px;
}
.journal__head .lead {
  margin-top: 18px;
}
.journal__slider {
  overflow: hidden;
}
.post-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 408 / 320;
  border-radius: 14px;
  background: #222;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.post-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(0 0 0 / 0.7) 0%, rgb(0 0 0 / 0.08) 62%);
}
.post-card:hover img {
  transform: scale(1.05);
}
.post-card__title {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
}
.journal .pager {
  margin-top: 56px;
}

/* ------------------------------------------------------------ band */
.band {
  overflow: hidden;
  padding-block: 30px;
  background: var(--band);
  color: #fff;
}
.band__track {
  display: flex;
  width: max-content;
  animation: band 45s linear infinite;
}
.band__list {
  display: flex;
}
.band__list li {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem);
  white-space: nowrap;
}
.band__list li::after {
  content: "✦";
  margin-inline: clamp(28px, 4vw, 56px);
  font-size: 0.6em;
  opacity: 0.7;
}
@keyframes band {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .band__track {
    animation: none;
  }
}

/* ---------------------------------------------------------- footer */
.site-footer {
  padding: 34px 0 26px;
  background: var(--footer);
  color: #fff;
  text-align: center;
}
.site-footer__brand .logo {
  flex-direction: column;
  gap: 8px;
  color: #fff;
}
.site-footer__brand .logo__mark {
  width: 56px;
  height: 56px;
}
.site-footer__brand .logo__word {
  font-size: 2.1rem;
}
.site-footer__brand .logo__tag {
  font-size: 0.72rem;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  margin-top: 22px;
  padding-block: 16px;
  border-block: 1px solid rgb(255 255 255 / 0.3);
}
.footer-nav a {
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}
.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.footer-cell {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 34px 24px;
}
.footer-cell:nth-child(even) {
  border-left: 1px solid rgb(255 255 255 / 0.3);
}
.footer-cell:nth-child(n + 3) {
  border-top: 1px solid rgb(255 255 255 / 0.3);
}
.site-footer .contact-list a,
.site-footer .contact-list strong {
  color: #fff;
}
.site-footer .contact-list__icon {
  background: #fff;
  color: var(--footer);
}
.footer-title {
  font-size: 1.25rem;
  font-weight: 400;
}
.socials {
  display: flex;
  gap: 26px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  transition: background-color 0.25s;
}
.socials a:hover {
  background: rgb(255 255 255 / 0.12);
}
.socials .icon {
  width: 34px;
  height: 34px;
}
.newsletter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.newsletter input[type="email"] {
  width: min(100%, 256px);
  height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}
.newsletter button {
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #2b2b2b;
  color: #fff;
  font-weight: 600;
}
.newsletter button:hover {
  background: #000;
}
.newsletter .form-status {
  flex-basis: 100%;
  color: #fff;
}
.newsletter .form-status.is-ok,
.newsletter .form-status.is-error {
  color: #fff;
}
.newsletter__text {
  max-width: 360px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.copyright {
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.3);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-cell:nth-child(even) {
    border-left: 0;
  }
  .footer-cell + .footer-cell {
    border-top: 1px solid rgb(255 255 255 / 0.3);
  }
  .footer-nav ul {
    gap: 14px 28px;
  }
}

.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);
  transition: transform 0.25s var(--ease);
}
.wa-fab:hover {
  transform: scale(1.06);
}
.wa-fab .icon {
  width: 30px;
  height: 30px;
}

/* ------------------------------------------------------ blog index */
.blog-index__head {
  max-width: 1100px;
  margin-bottom: 64px;
}
.page-title {
  margin-bottom: 26px;
  color: var(--brand);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 20px;
}
.grid-card a {
  display: block;
  text-decoration: none;
}
.grid-card__date {
  display: block;
  margin: 0 0 6px 4px;
  color: #9a9a9a;
  font-size: 0.78rem;
  font-weight: 500;
}
.grid-card__img {
  width: 100%;
  aspect-ratio: 285 / 250;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s var(--ease);
}
.grid-card a:hover .grid-card__img {
  transform: translateY(-4px);
}
.grid-card__title {
  margin-top: 16px;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}
.grid-card a:hover .grid-card__title {
  color: var(--brand);
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1.5px solid var(--brand);
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.load-more:hover {
  background: var(--brand-strong);
}
.load-more--ghost {
  background: transparent;
  color: var(--brand);
}
.load-more--ghost:hover {
  background: var(--brand);
  color: var(--on-brand);
}
@media (max-width: 991px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 559px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------- blog post */
.post__head {
  max-width: 900px;
  padding-top: clamp(48px, 7vw, 88px);
  text-align: center;
}
.post__title {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.post__avatar {
  width: 32px;
  height: 32px;
  padding: 5px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.post__cover {
  width: 100%;
  margin-top: 40px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}
.prose {
  width: min(100% - 2 * var(--gutter), 760px);
  margin: clamp(40px, 6vw, 72px) auto clamp(56px, 8vw, 96px);
  font-size: 1.125rem;
  line-height: 1.75;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 1.8em;
  color: var(--brand);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}
.prose ul {
  padding-left: 1.2em;
  list-style: disc;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose strong {
  font-weight: 600;
}
.prose a {
  color: var(--brand);
  text-underline-offset: 3px;
}
.related {
  border-top: 1px solid rgb(0 0 0 / 0.08);
}
.related .display {
  margin-bottom: 32px;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.related__all {
  margin-top: 40px;
  text-align: center;
}
@media (max-width: 991px) {
  .related__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 559px) {
  .related__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------- 404 */
.not-found {
  min-height: 60vh;
  text-align: center;
}
.not-found .display {
  margin: 16px 0 20px;
}
.not-found__links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ---------------------------------------------------------- motion */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal="left"] {
  transform: translateX(-40px);
}
.js [data-reveal="right"] {
  transform: translateX(40px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__img,
  .page-hero__img {
    animation: none;
  }
}
