/*
 * About Us — "Shaped by what we have seen", the European mosaic study.
 *
 * Structure
 *   .about              page section; a fixed stone backdrop sits behind it
 *   .about-hero         full-height opening frame (image | copy)
 *   .study              chapters (.study-chapter) of flip cards (.study-card)
 *   .study-close        closing panel with the primary route + .study-nav
 *
 * Routes (the original's exact conditions)
 *   base                desktop, authored for the 1280×720 composition
 *   ≥ 1025              desktop refinements (hero split 49/51, wide-card type)
 *   ≥ 1400              extra-wide desktop (only reached without the canvas,
 *                       i.e. ≤ 720 tall, or after resizing a small window)
 *   portrait ≤ 820      phone / tablet portrait: stacked hero and cards
 *     ≤ 420             small phones
 *     421–820           tablet portrait: clean imagery, stable title lines
 *   landscape ≤ 1024    phone / tablet landscape: split hero, stacked cards
 *     768–1024          tablet landscape
 *
 * Above 1280×720 (both dimensions) the page shows itself in a magnified
 * 1280×720 canvas iframe (js/core/page-canvas.js), so every vw/vh value
 * below resolves exactly as at 720p. Flip behaviour: js/pages/about-study.js.
 */

:root {
  --about-ink: #050403;
  --about-cream: #fffaf0;
  --about-cream-soft: rgb(239 231 214 / 0.78);
  --about-cream-lead: rgb(246 239 224 / 0.94);
  --about-gold: rgb(226 166 91 / 0.92);
  --about-gold-soft: rgb(226 166 91 / 0.32);
  --about-gold-line: rgb(214 168 96 / 0.34);
  --about-edge: rgb(214 168 96 / 0.18);
  --about-edge-strong: rgb(214 168 96 / 0.34);
  --about-stone: url("../../images/europe/078-dt-about-us-stone-inner-card.webp") center / cover no-repeat;
  --about-ease: cubic-bezier(0.19, 1, 0.22, 1);
  --about-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='96' height='96' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--about-cream);
  background: var(--about-ink);
}

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

/* --- Page -------------------------------------------------------------- */

.about {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: 32px;
  isolation: isolate;
}

.about::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("../../images/europe/078-dt-about-us-stone.webp") center / cover no-repeat;
  opacity: 0.88;
  filter: contrast(0.96) brightness(0.85);
}

.about__main {
  position: relative;
  width: min(100%, 1320px);
  margin: auto;
  padding: 0 20px 24px;
}

/* --- Hero -------------------------------------------------------------- */

.about-hero {
  --inset: clamp(10px, 1.25vw, 18px);
  position: relative;
  width: 100vw;
  height: calc(100svh - var(--header-height) + var(--inset));
  margin-top: calc(var(--header-height) - var(--inset));
  margin-left: calc(50% - 50vw);
  padding: var(--inset);
}

.about-hero__frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgb(214 168 96 / 0.22);
  background: linear-gradient(180deg, rgb(35 40 34 / 0.94), rgb(14 16 13 / 0.98));
  box-shadow: 0 36px 96px rgb(0 0 0 / 0.42);
}

.about-hero__layout {
  display: grid;
  grid-template-columns: 45fr 55fr;
  height: 100%;
}

.about-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.about-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 72%, rgb(0 0 0 / 0.32)),
    linear-gradient(180deg, rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.16));
  pointer-events: none;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.about-hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(18px, 2.6vh, 32px);
  padding: clamp(32px, 5vh, 76px) clamp(28px, 5vw, 84px);
  overflow: hidden;
  box-shadow: inset 1px 0 rgb(214 168 96 / 0.14);
}

/* Stone texture under the copy. */
.about-hero__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.3)), var(--about-stone);
  filter: contrast(1.04) brightness(0.92);
}

.about-hero__copy > * {
  position: relative;
  z-index: 1;
}

.about-hero__corners {
  position: absolute;
  inset: clamp(8px, 0.9vw, 12px);
  z-index: 4;
  pointer-events: none;
}

.about-hero__corners span {
  position: absolute;
  width: clamp(18px, 2vw, 26px);
  height: clamp(18px, 2vw, 26px);
  border-color: rgb(214 168 96 / 0.44);
  border-style: solid;
}

