/* Dreamee Patisserie — minimal, built from the logo: mocha-taupe on white, with the soft blush of the photo backdrops.
   Layout idea: quiet white pages, the real photos do the talking; rounded lowercase display type echoes the wordmark. */
:root {
  --paper: #fffdfb;
  --blush: #f6eeea;
  --taupe: #8c7d74;
  --taupe-soft: #d9cbc2;
  --cocoa: #4b403a;
  --line: #e9dfd9;
  --display: "Quicksand", "Varela Round", "Nunito", system-ui, sans-serif;
  --body: "Be Vietnam Pro", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(18px, 5vw, 64px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--cocoa); font-family: var(--body); font-weight: 300; font-size: 1.0625rem; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; color: var(--cocoa); text-wrap: balance; letter-spacing: -.01em; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 60ch; }

/* Language: every text appears twice; the html[data-lang] attribute decides which shows */
html:not([data-lang="vi"]) .l-vi { display: none !important; }
html[data-lang="vi"] .l-en { display: none !important; }

.label { font-family: var(--body); font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 1rem; display: block; }

/* Header */
.top { padding-block: 22px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top .left { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.logo img { width: clamp(108px, 12vw, 140px); height: auto; }
.back { font-size: .85rem; text-decoration: none; color: var(--taupe); letter-spacing: .04em; display: inline-flex; gap: .45rem; align-items: center; padding: .35rem 0; border-bottom: 1px solid transparent; }
.back:hover { border-color: var(--taupe); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper); }
.lang button { font: inherit; font-size: .78rem; font-weight: 500; letter-spacing: .12em; border: 0; background: transparent; color: var(--taupe); padding: .4rem .85rem; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--taupe); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-size: .9rem; font-weight: 400; letter-spacing: .04em; text-decoration: none; padding: .8rem 1.5rem; border-radius: 999px; border: 1px solid var(--taupe); background: var(--taupe); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--cocoa); border-color: var(--cocoa); }
.btn.line { background: transparent; color: var(--cocoa); border-color: var(--taupe-soft); }
.btn.line:hover { border-color: var(--taupe); background: var(--blush); }
.btns { display: flex; flex-wrap: wrap; gap: .7rem; }

section { padding-block: clamp(56px, 8vw, 110px); }
.blush { background: var(--blush); }

/* Home hero */
.hero { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 100px); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); font-weight: 400; letter-spacing: -.025em; }
.hero h1 b { font-weight: 600; color: var(--taupe); }
.hero .lede { margin-top: 1.4rem; font-size: 1.15rem; max-width: 40ch; }
.hero .btns { margin-top: 2rem; }
.hero .facts { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .88rem; color: var(--taupe); }
.hero .facts strong { color: var(--cocoa); font-weight: 500; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 8px 8px; }
.hero-photo .small { position: absolute; left: -12%; bottom: 8%; width: 38%; border-radius: 8px; border: 6px solid var(--paper); aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 18px 40px -20px rgba(75, 64, 58, .45); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-photo { max-width: 460px; } .hero-photo .small { left: auto; right: -6px; } }

/* Page links on the homepage */
.pages { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 2vw, 24px); }
.page-link { grid-column: span 2; text-decoration: none; display: grid; gap: .9rem; }
.page-link:nth-child(1), .page-link:nth-child(2) { grid-column: span 3; }
.page-link .img { overflow: hidden; border-radius: 8px; background: var(--blush); }
.page-link img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.page-link:nth-child(1) img, .page-link:nth-child(2) img { aspect-ratio: 16 / 11; }
.page-link:nth-child(1) h3, .page-link:nth-child(2) h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.page-link:hover img { transform: scale(1.04); }
.page-link .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.page-link h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.page-link .arrow { color: var(--taupe); transition: transform .2s; }
.page-link:hover .arrow { transform: translateX(4px); }
.page-link p { color: var(--taupe); font-size: .95rem; margin-top: -.3rem; }
@media (max-width: 900px) { .pages { grid-template-columns: 1fr 1fr; } .page-link, .page-link:nth-child(1), .page-link:nth-child(2) { grid-column: span 1; } .page-link:nth-child(1), .page-link:nth-child(2) { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pages { grid-template-columns: 1fr; } }

.head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 3rem; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.head h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); font-weight: 400; }
.head p { max-width: 44ch; color: var(--taupe); }

/* Inner page intro */
.intro { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 72px); }
.intro .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 96px); align-items: end; }
.intro h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); font-weight: 400; letter-spacing: -.02em; }
.intro .lede { font-size: 1.12rem; max-width: 46ch; }
@media (max-width: 820px) { .intro .wrap { grid-template-columns: 1fr; } }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 8px; }
@media (max-width: 640px) { .wide-photo img { aspect-ratio: 4 / 3; } }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.split h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); font-weight: 400; margin-bottom: 1.2rem; }
.split p + p { margin-top: 1rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cards, .cards.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards, .cards.three { grid-template-columns: 1fr; } }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.card p { font-size: .95rem; color: var(--taupe); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 36px); counter-reset: s; }
.step { border-top: 1px solid var(--taupe-soft); padding-top: 1.2rem; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: var(--taupe); display: block; margin-bottom: .5rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.step p { font-size: .95rem; color: var(--taupe); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* Classes list */
.class { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 56px); padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); align-items: start; }
.class:last-child { border-bottom: 1px solid var(--line); }
.class img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.class h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; margin-bottom: .6rem; }
.class .level { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); font-weight: 500; margin-bottom: .5rem; display: block; }
.class ul { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; display: grid; gap: .35rem; }
.class li { padding-left: 1.2rem; position: relative; }
.class li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--taupe-soft); }
.class .meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.chip { font-size: .82rem; padding: .3rem .8rem; border-radius: 999px; background: var(--blush); color: var(--cocoa); }
@media (max-width: 720px) { .class { grid-template-columns: 1fr; } .class img { max-width: 360px; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: .2rem 2rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.timeline .yr { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--taupe); line-height: 1.2; }
.timeline h3 { font-family: var(--body); font-size: 1.02rem; font-weight: 500; }
.timeline p { color: var(--taupe); font-size: .97rem; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; } }

