/* bench2 landing: shared foundations live in style.css; this file owns only the home page. */
/* Avoid full-page snapshot blending across the dark hero and masked paper.
   Individual hero/category/scroll animations remain independent. */
@view-transition {
  navigation: none;
}
.page-home {
  --container: 1240px;
  --gutter: clamp(22px, 7.1vw, 104px);
  --home-paper: #f8f5ee;
  --home-gold: #a27b4d;
  --home-gold-light: #d8bc8c;
  --category-background: #141311;
  --category-background-hover: #211e1a;
  --category-icon-color: #f6eee2;
  --category-stone-surface:
    radial-gradient(ellipse at 24% 0%, rgb(255 244 223 / 25%), transparent 55%),
    linear-gradient(
      132deg,
      transparent 38%,
      rgb(255 255 255 / 7%) 46%,
      transparent 53%
    ),
    linear-gradient(
      180deg,
      rgb(110 94 74 / 20%),
      transparent 48%,
      rgb(0 0 0 / 32%)
    );
  --nav-glass-background: linear-gradient(
    100deg,
    rgb(172 137 91 / 12%),
    rgb(35 25 17 / 28%)
  );
  --nav-glass-ink: #fff;
  --home-muted: #76716a;
  --home-line: rgba(139, 114, 82, 0.2);
  --home-space: clamp(28px, 3vw, 44px);
  --home-section-space: clamp(48px, 5.5vw, 80px);
  --home-small: 14px;
  --home-body: clamp(14px, 1.12vw, 16px);
  --home-heading: clamp(24px, 2.5vw, 35px);
  --decor-size: 12px;
  --decor-tracking: 0.22em;
  --home-subtle-shadow: 0 3px 14px rgb(64 45 23 / 4%);
  --hero-nav-shadow: 0 0 40px #000;
  --hero-group-gap: clamp(46px, calc(2.5vw + 18px), 54px);
  --hero-copy-gap: 10px;
  /* Offset the added group spacing so the CTA keeps its existing position. */
  --hero-copy-lift: clamp(14px, calc(38px - 1.7vw), 18px);
  /* Shared by the hero's reserved space and the following paper decoration. */
  --paper-overlap: clamp(64px, 7.5vw, 144px);
  --hero-signature-gap: 24px;
  --home-texture: url("../images/paper-fiber-texture.webp");
  --home-texture-size: 620px 620px;
  background: #fff;
}
.page-home .eyebrow {
  margin: 0 0 7px;
  font-size: var(--decor-size);
  letter-spacing: var(--decor-tracking);
  color: var(--home-gold);
}
.page-home .site-header {
  position: absolute;
  inset: 0 0 auto;
  color: #f5ecdc;
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
}
.page-home .site-header.is-scrolled {
  background: transparent;
  box-shadow: none;
}
.page-home .header-inner {
  text-shadow: var(--hero-nav-shadow);
}
.page-home .gnb {
  background: var(--nav-glass-background);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgb(0 0 0 / 12%);
  text-shadow: 0 0 16px rgb(0 0 0 / 70%);
}
.page-home .brand {
  font-size: clamp(20px, 1.9vw, 28px);
  letter-spacing: 0.06em;
}
.page-home .site-header .brand,
.page-home .site-header .brand span {
  color: var(--home-gold-light);
}
.page-home .site-header .brand__logo {
  filter: drop-shadow(0 0 40px #000);
}
.page-home .menu-toggle {
  color: #fff;
  background: transparent;
  border: 0;
}
.page-home .mobile-menu {
  background: #fff;
}
.page-home.menu-open .site-header {
  position: fixed;
  background: #fff;
  color: var(--color-ink);
}
.page-home.menu-open .header-inner {
  text-shadow: none;
}
.page-home.menu-open .site-header .brand__logo {
  filter: none;
}
.page-home.menu-open .menu-toggle {
  color: var(--color-ink);
}
.page-home .landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: clamp(34px, 3.2vw, 46px);
  padding: 7px 26px;
  border: 1px solid var(--color-banner-red-border);
  border-radius: var(--radius-pill);
  color: #fff6e5;
  background: linear-gradient(
    110deg,
    var(--color-banner-red-light),
    var(--color-banner-red)
  );
  box-shadow: 0 8px 24px rgb(50 0 0 / 25%);
  font-size: var(--home-body);
  font-weight: 400;
  line-height: 1.4;
  filter: brightness(1);
  transition: filter 0.2s ease;
}
.page-home .landing-button:hover {
  filter: brightness(1.14);
}
.page-home .landing-button--outline {
  background: transparent;
  color: var(--home-gold-light);
}
.page-home .landing-button--light {
  min-height: 38px;
  padding: 8px 24px;
  font-size: var(--home-small);
  font-weight: 600;
}
.landing-hero {
  /* Preserve the hero typography while the rest of the site uses local Pretendard. */
  --font-sans: var(--font-sans-fallback);
  font-family: var(--font-sans);
  --hero-image: url("../images/hero-temple.jpg?v=13bb6dd7");
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* The paper overlaps the bottom of the first viewport, including mobile browser chrome. */
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: calc(var(--paper-overlap) + var(--hero-signature-gap));
  color: #fff;
  /* The original photograph stays untouched; desktop fades only its side edges. */
  background: #171410 var(--hero-image) center top / cover no-repeat;
}
.landing-hero__copy {
  position: relative;
  z-index: 1;
  padding-top: calc(
    clamp(184px, calc(14.5vw + 40px), 250px) - var(--hero-copy-lift)
  );
  text-align: center;
}
.landing-hero__tagline {
  margin: 0 0 var(--hero-group-gap);
  color: #f4ebdf;
  font-family: var(--font-serif);
  font-size: var(--decor-size);
  font-weight: 300;
  letter-spacing: var(--decor-tracking);
}
.landing-hero__intro {
  margin: 0 0 var(--hero-copy-gap);
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  text-wrap: balance;
}
.landing-hero h1 {
  margin: 0;
}
.landing-hero__logo {
  width: min(100%, clamp(260px, 38vw, 500px));
  height: auto;
  margin-inline: auto;
  filter: none;
}
.landing-hero__description {
  margin: var(--hero-copy-gap) 0 var(--hero-group-gap);
  font-size: var(--home-body);
  font-weight: 300;
  line-height: 1.8;
  color: #f4f0e9;
}
.page-home .landing-hero .landing-button {
  font-weight: 300;
}
.landing-hero__signature {
  /* In normal flow: copy cannot overlap it, and reserved space keeps paper below it. */
  position: relative;
  z-index: 1;
  isolation: isolate;
  margin: auto 0 0;
  padding-top: var(--hero-signature-gap);
  text-align: center;
  color: #fff0d5;
  font-family: var(--font-serif);
  font-size: clamp(8px, 0.85vw, 12px);
  letter-spacing: 0.35em;
  text-shadow: 0 0 40px rgb(0 0 0 / 60%);
}
.landing-hero__signature::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -28px;
  width: min(90%, 560px);
  height: 80px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgb(0 0 0 / 55.2%) 0%,
    rgb(0 0 0 / 45%) 35%,
    transparent 72%
  );
  filter: blur(10px);
  pointer-events: none;
}
.page-home .site-header .brand__logo,
.landing-hero__logo {
  filter: brightness(0) invert(1);
}
.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #0b0a06;
  animation: temple-light-in 1900ms linear both;
}
@keyframes temple-light-in {
  from {
    opacity: 0.9;
  }
  to {
    opacity: 0;
  }
}
.hero-torch-lights {
  position: absolute;
  inset-block: 0;
  z-index: 0;
  overflow: clip;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-torch-light {
  position: absolute;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgb(255 205 132 / 66%) 0%,
    rgb(248 150 55 / 33%) 22%,
    rgb(235 115 35 / 12%) 42%,
    transparent 70%
  );
  opacity: 0.3;
  animation: torch-light-drift 3700ms ease-in-out infinite;
}
.hero-torch-light--right {
  animation-duration: 4300ms;
  animation-delay: -1700ms;
}
@keyframes torch-light-drift {
  0%,
  100% {
    opacity: 0.32;
  }
  16% {
    opacity: 0.58;
  }
  30% {
    opacity: 0.4;
  }
  43% {
    opacity: 0.68;
  }
  57% {
    opacity: 0.43;
  }
  72% {
    opacity: 0.55;
  }
  86% {
    opacity: 0.35;
  }
}
.hero-sunlight {
  position: absolute;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgb(255 248 224 / 72.5%),
    rgb(255 230 179 / 32%) 30%,
    rgb(255 224 160 / 10.5%) 52%,
    transparent 72%
  );
  animation: sunlight-breathe 7100ms ease-in-out infinite;
}
@keyframes sunlight-breathe {
  0%,
  100% {
    opacity: 0.16;
  }
  45% {
    opacity: 0.7;
  }
  72% {
    opacity: 0.315;
  }
}
.hero-torch-lights.is-paused > span,
.hero-torch-lights.is-document-hidden > span {
  animation-play-state: paused;
}
@media (min-width: 1025px) {
  .hero-torch-lights {
    mask-image: linear-gradient(
      to right,
      transparent,
      #000 var(--hero-edge-fade),
      #000 calc(100% - var(--hero-edge-fade)),
      transparent
    );
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-torch-lights {
    display: none;
  }
  .landing-hero::after {
    animation: none;
    opacity: 0;
  }
}

/* The transparent PNG belongs to the following section, not the hero.
   Cover preserves its 1920:200 ratio; narrow screens crop only the sides.
   Content starts halfway into the solid paper tail below the hero. */
.paper-section {
  --paper-art-height: clamp(84px, 10.416667vw, 200px);
  /* Sampled from the supplied PNG's lower edge. */
  --home-paper: #f0ede6;
  position: relative;
  isolation: isolate;
  padding-top: calc((var(--paper-art-height) - var(--paper-overlap)) / 2);
}
.paper-section > .paper-edge {
  position: absolute;
  z-index: -1;
  top: calc(-1 * var(--paper-overlap));
  inset-inline: 0;
  height: var(--paper-art-height);
  /* Opaque lower paper stays light even before the PNG has decoded. */
  background:
    url("../images/paper-torn-edge.png?v=5a0af124") center top / cover no-repeat,
    linear-gradient(to bottom, transparent 62%, var(--home-paper) 62%);
  pointer-events: none;
}

.paper-section > .paper-edge::after {
  /* Blend the torn PNG into the shared paper texture below it. */
  content: "";
  position: absolute;
  top: 62%;
  inset-inline: 0;
  height: 38%;
  background: var(--home-texture) center top / var(--home-texture-size)
    repeat;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    rgb(0 0 0 / 60%)
  );
}