.about-hero__corners span:nth-child(1) { inset: 0 auto auto 0; border-width: 1px 0 0 1px; }
.about-hero__corners span:nth-child(2) { inset: 0 0 auto auto; border-width: 1px 1px 0 0; }
.about-hero__corners span:nth-child(3) { inset: auto auto 0 0; border-width: 0 0 1px 1px; }
.about-hero__corners span:nth-child(4) { inset: auto 0 0 auto; border-width: 0 1px 1px 0; }

.about-hero__kicker {
  margin: 0;
  font-size: clamp(10px, 0.78vw, 13px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgb(226 166 91 / 0.84);
}

/* No font-size of its own: the 12.6ch measure uses the heading's UA size. */
.about-hero__title {
  width: 100%;
  max-width: 12.6ch;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.07em;
}

.about-hero__title-line,
.about-hero__title-phrase {
  display: block;
}

.about-hero__title-phrase {
  white-space: nowrap;
}

.about-hero__title-line--gold {
  font-size: clamp(56px, 6.2vw, 100px);
  color: rgb(218 166 93 / 0.98);
}

.about-hero__title-line--ivory {
  font-size: clamp(44px, 4.8vw, 78px);
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: rgb(255 250 238 / 0.97);
}

.about-hero__rule {
  display: flex;
  align-items: center;
}

.about-hero__rule--diamond {
  width: min(56%, 330px);
}

.about-hero__rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(214 168 96 / 0.5), transparent);
}

.about-hero__rule-diamond {
  width: 6px;
  height: 6px;
  margin: 0 13px;
  background: rgb(218 166 93 / 0.86);
  transform: rotate(45deg);
}

.about-hero__rule--short {
  width: 132px;
  height: 1px;
  background: linear-gradient(90deg, rgb(214 168 96 / 0.58), transparent);
}

.about-hero__body {
  width: 100%;
  max-width: 39ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.86vw, 28px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: rgb(246 239 224 / 0.93);
}

.about-hero__accent,
.about-hero__closing-lead {
  color: rgb(218 166 93 / 0.98);
}

/* No font-size of its own: the ch measure uses the heading's UA size. */
.about-hero__closing {
  max-width: 31ch;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.about-hero__closing-lead {
  display: block;
  font-size: clamp(27px, 2.9vw, 44px);
  line-height: 1.04;
}

.about-hero__closing-sub {
  display: block;
  margin-top: clamp(9px, 1vw, 14px);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgb(255 250 238 / 0.94);
}

/* --- Study chapters ------------------------------------------------------ */

.study {
  display: block;
  width: 100%;
  margin: clamp(44px, 5vw, 72px) auto 0;
}

.study-chapter {
  display: grid;
  grid-template-columns: minmax(58px, 1fr) auto minmax(58px, 1fr);
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  margin: clamp(24px, 3.2vw, 46px) 0 clamp(16px, 1.7vw, 24px);
  font-size: clamp(10px, 0.84vw, 12px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-align: center;
  color: var(--about-gold);
}

.study-chapter::before,
.study-chapter::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--about-gold-soft));
}

.study-chapter::after {
  transform: scaleX(-1);
}

.study-chapter__label {
  display: inline-flex;
  align-items: center;
  gap: 0.72em;
  white-space: nowrap;
}

.study-chapter__label::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 0.28em;
  background: var(--about-gold);
  transform: rotate(45deg);
}

.study-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(14px, 1.35vw, 18px);
  margin-bottom: clamp(28px, 3.2vw, 46px);
}

.study-pair__item {
  min-width: 0;
}

.study-pair__item .study-chapter {
  margin-top: 0;
}

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

.study-card {
  --img-scale: 1.01;
  --img-hover-scale: 1.035;
  position: relative;
  width: 100%;
  height: clamp(430px, 38vw, 540px);
  perspective: 1500px;
  cursor: pointer;
  outline: none;
}

.study-card--ceiling {
  --img-scale: 1.08;
  --img-hover-scale: 1.16;
}

.study-card--wide {
  height: clamp(290px, 28vw, 375px);
  margin-bottom: clamp(32px, 3.6vw, 52px);
}

.study-card--sofia { height: clamp(325px, 31vw, 420px); }
.study-card--tall-image { height: clamp(335px, 32vw, 440px); }

.study-card:focus-visible {
  box-shadow: 0 0 0 2px rgb(226 166 91 / 0.34);
}

.study-card__flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 950ms var(--about-ease);
}

.study-card.is-flipped .study-card__flip {
  transform: rotateY(180deg);
}

.study-card__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgb(226 166 91 / 0.2);
  border-radius: 2px;
  background: rgb(8 10 8 / 0.78);
  backface-visibility: hidden;
}