/* Recognition */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stats b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem); line-height: 1; color: var(--taupe); font-variant-numeric: tabular-nums; }
.stats span { font-size: .95rem; }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr; } }
.press { list-style: none; margin: 0; padding: 0; }
.press li { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: .4rem 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.press li:last-child { border-bottom: 1px solid var(--line); }
.press h3 { font-size: 1.3rem; }
.press .kind { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); font-weight: 500; margin-bottom: .2rem; }
.press p { color: var(--taupe); font-size: .97rem; }
.press .when { font-size: .88rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .press li { grid-template-columns: 1fr; } }
.partners { display: flex; flex-wrap: wrap; gap: .7rem; }
.partners a { text-decoration: none; padding: .8rem 1.4rem; border: 1px solid var(--taupe-soft); border-radius: 999px; font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.partners a:hover { background: var(--blush); }

/* Gallery */
.gallery { columns: 3 240px; column-gap: clamp(12px, 2vw, 20px); }
.shot { break-inside: avoid; display: block; width: 100%; margin: 0 0 clamp(12px, 2vw, 20px); padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.shot img { width: 100%; transition: transform .5s ease, opacity .3s; }
.shot:hover img { transform: scale(1.03); }
.viewer { position: fixed; inset: 0; z-index: 90; background: rgba(255, 253, 251, .97); display: none; align-items: center; justify-content: center; padding: clamp(56px, 6vw, 80px) clamp(12px, 8vw, 100px); }
.viewer.open { display: flex; }
.viewer figure { margin: 0; display: grid; gap: .8rem; justify-items: center; }
.viewer img { max-height: 78vh; max-width: 100%; border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(75, 64, 58, .5); }
.viewer figcaption { font-size: .9rem; color: var(--taupe); }
.vbtn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--taupe-soft); background: var(--paper); color: var(--cocoa); font-size: 1.1rem; cursor: pointer; }
.vbtn:hover { background: var(--blush); }
.v-close { top: 16px; right: 16px; }
.v-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.v-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .v-prev, .v-next { top: auto; bottom: 16px; transform: none; } }

/* Forms */
.form { display: grid; gap: 1rem; background: var(--paper); padding: clamp(20px, 3vw, 36px); border-radius: 8px; border: 1px solid var(--line); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .3rem; font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--taupe); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--cocoa); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .75rem .85rem; }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; }
.status { display: none; font-size: .95rem; background: var(--blush); padding: 1rem; border-radius: 6px; }
.status.show { display: block; }
.status pre { white-space: pre-wrap; font: inherit; margin: .7rem 0; }

/* Footer: simple and centred */
.contact { background: var(--blush); border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 80px) 28px; }
.foot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
.foot-logo { width: 120px; margin-bottom: 1.2rem; }
.foot-line { font-size: .98rem; }
.foot-line.soft { color: var(--taupe); font-size: .92rem; }
.foot a { text-decoration: none; }
.foot-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--taupe-soft); display: grid; place-items: center; color: var(--taupe); transition: background .2s, color .2s; }
.foot-social a:hover { background: var(--taupe); color: #fff; border-color: var(--taupe); }
.foot-social svg { width: 18px; height: 18px; }
.foot-copy { margin-top: 1.6rem; font-size: .78rem; color: var(--taupe); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.split > *, .two > *, .form label, .form select, .form input { min-width: 0; max-width: 100%; }
.form select { width: 100%; text-overflow: ellipsis; }

/* Tabs */
.top { padding-block: 18px 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 251, .96); backdrop-filter: blur(8px); }
.top .wrap { display: block; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tabs { display: flex; gap: clamp(1rem, 2.6vw, 2.2rem); margin-top: 14px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; text-decoration: none; font-size: .92rem; color: var(--taupe); padding: .55rem 0 .8rem; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.tabs a:hover { color: var(--cocoa); }
.tabs a[aria-current="page"] { color: var(--cocoa); border-color: var(--taupe); font-weight: 400; }
@media (max-width: 640px) { .tabs { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } }

/* Contact page */
.ways { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
@media (max-width: 820px) { .ways { grid-template-columns: 1fr; } }
.way { position: relative; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 34px); display: grid; gap: .4rem; transition: border-color .2s, background .2s; }
.way:hover { border-color: var(--taupe); }
.way h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.way p { color: var(--taupe); font-size: .95rem; }
.way .label { margin-bottom: .2rem; }
.way .go { position: absolute; right: 24px; top: 22px; color: var(--taupe); }
.way.main { background: var(--taupe); border-color: var(--taupe); }
.way.main, .way.main h3, .way.main p, .way.main .label, .way.main .go { color: #fff; }
.way.main:hover { background: var(--cocoa); border-color: var(--cocoa); }
.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 860px) { .details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .details { grid-template-columns: 1fr; } }
.details h3 { font-family: var(--body); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--taupe); margin-bottom: .7rem; }
.details a { text-decoration: none; border-bottom: 1px solid var(--taupe-soft); }
.socs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 820px) { .socs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .socs { grid-template-columns: 1fr; } }
.soc { display: flex; align-items: center; gap: .9rem; text-decoration: none; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 10px; }
.soc:hover { background: var(--blush); }
.soc svg { width: 24px; height: 24px; color: var(--taupe); flex: none; }
.soc span { display: grid; line-height: 1.35; font-size: .92rem; color: var(--taupe); }
.soc b { font-weight: 500; color: var(--cocoa); }
.contact { padding-block: 28px; }
.foot-social { margin-top: 0; }
.foot-copy { margin-top: 1rem; }
.foot-copy a { text-decoration: underline; text-underline-offset: 3px; }

/* Wholesale contacts */
.intro .lede { font-size: 1.05rem; max-width: 56ch; }
#enquire h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 22px); }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }
.person { border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 30px); display: grid; gap: .6rem; }
.person h3 { font-size: 1.5rem; }
.person .num { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-weight: 500; text-decoration: none; color: var(--taupe); font-variant-numeric: tabular-nums; }
.person .btns { margin-top: .4rem; }
.closing { margin-top: clamp(40px, 6vw, 64px); padding-top: 1.6rem; border-top: 1px solid var(--line); font-family: var(--display); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); line-height: 1.4; max-width: 46ch; color: var(--cocoa); }
.intro h1.long { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.15; }
.person .btns { flex-wrap: nowrap; }
.person .btn { padding: .7rem 1.2rem; }

