/* Studio Saint-Revel — shared layer for header Inquire button, homepage, inquire, selected works and project pages.
   Loads last. Breakpoints: 900px and 560px. */

/* Header nav: Inquire is a plain word link, styled like the other nav items */
.nav-h { align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 34px; border: 1px solid var(--ink); background: var(--ink); color: #FFFFFF;
  font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover, .btn:focus-visible { background: transparent; color: var(--ink); }
.btn--quiet { background: transparent; color: var(--ink); }
.btn--quiet:hover, .btn--quiet:focus-visible { background: var(--ink); color: #FFFFFF; }
.btn--light { background: #F3EEE6; color: var(--ink); border-color: #F3EEE6; }
.btn--light:hover, .btn--light:focus-visible { background: transparent; color: #F3EEE6; }
.btn--quiet-light { background: transparent; color: #F3EEE6; border-color: rgba(243,238,230,.6); }
.btn--quiet-light:hover, .btn--quiet-light:focus-visible { background: #F3EEE6; color: var(--ink); }

/* Homepage */
.home-hero { max-width: 1040px; margin: 40px auto 56px; padding: 0 var(--inset); text-align: center; }
.home-hero__title {
  margin: 22px auto 26px; max-width: 14em;
  font-family: var(--font-display); font-weight: 430; font-style: normal;
  font-size: 64px; line-height: 1.2; letter-spacing: 0; color: var(--ink);
  text-transform: none; text-wrap: balance; hyphens: none;
}
.home-hero__title i { font-style: italic; font-weight: 430; }
.home-hero__title br { display: none; }
@media (min-width: 901px) {
  /* Explicit editorial breaks are English-only; other languages wrap as a single phrase. */
  html:lang(en) .home-hero__title br { display: block; }
}
.home-hero__sub { max-width: 760px; margin: 0 auto; font-family: var(--font-display); font-size: 21px; line-height: 1.6; color: #4A423D; text-wrap: pretty; }
.home-hero__actions { display: flex; justify-content: center; gap: 16px; margin-top: 36px; }
.home-hero__img { margin: 0 var(--inset) var(--space-section); aspect-ratio: 16 / 7.4; }
.home-hero__img img { object-position: center 60%; }

.home-services { margin: 0 var(--inset) var(--space-section); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.svc__link { display: block; color: inherit; }
.svc__img { aspect-ratio: 4 / 5; }
.svc__img img { transition: transform .8s ease; }
.svc__link:hover .svc__img img { transform: scale(1.02); }
.svc h3 { margin: var(--space-caption) 0 12px; font-family: var(--font-display); font-weight: 430; font-size: 32px; color: var(--ink); }
.svc p { font-size: 17px; line-height: 1.65; color: #5A524C; margin-bottom: 16px; }
/* Plain word link, set like the header nav: no underline, border or box; subtle hover only */
.more { display: inline-block; padding: 0; border: 0; background: none; font-family: var(--font-ui); font-size: 10px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: opacity .2s ease; }
.more:hover, .more:focus-visible { opacity: .55; }

/* Works cards (home band, section pages, journal, project pages, selected works grid) */
.works-band { margin: 0 var(--inset) var(--space-section-sm); }
.works-band--home { margin: 0 0 var(--space-section-sm); padding: var(--space-band) var(--inset); background: var(--wash); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.works-band--home .folio-grid {
  margin-left: 0;
  margin-right: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
@media (max-width: 900px) {
  .works-band--home .folio-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}

.works-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.works-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.works-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work__link { display: block; color: inherit; }
.work__img { aspect-ratio: 4 / 3; margin-bottom: var(--space-caption); }
.works-row--4 .work__img { aspect-ratio: 4 / 5; }
.work__img img { transition: transform .8s ease; }
.work__link:hover .work__img img { transform: scale(1.02); }
.work .kicker { margin-bottom: 10px; font-size: 10.5px; }
.work h2, .work h3 { font-family: var(--font-display); font-weight: 430; font-size: 26px; line-height: 1.2; color: var(--ink); }
.work__link:hover h2, .work__link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.work p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: #5A524C; }
.page-section .works-band--section { margin-bottom: var(--space-section-sm); }

.home-story { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: center; margin: 0 var(--inset) var(--space-section); }
.home-story__img { aspect-ratio: 3 / 2; }
.home-story__text h2, .home-atelier__text h2 { margin: 16px 0 20px; font-family: var(--font-display); font-weight: 430; font-size: 42px; line-height: 1.14; color: var(--ink); }
.home-story__text p, .home-atelier__text p { font-family: var(--font-display); font-size: 20px; line-height: 1.7; color: #4A423D; }
.home-story__places { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 24px 0 28px; }
.home-story__places span, .inq-contact__places span {
  font-family: var(--font-ui) !important; font-size: 11px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink);
}
.home-story__places span + span::before, .inq-contact__places span + span::before { content: "·"; margin: 0 14px; color: #B8AEA5; }

.home-journal { margin: 0 var(--inset) var(--space-section); }
.home-journal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.home-journal .story { grid-column: auto; }
.home-journal .story .ph { margin-bottom: var(--space-caption); }
.home-journal .story .kicker { margin-bottom: 10px; }
.section-head h2 i { font-style: italic; }
.page-home #journal-head,
.home-journal #journal-head {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 430;
}


.home-atelier { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; margin: 0 var(--inset) var(--space-section); }
.home-atelier__img { order: 2; aspect-ratio: 16 / 10; }
.home-atelier__text .more { margin-top: 28px; }
.home-sample { margin: 0 var(--inset) 40px; text-align: center; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* Inquire band (espresso) */
.inq-band { position: relative; margin: 0; padding: var(--space-band) var(--inset); background: var(--wash); border-top: 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-align: center; }
.inq-band::before { content: ""; position: absolute; left: var(--inset); right: var(--inset); top: 0; height: 1px; background: var(--rule); pointer-events: none; }
.inq-band__line { font-family: var(--font-display); font-weight: 430; font-style: italic; font-size: 46px; line-height: 1.2; color: var(--ink); }
.inq-band__sub { margin-top: 16px; font-size: 17px; color: var(--muted); }
/* light band: light-on-dark buttons render as ink buttons */
.inq-band .btn--light { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.inq-band .btn--light:hover, .inq-band .btn--light:focus-visible { background: transparent; color: var(--ink); }
.inq-band .btn--quiet-light { background: transparent; color: var(--ink); border-color: var(--ink); }
.inq-band .btn--quiet-light:hover, .inq-band .btn--quiet-light:focus-visible { background: var(--ink); color: #FFFFFF; }
.inq-band__actions { display: flex; justify-content: center; gap: 16px; margin-top: 36px; }

/* Inquire page */
.inq-intro { max-width: 820px; margin: var(--space-section-sm) auto var(--space-head); padding: 0 var(--inset); text-align: center; }
.inq-intro__title { margin: 20px 0 22px; font-family: var(--font-display); font-weight: 430; font-size: 60px; line-height: 1.12; color: var(--ink); text-wrap: balance; }
.inq-intro__text { font-family: var(--font-display); font-size: 21px; line-height: 1.6; color: #4A423D; }
.inq-form { max-width: 760px; margin: 0 auto var(--space-section); padding: 0 var(--inset); }
.inq-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); }
.field label span { color: var(--muted); letter-spacing: 0.1em; text-transform: none; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid #CFC6BC; border-radius: 0; background: #FFFFFF;
  font-family: var(--font-ui); font-size: 16px; line-height: 1.4; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 24px, calc(100% - 17px) 24px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A817A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #8C3B2E; }
.inq-form__actions { margin-top: 36px; text-align: center; }
.inq-form button {
  min-height: 56px; padding: 0 48px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: #FFFFFF; cursor: pointer;
  font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
}
.inq-form button:hover, .inq-form button:focus-visible { background: transparent; color: var(--ink); }
.inq-form__note { margin-top: 14px; text-align: center; font-size: 12px; color: var(--muted); }
.inq-form__thanks { margin-top: 8px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 30px; color: var(--ink); outline: none; }
.inq-form.is-done .inq-form__fields, .inq-form.is-done .inq-form__actions, .inq-form.is-done .inq-form__note { display: none; }
.inq-contact { max-width: 760px; margin: 0 auto var(--space-section); padding: var(--space-band) var(--inset) 0; border-top: 1px solid var(--rule); text-align: center; }
.inq-contact__email a { font-family: var(--font-display); font-size: 26px; color: var(--ink); border-bottom: 1px solid rgba(43,36,32,.35); }
.inq-contact__email span { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.inq-contact__places { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin-top: 28px; }
.inq-contact h2 + .inq-contact__places { margin-top: 0; } /* no email line above the cities */

/* Selected works page */
.works-intro { max-width: 860px; margin: var(--space-section-sm) auto var(--space-head); padding: 0 var(--inset); text-align: center; }
.works-intro__title { margin: 18px 0 22px; font-family: var(--font-display); font-weight: 430; font-size: 80px; line-height: 1; color: var(--ink); }
.works-intro__text { font-family: var(--font-display); font-size: 21px; line-height: 1.6; color: #4A423D; }
.wf-target { display: block; height: 0; scroll-margin-top: 24px; }
.works-filter { display: flex; justify-content: center; gap: 8px; margin: 0 var(--inset) var(--space-head); padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.wf { padding: 10px 18px; border: 1px solid transparent; font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.wf:hover, .wf:focus-visible { color: var(--ink); }
.wf[aria-current="true"] { color: var(--ink); border-color: var(--ink); }
html:not(.js) .works-filter .wf[data-filter="all"] { color: var(--ink); border-color: var(--ink); }
html:not(.js) .wf-target:target ~ .works-filter .wf[data-filter="all"] { color: var(--muted); border-color: transparent; }
html:not(.js) #residential:target ~ .works-filter [data-filter="residential"],
html:not(.js) #hospitality:target ~ .works-filter [data-filter="hospitality"],
html:not(.js) #yacht-aircraft:target ~ .works-filter [data-filter="yacht-aircraft"],
html:not(.js) #atelier:target ~ .works-filter [data-filter="atelier"],
html:not(.js) #all:target ~ .works-filter [data-filter="all"] { color: var(--ink); border-color: var(--ink); }
html:not(.js) #residential:target ~ .works-grid .work:not([data-cat="residential"]),
html:not(.js) #hospitality:target ~ .works-grid .work:not([data-cat="hospitality"]),
html:not(.js) #yacht-aircraft:target ~ .works-grid .work:not([data-cat="yacht-aircraft"]) { display: none; }
html:not(.js) #residential:target ~ .folio .folio-section:not([data-cat="residential"]),
html:not(.js) #hospitality:target ~ .folio .folio-section:not([data-cat="hospitality"]),
html:not(.js) #yacht-aircraft:target ~ .folio .folio-section:not([data-cat="yacht-aircraft"]),
html:not(.js) #atelier:target ~ .folio .folio-section:not([data-cat="atelier"]) { display: none; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 40px; margin: 0 var(--inset) var(--space-section); }
.works-grid .work.is-hidden { display: none; }
.works-empty { text-align: center; margin: -60px 0 var(--space-section); color: var(--muted); }

/* Portfolio gallery (selected-works). Frames use orientation + object-fit; no baked pixel sizes. */
.folio { margin: 0 0 var(--space-section); }
.folio-section { margin: 0 0 var(--space-section); }
.folio-section:last-child { margin-bottom: 0; }
.folio-section .section-head { margin: 0 var(--inset) var(--space-head); }
.folio-section.is-hidden { display: none; }
.folio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin: 0 var(--inset); align-items: start; }
.folio__item { margin: 0; min-width: 0; }
.folio__item.is-hidden { display: none; }
.folio__item--lead { grid-column: span 2; }
.folio__link { display: block; color: inherit; }
.folio__frame { overflow: hidden; background: var(--wash); }
.folio__frame picture, .folio__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.folio__item--landscape .folio__frame { aspect-ratio: 3 / 2; }
.folio__item--portrait .folio__frame { aspect-ratio: 4 / 5; }
.folio__item--square .folio__frame { aspect-ratio: 1 / 1; }
.folio__frame img { transition: transform .8s ease; }
.folio__link:hover img { transform: scale(1.02); }
.folio__cap { margin-top: var(--space-caption); }
.folio__cap .kicker { display: block; margin-bottom: 8px; font-size: 10.5px; }
.folio__name { display: block; font-family: var(--font-display); font-weight: 430; font-size: 22px; line-height: 1.25; color: var(--ink); }
.folio__item:hover .folio__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }


/* Project pages */
.proj-crumb { margin: 24px var(--inset) 0; text-align: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.proj-crumb a { color: var(--ink); }
.proj-crumb span { margin: 0 10px; }
.proj-intro { max-width: 900px; margin: 40px auto 56px; padding: 0 var(--inset); text-align: center; }
.proj-intro__title { margin: 18px 0 20px; font-family: var(--font-display); font-weight: 430; font-size: 72px; line-height: 1.04; color: var(--ink); }
.proj-intro__dek { font-family: var(--font-display); font-size: 22px; line-height: 1.55; color: #4A423D; }
.proj-hero { margin: 0 var(--inset) var(--space-section); aspect-ratio: 16 / 8; }
.proj-body { display: grid; grid-template-columns: 7fr 4fr; gap: 96px; margin: 0 var(--inset) var(--space-section); }
.proj-story h2 { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--rule-2); font-family: var(--font-display); font-weight: 430; font-size: 34px; color: var(--ink); }
.proj-story p { font-family: var(--font-display); font-size: 21px; line-height: 1.7; color: #4A423D; margin-bottom: 20px; }
.proj-story .sec-sample { font-family: var(--font-ui); font-size: 11px; line-height: 1.4; color: var(--muted); margin-top: 8px; }
.proj-details { align-self: start; border-top: 1px solid var(--rule-2); }
.proj-details div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.proj-details dt { font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.proj-details dd { font-family: var(--font-display); font-size: 19px; line-height: 1.5; color: var(--ink); }
.proj-gallery { display: grid; grid-template-columns: 7fr 5fr; grid-auto-rows: 1fr; gap: 32px; margin: 0 var(--inset) var(--space-section); }
.proj-gallery__item { min-height: 0; }
.proj-gallery--3 { grid-template-rows: 380px 380px; }
.proj-gallery--3 .proj-gallery__item:first-child { grid-row: span 2; }
.proj-gallery--2 { grid-template-rows: 560px; grid-template-columns: 1fr 1fr; }
.page-project .works-band { margin-top: var(--space-section-sm); }

@media (max-width: 900px) {
  main a.btn, .page-journal main a.btn { display: inline-flex; min-height: 52px; text-decoration: none; }
  main a.more, .page-journal main a.more { display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0; border-bottom: 0; text-decoration: none; }
  .page-journal main .proj-crumb a, .page-journal main .inq-contact__email a { display: inline; min-height: 0; }

  .home-hero { margin: 28px auto 36px; }
  .home-hero__title { font-size: 42px; }
  .home-hero__sub { font-size: 18px; }
  .home-hero__actions, .inq-band__actions { flex-wrap: wrap; }
  .home-hero__img { margin: 0 0 88px; aspect-ratio: 4 / 3; }
  .home-services, .home-journal, .works-band { margin-bottom: var(--space-section); }
  .svc-grid, .home-journal__grid, .works-row, .works-row--4, .works-row--2 { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .svc-grid .svc:last-child { grid-column: 1 / -1; }
  .svc-grid .svc:last-child .svc__img { aspect-ratio: 16 / 10; }
  .home-journal__grid .story:last-child { display: none; }
  .works-row--3 .work:last-child { display: none; }
  .works-band--home { padding: var(--space-band) var(--inset); margin-bottom: var(--space-section-sm); }
  .home-story, .home-atelier { grid-template-columns: 1fr; gap: 32px; margin-bottom: var(--space-section); }
  .home-atelier__img { order: 0; }
  .home-story__text h2, .home-atelier__text h2 { font-size: 34px; }
  .home-story__text p, .home-atelier__text p { font-size: 18px; }
  .inq-band { padding: var(--space-band) var(--inset); }
  .inq-band__line { font-size: 34px; }

  .inq-intro { margin: var(--space-section-sm) auto var(--space-head); }
  .inq-intro__title { font-size: 42px; }
  .inq-intro__text { font-size: 18px; }
  .inq-form__fields { grid-template-columns: 1fr; gap: 22px; }

  .works-intro { margin: var(--space-section-sm) auto var(--space-head); }
  .works-intro__title { font-size: 56px; }
  .works-intro__text { font-size: 18px; }
  .works-filter { flex-wrap: wrap; gap: 4px; margin-bottom: var(--space-head); padding: 10px 0; }
  .page-journal main a.wf { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; margin-bottom: var(--space-section); }
  .folio-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .folio__name { font-size: 20px; }

  .proj-crumb { margin-top: 12px; }
  .proj-intro { margin: 28px auto 40px; }
  .proj-intro__title { font-size: 46px; }
  .proj-intro__dek { font-size: 19px; }
  .proj-hero { margin: 0 0 var(--space-section); aspect-ratio: 4 / 3; }
  .proj-body { grid-template-columns: 1fr; gap: 40px; margin-bottom: var(--space-section); }
  .proj-story p { font-size: 18px; }
  .proj-gallery, .proj-gallery--2, .proj-gallery--3 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; gap: 16px; margin-bottom: var(--space-section); }
  .proj-gallery--3 .proj-gallery__item:first-child { grid-row: auto; }
  .proj-gallery__item { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .home-hero__title { font-size: 34px; }
  .home-hero__sub { font-size: 17px; }
  .home-hero__actions .btn, .inq-band__actions .btn { flex: 1 1 100%; }
  .svc-grid, .home-journal__grid, .works-row, .works-row--4, .works-row--2, .works-grid, .folio-grid { grid-template-columns: 1fr; }
  .folio__item--lead { grid-column: auto; }
  .svc-grid .svc:last-child .svc__img { aspect-ratio: 4 / 5; }
  .svc__img { aspect-ratio: 4 / 4.4; }
  .home-journal__grid .story:last-child, .works-row--3 .work:last-child { display: block; }
  .works-row--4 .work__img { aspect-ratio: 4 / 3; }
  .home-story__places span + span::before, .inq-contact__places span + span::before { margin: 0 9px; }
  .home-story__places span, .inq-contact__places span { font-size: 10.5px; letter-spacing: 0.2em; }
  .inq-band__line { font-size: 30px; }
  .inq-intro__title { font-size: 36px; }
  .inq-contact__email a { font-size: 21px; }
  .works-intro__title { font-size: 46px; }
  .proj-intro__title { font-size: 38px; }
  .page-journal main a.wf { padding: 0 10px; letter-spacing: 0.16em; }
}

/* Clip stray horizontal overflow. Use clip so this does not create a scroll
   container that would break the sticky/fixed header; hidden is the fallback. */
html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

/* ---------- Sticky header (every page with the site header) ---------- */
html { scroll-padding-top: 150px; }
:target { scroll-margin-top: 150px; }
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 60;
  background: #FFFFFF; border-bottom: 1px solid var(--hair); box-shadow: none;
  transition: padding .25s ease, border-color .25s ease;
  overflow-anchor: none;
}
/* JS reserve: a slot keeps the expanded height in document flow so condensing
   the (now fixed) header cannot move the page or bounce at the scroll threshold. */
.site-header-slot { height: var(--hdr, 172px); overflow-anchor: none; pointer-events: none; }
html.js-hdr .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; }
.site-header .mark__studio { display: block; max-height: 20px; overflow: hidden; transition: max-height .25s ease, opacity .2s ease, margin .25s ease; }
.site-header .mark__name { transition: font-size .25s ease, margin .25s ease; }
.site-header .nav-h { transition: margin .25s ease; }
.site-header.is-condensed { padding-top: 14px; padding-bottom: 12px; box-shadow: none; }
/* Collapsed: the full-bleed hairline gives way to a faint inset line aligned to the content container */
.site-header::after { content: ""; position: absolute; left: var(--inset); right: var(--inset); bottom: -1px; height: 1px; background: #EAE6E0; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.site-header.is-condensed { border-bottom-color: transparent; }
.site-header.is-condensed::after { opacity: 1; }
.site-header.is-condensed .mark__studio { max-height: 0; opacity: 0; }
.site-header.is-condensed .mark__name { margin-top: 0; font-size: 17px; }
.site-header.is-condensed .nav-h { margin-top: 12px; }
.site-header + * { margin-top: 32px; }
.site-header + .hero, .site-header + .sec, .site-header + main.article { margin-top: 32px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  html { scroll-padding-top: 96px; }
  :target { scroll-margin-top: 96px; }
  .site-header + * { margin-top: 0; }
  html.js-nav .site-header { padding: 18px var(--inset) 14px; }
  html.js-nav .site-header.is-condensed { padding-top: 12px; padding-bottom: 10px; }
  html.js-nav .site-header .mark__name { margin-top: 5px; }
  html.js-nav .site-header.is-condensed .mark__name { margin-top: 0; font-size: 18px; }
  html.js-nav .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; position: absolute; right: calc(var(--inset) - 12px); top: 50%;
    transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--ink);
  }
  html.js-nav .nav-toggle:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
  .nav-toggle__bars { position: relative; display: block; width: 22px; height: 8px; }
  .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; position: absolute; left: 0; width: 22px; height: 1.25px; background: currentColor;
    transition: transform .25s ease, top .25s ease, bottom .25s ease;
  }
  .nav-toggle__bars::before { top: 0; }
  .nav-toggle__bars::after { bottom: 0; }
  .is-open .nav-toggle__bars::before { top: 3.4px; transform: rotate(45deg); }
  .is-open .nav-toggle__bars::after { bottom: 3.35px; transform: rotate(-45deg); }
  html.js-nav .site-header .nav-h {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px var(--inset) 28px;
    flex-direction: column; align-items: center; gap: 0; background: #FFFFFF; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
    box-shadow: none; font-size: 13px; max-height: calc(100vh - 80px); overflow-y: auto;
  }
  html.js-nav .site-header.is-open .nav-h { display: flex; }
  html.js-nav .site-header .nav-h a { justify-content: center; width: 100%; max-width: 320px; min-height: 48px; border-bottom: 1px solid var(--rule); }
}

/* ---------- Language menu: current code + chevron at the far right of the header; real <a href> list (crawlable). Mobile: list in the menu panel ---------- */
.lang-menu { position: absolute; right: var(--inset); bottom: 32px; z-index: 65; font-family: var(--font-ui); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; transition: bottom .25s ease; }
.site-header.is-condensed .lang-menu { bottom: 12px; }
.lang-menu__btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 0 4px; border: 0; border-bottom: 1px solid transparent; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); cursor: pointer; }
.lang-menu__btn svg { width: 8px; height: 5px; transition: transform .2s ease; }
.lang-menu__btn:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.lang-menu__list { position: absolute; right: -14px; top: calc(100% + 8px); min-width: 148px; margin: 0; padding: 8px 0; list-style: none; background: #FFFFFF; border: 1px solid var(--hair);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; text-transform: none; letter-spacing: .06em; font-size: 12px; }
.lang-menu__list::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; } /* hover bridge */
.lang-menu:hover .lang-menu__list, html:not(.js-lm) .lang-menu:focus-within .lang-menu__list, .lang-menu.is-open .lang-menu__list { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
.lang-menu:hover .lang-menu__btn svg, .lang-menu.is-open .lang-menu__btn svg { transform: rotate(180deg); }
.lang-menu__list a { display: block; padding: 7px 18px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lang-menu__list a:hover, .lang-menu__list a:focus-visible { background: var(--wash); outline: none; }
.lang-menu__list a.on { color: var(--muted); }
.nav-h__lang a { color: var(--muted, #8A817A); text-decoration: none; }
.nav-h__lang a.on { color: var(--ink); }
.nav-h__lang { display: none; }
@media (max-width: 900px) {
  .lang-menu { display: none; }
  html.js-nav .site-header .nav-h .nav-h__lang { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 18px; width: 100%; max-width: 320px; padding-top: 14px; font-size: 11px; letter-spacing: .06em; text-transform: none; }
  html.js-nav .site-header .nav-h .nav-h__lang a { width: auto; min-height: 40px; border-bottom: 0; }
}

/* ---------- CJK pages: system Noto/Hiragino/Yu/Malgun fallbacks after the Latin faces; no faux italics; CJK line breaking ---------- */
html:lang(ja) { --font-display: "Playfair Display", "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-ui: "Jost", "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif; }
html:lang(zh-Hans), html:lang(zh) { --font-display: "Playfair Display", "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif;
  --font-ui: "Jost", "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
html:lang(ru) { --font-display: "Playfair Display", "Noto Serif", Georgia, "Times New Roman", serif; --font-ui: "Jost", "Noto Sans", "Helvetica Neue", Arial, sans-serif; }
html:lang(ko) { --font-display: "Playfair Display", "Noto Serif KR", "Noto Serif CJK KR", "AppleMyungjo", "Batang", serif;
  --font-ui: "Jost", "Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html:is(:lang(ja), :lang(zh)) body { line-break: strict; }
html:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }
html:is(:lang(ja), :lang(ko), :lang(zh)) :is(i, em) { font-style: normal; }
html:is(:lang(ja), :lang(ko), :lang(zh)) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.45; }
html:is(:lang(ja), :lang(ko), :lang(zh)) :is(p, li, figcaption) { line-height: 1.85; }
html:lang(ja) :is(h1, h2, h3) { word-break: auto-phrase; }
html:is(:lang(ja), :lang(ko), :lang(zh)) :is(.btn, .more, .nav-h a, .lang-switch a, .nav-h__lang a, .at-link a, .kicker, button) { letter-spacing: .05em; }

/* ---------- REVEL full-bleed hero (journal.html, story pages) ---------- */
.page-revel .site-header + main { margin-top: 0; }
.revel-hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: calc(100vh - var(--hdr, 172px)); height: calc(100svh - var(--hdr, 172px)); min-height: 560px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #1E1916; color: #F3EEE6;
}
.revel-hero__img, .revel-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.revel-hero__img img { object-fit: cover; object-position: center 55%; z-index: -2; }
.revel-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% 48%, rgba(20,15,12,.38), rgba(20,15,12,0) 70%),
    linear-gradient(180deg, rgba(20,15,12,.40) 0%, rgba(20,15,12,.06) 30%, rgba(20,15,12,.10) 62%, rgba(20,15,12,.62) 100%);
}
.revel-hero__text { position: relative; padding: 0 var(--inset); max-width: 1100px; text-shadow: 0 2px 30px rgba(15,10,8,.35); }
.revel-hero__title {
  margin: 0; font-family: var(--font-display); font-weight: 430; color: #F3EEE6;
  font-size: clamp(120px, 17vw, 248px); line-height: .9; letter-spacing: .06em; padding-left: .06em;
}
.revel-hero__sub {
  display: block; margin-top: 18px; font-family: var(--font-ui); font-weight: 500;
  font-size: 16px; letter-spacing: .62em; padding-left: .62em; text-transform: uppercase;
}
.revel-hero__issue {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 40px;
  font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(243,238,230,.92);
}
.revel-hero__issue em { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 17px; letter-spacing: .03em; text-transform: none; }
.revel-hero__issue .dot { opacity: .7; }
.page-revel .masthead { display: none; }
.page-journal .revel-hero + .cover { margin-top: 112px; }

/* Story variant */
.revel-hero--story .revel-hero__text { max-width: 980px; }
.revel-hero__crumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 34px; font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: rgba(243,238,230,.86); }
.revel-hero__crumb a { color: #F3EEE6; border-bottom: 1px solid rgba(243,238,230,.5); }
.revel-hero__kicker { display: block; font-size: 12px; font-weight: 500; letter-spacing: .4em; text-transform: uppercase; }
.revel-hero__story-title { margin: 20px 0 24px; font-family: var(--font-display); font-weight: 430; font-size: 104px; line-height: 1.02; color: #F3EEE6; text-wrap: balance; }
.revel-hero__story-title i { font-style: italic; }
.revel-hero__dek { max-width: 760px; margin: 0 auto; font-family: var(--font-display); font-size: 23px; line-height: 1.55; color: rgba(243,238,230,.95); text-wrap: pretty; }
.revel-hero__byline { margin-top: 26px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(243,238,230,.8); }
.revel-hero--story::after {
  background:
    radial-gradient(75% 60% at 50% 50%, rgba(18,13,10,.5), rgba(18,13,10,0) 75%),
    linear-gradient(180deg, rgba(18,13,10,.35) 0%, rgba(18,13,10,.12) 35%, rgba(18,13,10,.2) 65%, rgba(18,13,10,.66) 100%);
}
.revel-hero__caption { margin: 14px var(--inset) 72px; font-size: 13px; letter-spacing: .02em; color: var(--muted); }

@media (max-width: 900px) {
  .revel-hero { min-height: 520px; }
  .revel-hero__title { font-size: clamp(88px, 24vw, 160px); letter-spacing: .05em; padding-left: .05em; }
  .revel-hero__sub { font-size: 13px; margin-top: 14px; }
  .revel-hero__issue { margin-top: 30px; font-size: 11px; letter-spacing: .22em; }
  .revel-hero__story-title { font-size: 64px; }
  .revel-hero__dek { font-size: 19px; }
  .page-journal main .revel-hero__crumb a { display: inline; min-height: 0; text-decoration: none; }
  .page-journal .revel-hero + .cover { margin-top: 72px; }
  .revel-hero__caption { margin-bottom: 48px; }
}
@media (max-width: 560px) {
  .revel-hero__title { font-size: 25vw; }
  .revel-hero__sub { font-size: 12px; letter-spacing: .5em; padding-left: .5em; }
  .revel-hero__issue { flex-direction: column; align-items: center; gap: 8px; }
  .revel-hero__issue .dot { display: none; }
  .revel-hero__issue em { font-size: 18px; }
  .revel-hero__story-title { font-size: 46px; }
  .revel-hero__dek { font-size: 17px; }
  .revel-hero__crumb { margin-bottom: 24px; font-size: 10px; letter-spacing: .2em; }
}
.revel-hero__issue, .revel-hero__byline, .revel-hero__crumb { text-shadow: 0 1px 14px rgba(10,7,5,.65); }

/* Homepage: original hero restored above the H1 */
.page-home .home-hero__orig { margin-bottom: 0; }
.page-home .home-hero__orig + .home-hero { margin-top: 64px; margin-bottom: var(--space-section); }
@media (max-width: 900px) { .page-home .home-hero__orig + .home-hero { margin-top: 36px; margin-bottom: var(--space-section); } }

/* Footer studio cities */
.foot-studios { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 10px 0 6px; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.foot-studios span + span::before { content: "·"; margin: 0 12px; color: #B8AEA5; }

/* Light, sunlit REVEL heroes: espresso type in the open sky, soft ivory glow behind it, image not darkened */
.revel-hero--light { align-items: flex-start; color: var(--ink); background: #DCE8F2; }
.revel-hero--light::after, .revel-hero--story.revel-hero--light::after {
  background: radial-gradient(58% 46% at 50% 26%, rgba(250,247,242,.62), rgba(250,247,242,.28) 45%, rgba(250,247,242,0) 72%);
}
.revel-hero--light .revel-hero__text { padding-top: clamp(28px, 7vh, 72px); text-shadow: 0 0 28px rgba(250,247,242,.7), 0 1px 2px rgba(250,247,242,.5); }
.revel-hero--light .revel-hero__title, .revel-hero--light .revel-hero__story-title { color: var(--ink); }
.revel-hero--light .revel-hero__sub, .revel-hero--light .revel-hero__kicker { color: var(--ink); }
.revel-hero--light .revel-hero__issue, .revel-hero--light .revel-hero__crumb, .revel-hero--light .revel-hero__byline { color: #3A312C; text-shadow: 0 0 18px rgba(250,247,242,.85); }
.revel-hero--light .revel-hero__crumb a { color: var(--ink); border-bottom-color: rgba(43,36,32,.45); }
.revel-hero--light .revel-hero__dek { color: #2B2420; }
.revel-hero--light .revel-hero__story-title { font-size: 84px; margin: 16px 0 18px; }
.revel-hero--light .revel-hero__dek { font-size: 21px; }
@media (max-width: 900px) {
  .revel-hero--light .revel-hero__story-title { font-size: 56px; }
  .revel-hero--light .revel-hero__dek { font-size: 18px; }
}
@media (max-width: 560px) {
  .revel-hero--light .revel-hero__text { padding-top: 40px; }
  .revel-hero--light .revel-hero__story-title { font-size: 42px; }
  .revel-hero--light .revel-hero__dek { font-size: 16.5px; }
}
/* ---------- Atelier page (atelier.html; layers on sections.css) ---------- */
.page-atelier .at-credit { margin: 10px var(--inset) 0; text-align: right; }
.page-atelier .at-collection { margin-bottom: var(--space-section-sm); }
.page-atelier .at-cat .work__img { aspect-ratio: 1 / 1; }
.page-atelier .sec-panel__text h2 {
  margin: 14px 0 18px; padding-top: 18px; border-top: 1px solid var(--rule-2);
  font-family: var(--font-display); font-weight: 430; font-size: 40px; line-height: 1.12; color: var(--ink);
}
.page-atelier .sec-panel__text p + p { margin-top: 16px; }
.page-atelier .at-link { margin-top: 28px; }
.page-atelier .at-explore { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; margin-top: 24px; }
@media (max-width: 900px) {
  .page-atelier .at-collection { margin-bottom: var(--space-section-sm); }
  .page-atelier .works-row { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .page-journal main .at-credit a { display: inline; min-height: 0; }
  .page-atelier .sec-panel__text h2 { font-size: 32px; }
}
@media (max-width: 560px) {
  .page-atelier .at-credit { text-align: left; }
  .page-atelier .at-explore { flex-direction: column; align-items: center; gap: 0; }
}
/* Intro titles that open their section (no eyebrow label above) */
.sec-intro__title:first-child, .works-intro__title:first-child, .home-hero__title:first-child { margin-top: 0; }
.page-atelier .at-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .page-atelier .at-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }

/* REVEL cover (t913u-t915u): base photo, then the REVEL wordmark, then the cut-out riders on top (journal-build/cover_cutout.py).
   The cut-out repeats the sky glow so it matches the base exactly. The JOURNAL label and issue line sit in a band below the photo. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.revel-hero--cover { height: calc(100vh - var(--hdr, 172px) - 112px); height: calc(100svh - var(--hdr, 172px) - 112px); min-height: 480px; }
.revel-hero--cover .revel-hero__fg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(58% 46% at 50% 26%, rgba(250,247,242,.62), rgba(250,247,242,.28) 45%, rgba(250,247,242,0) 72%), url(images/journal/cover-polo-bright-fg.png);
  background-position: center, center 55%; background-size: auto, cover; background-repeat: no-repeat;
  -webkit-mask: url(images/journal/cover-polo-bright-fg.png) center 55% / cover no-repeat; mask: url(images/journal/cover-polo-bright-fg.png) center 55% / cover no-repeat;
}
@media (max-aspect-ratio: 1/1) {
  .revel-hero--cover .revel-hero__fg {
    background-image: radial-gradient(58% 46% at 50% 26%, rgba(250,247,242,.62), rgba(250,247,242,.28) 45%, rgba(250,247,242,0) 72%), url(images/journal/cover-polo-bright-m-fg.png);
    -webkit-mask-image: url(images/journal/cover-polo-bright-m-fg.png); mask-image: url(images/journal/cover-polo-bright-m-fg.png);
  }
}
.revel-hero__band { padding: 30px var(--inset) 0; text-align: center; color: var(--ink); }
.revel-hero__band .revel-hero__sub { margin-top: 0; color: var(--ink); }
.revel-hero__band .revel-hero__issue { margin-top: 16px; color: #3A312C; text-shadow: none; }
.page-journal .revel-hero__band + .cover { margin-top: 96px; }
@media (max-width: 900px) {
  .revel-hero--cover { min-height: 440px; }
  .revel-hero--cover .revel-hero__text { padding-top: clamp(72px, 16vh, 140px); }
  .revel-hero__band { padding-top: 24px; }
  .revel-hero__band .revel-hero__issue { margin-top: 14px; }
  .page-journal .revel-hero__band + .cover { margin-top: 64px; }
}
@media (max-width: 560px) {
  .revel-hero--cover .revel-hero__text { padding-top: 172px; }
}

/* ---------- Press & Publications: "Featured in" logo row, features, books, ledgers ---------- */
/* AD pull quote: home band above the press logos, and the November 2015 feature card. */
.press-quote-band {
  margin: 0;
  padding: var(--space-section-sm) var(--inset) var(--space-head);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.press-quote-band + .press-strip { border-top: 0; padding-top: 0; }
.press-quote {
  margin: 0 auto;
  max-width: 22em;
  padding: 0;
  border: 0;
  text-align: center;
}
.press-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 430;
  font-style: italic;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
  text-transform: none;
}
.press-quote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.press-quote--card {
  margin: 18px 0 0;
  max-width: none;
  text-align: left;
}
.press-quote--card p { font-size: 20px; line-height: 1.35; }
.press-quote--card cite { margin-top: 10px; font-size: 9px; letter-spacing: 0.2em; }

.press-strip { margin: 0; padding: var(--space-band) var(--inset); text-align: center; border-top: 1px solid var(--rule); }
.press-strip__label { margin: 0 0 var(--space-head); font-family: var(--font-ui); font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.press-logos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 76px; max-width: 1200px; margin: 0 auto; }
.press-logos li { display: flex; align-items: center; }
.press-logos a, .press-logos span { display: flex; align-items: center; min-height: 44px; transition: opacity .2s ease; }
.press-logos a:hover, .press-logos a:focus-visible { opacity: .5; }
.press-logos img { display: block; width: auto; max-width: 100%; }
.pl--ad img { height: 14px; } .pl--ed img { height: 28px; } .pl--wsj img { height: 19px; } .pl--fd img { height: 21px; }
.press-strip__more { margin-top: var(--space-head); }
.press-strip--page { padding: var(--space-band) var(--inset); margin: 0 var(--inset) var(--space-section-sm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.press-strip--page .press-strip__label { margin-bottom: var(--space-head); }

.press-intro { max-width: 820px; margin: var(--space-section-sm) auto var(--space-head); padding: 0 var(--inset); text-align: center; }
.press-intro__title { margin: 20px 0 22px; font-family: var(--font-display); font-weight: 430; font-size: 60px; line-height: 1.12; color: var(--ink); text-wrap: balance; }
.press-intro__text { font-family: var(--font-display); font-size: 21px; line-height: 1.6; color: #4A423D; }

.press-sec { margin: 0 var(--inset) var(--space-section); }
.press-sec__note { max-width: 640px; margin: -12px 0 var(--space-intro); font-family: var(--font-display); font-size: 18px; line-height: 1.6; color: #4A423D; }
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 44px; }
.press-card__cover { margin: 0 0 var(--space-caption); aspect-ratio: 3 / 4; overflow: hidden; background: var(--wash); border: 1px solid var(--rule); }
.press-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.press-grid--books { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 32px; }
.press-card--book .press-card__cover { aspect-ratio: 3 / 4; border: 0; background: transparent; }
.press-card--book .press-card__cover img { object-fit: contain; object-position: center bottom; box-shadow: 0 1px 2px rgba(43,36,32,.10), 0 14px 30px -18px rgba(43,36,32,.35); }
.press-card .kicker { margin: 0 0 8px; }
.press-date { margin: 0 0 14px; font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.press-card h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 430; font-size: 26px; line-height: 1.2; color: var(--ink); text-wrap: balance; }
.press-by { margin: 0 0 12px; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.press-desc { margin: 0; font-size: 16px; line-height: 1.65; color: #5A524C; }
.press-card .more { margin-top: 20px; }

.press-ledger { list-style: none; }
.press-row { display: grid; grid-template-columns: 190px minmax(0, 1fr) 190px; gap: 12px 40px; align-items: baseline; padding: var(--space-intro) 0; border-bottom: 1px solid var(--rule); }
.press-row__date { font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.press-row .kicker { margin: 0 0 8px; }
.press-row h3 { margin: 0; font-family: var(--font-display); font-weight: 430; font-size: 24px; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.press-row .press-desc { margin-top: 10px; max-width: 680px; }
.press-row__act { text-align: right; }

@media (max-width: 900px) {
  .press-quote p { font-size: 22px; }
  .press-quote--card p { font-size: 18px; }
  .press-strip { padding: var(--space-band) var(--inset); }
  .press-logos { gap: 20px 48px; }
  .press-strip--page { margin-bottom: var(--space-section-sm); }
  .press-intro { margin: var(--space-section-sm) auto var(--space-head); }
  .press-intro__title { font-size: 42px; }
  .press-intro__text { font-size: 18px; }
  .press-sec { margin-bottom: var(--space-section); }
  .press-grid, .press-grid--books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 28px; }
  .press-row { grid-template-columns: 140px minmax(0, 1fr); }
  .press-row__act { grid-column: 2; text-align: left; }
  .press-row__act:empty { display: none; }
}
@media (max-width: 560px) {
  .press-strip { padding: var(--space-band) var(--inset); }
  .press-strip__label { margin-bottom: var(--space-head); }
  .press-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; justify-items: center; }
  .pl--ad img { height: 11px; } .pl--ed img { height: 23px; } .pl--wsj img { height: 15px; } .pl--fd img { height: 17px; }
  .press-intro__title { font-size: 36px; }
  .press-grid, .press-grid--books { grid-template-columns: 1fr; gap: 44px; }
  .press-card { display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 20px; align-items: start; }
  .press-card__cover { margin: 0; }
  .press-card h3 { font-size: 22px; }
  .press-desc { font-size: 15px; }
  .press-row { grid-template-columns: 1fr; padding: var(--space-intro) 0; }
  .press-row__act { grid-column: 1; }
  .press-row h3 { font-size: 21px; }
}

/* ---------- REVEL Journal masthead (magazine header) ---------- */
.rvm-bar { --hair: #E6E1DA; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; height: 58px; background: #fff; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.rvm-bar__side { display: flex; align-items: center; justify-content: center; text-align: center; font: 500 11px/1 var(--font-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); padding: 0 40px; white-space: nowrap; }
.rvm-bar__title { display: flex; align-items: center; gap: .3em; padding: 0 54px; border-left: 1px solid var(--hair); border-right: 1px solid var(--hair); font: 400 27px/1 var(--font-display); font-style: normal; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.rvm { --fs: 488px; --wm-top: 4px; --photo-w: 440px; --photo-h: 550px; --photo-top: 268px; --cols-top: 520px; position: relative; height: calc(var(--photo-top) + var(--photo-h)); overflow: hidden; background: #fff; margin-bottom: 88px; }
.rvm-art { position: absolute; inset: 0; }
.rvm-wordmark { position: absolute; left: 50%; transform: translateX(-50%); top: var(--wm-top); width: max-content; margin: 0; font: 400 var(--fs)/1 var(--font-display); font-style: normal; letter-spacing: -.01em; text-align: center; white-space: nowrap; color: var(--ink); z-index: 1; user-select: none; }
.rvm-photo { position: absolute; left: 50%; top: var(--photo-top); transform: translateX(-50%); width: var(--photo-w); height: var(--photo-h); z-index: 2; display: block; }
.rvm-photo picture, .rvm-photo img { display: block; width: 100%; height: 100%; }
.rvm-photo img { object-fit: cover; object-position: 64% 50%; }
.rvm-clip { position: absolute; left: 50%; top: var(--photo-top); transform: translateX(-50%); width: var(--photo-w); height: var(--photo-h); overflow: hidden; z-index: 4; pointer-events: none; }
.rvm-clip .rvm-wordmark { top: calc(var(--wm-top) - var(--photo-top)); color: rgba(255, 255, 255, .7); z-index: auto; }
.rvm-left { position: absolute; left: var(--inset); top: var(--cols-top); width: 300px; z-index: 3; }
.rvm-kicker, .rvm-right small { display: block; font: 500 10.5px/1.2 var(--font-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.rvm-title { margin: 18px 0 0; font: 400 42px/1.14 var(--font-display); letter-spacing: 0; color: var(--ink); text-wrap: balance; }
.rvm-title i { font-style: italic; }
.rvm-read { display: inline-block; margin-top: 22px; font: 500 11px/1 var(--font-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.rvm-right { position: absolute; right: var(--inset); top: var(--cols-top); width: 250px; z-index: 3; border-top: 1px solid var(--hair, #E6E1DA); }
.rvm-right a { display: block; padding: 20px 0; border-bottom: 1px solid #E6E1DA; text-decoration: none; color: var(--ink); }
.rvm-right small { margin-bottom: 9px; }
.rvm-right span { font: 500 12px/1.5 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; }
.rvm-right a:hover span { color: var(--muted); }
@media (max-width: 900px) {
  .rvm-bar { height: 48px; }
  .rvm-bar__side { font-size: 9px; letter-spacing: .14em; padding: 0 14px; }
  .rvm-bar__title { font-size: 20px; padding: 0 16px; }
  .rvm { --fs: 31vw; --wm-top: 2vw; --photo-w: 68vw; --photo-h: 85vw; --photo-top: calc(var(--wm-top) + .54 * var(--fs)); height: auto; margin-bottom: 56px; }
  .rvm-art { position: relative; inset: auto; height: calc(var(--photo-top) + var(--photo-h) + 6vw); }
  .rvm-left, .rvm-right { position: static; width: auto; margin: 0 var(--inset); }
  .rvm-left { padding-top: 4px; }
  .rvm-title { font-size: 34px; }
  .rvm-right { margin-top: 32px; }
}
html:is(:lang(ja), :lang(ko), :lang(zh)) .rvm-wordmark { line-height: 1; letter-spacing: -.01em; }
html:is(:lang(ja), :lang(ko), :lang(zh)) .rvm-left { width: 340px; }
html:is(:lang(ja), :lang(ko), :lang(zh)) .rvm-title { font-size: 34px; line-height: 1.4; }
@media (max-width: 900px) { html:is(:lang(ja), :lang(ko), :lang(zh)) .rvm-left { width: auto; } html:is(:lang(ja), :lang(ko), :lang(zh)) .rvm-title { font-size: 28px; } }

/* ----- Selected Work (three-card page): heading centered between hairline and cards ----- */
.page-works .works-intro {
  margin: 0 auto;
  padding: 0 var(--inset);
}
.page-works .works-intro__title {
  margin: 56px 0;
  padding: 0;
}
.page-works .folio { margin-top: 0; }
.page-works .folio__link { display: block; color: inherit; text-decoration: none; }
.page-works a.folio__link .folio__name { display: block; color: inherit; }
.page-works .folio__dek {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.45;
  color: #5A524C;
}

/* ----- Folio project pager: compact centered row above the title ----- */
.proj-nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  max-width: 520px;
  margin: 28px auto 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
}
.proj-nav a { color: var(--ink); white-space: nowrap; }
.proj-nav a:hover, .proj-nav a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.proj-nav__prev { text-align: left; }
.proj-nav__index { text-align: center; }
.proj-nav__next { text-align: right; }
@media (max-width: 600px) {
  .proj-nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: none;
  }
  .proj-nav__prev, .proj-nav__index, .proj-nav__next { text-align: center; }
}

/* Folio project intro + caption-free gallery */
.folio-project .mk-intro {
  max-width: 760px;
  margin: 40px auto var(--space-section);
  padding: 0 var(--inset);
  text-align: center;
}
.folio-project .mk-intro__title,
.folio-project .proj-intro__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 430;
  font-size: 72px;
  line-height: 1.04;
  color: var(--ink);
  text-transform: none;
}
.folio-project .proj-location {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.45;
  color: #4A423D;
}
.folio-project .proj-dek {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.55;
  color: #4A423D;
}
.folio-project .proj-desc {
  margin: 0 auto;
  max-width: 680px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.7;
  color: #4A423D;
  text-align: left;
}
.folio-project .mk-hero { margin: 0 var(--inset) var(--space-section); }
.folio-project .mk-hero .mk-fig { margin: 0; }
.folio-project .mk-hero .mk-fig picture,
.folio-project .mk-hero .mk-fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.folio-project .mk-gallery {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 var(--inset) var(--space-section-sm);
}
.folio-project .mk-fig { margin: 0; position: relative; }
.folio-project .mk-fig picture,
.folio-project .mk-fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.folio-project .mk-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.folio-project .mk-portrait-lead { width: 100%; }
@media (max-width: 900px) {
  .folio-project .mk-intro__title, .folio-project .proj-intro__title { font-size: 46px; }
  .folio-project .mk-pair, .folio-project .mk-portrait-lead { grid-template-columns: 1fr; }
  .folio-project .mk-gallery, .folio-project .mk-pair { gap: 20px; }
}

/* Lightbox */
.mk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 16, 12, 0.92);
  padding: 40px 24px;
}
.mk-lightbox[hidden] { display: none !important; }
.mk-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.mk-lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: 0;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
.mk-zoom { display: block; color: inherit; }

/* Review marks: add class mk-review-marks on <body> to show; remove the class to hide. */
.mk-review-badge {
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: rgba(20, 16, 12, 0.78);
  color: #fff;
  font-family: var(--font-ui), "Jost", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
body.mk-review-marks .mk-review-badge { display: flex; }
.mk-fig, .folio__frame { position: relative; }

/* Inquire: discovery-call CTA */
.inq-booking { margin: 0 var(--inset) var(--space-section); text-align: center; }
.inq-booking__title {
  margin: 0 auto 28px;
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 430;
  font-size: 32px;
  line-height: 1.25;
  text-align: center;
  color: var(--ink);
}
.inq-booking__cta { margin: 0; }
@media (max-width: 900px) {
  .inq-booking__title { font-size: 26px; }
}