.study-card__face--front { transform: rotateY(0); }
.study-card__face--back { transform: rotateY(180deg); }

.study-card__image {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.study-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.08), transparent 42%, rgb(0 0 0 / 0.18));
  pointer-events: none;
}

.study-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04) brightness(0.92);
  transform: scale(var(--img-scale));
  transition: transform 1.5s var(--about-ease), filter 1s ease;
}

.study-card:hover:not(.is-flipped) .study-card__face--front img {
  transform: scale(var(--img-hover-scale));
  filter: saturate(1) contrast(1.05) brightness(0.98);
}

.study-card__copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(23px, 2.1vw, 30px) clamp(24px, 2.3vw, 34px);
  background: linear-gradient(180deg, transparent, rgb(5 6 5 / 0.72) 28%, rgb(8 10 8 / 0.9));
}

.study-card__copy small {
  display: block;
  margin: 0 0 10px;
  font-size: clamp(10px, 0.78vw, 11px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--about-gold);
}

.study-card__copy h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.45vw, 40px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--about-cream);
}

.study-card__copy p {
  max-width: 72ch;
  margin: 0;
  font-size: clamp(14.5px, 1.08vw, 16px);
  font-weight: 650;
  line-height: 1.55;
  color: var(--about-cream-soft);
}

.study-card__link {
  color: var(--about-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--about-gold-soft);
}

/* "Flip" / "Return" cue in the card corner. */
.study-card__cue {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  padding: 8px 10px 7px;
  border: 1px solid rgb(226 166 91 / 0.18);
  border-radius: 2px;
  background: rgb(10 12 10 / 0.58);
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 247 232 / 0.76);
  cursor: pointer;
}

.study-card__cue:focus-visible {
  outline: 2px solid #f1c77d;
  outline-offset: 3px;
}

/* Wide cards: copy as a side panel over a horizontal shade. */
.study-card--wide .study-card__image::after {
  background: linear-gradient(90deg, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.32) 36%, transparent 72%);
}

.study-card--wide .study-card__copy {
  top: 0;
  bottom: 0;
  left: clamp(26px, 2.6vw, 42px);
  right: auto;
  display: flex;
  width: min(40.5%, 500px);
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 2.8vw, 40px) clamp(24px, 2.7vw, 40px);
  background: none;
}

.study-card--wide .study-card__copy h3 { max-width: 12ch; }
.study-card--wide .study-card__copy p { max-width: 45ch; }

.study-card--text-right .study-card__copy {
  left: auto;
  right: clamp(26px, 2.6vw, 42px);
}

.study-card--text-right .study-card__image::after {
  background: linear-gradient(270deg, rgb(0 0 0 / 0.64), rgb(0 0 0 / 0.32) 36%, transparent 72%);
}

.study-card--text-right .study-card__cue {
  left: 16px;
  right: auto;
}

.study-card--sofia.study-card--text-right .study-card__copy {
  right: 0;
  width: min(30%, 340px);
  padding: 14px 8px;
}

.study-card--sofia.study-card--text-right .study-card__copy p { max-width: 30ch; }

.study-card--bisazza .study-card__face--front .study-card__image::after,
.study-card--permanence .study-card__face--back .study-card__image::after {
  background: linear-gradient(90deg, rgb(0 0 0 / 0.74), rgb(0 0 0 / 0.38) 42%, transparent 76%);
}

/* --- Closing panel --------------------------------------------------------- */

.study-close {
  height: clamp(290px, 28vw, 375px);
  margin-bottom: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgb(246 201 126 / 0.72), rgb(109 72 31 / 0.22) 42%, rgb(226 166 91 / 0.64));
  box-shadow: 0 30px 78px rgb(0 0 0 / 0.34);
}

.study-close__frame {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(340px, 0.68fr);
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, rgb(4 6 5 / 0.72), rgb(6 8 6 / 0.9)), var(--about-stone);
}

.study-close__lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 2.5vw, 34px) clamp(30px, 3.5vw, 50px);
  border-right: 1px solid rgb(226 166 91 / 0.22);
  background: linear-gradient(115deg, rgb(7 9 7 / 0.5), rgb(4 6 5 / 0.82));
}

