/* ==========================================================================
   Shop This City — static site styles
   Brand tokens lifted from the original Squarespace theme.
   ========================================================================== */

:root {
  --ink: #262530;
  --ink-80: rgba(38, 37, 48, 0.8);
  --ink-60: rgba(38, 37, 48, 0.6);
  --periwinkle: #5276e6;
  --periwinkle-dark: #3a5cc9;
  --periwinkle-soft: #eaefff;
  --light: #f4f4f4;
  --off-white: #fafafa;
  --white: #ffffff;
  --line: rgba(38, 37, 48, 0.12);
  --line-invert: rgba(255, 255, 255, 0.18);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --max-width: 1480px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 14px;
  --radius-lg: 24px;

  --section-y: clamp(4rem, 9vw, 8.5rem);
  --shadow: 0 18px 50px -20px rgba(38, 37, 48, 0.28);
  --header-h: 76px;
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

h1,
.h1 {
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
}

h2,
.h2 {
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem);
}

h3,
.h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
}

h4,
.h4 {
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--periwinkle);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--periwinkle);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------- layout -- */

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

.wrap--narrow {
  max-width: 900px;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

/* Section themes mirror the Squarespace "white / light / light-bold /
   dark-bold" palette the original site used per section. */
.theme-white {
  background: var(--white);
}
.theme-light {
  background: var(--off-white);
}
.theme-light-bold {
  background: var(--light);
}
.theme-soft {
  background: var(--periwinkle-soft);
}
.theme-dark {
  background: var(--ink);
  color: var(--white);
}
.theme-dark a {
  color: var(--white);
}
.theme-dark .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 0;
}

/* ------------------------------------------------------------ buttons -- */

.btn {
  --btn-bg: var(--periwinkle);
  --btn-fg: #fff;
  --btn-bd: var(--periwinkle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.85rem;
  border: 2px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease,
    color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(38, 37, 48, 0.6);
  --btn-bg: var(--periwinkle-dark);
  --btn-bd: var(--periwinkle-dark);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: currentColor;
}

.btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
}

.theme-dark .btn--ghost {
  --btn-fg: #fff;
}

