/* ==========================================================================
   The practice — spec Linh, 10 Nov 2026. Values for a 390px phone.
   One column on cream #EFE9DF, 24px margins; text and photos share the same edge.
   No boxes, rules, bands, shadows or rounded corners. Fade only: no slide, no zoom.
   From 768px: the column is 560px wide, centred; the hero stays full-bleed.
   ========================================================================== */
.page-practice {
	--pr-cream: #EFE9DF;
	--pr-navy: #0E1A24;
	--pr-copper: #7A5C28;
	--pr-gold: #B89B5E;
	--pr-serif: 'Cormorant Garamond', 'Shippori Mincho', Georgia, serif; /* CJK inside a sentence (清) falls back to the Mincho */
	--pr-label: 'Montserrat', system-ui, sans-serif;
	--pr-ja: 'Shippori Mincho', 'Noto Serif JP', serif;
	background: var(--pr-cream);
	background-image: none;
	color: var(--pr-navy);
}
.page-practice .site-main { background: transparent; }

/* Hero ------------------------------------------------------------------- */
.pr-hero { position: relative; height: 70vh; height: 70svh; min-height: 520px; max-height: 700px; overflow: hidden; background: #16282F; }
.pr-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.pr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,26,36,.75) 0%, rgba(14,26,36,.35) 40%, rgba(14,26,36,0) 70%); pointer-events: none; }
.pr-hero__text { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 40px; }
.pr-hero__label { margin: 0; font-family: var(--pr-label); font-weight: 400; font-size: 11px; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,239,230,.8); }
.page-practice .pr-hero__title { margin: 16px 0 0; font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 38px; line-height: 44px; letter-spacing: 0; color: #F4EFE6; }
@media (max-width: 480px) { .pr-hero__line { display: block; } }
/* Wide screens: the hero words start on the same edge as the 560px column below */
@media (min-width: 768px) { .pr-hero__text { left: max(24px, calc(50% - 280px)); right: 24px; } }

/* Column ----------------------------------------------------------------- */
.pr { padding: 72px 24px 96px; }
@media (min-width: 768px) { .pr { max-width: 560px; box-sizing: content-box; margin-inline: auto; } }
.pr p { margin: 0; }
.pr-intro__p, .pr-ch__body p, .pr-guests p { text-wrap: pretty; letter-spacing: 0; }
.pr-intro__p { font-family: var(--pr-serif); font-weight: 400; font-size: 22px; line-height: 32px; color: var(--pr-navy); }
.pr-intro__p + .pr-intro__p { margin-top: 20px; }

/* Chapters --------------------------------------------------------------- */
.pr-ch { margin-top: 96px; }
.pr-label { font-family: var(--pr-label); font-weight: 400; font-size: 11px; line-height: 20px; letter-spacing: .22em; text-transform: uppercase; color: var(--pr-copper); }
.pr-label__ja { font-family: var(--pr-ja); font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; }
.page-practice .pr-ch__title { margin: 16px 0 0; font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 32px; line-height: 38px; letter-spacing: 0; color: var(--pr-navy); }
.pr-ch__body { margin-top: 24px; }
.pr-ch__body p, .pr-guests p { font-family: var(--pr-serif); font-weight: 400; font-size: 19px; line-height: 30px; color: var(--pr-navy); }
.pr-ch__body p + p, .pr-guests p + p { margin-top: 20px; }

/* 一期一会: on the text edge, never louder than the chapter title */
.page-practice .pr-quote { margin: 56px 0 0; padding: 0; border: 0; background: none; quotes: none; }
.pr-quote::before, .pr-quote::after { content: none; }
.pr-quote__ja { font-family: var(--pr-ja); font-weight: 400; font-size: 24px; line-height: 1.3; letter-spacing: .02em; color: rgba(14,26,36,.85); }
.pr-quote__tr { margin-top: 8px !important; font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 20px; line-height: 1.3; letter-spacing: 0; color: var(--pr-copper); }

/* Photos: inside the 24px margins, square corners, aspect-ratio reserved so nothing jumps */
.pr-img { margin: 48px 0 0; }
.pr-img--45 { aspect-ratio: 4 / 5; background: #16282F; }
.pr-img--11 { aspect-ratio: 1 / 1; background: #C9B99A; }
.pr-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.pr-quote + .pr-img { margin-top: 48px; }

/* The pause, the guests, the link --------------------------------------- */
.pr-end { margin-top: 96px; }
.pr-pause { font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 40px; line-height: 48px; letter-spacing: 0; color: var(--pr-navy); }
.pr-pause__line { display: block; }
.pr-pause__line + .pr-pause__line { padding-left: 32px; }
.pr-guests { margin-top: 56px; }
.pr-more { margin-top: 32px !important; }
.pr-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--pr-navy); text-decoration: none; }
.pr-link__text { font-family: var(--pr-serif); font-weight: 400; font-size: 20px; line-height: 1.3; letter-spacing: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pr-link__arrow { flex: none; width: 28px; height: 10px; color: var(--pr-gold); overflow: visible; transition: transform .4s ease-out; }
.pr-link:hover .pr-link__arrow, .pr-link:focus-visible .pr-link__arrow { transform: translateX(6px); }

/* Focus: 1px gold, 4px away */
.page-practice :focus-visible { outline: 1px solid var(--pr-gold); outline-offset: 4px; }

/* Vietnamese: capitals with marks look heavy — sentence case, less tracking */
:lang(vi) .pr-label, :lang(vi) .pr-hero__label { text-transform: none; letter-spacing: .08em; font-size: 12px; }

/* Fade in: opacity only, 800ms, once (main.js adds .fade-ready unless reduced motion) */
.fade-ready .pr [data-fade] { opacity: 0; transition: opacity .8s ease-out; }
.fade-ready .pr [data-fade].is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.fade-ready .pr [data-fade] { opacity: 1; transition: none; }
	.pr-link__arrow { transition: none; }
}

/* Body text (brief "Chữ chốt", 12 Nov 2026): multi-line paragraphs justified, last line left.
   Titles, labels, short info lines and links stay left. */
.pr-intro__p, .pr-ch__body p, .pr-guests p,
.ds-meaning p, .ds-intro__body p, .ds-beat__body p { text-align: justify; text-align-last: left; hyphens: none; -webkit-hyphens: none; } /* no hyphenation anywhere (specs Access/Questions/Book): if a line looks too loose, tell Linh */

/* The practice only (spec 12 Nov): the title sits 100px above the hero's bottom edge, the last 80px
   of the hero fade into the cream, and the opening paragraph starts 56px below the hero. */
.page-the-practice .pr-hero__text { bottom: 100px; }
.page-the-practice .pr-hero::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(to bottom, rgba(239,233,223,0), #EFE9DF); pointer-events: none; }
.page-the-practice .pr { padding-top: 56px; }
/* Safari reads the hyphenation limit from these (spec "Căn chữ": 8 letters, 4 on each side). */
.pr-intro__p, .pr-ch__body p, .pr-guests p, .ds-meaning p, .ds-intro__body p, .ds-beat__body p, .ds-closing p, .ml-text__p { -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }

/* Spec v1 (18 Nov 2026), shared by Discover, Book, Access. */
/* Address → Google Maps: navy text, 1px gold underline 4px below (both lines if it wraps),
   then "MAP" (Montserrat 11px caps, copper) 8px after, inside the link. Hover / focus: navy. */
.lk-addr { color: var(--pr-navy, #0E1A24); text-decoration: underline; text-decoration-color: #B89B5E; text-decoration-thickness: 1px; text-underline-offset: 4px; padding: 7px 0; -webkit-tap-highlight-color: transparent; }
.lk-addr__end { white-space: nowrap; }
.lk-addr__cue { margin-left: 8px; font-family: 'Montserrat', system-ui, sans-serif; font-weight: 400; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #7A5C28; }
.lk-addr:hover, .lk-addr:focus-visible { text-decoration-color: currentColor; }
.lk-addr:hover .lk-addr__cue, .lk-addr:focus-visible .lk-addr__cue { color: var(--pr-navy, #0E1A24); }
.ds-place.lk-addr:hover { text-decoration-color: currentColor; }
.lk-addr, .lk-lnum { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* Hero → cream (Lynh, 18 Nov): the straight 80px fade showed as a band. Now an eased curve (slow start,
   slow finish) over 140px, and the navy shade under the title lets go near the bottom, so the photo
   melts into the beige with no visible edge. The Practice, Sei, Jaku. */
.page-the-practice .pr-hero::before,
.page-discover .pr-hero::before { height: 140px; background: linear-gradient(to bottom, rgba(239,233,223,0) 0%, rgba(239,233,223,.013) 8.1%, rgba(239,233,223,.049) 15.5%, rgba(239,233,223,.104) 22.5%, rgba(239,233,223,.175) 29%, rgba(239,233,223,.259) 35.3%, rgba(239,233,223,.352) 41.2%, rgba(239,233,223,.45) 47.1%, rgba(239,233,223,.55) 52.9%, rgba(239,233,223,.648) 58.8%, rgba(239,233,223,.741) 64.7%, rgba(239,233,223,.825) 71%, rgba(239,233,223,.896) 77.5%, rgba(239,233,223,.951) 84.5%, rgba(239,233,223,.987) 91.9%, #EFE9DF 100%); }
.page-the-practice .pr-hero::after,
.page-discover .pr-hero::after { background: linear-gradient(to top, rgba(14,26,36,.18) 0%, rgba(14,26,36,.55) 18%, rgba(14,26,36,.62) 28%, rgba(14,26,36,.35) 50%, rgba(14,26,36,0) 75%); }