.study-close__continues {
  margin: 0 0 12px;
  font-size: clamp(9px, 0.72vw, 11px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgb(226 166 91 / 0.68);
}

.study-close__statement {
  max-width: 30ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.15vw, 32px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: rgb(255 247 232 / 0.88);
}

.study-close__statement span {
  color: rgb(232 181 103 / 0.98);
}

.study-close__primary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  margin-top: 18px;
  padding: 10px 20px;
  border: 1px solid rgb(226 166 91 / 0.42);
  background: rgb(4 6 5 / 0.56);
  color: inherit;
  text-decoration: none;
}

/* The route index and the destination notes stay hidden at every size. */
.study-close__primary-index,
.study-nav__meta {
  display: none;
}

.study-close__primary-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.study-close__primary-copy strong {
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.9vw, 29px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.study-close__primary-copy small {
  order: -1;
  font-size: clamp(9px, 0.72vw, 11px);
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgb(226 166 91 / 0.74);
}

.study-close__primary-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid rgb(226 166 91 / 0.38);
  border-radius: 50%;
  color: rgb(239 190 116 / 0.9);
}

.study-nav {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: clamp(20px, 2.2vw, 30px) clamp(20px, 2.4vw, 32px);
  overflow: hidden;
  background: rgb(4 6 5 / 0.54);
}

.study-nav__label {
  margin: 0 0 9px;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgb(226 166 91 / 0.58);
}

.study-nav ul {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(226 166 91 / 0.18);
}

.study-nav li + li {
  border-top: 1px solid rgb(226 166 91 / 0.14);
}

.study-nav a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 8px 4px;
  color: rgb(255 247 232 / 0.74);
  text-decoration: none;
}

.study-nav__number {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.18em;
  color: rgb(226 166 91 / 0.48);
}

.study-nav__name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.65vw, 25px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
}

.study-nav__arrow {
  color: rgb(226 166 91 / 0.58);
}

.study-close__primary:hover,
.study-nav a:hover {
  color: rgb(255 235 198 / 0.98);
  border-color: rgb(239 190 116 / 0.76);
}

/* --- Large-desktop canvas host (js/core/page-canvas.js) --------------- */

:root {
  --page-canvas-background: var(--about-ink);
}

/* ===========================================================================
   Desktop ≥ 1025
   ======================================================================== */

@media (min-width: 1025px) {
  .about-hero__layout { grid-template-columns: 49fr 51fr; }

  .about-hero__copy {
    padding-left: clamp(46px, 4vw, 68px);
    padding-right: clamp(46px, 4vw, 68px);
  }

  .about-hero__body { max-width: 43ch; }
  .about-hero__closing { max-width: 34ch; }
  .study-card--wide .study-card__copy h3 { font-size: clamp(30px, 2.75vw, 44px); }
  .study-card--wide .study-card__copy p { max-width: 30ch; }
}

/* Extra-wide desktop: wider study, proportionally taller cards. */
@media (min-width: 1400px) {
  .about__main {
    width: calc(100vw - 40px);
    max-width: none;
  }

  .study-card { height: clamp(430px, 32vw, 760px); }
  .study-card--wide { height: clamp(375px, 22vw, 560px); }
  .study-card--sofia { height: clamp(420px, 24vw, 620px); }
  .study-card--tall-image { height: clamp(440px, 25vw, 650px); }
  .study-close { height: clamp(375px, 22vw, 560px); }
}

/* ===========================================================================
   Phones and tablets — portrait ≤ 820 and landscape ≤ 1024 share most rules
   ======================================================================== */

