/* A monochrome, image-led composition. Motion is a progressive enhancement. */
:root {
  --paper: #f2f2ef;
  --paper-light: #fafafa;
  --ink: #101314;
  --muted: #64666a;
  --champagne: #c3c7cb;
  --sage: #e5e7e9;
  --line: rgba(16,19,20,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
}
body { overflow-x: clip; }
.site-header { background: rgba(242,242,239,.96); }
.hero { grid-template-columns: 40% 60%; min-height: 640px; }
.hero-copy { justify-content: center; padding: 54px clamp(32px,5.2vw,88px); }
/* The supplied marble accents exactly two light surfaces. */
.hero-copy, #experience {
  position: relative;
  isolation: isolate;
  background-color: #ebe8e3;
  background-image: url("assets/marble-pablo.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}
/* Polished stone: amplify the actual veins, not the foreground text. */
.hero-copy::before, #experience::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("assets/marble-pablo.webp") center / cover no-repeat;
  filter: contrast(1.38) brightness(.95) saturate(.9);
}
.hero-copy::after, #experience::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 24%, rgba(255,255,255,.035) 38%, rgba(255,255,255,.12) 45%, rgba(255,255,255,.025) 54%, transparent 66%);
  mix-blend-mode: screen;
}
.hero-eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .14em; }
.hero h1 { margin-top: 36px; font-size: clamp(86px,9.1vw,144px); line-height: .88; }
/* Give descenders room inside the reveal mask without changing line spacing. */
.title-line { display: block; overflow: clip; padding: .065em .035em .3em 0; margin-bottom: -.28em; }
.title-line > span, .title-line > em { display: block; }
.hero-intro { margin-top: 40px; width: 100%; }
.hero-intro .text-link { margin-top: 0; width: min(100%,280px); min-width: 0; }
.hero-image > img { transform: scale(1.045); transform-origin: 50% 60%; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.14),transparent 28%); pointer-events: none; }
.hero-image figcaption { z-index: 1; flex-direction: column; gap: 3px; }
.hero-image figcaption span:last-child { text-align: left; opacity: 1; font-size: 14px; letter-spacing: .02em; }
.selection { padding-top: 80px; padding-bottom: 100px; background: var(--paper-light); }
.selection .section-heading { align-items: center; margin-bottom: 40px; }
.selection .section-heading h2 { font-family: var(--serif); font-size: clamp(60px,6.7vw,98px); line-height: .95; letter-spacing: -.04em; }
.selection-stage { grid-template-columns: 31% 63%; gap: 6%; align-items: center; }
.category-side { padding-top: 0; }
.category-tab { position: relative; min-height: 80px; padding: 22px 0; color: #777b7e; }
.tab-name { font-size: clamp(22px,2.2vw,32px); }
.category-tab::after { content: ""; position: absolute; inset: auto 0 -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.category-tab[aria-selected="true"] { border-bottom-color: var(--line); }
.category-tab[aria-selected="true"]::after { transform: scaleX(1); }
.selection-note { max-width: 290px; margin-top: 28px; font-size: 12px; }
.category-visuals { position: relative; padding: 0 0 7%; isolation: isolate; }
.category-image-wrap { width: 79%; height: auto; aspect-ratio: 3/4; background: #e8e8e5; }
.category-image-wrap > img { object-fit: cover; }
.category-detail { position: absolute; bottom: 0; right: 0; z-index: 2; display: block; width: 39%; aspect-ratio: 3/4; padding: 0; border: 8px solid var(--paper-light); background: var(--paper); overflow: hidden; box-shadow: 0 12px 35px rgba(16,19,20,.08); }
.category-detail > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.category-detail:hover > img { transform: scale(1.04); }
.detail-corner { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; background: rgba(250,250,250,.92); }
.detail-corner svg { width: 18px; height: 18px; }
.image-open { top: 16px; right: 16px; bottom: auto; width: 42px; height: 42px; background: rgba(250,250,250,.92); }
.category-caption { align-items: center; margin-top: 20px; gap: 20px; }
.category-caption > p { padding-top: 0; max-width: 250px; font-size: 13px; }
.category-caption .text-link { font-size: 13px; }
.culture { overflow: clip; }
.culture .section-heading { padding-top: 96px; margin-bottom: 58px; }
.culture .section-heading h2 { font-size: clamp(66px,8.6vw,124px); line-height: .9; letter-spacing: -.045em; }
.culture .section-heading .eyebrow { color: #9ea6ac; font-size: 10px; letter-spacing: .24em; margin-bottom: 26px; }
.culture .section-aside { max-width: 220px; color: #adb3b8; }
.culture-bottom { padding-top: 40px; padding-bottom: 80px; }
.culture-bottom > p { max-width: 350px; color: #aeb4b9; }
.rail-controls > span, .photo-tag { color: #c6cbd0; }
.rail-controls button { border-color: #495055; }
.global { padding-top: 80px; padding-bottom: 90px; border-top-color: rgba(230,235,240,.13); }
.global-copy h2 { align-items: baseline; gap: 18px; margin-top: 36px; margin-bottom: 30px; }
.global-copy h2 > span.country-word { font-size: clamp(48px,4.2vw,64px); line-height: 1; white-space: nowrap; }
.global-copy > p:not(.eyebrow):not(.global-note) { color: #b8bec3; max-width: 335px; }
.country-label { color: #c2c8cd; }
.country-select-wrap { border-color: #596169; }
.global-note { color: #919aa1; font-size: 11px; max-width: 300px; }
.globe-footer { color: #aab3ba; }
.experience { padding-top: 100px; padding-bottom: 110px; }
.experience-intro h2 { font-size: clamp(54px,5.3vw,80px); }
.experience-intro > p:not(.eyebrow) { max-width: 360px; }
.experience-steps details[open] > p { animation: ps-detail-open .5s var(--ease) both; }
.concierge { overflow: clip; isolation: isolate; padding-top: 110px; padding-bottom: 115px; background: #e8eaeb; }
.concierge .eyebrow, .concierge > p:not(.eyebrow) { color: #596169; }
.contact-channel { color: #697178; }
.site-footer { color: #d4d8dc; }
.footer-top { grid-template-columns: 1fr auto; border-bottom-color: #343b40; }
.menu-dialog[open] { animation: ps-menu-in .55s var(--ease) both; }
.menu-dialog[open] nav a { animation: ps-menu-link .65s var(--ease) both; }
.menu-dialog nav a:nth-child(2) { animation-delay: .05s; }
.menu-dialog nav a:nth-child(3) { animation-delay: .1s; }
.menu-dialog nav a:nth-child(4) { animation-delay: .15s; }
.menu-dialog nav a:nth-child(5) { animation-delay: .2s; }
.lightbox[open] #lightbox-image { animation: ps-photo-in .45s var(--ease) both; }
.selection-dialog[open] .catalog-top { animation: ps-menu-link .5s var(--ease) both; }

/* These classes are added only when the relevant content is on screen. */
.hero-copy.is-entered .hero-eyebrow { animation: ps-copy-in .8s var(--ease) both; }
.hero-copy.is-entered h1 .title-line > * { animation: ps-type-in 1.05s var(--ease) both; }
.hero-copy.is-entered h1 .title-line:nth-child(2) > * { animation-delay: .12s; }
.hero-copy.is-entered .hero-intro { animation: ps-copy-in .9s var(--ease) .25s both; }
.hero-image.is-entered { animation: ps-portrait-in 1.3s var(--ease) both; }
.hero-image.is-entered figcaption { animation: ps-copy-in .8s var(--ease) .3s both; }
.motion-reveal.is-revealed { animation: ps-section-in .95s var(--ease) both; }
.category-visuals.is-revealed .category-image-wrap { animation: ps-image-in 1.1s var(--ease) both; }
.category-visuals.is-revealed .category-detail { animation: ps-detail-in 1.2s var(--ease) .1s both; }
.experience-steps.is-revealed details { animation: ps-copy-in .8s var(--ease) both; }
.experience-steps.is-revealed details:nth-child(2) { animation-delay: .08s; }
.experience-steps.is-revealed details:nth-child(3) { animation-delay: .16s; }
.experience-steps.is-revealed details:nth-child(4) { animation-delay: .24s; }
@keyframes ps-type-in { from { transform: translateY(140%); } to { transform: translateY(0); } }
@keyframes ps-copy-in { from { opacity: .1; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes ps-portrait-in { from { clip-path: inset(0 0 8% 0); } to { clip-path: inset(0); } }
@keyframes ps-section-in { from { opacity: .2; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes ps-image-in { from { clip-path: inset(0 0 100% 0); transform: translateY(25px); } to { clip-path: inset(0); transform: none; } }
@keyframes ps-detail-in { from { opacity: 0; transform: translateY(55px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes ps-menu-in { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
@keyframes ps-menu-link { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes ps-photo-in { from { opacity: .25; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ps-detail-open { from { opacity: .1; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

@media (min-width: 761px) and (max-width: 1100px) {
  .hero-copy { padding: 42px 32px; }
  .hero h1 { font-size: clamp(66px,8.8vw,98px); }
  .hero-eyebrow { font-size: 10px; letter-spacing: .08em; }
  .selection-stage { grid-template-columns: 32% 62%; }
  .category-tab { min-height: 68px; padding-block: 18px; }
  .tab-name { font-size: 22px; }
  .category-caption { align-items: flex-start; }
  .global-copy h2 { gap: 14px; }
  .country-number { font-size: 138px; }
  .global-copy h2 > span.country-word { font-size: 47px; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-copy { padding: 32px var(--gutter) 34px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .12em; }
  .hero h1 { margin-top: 17px; font-size: clamp(76px,21vw,128px); line-height: .85; }
  .hero-intro { margin-top: 20px; }
  .hero-intro .text-link { width: 228px; }
  .hero-image figcaption { top: 22px; }
  .hero-image figcaption span:last-child { font-size: 14px; }
  .selection { padding-top: 48px; padding-bottom: 56px; }
  .selection .section-heading { display: flex; margin-bottom: 23px; gap: 12px; }
  .selection .section-heading h2 { font-size: clamp(48px,13.6vw,74px); }
  .selection-stage { gap: 0; }
  .category-list { gap: 23px; }
  .category-tab { min-height: 48px; padding: 12px 0; }
  .tab-name { font-size: 17px; }
  .category-feature { margin-top: 24px; }
  .category-visuals { padding-bottom: 8%; }
  .category-image-wrap { width: 81%; aspect-ratio: 3/4; }
  .category-detail { width: 40%; border-width: 5px; }
  .image-open { top: 10px; right: 10px; width: 36px; height: 36px; }
  .image-open svg { width: 20px; height: 20px; }
  .detail-corner { right: 6px; bottom: 6px; width: 26px; height: 26px; }
  .detail-corner svg { width: 16px; height: 16px; }
  .category-caption { align-items: flex-start; flex-direction: row; gap: 14px; margin-top: 18px; }
  .category-caption > p { font-size: 12px; max-width: 45%; line-height: 1.65; }
  .category-caption .text-link { font-size: 12px; gap: 12px; min-height: 36px; padding-top: 0; }
  .category-caption .text-link svg { width: 20px; height: 20px; }
  .selection-note { margin-top: 18px; font-size: 11px; max-width: none; }
  .culture .section-heading { padding-top: 60px; margin-bottom: 32px; }
  .culture .section-heading .eyebrow { margin-bottom: 20px; }
  .culture .section-heading h2 { font-size: clamp(60px,16.5vw,88px); max-width: 350px; }
  .culture .section-aside { margin-top: 22px; max-width: 100%; font-size: 13px; }
  .culture-bottom { gap: 22px; padding-top: 28px; padding-bottom: 52px; }
  .culture-bottom > p { font-size: 13px; max-width: 280px; }
  .rail-controls { gap: 9px; }
  .rail-controls > span { font-size: 12px; margin-right: auto; }
  .rail-controls button { width: 42px; height: 42px; }
  .global { gap: 16px; padding-top: 58px; padding-bottom: 52px; }
  .global-copy h2 { gap: 18px; margin-top: 30px; margin-bottom: 26px; }
  .country-number { font-size: clamp(138px,37vw,200px); }
  .global-copy h2 > span.country-word { font-size: clamp(42px,11vw,64px); }
  .global-copy > p:not(.eyebrow):not(.global-note) { font-size: 14px; max-width: 290px; }
  .country-label { margin-top: 24px; }
  .global-note { font-size: 11px; }
  .experience { gap: 30px; padding-top: 62px; padding-bottom: 68px; }
  .experience-intro h2 { font-size: clamp(48px,12.5vw,72px); margin-top: 22px; }
  .experience-intro > p:not(.eyebrow) { max-width: 330px; font-size: 14px; line-height: 1.75; margin-top: 22px; }
  .experience-intro > p.founder-signature { font-size: 11px; margin-top: 18px; }
  .experience-steps summary { min-height: 106px; }
  .concierge { padding-top: 74px; padding-bottom: 80px; }
  .concierge h2 { font-size: clamp(56px,15vw,100px); }

}
@media (max-width: 360px) {
  .hero h1 { font-size: 72px; }
  .selection .section-heading h2 { font-size: 44px; }
  .global-copy h2 { gap: 14px; }
  .country-number { font-size: 116px; }
  .global-copy h2 > span.country-word { font-size: 38px; }
  .rail-controls > span { font-size: 11px; }
  .rail-controls { gap: 7px; }
  .category-caption { gap: 10px; }
  .category-caption .text-link { font-size: 11px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-entered *, .motion-reveal, .category-visuals *, .menu-dialog, .menu-dialog nav a, .lightbox img { animation: none !important; }
  .hero-image > img { transform: none !important; }
  .category-detail:hover > img { transform: none; }
}

/* Gallery controls belong only to desktop. Touch visitors use the photographs. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .culture .rail-controls { display: none; }
}

/* The header retains the original bitmap, progressively revealed by the
   original monogram's tracing mask. This runs once per document load. */
.brand-mark { position: relative; display: block; flex: none; }
.brand-mark > img { display: block; }
.brand-mark > .brand-draw { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .brand-mark > img { animation: ps-header-logo-complete 1.65s ease-out both; }
  .brand-mark > .brand-draw { display: block; animation: ps-header-logo-trace-out 1.65s ease-out both; }
  .brand-draw .intro-stroke {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: ps-header-logo-draw .66s cubic-bezier(.3,.05,.32,1) forwards;
  }
  .brand-draw .intro-stroke-cap { animation-duration: .24s; }
  .brand-draw .intro-stroke-stem { animation-delay: .06s; animation-duration: .52s; }
  .brand-draw .intro-stroke-bowl { animation-delay: .12s; animation-duration: .65s; }
  .brand-draw .intro-stroke-foot { animation-delay: .46s; animation-duration: .22s; }
  .brand-draw .intro-stroke-s { animation-delay: .36s; animation-duration: .73s; }
  .brand-draw .intro-stroke-orbit { animation-delay: .58s; animation-duration: .58s; }
  .brand-draw .intro-stroke-bolt { animation-delay: .83s; animation-duration: .24s; }
  .brand-draw .intro-stroke-signature { animation-delay: .94s; animation-duration: .32s; }
  @keyframes ps-header-logo-draw { to { stroke-dashoffset: 0; } }
  @keyframes ps-header-logo-complete { 0%, 76% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes ps-header-logo-trace-out { 0%, 76% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
}

/* Founder portrait: a gentle editorial push-in on mobile, on first view. */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .hero { overflow-x: clip; }
  .hero-image.is-entered {
    animation: ps-portrait-soft-in .9s cubic-bezier(.2,.65,.3,1) both;
    transform-origin: center;
  }
  .hero-image.is-entered figcaption {
    animation: ps-portrait-caption-in .65s ease-out .12s both;
  }
  @keyframes ps-portrait-soft-in {
    from { opacity: .86; transform: translate3d(-5px,0,0) scale(.988); }
    to { opacity: 1; transform: translate3d(0,0,0) scale(1); }
  }
  @keyframes ps-portrait-caption-in {
    from { opacity: .75; transform: translate3d(0,3px,0); }
    to { opacity: 1; transform: translate3d(0,0,0); }
  }
}