/* Partners & discount codes */
.partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 2vw, 22px); }
@media (max-width: 960px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .partners-grid { grid-template-columns: 1fr 1fr; } }
.partner { border: 1px solid var(--line); border-radius: 12px; padding: clamp(16px, 2vw, 24px); display: grid; gap: .8rem; justify-items: center; text-align: center; background: #fff; }
.p-logo { display: grid; place-items: center; width: 100%; aspect-ratio: 1; }
.p-logo img { max-width: 78%; max-height: 78%; object-fit: contain; }
.partner h3 { font-size: 1.1rem; }
.code { font: inherit; display: inline-flex; align-items: center; gap: .6rem; border: 1px dashed var(--taupe); background: var(--blush); color: var(--cocoa); border-radius: 999px; padding: .5rem .9rem; cursor: pointer; transition: background .2s; }
.code:hover { background: var(--taupe-soft); }
.code .c { font-weight: 500; letter-spacing: .08em; font-size: .92rem; }
.code .hint { font-size: .72rem; color: var(--taupe); letter-spacing: .06em; text-transform: uppercase; }
.code.copied { background: var(--taupe); color: #fff; border-style: solid; }
.code.copied .hint { color: #fff; }
.partners-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 960px) { .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.code { flex-direction: column; gap: .1rem; padding: .5rem 1.1rem; border-radius: 12px; max-width: 100%; }
.code .hint { white-space: nowrap; font-size: .68rem; }

/* Gallery collections */
.gchips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }
.gchip { font: inherit; font-size: .92rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--taupe-soft); background: var(--paper); color: var(--cocoa); cursor: pointer; transition: background .2s, color .2s; }
.gchip small { font-size: .75rem; color: var(--taupe); margin-left: .2rem; }
.gchip:hover { background: var(--blush); }
.gchip[aria-pressed="true"] { background: var(--taupe); border-color: var(--taupe); color: #fff; }
.gchip[aria-pressed="true"] small { color: #fff; opacity: .85; }
.shot[hidden] { display: none; }
.more-note { margin-top: 1rem; padding: clamp(20px, 3vw, 32px); border: 1px dashed var(--taupe-soft); border-radius: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.more-note[hidden] { display: none; }
.more-note p { color: var(--taupe); }
@media (max-width: 560px) { .gchips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; } .gchip { flex: none; } }

/* Master classes */
.mc-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.mc-tags span { font-size: .82rem; letter-spacing: .06em; padding: .4rem .9rem; border-radius: 999px; background: var(--blush); color: var(--cocoa); }
.mc-intro .lede em { font-family: var(--display); font-style: normal; font-size: 1.35rem; color: var(--taupe); display: inline-block; margin-bottom: .5rem; }
.mc-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.6vw, 18px); }
.mc-hero img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 8px; }
@media (max-width: 560px) { .mc-hero { grid-template-columns: 1fr; } }
.mclass { display: grid; grid-template-columns: 200px 1fr 220px; gap: clamp(18px, 3vw, 44px); padding-block: clamp(24px, 3.4vw, 40px); border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 140px; }
.mclass:last-child { border-bottom: 1px solid var(--line); }
.mclass > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.mbody .num { font-family: var(--display); font-weight: 600; color: var(--taupe); font-size: 1rem; }
.mbody h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: .2rem 0 .5rem; }
.mbody > p { color: var(--taupe); max-width: 52ch; }
.mprice { display: grid; gap: .15rem; justify-items: start; padding-left: clamp(0px, 2vw, 24px); border-left: 1px solid var(--line); }
.mprice .dur { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); font-weight: 500; margin-bottom: .4rem; }
.mprice .reg { text-decoration: line-through; color: var(--taupe); font-size: .95rem; font-variant-numeric: tabular-nums; }
.mprice .spec { font-family: var(--display); font-size: 2.2rem; font-weight: 600; line-height: 1.1; color: var(--cocoa); font-variant-numeric: tabular-nums; }
.mprice .cur { font-size: .78rem; color: var(--taupe); margin-bottom: .9rem; }
@media (max-width: 900px) { .mclass { grid-template-columns: 160px 1fr; } .mprice { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px dashed var(--line); padding-top: 1rem; grid-template-columns: auto auto 1fr; align-items: baseline; column-gap: 1rem; } .mprice .dur, .mprice .cur { margin: 0; } .mprice .btn { grid-column: 1 / -1; margin-top: .6rem; justify-self: start; } }
@media (max-width: 520px) { .mclass { grid-template-columns: 1fr; } .mclass > img { max-width: 260px; } }
.more { margin-top: 1rem; }
.more summary { cursor: pointer; color: var(--cocoa); font-size: .92rem; display: inline-flex; gap: .5rem; align-items: center; padding: .45rem .9rem; border: 1px solid var(--taupe-soft); border-radius: 999px; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; color: var(--taupe); }
.more[open] summary::after { content: "–"; }
.mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem 2rem; margin-top: 1.2rem; }
.mods > .measure { grid-column: 1 / -1; }
.mod h4 { font-family: var(--body); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); font-weight: 500; margin: 0 0 .5rem; }
.mod ul, .mod ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; font-size: .95rem; }
.ptable-wrap { overflow-x: auto; background: var(--paper); border-radius: 10px; border: 1px solid var(--line); }
.ptable { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.ptable th { text-align: left; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); font-weight: 500; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.ptable td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .r { text-align: right; white-space: nowrap; }
.ptable s { color: var(--taupe); }
.ptable b { font-weight: 600; font-size: 1.05rem; }
.ptable a { text-decoration: none; }
.ptable a:hover { text-decoration: underline; }
.why { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.why li { font-size: .85rem; padding: .4rem .9rem; border: 1px solid var(--taupe-soft); border-radius: 999px; }
.people.one { grid-template-columns: 1fr; }
.incl { margin: .4rem 0 .2rem; padding-left: 1.1rem; color: var(--taupe); font-size: .95rem; display: grid; gap: .2rem; }
.reach { display: grid; gap: 12px; }
.reach .way h3 { font-size: 1.35rem; }
.reach .incl { margin-top: .6rem; }
.mprice .spec { font-size: 1.8rem; }
.mprice .btn { width: 100%; margin-top: .35rem; }
@media (max-width: 900px) { .mprice { grid-template-columns: auto 1fr; } .mprice .btn { width: auto; grid-column: auto; } }
.mclass { grid-template-columns: 200px 1fr 250px; }
.mprice .btn { white-space: nowrap; padding: .7rem 1rem; font-size: .88rem; }
@media (max-width: 900px) {
  .mclass { grid-template-columns: 160px 1fr; }
  .mprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; }
  .mprice .dur { margin: 0; }
  .mprice .spec { font-size: 1.5rem; }
  .mprice .cur { flex-basis: 100%; margin: 0 0 .4rem; }
  .mprice .btn { width: auto; margin: 0; }
}
@media (max-width: 520px) { .mclass { grid-template-columns: 1fr; } }
.role { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); font-weight: 500; margin: -.6rem 0 1.2rem; }
h2[hidden] { display: none; }
/* Flag language switch */
.lang { gap: 4px; padding: 4px; }
.lang button { padding: 4px; border-radius: 6px; line-height: 0; opacity: .45; filter: grayscale(.4); transition: opacity .2s, filter .2s, box-shadow .2s; }
.lang button svg { width: 30px; height: 20px; border-radius: 3px; display: block; }
.lang button:hover { opacity: .8; filter: none; }
.lang button[aria-pressed="true"] { background: transparent; opacity: 1; filter: none; box-shadow: 0 0 0 2px var(--taupe); }