@media (orientation: portrait) and (max-width: 820px), (orientation: landscape) and (max-width: 1024px) {
  .about {
    min-height: 100svh;
    padding: 0 0 24px;
  }

  .about::before {
    z-index: -2;
    filter: saturate(0.96) contrast(0.98) brightness(0.58);
    transform: scale(1.02);
  }

  .about::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgb(5 5 4 / 0.34), rgb(5 4 3 / 0.78));
    pointer-events: none;
  }

  .about__main {
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    padding: 0 12px 24px;
  }

  /* Hero */
  .about-hero {
    height: auto;
  }

  .about-hero__frame {
    height: auto;
    isolation: isolate;
    border-radius: 2px;
    background:
      linear-gradient(128deg, rgb(232 184 107 / 0.04), transparent 34%),
      radial-gradient(ellipse 88% 58% at 50% -8%, rgb(95 112 86 / 0.18), transparent 64%),
      linear-gradient(180deg, rgb(35 40 34 / 0.95), rgb(14 16 13 / 0.99));
    box-shadow: 0 28px 70px rgb(0 0 0 / 0.42), inset 0 1px 0 rgb(255 247 220 / 0.08);
  }

  .about-hero__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.12;
    background-image: var(--about-noise);
    mix-blend-mode: soft-light;
  }

  .about-hero__corners { inset: 9px; }

  .about-hero__corners span {
    width: 20px;
    height: 20px;
    border-color: rgb(214 168 96 / 0.46);
  }

  .about-hero__layout {
    position: relative;
    z-index: 3;
    height: auto;
  }

  .about-hero__media::after {
    background: linear-gradient(180deg, rgb(0 0 0 / 0.04), rgb(0 0 0 / 0.18));
  }

  .about-hero__copy {
    overflow: visible;
    background: linear-gradient(180deg, rgb(6 8 6 / 0.08), rgb(6 8 6 / 0.42)), var(--about-stone);
    box-shadow: inset 0 1px 0 rgb(214 168 96 / 0.13);
  }

  .about-hero__kicker {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0.28em;
  }

  .about-hero__title {
    line-height: 0.88;
    letter-spacing: -0.055em;
  }

  .about-hero__title-line--gold { color: rgb(218 166 93 / 0.99); }

  .about-hero__title-line--ivory {
    margin-top: 4px;
    letter-spacing: -0.035em;
    color: var(--about-cream);
  }

  .about-hero__rule { width: 100%; }

  .about-hero__rule-line {
    flex: 1 1 auto;
    background: linear-gradient(90deg, transparent, var(--about-gold-soft) 20%, var(--about-gold-soft) 80%, transparent);
  }

  .about-hero__rule-diamond {
    flex: 0 0 auto;
    margin: 0 12px;
    background: var(--about-gold);
  }

  .about-hero__rule--short {
    display: block;
    background: linear-gradient(90deg, var(--about-gold-soft), transparent);
  }

  .about-hero__body {
    letter-spacing: -0.015em;
    color: var(--about-cream-lead);
  }

  .about-hero__body br { display: none; }

  .about-hero__accent { color: rgb(218 166 93 / 0.99); }

  .about-hero__closing { letter-spacing: -0.025em; }

  .about-hero__closing-lead {
    line-height: 1.08;
    color: rgb(218 166 93 / 0.99);
  }

  .about-hero__closing-sub {
    line-height: 1.18;
    color: var(--about-cream);
  }

  /* Chapters */
  .study-chapter {
    grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
    gap: 10px;
    font: 800 10px/1 var(--font-sans);
    text-transform: uppercase;
    color: rgb(226 166 91 / 0.8);
  }

  .study-chapter::before { background: linear-gradient(90deg, transparent, var(--about-gold-line)); }
  .study-chapter::after { background: linear-gradient(270deg, transparent, var(--about-gold-line)); }

  /* Cards: image above a stone copy block, faces stacked in one grid cell. */
  .study-card {
    --img-scale: 1.01;
    --img-position: center center;
    height: auto;
    margin: 0 0 6px;
    perspective: 1400px;
  }

  .study-card--ceiling {
    --img-scale: 1.08;
    --img-position: center 44%;
  }

  .study-card:focus-visible {
    box-shadow: 0 0 0 2px rgb(226 166 91 / 0.7);
    border-radius: 3px;
  }

  .study-card__flip {
    display: grid;
    height: auto;
    transition-duration: 820ms;
  }

  .study-card__face {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    grid-area: 1 / 1;
    min-width: 0;
    border-color: rgb(214 168 96 / 0.17);
    border-radius: 3px;
    background: #0b0d0b;
    box-shadow: 0 20px 54px rgb(0 0 0 / 0.34), inset 0 1px 0 rgb(255 247 220 / 0.045);
  }

  .study-card__image {
    position: relative;
    flex: 0 0 auto;
    height: clamp(270px, 69vw, 430px);
    background: #0b0d0b;
  }

  .study-card__image::after {
    background: linear-gradient(180deg, rgb(0 0 0 / 0.03), transparent 52%, rgb(0 0 0 / 0.2));
  }

  /* Re-assert the wide-card shades above the generic mobile shade. */
  .study-card--wide .study-card__image::after {
    background: linear-gradient(90deg, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.32) 36%, transparent 72%);
  }

  .study-card--text-right .study-card__image::after {
    background: linear-gradient(270deg, rgb(0 0 0 / 0.64), rgb(0 0 0 / 0.32) 36%, transparent 72%);
  }

  .study-card--bisazza .study-card__face--front .study-card__image::after,
  .study-card--permanence .study-card__face--back .study-card__image::after {
    background: linear-gradient(90deg, rgb(0 0 0 / 0.74), rgb(0 0 0 / 0.38) 42%, transparent 76%);
  }

  .study-card__image img {
    object-position: var(--img-position);
    filter: saturate(0.92) contrast(1.03) brightness(0.94);
    transition: transform 1200ms var(--about-ease), filter 800ms ease;
  }

  .study-card__copy,
  .study-card--wide .study-card__copy,
  .study-card--text-right .study-card__copy,
  .study-card--sofia.study-card--text-right .study-card__copy {
    position: relative;
    inset: auto;
    display: block;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-height: 0;
    overflow: visible;
    background: linear-gradient(180deg, rgb(6 8 6 / 0.18), rgb(6 8 6 / 0.52)), var(--about-stone);
    box-shadow: inset 0 1px 0 rgb(214 168 96 / 0.12);
  }

  .study-card__copy small {
    font-family: var(--font-sans);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.16em;
  }

  .study-card__copy h3,
  .study-card--wide .study-card__copy h3 {
    max-width: none;
    line-height: 1.06;
    letter-spacing: -0.025em;
  }

  .study-card__copy p,
  .study-card--wide .study-card__copy p,
  .study-card--sofia.study-card--text-right .study-card__copy p {
    max-width: none;
    font-family: var(--font-sans);
    font-weight: 600;
  }

  .study-card__cue {
    padding: 8px 10px;
    border-color: rgb(214 168 96 / 0.16);
    border-radius: 999px;
    background: rgb(12 14 11 / 0.54);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: rgb(247 238 220 / 0.84);
  }

  /* Closing panel */
  .study-close {
    height: auto;
    border: 1px solid var(--about-edge);
    border-radius: 3px;
    overflow: hidden;
    background: rgb(10 11 9 / 0.9);
    box-shadow: 0 24px 64px rgb(0 0 0 / 0.34);
  }

  .study-close__frame { height: auto; }

  .study-close__lead {
    background: linear-gradient(180deg, rgb(226 166 91 / 0.035), transparent);
  }

  .study-close__continues {
    font: 800 10px/1 var(--font-sans);
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--about-gold);
  }

  .study-close__statement {
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--about-cream);
  }

  .study-close__statement span { color: rgb(218 166 93 / 0.99); }

  .study-close__primary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid var(--about-edge-strong);
    background: linear-gradient(180deg, rgb(226 166 91 / 0.06), rgb(226 166 91 / 0.015));
  }

  .study-close__primary-copy strong {
    display: block;
    font-size: 24px;
    line-height: 1.05;
    color: var(--about-cream);
  }

  .study-close__primary-copy small {
    display: block;
    margin-top: 5px;
    font: 600 11px/1.3 var(--font-sans);
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--about-cream-soft);
  }

  .study-close__primary-arrow {
    font-size: 26px;
    color: var(--about-gold);
  }

  .study-nav { overflow: visible; }

  .study-nav__label {
    margin: 0 0 8px;
    font: 800 9px/1 var(--font-sans);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgb(226 166 91 / 0.72);
  }

  .study-nav li + li { border-top-color: rgb(214 168 96 / 0.11); }

  /* Name over a (hidden) note; the unused second row keeps its 12px gap. */
  .study-nav a {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-areas: "num name arrow" ". meta arrow";
    column-gap: 9px;
  }

  .study-nav__number {
    grid-area: num;
    font: 700 10px/1 var(--font-sans);
    letter-spacing: 0.18em;
    color: var(--about-gold);
  }

  .study-nav__name {
    grid-area: name;
    line-height: 1.08;
    color: var(--about-cream);
  }

  .study-nav__arrow {
    grid-area: arrow;
    font-size: 22px;
    color: var(--about-gold);
  }
}