.theme-dark .btn--ghost:hover {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bd: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn-row--center {
  justify-content: center;
}

/* ------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 26px;
  width: auto;
}

/* Desktop navigation ------------------------------------------------- */

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__item {
  position: relative;
}

.nav__link,
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav__link:hover,
.nav__toggle:hover,
.nav__item:focus-within .nav__toggle {
  color: var(--periwinkle);
}

.nav__link[aria-current="page"] {
  color: var(--periwinkle);
}

.nav__toggle svg {
  width: 10px;
  height: 10px;
  transition: transform 0.18s ease;
}

.nav__item[data-open="true"] .nav__toggle svg {
  transform: rotate(180deg);
}

.nav__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 232px;
  padding: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav__item[data-open="true"] .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__panel a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 9px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__panel a:hover,
.nav__panel a[aria-current="page"] {
  background: var(--periwinkle-soft);
  color: var(--periwinkle-dark);
}

.nav__cta {
  margin-left: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Mobile navigation -------------------------------------------------- */

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}

.nav-burger span {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-burger span::before {
  top: -7px;
}
.nav-burger span::after {
  top: 7px;
}

.nav-burger[aria-expanded="true"] span {
  background: transparent;
}

.nav-burger[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-burger[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 940px) {
  .nav-burger {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: block;
    padding: 1.5rem var(--gutter) 3rem;
    background: var(--white);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__item {
    border-bottom: 1px solid var(--line);
  }

  .nav__link,
  .nav__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 1.1rem 0.25rem;
    font-size: 0.95rem;
  }

  .nav__panel {
    position: static;
    min-width: 0;
    padding: 0 0 0.75rem 0.75rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__item[data-open="true"] .nav__panel {
    display: block;
  }

  .nav__cta {
    margin: 1.5rem 0 0;
    width: 100%;
    padding: 1rem;
    font-size: 0.9rem;
  }
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__title {
  margin-bottom: 1rem;
}

.hero__title em {
  font-style: normal;
  color: var(--periwinkle);
}

.hero__lede {
  font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.3rem);
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.85);
}

.hero__lede strong {
  color: #fff;
  font-weight: 600;
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.hero__media img.hero__badge {
  position: absolute;
  right: -1.5%;
  bottom: -6%;
  width: clamp(92px, 15%, 160px);
  border-radius: 0;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.32));
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero__media {
    order: -1;
  }

  .hero__media img.hero__badge {
    width: 84px;
    right: 0;
    bottom: -7%;
  }
}

/* --------------------------------------------------------- section head -- */

.eyebrow {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--periwinkle);
}

.section-head {
  max-width: 54rem;
}

.section-head > p {
  max-width: 58ch;
}

.section-head--center > p {
  margin-inline: auto;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.lede {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: var(--ink-80);
}

.theme-dark .lede {
  color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------- split blocks -- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.split--media-first .split__media {
  order: -1;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split__media--plain img {
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--media-first .split__media,
  .split__media {
    order: 0;
  }
}

/* ---------------------------------------------------------- check list -- */

.checklist {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.checklist li {
  position: relative;
  padding-left: 2.35rem;
  color: var(--ink-80);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--periwinkle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 0.85rem no-repeat;
}

/* ------------------------------------------------------------- cards -- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: 3rem;
}

.card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px -24px rgba(38, 37, 48, 0.45);
}

.card img {
  width: 100%;
}

.card__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(38, 37, 48, 0.82),
    rgba(38, 37, 48, 0)
  );
}

/* ------------------------------------------------------- testimonials -- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.quote {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  left: 1.5rem;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--periwinkle);
  opacity: 0.35;
}

.quote p {
  position: relative;
  font-size: 1.02rem;
  color: var(--ink-80);
}

.quote strong {
  color: var(--ink);
  font-weight: 600;
}

.quote cite {
  display: block;
  margin-top: 1.4rem;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* -------------------------------------------------------------- steps -- */

.steps {
  max-width: 1080px;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  gap: 0;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0 1.5rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.step:last-child {
  padding-bottom: 0;
}

/* connector rail */
.step::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 2.6rem;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.step:last-child::before {
  display: none;
}

.theme-dark .step::before {
  background: var(--line-invert);
}

.step__n {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0.15rem 0 0;
  border-radius: 999px;
  background: var(--periwinkle);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.step__body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  max-width: 62ch;
}

.step__body h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  margin-bottom: 0.5rem;
}

.step__body > p:first-of-type {
  margin-top: 0.35rem;
}

.step__body p {
  color: var(--ink-80);
}

.theme-dark .step__body p {
  color: rgba(255, 255, 255, 0.8);
}

.step__note {
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--periwinkle);
  background: var(--periwinkle-soft);
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
  color: var(--ink-80) !important;
}

.step__media {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
  align-items: start;
  margin-top: 1.5rem;
  min-width: 0;
  max-width: 820px;
}

.step__media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

@media (max-width: 640px) {
  .step {
    grid-template-columns: 2.4rem 1fr;
    gap: 0 1rem;
  }

  .step::before {
    left: 1.15rem;
  }

  .step__n {
    width: 2.4rem;
    font-size: 0.85rem;
  }
}

/* ---------------------------------------------------------------- faq -- */

.faq {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0.25rem;
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--periwinkle);
}

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  background: currentColor;
  transition: transform 0.2s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 0.25rem 1.75rem;
  max-width: 72ch;
  color: var(--ink-80);
}

/* -------------------------------------------------------------- prose -- */

.prose p {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  color: var(--ink-80);
}

.prose h2,
.prose h3 {
  margin-top: 2.25em;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 0 0 1.15em;
  padding-left: 1.25rem;
  color: var(--ink-80);
}

.prose li {
  margin-bottom: 0.4em;
}

.prose a {
  color: var(--periwinkle-dark);
  text-underline-offset: 3px;
}

.prose a.btn {
  color: var(--btn-fg);
  text-decoration: none;
}

.tagline {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--periwinkle);
}

.about-media {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
}

.about-media__pin {
  position: absolute;
  right: -4%;
  bottom: -5%;
  width: clamp(78px, 26%, 130px);
  filter: drop-shadow(0 14px 28px rgba(38, 37, 48, 0.28));
}

/* ------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-invert);
}

.site-footer__logo img {
  height: 26px;
  width: auto;
}

.site-footer__email {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.social {
  display: flex;
  gap: 0.6rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-invert);
  border-radius: 50%;
  transition: background-color 0.16s ease, border-color 0.16s ease,
    color 0.16s ease;
}

.social a:hover {
  background: var(--periwinkle);
  border-color: var(--periwinkle);
  color: #fff;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
  padding-block: 2.5rem;
}

.site-footer__nav h3 {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line-invert);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------ utility -- */

.center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

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

/* Fade-in on scroll (mirrors the original theme's subtle entrance anim) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