/* ===== v3: modern dark theme (logo mocha on espresso) ===== */
:root {
  --night: #1b1613;
  --night-2: #261f1b;
  --night-3: #322924;
  --cream: #f4ece5;
  --mocha: #c4a796;   /* logo taupe, lifted for dark backgrounds */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
}
body { background: #fbf7f3; }
.texture { background-color: var(--night); background-image: radial-gradient(1200px 500px at 15% 0%, rgba(196,167,150,.12), transparent 60%), radial-gradient(900px 600px at 100% 100%, rgba(140,125,116,.14), transparent 60%); }
h1, h2 { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.02; }

/* info bar */
.infobar { background: #120e0c; color: #bfb1a8; font-size: .78rem; letter-spacing: .04em; }
.infobar .wrap { display: flex; justify-content: center; gap: .4rem 2.2rem; flex-wrap: wrap; padding-block: .55rem; }
@media (max-width: 760px) { .infobar span:nth-child(n+3) { display: none; } .infobar .wrap { gap: 1rem; } }

/* header */
.top { background: rgba(27, 22, 19, .96); border-bottom: 1px solid rgba(244, 236, 229, .08); }
.top .logo img { width: clamp(100px, 11vw, 128px); }
.bar-right { display: flex; align-items: center; gap: .8rem; }
.lang { background: transparent; border-color: rgba(244,236,229,.18); }
.lang button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--mocha); }
.btn.cta { background: var(--mocha); border-color: var(--mocha); color: var(--night); font-weight: 500; padding: .6rem 1.1rem; }
.btn.cta:hover { background: var(--cream); border-color: var(--cream); }
@media (max-width: 560px) { .btn.cta { display: none; } }
.tabs a { color: #b3a49b; }
.tabs a:hover { color: var(--cream); }
.tabs a[aria-current="page"] { color: var(--cream); border-color: var(--mocha); }

/* buttons */
.btn { background: var(--night); border-color: var(--night); color: var(--cream); border-radius: 4px; letter-spacing: .06em; }
.btn:hover { background: var(--taupe); border-color: var(--taupe); }
.btn.line { border-radius: 4px; }
.texture .btn, .hero .btn, .dark-sec .btn, .intro .btn { background: var(--mocha); border-color: var(--mocha); color: var(--night); font-weight: 500; }
.hero .btn:hover, .dark-sec .btn:hover, .intro .btn:hover { background: var(--cream); border-color: var(--cream); }
.btn.ghost { background: transparent !important; color: var(--cream) !important; border-color: rgba(244,236,229,.4) !important; }
.btn.ghost:hover { border-color: var(--cream) !important; }

/* home hero */
.hero { background-color: var(--night); background-image: radial-gradient(900px 520px at 78% 45%, rgba(196,167,150,.16), transparent 62%), radial-gradient(700px 400px at 0% 0%, rgba(255,255,255,.05), transparent 60%); color: var(--cream); padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero .wrap { grid-template-columns: 1.05fr .95fr; }
.hero .label { color: var(--mocha); }
.hero h1 { color: var(--cream); font-size: clamp(2.8rem, 1.6rem + 5vw, 5.6rem); letter-spacing: .01em; }
.hero .lede { color: #d6cac2; font-weight: 300; }
.fb-line { display: inline-block; margin-top: 1.4rem; color: var(--mocha); text-decoration: none; font-size: .92rem; border-bottom: 1px solid rgba(196,167,150,.4); }
.fb-line:hover { color: var(--cream); }
.hero-feature { margin: 0; display: grid; justify-items: center; position: relative; }
.plate { width: min(100%, 470px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), 0 0 0 14px rgba(244,236,229,.05), 0 0 0 15px rgba(244,236,229,.12); }
.plate img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-feature figcaption { position: absolute; top: 6%; right: 0; text-align: right; display: grid; gap: .2rem; }
.cap-name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--cream); }
.cap-sub { font-size: .82rem; color: var(--mocha); letter-spacing: .04em; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-feature figcaption { position: static; text-align: center; margin-top: 1rem; } .plate { width: min(86%, 400px); } }

/* stats band */
.stats-band { background: var(--night-2); color: var(--cream); padding-block: clamp(24px, 3vw, 36px); border-top: 1px solid rgba(244,236,229,.06); }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-band div { display: grid; justify-items: center; gap: .1rem; text-align: center; border-right: 1px solid rgba(244,236,229,.1); }
.stats-band div:last-child { border-right: 0; }
.stats-band b { font-family: var(--serif); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 600; line-height: 1; }
.stats-band span { font-size: .82rem; color: #b3a49b; }
@media (max-width: 600px) { .stats-band .wrap { grid-template-columns: 1fr 1fr; row-gap: 1.4rem; } .stats-band div:nth-child(2) { border-right: 0; } }

/* dark signature section */
.dark-sec { background-color: var(--night); background-image: radial-gradient(1000px 500px at 50% 0%, rgba(196,167,150,.08), transparent 70%); color: var(--cream); }
.dark-sec .label { color: var(--mocha); }
.dark-sec h2 { color: var(--mocha); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.dark-sec .head p { color: #b3a49b; }
.favs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 960px) { .favs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fav { position: relative; display: grid; text-decoration: none; background: var(--night-2); border: 1px solid rgba(244,236,229,.06); border-radius: 10px; padding: clamp(12px, 1.6vw, 18px); transition: background .25s, transform .25s; }
.fav:hover { background: #8c6f5e; transform: translateY(-3px); }
.fimg { display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; }
.fimg img { width: 100%; height: 100%; object-fit: cover; }
.fmeta { display: grid; gap: .1rem; margin-top: .9rem; padding-right: 2rem; }
.kind { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mocha); }
.fav:hover .kind { color: var(--cream); }
.fname { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--cream); line-height: 1.15; }
.fgo { position: absolute; right: 16px; bottom: 18px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 4px; background: var(--mocha); color: var(--night); font-size: .9rem; }
.badge { position: absolute; top: -12px; left: 18px; z-index: 1; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--mocha); background: var(--night); color: var(--mocha); font-family: var(--serif); font-style: italic; font-size: .82rem; display: grid; place-items: center; text-align: center; line-height: 1; }
.center { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }

/* duo panels */
.duo .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
@media (max-width: 820px) { .duo .wrap { grid-template-columns: 1fr; } }
.panel { position: relative; display: block; overflow: hidden; border-radius: 10px; min-height: 460px; text-decoration: none; color: var(--cream); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,22,19,.05) 20%, rgba(27,22,19,.9) 100%); }
.panel:hover img { transform: scale(1.04); }
.pbody { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); display: grid; gap: .5rem; }
.pbody .label { color: var(--mocha); margin: 0; }
.pbody h2 { color: var(--cream); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.pbody p { color: #e2d7cf; max-width: 46ch; }
.more-link { color: var(--mocha); font-size: .92rem; margin-top: .3rem; }
.trio-sec { padding-top: 0; }
.pages.trio { grid-template-columns: repeat(3, 1fr); }
.pages.trio .page-link { grid-column: span 1 !important; }
.pages.trio .page-link img { aspect-ratio: 4 / 3 !important; }
@media (max-width: 760px) { .pages.trio { grid-template-columns: 1fr; } }
.page-link h3 { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }

/* inner page heroes */
.intro { background-color: var(--night); background-image: radial-gradient(900px 480px at 85% 10%, rgba(196,167,150,.13), transparent 62%); color: var(--cream); padding-bottom: clamp(120px, 14vw, 190px); }
.intro .label { color: var(--mocha); }
.intro h1 { color: var(--cream); }
.intro .lede { color: #d6cac2; }
.intro .lede em { color: var(--mocha) !important; }
.mc-tags span { background: rgba(244,236,229,.08); color: var(--cream); }
.wide-photo, .mc-hero { margin-top: clamp(-170px, -12vw, -96px); position: relative; }
.wide-photo img, .mc-hero img { box-shadow: 0 40px 70px -40px rgba(0,0,0,.6); border-radius: 10px; }

/* light sections polish */
.head h2, .split h2 { color: var(--night); }
.blush { background: #f2e9e2; }

/* footer */
.contact { background: var(--night); color: #b3a49b; border-top: 0; padding-block: clamp(40px, 6vw, 64px) 28px; }
.foot-logo { width: 130px; margin-bottom: .6rem; }
.foot-tag { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--mocha); margin-bottom: .4rem; }
.foot-social a { border-color: rgba(244,236,229,.18); color: var(--cream); }
.foot-social a:hover { background: var(--mocha); border-color: var(--mocha); color: var(--night); }
.foot-copy a { color: var(--cream); }
.dark-sec .head h2 { color: var(--mocha); }
.hero-feature { width: 100%; }
.plate { width: 100%; max-width: 480px; }
.hero-feature figcaption { position: static; text-align: center; margin-top: 1.6rem; }
.hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem); overflow-wrap: anywhere; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 1rem + 3.7vw, 4.4rem); overflow-wrap: normal; }

/* Classes: where we teach */
.where { padding-block: clamp(36px, 5vw, 64px) 0; }
.where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) { .where-grid { grid-template-columns: 1fr; } }
.where-item { background: var(--night); color: var(--cream); border-radius: 10px; padding: clamp(22px, 3vw, 34px); display: grid; gap: .4rem; }
.where-item .label { color: var(--mocha); margin: 0; }
.where-item h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); color: var(--cream); }
.where-item p { color: #d6cac2; }
.pages.trio { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .pages.trio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pages.trio { grid-template-columns: 1fr; } }

/* ===== Gallery: editorial chapters ===== */
.gal { padding-top: clamp(32px, 4vw, 56px); }
.gal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ch-index { position: sticky; top: 150px; display: grid; gap: 2px; }
.ch-link { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: baseline; gap: .6rem; font: inherit; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: .9rem 0; cursor: pointer; color: var(--taupe); transition: color .2s; }
.ch-link .n { font-family: var(--serif); font-size: .95rem; letter-spacing: .08em; }
.ch-link .nm { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.ch-link .ct { font-size: .75rem; }
.ch-link:hover { color: var(--night); }
.ch-link[aria-pressed="true"] { color: var(--night); border-bottom-color: var(--night); }
.ch-link[aria-pressed="true"] .n { color: var(--taupe); }
.chapter { position: relative; padding-top: clamp(16px, 2vw, 32px); }
.ch-bg { position: absolute; right: -2vw; top: -4vw; font-family: var(--serif); font-weight: 600; font-size: clamp(9rem, 22vw, 20rem); line-height: 1; color: var(--night); opacity: .045; pointer-events: none; user-select: none; }
.ch-head { position: relative; max-width: 46ch; margin-bottom: clamp(24px, 3vw, 44px); }
.ch-head h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); color: var(--night); margin: .2rem 0 .6rem; }
.ch-head p { color: var(--taupe); }
.ch-note { margin-top: .6rem; font-size: .95rem; }
.ch-note a { color: var(--night); }
.collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(26px, 3.6vw, 52px); gap: clamp(10px, 1.4vw, 18px); }
.collage .shot { margin: 0; border-radius: 10px; box-shadow: 0 30px 50px -30px rgba(27, 22, 19, .5); transition: transform .35s ease; }
.collage .shot img { width: 100%; height: 100%; object-fit: cover; }
.collage .shot:hover { transform: translateY(-6px) rotate(-.6deg); }
.collage .shot:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }
.pos-1 { grid-column: 1 / 7; grid-row: 1 / 10; }
.pos-2 { grid-column: 8 / 13; grid-row: 2 / 7; }
.pos-3 { grid-column: 7 / 11; grid-row: 8 / 13; }
.pos-4 { grid-column: 2 / 6; grid-row: 11 / 15; }
.pos-5 { grid-column: 11 / 13; grid-row: 8 / 11; }
.collage.n1 .pos-1 { grid-column: 3 / 11; grid-row: 1 / 12; }
.collage.n2 .pos-2 { grid-row: 3 / 11; }
.collage.n4 .pos-3 { grid-column: 7 / 12; }
.ch-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(32px, 4vw, 56px); padding-top: 1.2rem; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .gal-grid { grid-template-columns: 1fr; }
  .ch-index { position: static; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .ch-link { flex: none; grid-template-columns: auto auto; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; gap: .4rem; }
  .ch-link .nm { font-size: .95rem; }
  .ch-link .ct { display: none; }
  .ch-link[aria-pressed="true"] { background: var(--night); color: var(--cream); border-color: var(--night); }
  .ch-link[aria-pressed="true"] .n { color: var(--mocha); }
  .collage { grid-auto-rows: clamp(22px, 7vw, 40px); }
  .ch-bg { font-size: 7rem; top: -1rem; right: 0; }
}
@media (max-width: 560px) {
  .collage { grid-template-columns: repeat(6, 1fr); grid-auto-rows: auto; gap: 10px; }
  .collage .shot { grid-row: auto !important; aspect-ratio: 1; }
  .pos-1 { grid-column: 1 / 5; aspect-ratio: 4 / 5 !important; }
  .pos-2 { grid-column: 5 / 7; align-self: end; }
  .pos-3 { grid-column: 1 / 3; }
  .pos-4 { grid-column: 3 / 7; aspect-ratio: 4 / 3 !important; }
  .pos-5 { grid-column: 1 / 3; }
  .collage.n1 .pos-1 { grid-column: 1 / 7; }
  .collage .shot:hover { transform: none; }
}
.chapters, .gal { scroll-margin-top: 150px; }
.ws-note { margin-top: 1rem; font-size: .9rem; color: var(--taupe); }
.ws-note a { color: var(--taupe); }
.ws-note a:hover { color: var(--night); }
.reach .way { padding: clamp(16px, 2vw, 22px); }
.reach .way h3 { font-size: 1.2rem; }
.person .btn { white-space: nowrap; }
/* hero slideshow */
.plate { position: relative; }
.plate .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease, transform 6s linear; transform: scale(1.06); }
.plate .slide.on { opacity: 1; transform: scale(1.12); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 1rem; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(244,236,229,.3); cursor: pointer; transition: background .3s, transform .3s; }
.dots button[aria-selected="true"] { background: var(--mocha); transform: scale(1.35); }
@media (prefers-reduced-motion: reduce) { .plate .slide { transition: opacity .3s; transform: none !important; } }
/* Cloud-shaped hero photo (the Dreamee logo mark) */
.cloud-wrap { position: relative; width: 100%; max-width: 520px; aspect-ratio: 105 / 82; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.cloud-line { position: absolute; inset: -4.5%; width: 109%; height: 109%; color: var(--mocha); opacity: .55; pointer-events: none; overflow: visible; }
.cloud-line path { stroke-width: 2.2px; }
.plate { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; clip-path: url(#cloudClip); -webkit-clip-path: url(#cloudClip); }
@media (max-width: 860px) { .cloud-wrap { max-width: 420px; margin-inline: auto; } .plate { width: 100%; } }
.hero-feature { overflow: visible; padding-right: 6%; }
.cloud-wrap { max-width: 540px; }
.cloud-line { inset: -5% -6% -5% -5%; width: 111%; height: 110%; }
/* Cloud frame traced from the official Dreamee mark (ratio 1.56:1 cloud body) */
.cloud-wrap { aspect-ratio: 1.56 / 1; max-width: 560px; }
.cloud-line { inset: 0; width: 100%; height: 100%; opacity: .7; }
.cloud-line path { stroke-width: 2.4px; }
.hero-feature { padding-right: 0; }
.plate .slide { transform: scale(1.02); }
.plate .slide.on { transform: scale(1.08); }
.cloud-wrap { aspect-ratio: 1.56 / 1; max-width: 600px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
.cloud-line { position: absolute; left: -3%; top: -3%; width: 106%; height: 106%; overflow: visible; color: var(--mocha); opacity: .85; pointer-events: none; }
.cloud-line path { stroke-width: 2px; }
.vid { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; display: block; background: var(--night); }
.top .logo img { width: clamp(120px, 13vw, 150px); }
.foot-logo { width: 150px; }
/* restore previous cloud */
.cloud-wrap { aspect-ratio: 105 / 82; max-width: 540px; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.cloud-line { inset: -5% -6% -5% -5%; width: 111%; height: 110%; opacity: .55; }
.cloud-line path { stroke-width: 2.2px; }
.hero-feature { padding-right: 6%; }
/* Dual logos */
.logos { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); }
.logo-sep { width: 1px; height: 44px; background: rgba(244,236,229,.22); }
.logo-dc img { width: clamp(48px, 5vw, 60px) !important; height: auto; }
.foot-logos { display: flex; align-items: center; justify-content: center; gap: 28px; margin-bottom: .6rem; }
.foot-logos .foot-logo { margin-bottom: 0; }
.foot-dc { width: 72px !important; }
@media (max-width: 560px) { .logo-sep { height: 34px; } .logo-dc img { width: 40px !important; } }
/* Square hero frame (replaces cloud) */
.cloud-wrap { aspect-ratio: 1 / 1; max-width: 500px; filter: none; }
.cloud-wrap .plate { clip-path: none; -webkit-clip-path: none; border-radius: 2px; overflow: hidden; box-shadow: 0 40px 70px rgba(0,0,0,.55); position: relative; z-index: 1; }
.sq-line { position: absolute; inset: 0; transform: translate(18px, 18px); border: 1px solid var(--mocha); opacity: .55; pointer-events: none; z-index: 0; }
@media (max-width: 860px) { .cloud-wrap { max-width: 380px; margin-inline: auto; } .sq-line { transform: translate(12px, 12px); } }
/* Keep square photo beside the text on tablets / narrow windows */
@media (min-width: 600px) and (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; }
  .hero-feature { padding-right: 14px; }
  .cloud-wrap { max-width: 100%; margin-inline: 0; }
  .hero h1 { font-size: clamp(2rem, 1rem + 3.4vw, 3rem); }
  .hero .lede { font-size: 1rem; }
}
/* keep tile images inside their column */
.page-link { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.page-link .img, .page-link img { display: block; max-width: 100%; }
.page-link img[src*="consult-namzo"] { object-position: 50% 45%; }
.pages.trio .page-link h3 { font-size: clamp(1.15rem, .8rem + .95vw, 1.55rem); overflow-wrap: anywhere; }
.pages.trio .page-link { align-content: start; }
.page-link .img { align-self: start; line-height: 0; }
.page-link img[src*="consult-lab"] { object-position: 50% 62%; }
.wide-photo img[src*="consult-banner"] { object-position: 50% 63%; }
.card img[src*="consult-lab"] { object-position: 50% 62%; }
/* Founder role line in normal case */
.role { text-transform: none; letter-spacing: .04em; font-size: 1rem; }
/* Four partners */
.partners-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Local affiliation */
.partners-grid.local-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-word { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1vw, 2rem); color: var(--night); text-align: center; line-height: 1.1; }
@media (max-width: 960px) { .partners-grid.local-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.partner.local .p-logo img { max-width: 92%; }
.wide-photo img[src*="rec-banner"] { object-position: 50% 56%; }
/* Wholesale Zalo call-out on Contact */
.ws-cta { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "k k go" "t n1 go" "t n2 go"; align-items: center; column-gap: 1.4rem; row-gap: .25rem; margin-top: 1.6rem; padding: 1.3rem 1.6rem; background: var(--mocha); color: var(--night); border-radius: 12px; text-decoration: none; box-shadow: 0 18px 40px -22px rgba(0,0,0,.55); transition: background .2s, transform .2s; }
.ws-cta:hover { background: var(--cream); transform: translateY(-2px); }
.ws-k { grid-area: k; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .75; }
.ws-t { grid-area: t; font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); text-transform: uppercase; letter-spacing: .02em; line-height: 1; padding-right: 1.2rem; border-right: 1px solid rgba(27,22,19,.25); }
.ws-n:nth-of-type(3) { grid-area: n1; } .ws-n:nth-of-type(4) { grid-area: n2; }
.ws-n { font-weight: 600; font-size: 1.02rem; }
.ws-go { grid-area: go; font-size: 1.6rem; transition: transform .2s; }
.ws-cta:hover .ws-go { transform: translateX(4px); }
@media (max-width: 560px) { .ws-cta { grid-template-columns: 1fr auto; grid-template-areas: "k go" "t go" "n1 go" "n2 go"; } .ws-t { border-right: 0; padding: .2rem 0 .4rem; } }
.ws-n { white-space: nowrap; } @media (max-width: 560px) { .ws-cta { padding: 1.2rem 1.2rem; column-gap: .8rem; } .ws-n { font-size: .95rem; } }
.ws-t { display: flex; align-items: center; gap: .6rem; text-transform: none; }
.ws-t img { width: 56px; height: 56px; border-radius: 13px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.45); }
.ws-only { font-family: var(--serif); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 560px) { .ws-t img { width: 46px; height: 46px; border-radius: 11px; } }
.soc-h { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); font-weight: 600; margin: 0 0 1rem; }
.socs + .soc-h { margin-top: clamp(32px, 4vw, 48px); }
.socs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .socs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .socs { grid-template-columns: minmax(0, 1fr); } }
.ws-t img { box-shadow: none; border-radius: 0; }
/* Wholesale banner: contact-details colours */
.ws-cta { background: #f2e9e2; color: var(--night); border: 1px solid rgba(27,22,19,.08); }
.ws-cta:hover { background: #ebdfd7; }
.ws-k { opacity: 1; color: var(--taupe); }
/* Wholesale banner: dark like the Zalo card */
.ws-cta { background: var(--taupe); border-color: var(--taupe); color: #fff; }
.ws-cta:hover { background: var(--cocoa); border-color: var(--cocoa); }
.ws-k { color: rgba(255,255,255,.8); }
.ws-t { border-right-color: rgba(255,255,255,.35); }
.ws-n { font-weight: 400; }
/* DC logo same height as Dreamee Patisserie logo */
.logo-dc img, .top .logo-dc img { width: auto !important; height: clamp(61.6px, 6.67vw, 77px) !important; }
@media (max-width: 560px) { .logo-dc img, .top .logo-dc img { width: auto !important; height: 61.6px !important; } .logo-sep { height: 44px; } }
.logo-sep { height: 56px; }
.wide-photo img[src*="contact-banner"] { object-position: 20% 30%; }
.ws-cta { margin-top: 0; }
/* Align the two "where" blocks */
.where-item { align-content: start; gap: .5rem; }
.where-item .label { line-height: 1.6; display: block; }
.where-item h3 { line-height: 1.2; margin: 0; }
.where-item p { margin: .2rem 0 0; }
.wide-photo img[src*="wholesale-banner"] { object-position: 50% 45%; }
.mc-hero img[src*="class-hero-elle"] { object-position: 50% 12%; }
.mc-hero img[src*="class-hero-workshop"] { object-position: 50% 68%; }
.intro h1.one-line { white-space: nowrap; font-size: clamp(1.3rem, 0.5rem + 2.4vw, 2.25rem); letter-spacing: .01em; }
@media (max-width: 360px) { .intro h1.one-line { font-size: 1.15rem; } }
.intro h1 .h-two { display: block; font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.4rem); line-height: 1.12; white-space: nowrap; }
@media (max-width: 380px) { .intro h1 .h-two { font-size: 1.55rem; } }