/* --- Portrait ≤ 820 -------------------------------------------------------- */

@media (orientation: portrait) and (max-width: 820px) {
  html {
    background: var(--about-ink);
    overscroll-behavior-y: none;
  }

  body {
    min-height: 100dvh;
    background:
      radial-gradient(circle at 50% 0, rgb(128 88 42 / 0.18), transparent 30rem),
      linear-gradient(180deg, #100d09 0%, var(--about-ink) 100%);
    background-color: var(--about-ink);
    overscroll-behavior-y: none;
  }

  /* Page-specific chrome delta: the closed enquiry sheet is removed from
     rendering, so it appears without its rise when opened (as the original). */
  body:not(.is-enquiry-open):not(.is-enquiry-closing) .enquiry-overlay,
  body:not(.is-enquiry-open):not(.is-enquiry-closing) .enquiry {
    display: none;
  }

  .about-hero {
    padding: 10px;
    margin-top: calc(var(--header-height) - 10px);
  }

  .about-hero__layout { grid-template-columns: 1fr; }
  .about-hero__media { height: clamp(330px, 84vw, 520px); }

  .about-hero__copy {
    gap: 18px;
    padding: 30px 22px 34px;
  }

  .about-hero__kicker { font-size: 11px; }
  .about-hero__title-line--gold { font-size: clamp(50px, 15vw, 70px); }

  .about-hero__title-line--ivory {
    font-size: clamp(38px, 11.3vw, 54px);
    line-height: 0.96;
  }

  .about-hero__title-phrase { white-space: normal; }
  .about-hero__rule--diamond { width: min(76%, 280px); }
  .about-hero__rule--short { width: 118px; }

  .about-hero__body {
    max-width: 34ch;
    font-size: clamp(20px, 5.35vw, 25px);
    line-height: 1.27;
  }

  .about-hero__closing { max-width: 30ch; }
  .about-hero__closing-lead { font-size: clamp(26px, 7vw, 34px); }

  .about-hero__closing-sub {
    margin-top: 9px;
    font-size: clamp(18px, 5vw, 24px);
  }

  .study { margin-top: 34px; }

  .study-pair {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .study-chapter {
    margin: 28px 0 12px;
    letter-spacing: 0.18em;
  }

  .study-pair__item .study-chapter { margin-top: 0; }

  .study-card--wide .study-card__image,
  .study-card--tall-image .study-card__image,
  .study-card--sofia .study-card__image {
    height: clamp(245px, 59vw, 390px);
  }

  .study-card__copy,
  .study-card--wide .study-card__copy,
  .study-card--text-right .study-card__copy,
  .study-card--sofia.study-card--text-right .study-card__copy {
    padding: 20px 18px 22px;
  }

  .study-card__copy small {
    margin: 0 0 8px;
    font-size: 10px;
  }

  .study-card__copy h3,
  .study-card--wide .study-card__copy h3 {
    margin: 0 0 9px;
    font-size: clamp(24px, 7vw, 32px);
  }

  .study-card__copy p {
    font-size: 18px;
    line-height: 1.42;
  }

  .study-card__cue {
    top: 14px;
    right: 14px;
  }

  /* The text-right cue keeps its desktop left placement. */
  .study-card--text-right .study-card__cue { right: auto; }

  .study-close { margin: 34px 0 0; }

  .study-close__frame {
    display: block;
    overflow: visible;
  }

  .study-close__lead { padding: 28px 20px 22px; }

  .study-close__statement {
    max-width: 30ch;
    font-size: clamp(24px, 6.8vw, 32px);
  }

  .study-close__primary { margin-top: 24px; }

  .study-nav {
    padding: 22px 20px 16px;
    border-top: 1px solid var(--about-edge);
  }

  .study-nav a {
    min-height: 66px;
    padding: 12px 0;
  }

  .study-nav__name { font-size: 22px; }
}

/* Small portrait phones. */
@media (orientation: portrait) and (max-width: 420px) {
  .about__main { padding-inline: 10px; }

  .about-hero {
    padding: 8px;
    margin-top: calc(var(--header-height) - 8px);
  }

  .about-hero__copy { padding: 26px 18px 30px; }
  .about-hero__media { height: clamp(310px, 88vw, 410px); }
  .study-card__copy p { font-size: 17px; }
}

/* Tablet portrait: clean imagery and stable hero title lines. */
@media (orientation: portrait) and (min-width: 421px) and (max-width: 820px) {
  .about-hero__media::after,
  .study-card__image::after,
  .study-card--wide .study-card__image::after,
  .study-card--text-right .study-card__image::after,
  .study-card--bisazza .study-card__face--front .study-card__image::after,
  .study-card--permanence .study-card__face--back .study-card__image::after {
    content: none;
  }

  .study-card__image img,
  .study-card:hover:not(.is-flipped) .study-card__face--front img {
    filter: none;
  }

  .about-hero__copy { min-width: 0; }

  .about-hero__title {
    width: 100%;
    max-width: none;
  }

  .about-hero__title-line,
  .about-hero__title-phrase {
    width: max-content;
    max-width: 100%;
  }

  .about-hero__title-phrase { white-space: nowrap; }
}

/* --- Landscape ≤ 1024 ------------------------------------------------------ */

@media (orientation: landscape) and (max-width: 1024px) {
  html,
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    background:
      radial-gradient(circle at 50% 0, rgb(128 88 42 / 0.18), transparent 30rem),
      linear-gradient(180deg, #100d09 0%, var(--about-ink) 100%);
  }

  .about-hero {
    max-height: none;
    padding: 8px;
    margin-top: calc(var(--header-height) - 8px);
  }

  .about-hero__layout {
    grid-template-columns: 49fr 51fr;
    min-height: calc(100svh - var(--header-height) + 160px);
    align-items: stretch;
  }

  .about-hero__media {
    height: auto;
    min-height: 100%;
    align-self: stretch;
  }

  .about-hero__copy {
    justify-content: flex-start;
    gap: 12px;
    height: auto;
    padding: 26px clamp(22px, 3vw, 34px) 36px;
  }

  .about-hero__kicker { font-size: 9px; }
  .about-hero__title-line--gold { font-size: clamp(42px, 7.2vw, 64px); }

  .about-hero__title-line--ivory {
    font-size: clamp(30px, 5.1vw, 46px);
    line-height: 0.93;
  }

  .about-hero__rule--diamond { width: min(54%, 240px); }
  .about-hero__rule--short { width: 96px; }

  .about-hero__body {
    max-width: 43ch;
    font-size: clamp(16px, 2.25vw, 20px);
  }

  .about-hero__closing { max-width: 34ch; }
  .about-hero__closing-lead { font-size: clamp(20px, 3vw, 28px); }

  .about-hero__closing-sub {
    margin-top: 5px;
    font-size: clamp(15px, 2.2vw, 20px);
  }

  .study { margin-top: 26px; }

  .study-pair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin: 0 0 8px;
    padding: 0;
  }

  .study-pair__item {
    display: flex;
    flex-direction: column;
  }

  .study-chapter {
    margin: 22px 0 10px;
    letter-spacing: 0.11em;
  }

  .study-pair__item .study-chapter { margin: 0 0 10px; }

  .study-pair .study-card {
    height: 100%;
    margin: 0;
  }

  .study-pair .study-card__flip,
  .study-pair .study-card__face {
    height: 100%;
  }

  .study-pair .study-card__image { height: clamp(210px, 56vh, 300px); }

  .study-card--wide .study-card__image,
  .study-card--tall-image .study-card__image,
  .study-card--sofia .study-card__image {
    height: clamp(220px, 46vh, 290px);
  }

  .study-card__copy,
  .study-card--wide .study-card__copy,
  .study-card--text-right .study-card__copy,
  .study-card--sofia.study-card--text-right .study-card__copy {
    padding: 13px 12px 14px;
  }

  .study-card__copy small {
    margin: 0 0 5px;
    font-size: 8.5px;
  }

  .study-card__copy h3,
  .study-card--wide .study-card__copy h3 {
    margin: 0 0 6px;
    font-size: clamp(20px, 3vw, 25px);
  }

  .study-card__copy p {
    font-size: clamp(16px, 2.2vw, 18px);
    line-height: 1.34;
  }

  .study-card__cue {
    top: 12px;
    right: 12px;
  }

  .study-card--text-right .study-card__cue { right: auto; }

  .study-close { margin: 28px 0 0; }

  .study-close__frame {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  }

  .study-close__lead {
    padding: 24px 24px 22px;
    border-right-color: var(--about-edge);
  }

  .study-close__statement {
    max-width: 28ch;
    font-size: clamp(23px, 3.4vw, 30px);
  }

  .study-nav {
    padding: 22px 20px 14px;
    border-top: 0;
  }

  .study-nav a {
    min-height: 58px;
    padding: 9px 0;
  }

  .study-nav__name { font-size: 20px; }
}

/* Tablet landscape: centred hero copy; wide-card copy fills its block. */
@media (orientation: landscape) and (min-width: 768px) and (max-width: 1024px) {
  .about-hero__layout { min-height: calc(100svh - var(--header-height) - 8px); }

  .about-hero__copy {
    justify-content: center;
    align-self: stretch;
    height: 100%;
  }

  .study-card--wide .study-card__copy,
  .study-card--text-right .study-card__copy,
  .study-card--sofia.study-card--text-right .study-card__copy {
    left: 0;
    right: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .study-card__flip,
  .study-card__image img {
    transition: none;
  }
}