.landing-paper {
  background: transparent;
}
.home-categories {
  --category-size: clamp(60px, 5.7vw, 80px);
  --category-gap: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--category-gap);
  width: min(
    calc(100% - 24px),
    calc(var(--category-size) * 5 + var(--category-gap) * 4)
  );
  padding-block: 7px var(--home-space);
}
.home-categories a {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-categories__icon {
  --category-tile-mask: url("../icons/category-tile-middle.svg");
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 8px;
  color: var(--category-icon-color);
  filter: drop-shadow(0 3px 5px rgb(26 21 15 / 12%));
}
.home-categories__icon::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(-1 * var(--category-gap)) 0 0;
  background-color: var(--category-background);
  background-image: var(--category-stone-surface);
  mask: var(--category-tile-mask) center / 100% 100% no-repeat;
  pointer-events: none;
  transition: background-color 0.2s;
}
.home-categories a:first-child .home-categories__icon {
  --category-tile-mask: url("../icons/category-tile-start.svg");
}
.home-categories a:last-child .home-categories__icon {
  --category-tile-mask: url("../icons/category-tile-end.svg");
}
.home-categories a:last-child .home-categories__icon::before {
  right: 0;
}
.home-categories__icon .icon {
  width: 28px;
  height: 28px;
}
.home-categories a:hover .home-categories__icon::before {
  background-color: var(--category-background-hover);
}
.home-categories strong {
  font-size: var(--home-body);
  font-weight: 500;
}
/* Below-category composition follows bench.png; hero and paper geometry stay independent. */
.page-home {
  --home-card-radius: 18px;
  --home-card-shadow: 0 5px 16px rgb(64 45 23 / 7%);
  --home-content-paper: #f0ede6;
}
.page-home main {
  /* One continuous surface keeps the grain aligned between sections. */
  background-color: var(--home-content-paper);
  background-image:
    linear-gradient(rgb(240 237 230 / 40%), rgb(240 237 230 / 40%)),
    var(--home-texture);
  background-size: auto, var(--home-texture-size);
  background-position: center top;
  background-repeat: repeat;
}
.home-content {
  background: transparent;
}
.home-featured {
  padding-block: clamp(30px, 3.5vw, 50px) clamp(44px, 4.5vw, 64px);
}
.landing-heading,
.home-process__heading {
  text-align: center;
  margin-bottom: 30px;
}
.landing-heading h2,
.home-about h2,
.home-process h2 {
  margin: 0;
  color: #222832;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--home-heading);
  line-height: 1.4;
  letter-spacing: -0.035em;
}
.landing-heading > p:not(.eyebrow),
.home-process__heading > p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: var(--home-body);
  line-height: 1.7;
}
.landing-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #795531;
  font-size: var(--text-sm);
}
.landing-more:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 872px;
  margin-inline: auto;
}
.home-featured .landing-heading {
  margin-bottom: 34px;
}
.home-featured .landing-heading h2 {
  color: #171714;
}
.home-featured .landing-heading .eyebrow,
.home-featured__signature .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.home-featured .landing-heading .eyebrow {
  margin-bottom: 16px;
}
.home-featured .landing-heading .eyebrow::before,
.home-featured .landing-heading .eyebrow::after,
.home-featured__signature .eyebrow::before,
.home-featured__signature .eyebrow::after {
  content: "";
  width: clamp(28px, 5vw, 62px);
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.55;
}
.featured-card {
  --featured-badge-size: 58px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  overflow: hidden;
  border-radius: 22px;
  background: #fdfdfd;
  box-shadow: 0 8px 28px rgb(64 45 23 / 5%);
  transition: box-shadow 0.2s;
}
.featured-card:hover {
  box-shadow: 0 8px 28px rgb(64 45 23 / 9%);
}
.featured-card__art {
  flex: none;
  width: 100%;
  aspect-ratio: 1.38;
  overflow: hidden;
  border-radius: 15px;
  background: #e9e9e7;
}
.featured-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 38px 14px 14px;
  text-align: center;
}
.featured-card__icon {
  position: absolute;
  top: calc(var(--featured-badge-size) / -2);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: var(--featured-badge-size);
  height: var(--featured-badge-size);
  border-radius: 50%;
  color: #a67c50;
  background: #fff;
  box-shadow: 0 4px 12px rgb(80 59 33 / 9%);
}
.featured-card__icon .icon {
  width: 27px;
  height: 27px;
}
.featured-card__label {
  margin-bottom: 7px;
  color: var(--home-gold);
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: var(--decor-tracking);
}
.featured-card h3 {
  margin: 0 0 14px;
  color: #171714;
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.35;
}
.featured-card p {
  flex: 1;
  margin: 0 0 22px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.75;
  word-break: keep-all;
}
.featured-card .landing-more {
  align-self: center;
  padding-bottom: 7px;
  text-decoration: none;
  color: #946940;
}
.home-featured__signature {
  margin-top: clamp(36px, 4.5vw, 64px);
  text-align: center;
}
.home-featured__signature > p:last-child {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--home-muted);
}
.home-about {
  padding-block: clamp(58px, 6vw, 86px);
  background: transparent;
}
.home-about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.78fr;
  align-items: center;
  gap: clamp(30px, 4vw, 58px);
}
.home-about__scene {
  position: relative;
  margin: 0;
  min-width: 0;
  isolation: isolate;
}
.home-about__scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.home-about__scene--consultation {
  aspect-ratio: 1.05;
}
.home-about__art {
  position: relative;
  width: 100%;
  height: 100%;
  background: #e6cdae;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 57% 88%, 57% 74%, 0 74%);
  clip-path: shape(
    from 0% 6%,
    curve to 6% 0% with 0% 0%,
    line to 94% 0%,
    curve to 100% 6% with 100% 0%,
    line to 100% 84%,
    curve to 94% 90% with 100% 90%,
    line to 63% 90%,
    curve to 57% 84% with 57% 90%,
    line to 57% 81%,
    curve to 51% 75% with 57% 75%,
    line to 6% 75%,
    curve to 0% 69% with 0% 75%,
    close
  );
}
.home-about__art img {
  position: absolute;
  top: 4%;
  left: 12%;
  width: 76%;
  height: 70%;
  object-fit: contain;
  border-radius: 0;
}
.text-highlight {
  background-image: linear-gradient(
    rgb(192 148 96 / 30%),
    rgb(192 148 96 / 30%)
  );
  background-position: left 92%;
  background-size: 100% 0.24em;
  background-repeat: no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.home-about__scene--consultation figcaption {
  position: absolute;
  bottom: 0;
  left: 5%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: #916a46;
}
.home-about__scene--consultation figcaption span {
  margin-left: 12px;
}
.home-about__scene--messages {
  aspect-ratio: 0.82;
  padding-left: 22%;
}
.home-about__scene--messages img {
  object-position: 62% center;
}
.home-about__scene--messages figcaption {
  position: absolute;
  z-index: 1;
  top: 12%;
  left: -8%;
  width: 78%;
  padding: 24px 18px;
  border-radius: 18px;
  background: rgb(237 229 217 / 69%);
  font-family: var(--font-serif);
  font-size: clamp(12px, 1.1vw, 15px);
  color: #805b3b;
  line-height: 1.6;
}
.home-about__scene--messages figcaption span {
  display: block;
  margin-top: 20px;
}
.home-about__copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: var(--home-body);
  line-height: 1.8;
}
.home-about__link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 9px 24px;
  border: 1px solid #956f4f;
  border-radius: 999px;
  color: #805b3b;
  font-size: 14px;
}
.home-about__link:hover {
  background: #eee6da;
}
.home-process {
  padding-block: 24px 38px;
}
.home-process h2 {
  font-size: clamp(24px, 2.45vw, 35px);
}
.home-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-process__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 14px;
  align-content: center;
  padding: 52px 22px 28px;
  min-height: 168px;
  border-radius: var(--home-card-radius);
  background: #fff;
  box-shadow: var(--home-subtle-shadow);
}
.home-process__steps li + li::before {
  content: "›";
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  color: #9b7651;
  font-size: 28px;
  font-family: var(--font-serif);
}
.home-process__icon {
  grid-row: 1 / 3;
  display: grid;
  align-self: center;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #946940;
  box-shadow: 0 2px 8px rgb(53 40 22 / 12%);
}
.home-process__icon span {
  position: absolute;
  top: 14px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f2efeb;
  color: #805b3b;
  font-size: 14px;
  font-weight: 600;
}
.home-process__icon .icon {
  width: 29px;
  height: 29px;
}
.home-process h3 {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
}
.home-process__steps p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--home-muted);
  line-height: 1.7;
}
.home-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
  padding-bottom: var(--home-section-space);
}
.home-support > section {
  padding: 24px 30px 20px;
  border-radius: var(--home-card-radius);
  background: #fff;
  box-shadow: var(--home-subtle-shadow);
}
.support-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.support-heading h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}
.home-notices {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.home-notices li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  padding-block: 9px;
  border-top: 1px solid #f0eeea;
}
.home-notices time {
  color: #888178;
  font-size: var(--text-sm);
  white-space: nowrap;
}
.home-notices a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #655f57;
}
.home-notices a:hover {
  text-decoration: underline;
}
.home-faq details {
  border-top: 1px solid #f0eeea;
  color: #655f57;
  font-size: 14px;
}
.home-faq summary {
  position: relative;
  padding: 9px 18px;
  cursor: pointer;
  list-style: none;
}
.home-faq summary::-webkit-details-marker {
  display: none;
}
.home-faq summary::before,
.home-faq summary::after {
  content: "›";
  position: absolute;
  top: 9px;
  color: #a27b4d;
}
.home-faq summary::before {
  left: 0;
}
.home-faq summary::after {
  right: 0;
  transition: transform 0.2s;
}
.home-faq summary[aria-expanded="true"]::after {
  transform: rotate(90deg);
}
.home-faq details > p {
  margin: 0 0 12px;
  padding: 14px;
  line-height: 1.8;
  background: var(--home-content-paper);
  border-radius: 8px;
}
.landing-footer {
  background: #faf9f7;
  padding-block: 32px;
}
.landing-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 32px;
  align-items: center;
}
.page-home .landing-footer .brand__logo {
  width: var(--brand-logo-width, 101px);
}
.landing-footer p {
  margin: 6px 0 0;
  color: #817c75;
  font-size: var(--text-sm);
  line-height: 1.7;
}
.landing-footer .footer-copyright {
  margin-top: 0;
  color: #918c85;
  font-size: calc(var(--text-xs) - 1px);
}
.landing-footer__info nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 8px;
  font-size: var(--text-sm);
  color: #635e57;
}
.landing-footer__info nav a + a {
  margin-left: 13px;
  padding-left: 13px;
  border-left: 1px solid #d9d6d1;
}
.landing-footer__signature {
  font-family: var(--font-serif);
  line-height: 1.8;
  letter-spacing: 0.05em;
}
@media (max-width: 1100px) {
  .home-about__inner {
    grid-template-columns: 1fr 1.3fr 0.7fr;
    gap: 26px;
  }
  .home-process__steps {
    gap: 24px;
  }
  .home-process__steps li {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 10px;
    padding: 52px 14px 22px;
  }
  .home-process__icon {
    width: 44px;
    height: 44px;
  }
  .home-process__icon .icon {
    width: 25px;
    height: 25px;
  }
  .home-process__icon span {
    left: 18px;
    width: 32px;
    height: 32px;
  }
  .home-process__steps li + li::before {
    left: -16px;
  }
}
@media (max-width: 900px) {
  .featured-grid {
    gap: 16px;
  }
  .home-about__inner {
    grid-template-columns: 0.9fr 1.25fr;
    gap: 32px;
  }
  .home-about__scene--messages {
    display: none;
  }
  .home-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .home-process__steps li {
    min-height: 150px;
    padding: 44px 22px 24px;
    column-gap: 18px;
  }
  .home-process__steps li:nth-child(3)::before {
    display: none;
  }
  .home-support {
    gap: 18px;
  }
  .home-support > section {
    padding: 22px 20px 18px;
  }
  .home-notices li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .home-faq summary {
    min-height: 58px;
    display: flex;
    align-items: center;
  }
  .home-faq summary::before,
  .home-faq summary::after {
    top: 18px;
  }
  .landing-footer__inner {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }
  .landing-footer__info {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (max-width: 560px) {
  .home-featured {
    padding-top: 32px;
  }
  .landing-heading,
  .home-process__heading {
    margin-bottom: 24px;
  }
  .landing-heading > p:not(.eyebrow) {
    max-width: 260px;
    margin-inline: auto;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 360px;
  }
  .home-featured__signature .eyebrow {
    font-size: 9px;
    gap: 10px;
  }
  .home-featured__signature .eyebrow::before,
  .home-featured__signature .eyebrow::after {
    width: 16px;
  }
  .home-about {
    padding-block: 52px;
  }
  .home-about__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .home-about__scene--consultation {
    width: 84%;
    margin-inline: auto;
  }
  .home-about__copy {
    text-align: center;
  }
  .home-about__copy > p:not(.eyebrow) {
    font-size: 14px;
    text-align: left;
  }
  .home-process {
    padding-top: 8px;
    padding-bottom: 32px;
  }
  .home-process h2 {
    text-wrap: balance;
  }
  .home-process__steps {
    gap: 18px;
  }
  .home-process__steps li {
    display: block;
    min-height: 198px;
    padding: 50px 16px 20px;
  }
  .home-process__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }
  .home-process__icon span {
    top: 12px;
    left: 16px;
    width: 28px;
    height: 28px;
  }
  .home-process h3 {
    font-size: 16px;
  }
  .home-process__steps li + li::before {
    left: -13px;
    font-size: 23px;
  }
  .home-support {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .home-support > section {
    padding: 22px 20px 18px;
  }
  .home-notices li {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 8px;
    font-size: var(--text-sm);
  }
  .home-notices time {
    font-size: var(--text-sm);
  }
  .home-faq summary {
    min-height: 44px;
    font-size: var(--text-sm);
  }
  .home-faq summary::before,
  .home-faq summary::after {
    top: 11px;
  }
  .landing-footer__inner {
    grid-template-columns: 1fr;
  }
  .landing-footer__signature {
    display: none;
  }
}

@media (max-width: 900px) {
  .page-home {
    --gutter: 28px;
    --home-body: 14px;
    --home-small: var(--text-sm);
  }
  .landing-hero__copy {
    padding-top: calc(155px - var(--hero-copy-lift));
  }
}
@media (max-width: 560px) {
  .page-home {
    --decor-size: 11px;
  }
  .landing-hero__intro {
    font-size: 15px;
  }
  .page-home {
    --gutter: 22px;
    --hero-copy-gap: 8px;
    --home-space: 28px;
    --home-heading: 24px;
  }
  .page-home .brand {
    font-size: 19px;
  }
  .landing-hero {
    /* Keep the scene's scale independent of the shorter section. The stairs end
       near 67% of the source; paper begins just below them, not after all the floor. */
    --hero-scene-height: clamp(740px, 200vw, 840px);
    min-height: calc(var(--hero-scene-height) * 0.76);
    background-size: auto var(--hero-scene-height);
    background-position: calc(50% + 6px) top;
  }
  .landing-hero__copy {
    padding-top: calc(139px - var(--hero-copy-lift));
  }
  .landing-hero__description {
    font-size: var(--text-sm);
  }
  .page-home .landing-hero .landing-button {
    font-size: var(--text-sm);
    padding: 10px 22px;
  }
  .landing-hero__signature {
    font-size: 8px;
    letter-spacing: 0.24em;
  }
  .home-categories {
    padding-top: 12px;
  }
  .home-categories__icon {
    margin-bottom: 8px;
  }
  .home-categories__icon .icon {
    width: 22px;
    height: 22px;
  }
  .home-categories strong {
    font-size: var(--text-sm);
  }
}
/* Desktop: a slightly narrower scene reveals dark side gutters. The mask blends
   only the photograph's edges into those gutters, never the HTML or center. */
@media (min-width: 1025px) {
  .landing-hero__copy {
    padding-top: calc(
      clamp(224px, calc(14.5vw + 80px), 290px) - var(--hero-copy-lift)
    );
  }
  .landing-hero__logo {
    width: 290px;
  }
  .landing-hero {
    --hero-side-gutter: 4%;
    --hero-edge-fade: 9%;
    --hero-lift: 48px;
    /* Cap at the 1920 × 1080 desktop composition; wider screens add gutters. */
    --hero-max-height: 1032px;
    --hero-scene-max-width: 1766.4px;
    min-height: min(calc(100vh - var(--hero-lift)), var(--hero-max-height));
    min-height: min(calc(100svh - var(--hero-lift)), var(--hero-max-height));
    background: #0b0a06;
  }
  .landing-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block: 0;
    left: 50%;
    width: calc(100% - var(--hero-side-gutter) * 2);
    max-width: var(--hero-scene-max-width);
    transform: translateX(-50%);
    background: var(--hero-image) center top / cover no-repeat;
    mask-image: linear-gradient(
      to right,
      transparent,
      #000 var(--hero-edge-fade),
      #000 calc(100% - var(--hero-edge-fade)),
      transparent
    );
    pointer-events: none;
  }
}
/* Extend the paper sideways without enlarging its tear on ultrawide monitors. */
@media (min-width: 1921px) {
  .paper-section > .paper-edge {
    background-size: 1920px 200px;
    background-repeat: repeat-x;
  }
}
/* Keep the first-screen transition visible on shorter laptop/mobile windows. */
@media (max-height: 700px) {
  .landing-hero__copy {
    padding-top: calc(112px - var(--hero-copy-lift));
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .landing-button,
  .featured-card,
  .home-categories__icon,
  .home-categories__icon::before,
  .home-faq summary::after {
    transition: none;
  }
}
