/*
 * STUDIO theme: modern editorial. Charcoal + warm off-white + one vermilion accent, a bold contemporary grotesk
 * (Bricolage Grotesque) for display and Inter for everything functional.
 *
 * Scoped to [data-layout="studio"] for global overrides; every new section uses its own class (po-, sq-, mn-, ab-, sg-),
 * so the Classic layout in site.css is untouched. Colour and type come only from the theme tokens in base.css.
 *
 * Signature ideas
 *   - Poster hero: the headline crosses onto the photograph and inverts where they meet (mix-blend-mode: difference),
 *     with the booking information as a solid accent strip attached to the picture.
 *   - Gallery in rows of mixed proportions on charcoal, every row a different height.
 *   - Services as a printed menu with dotted leaders and right-aligned prices.
 *   - Footer: closing invitation + compact links + an oversized wordmark.
 */
[data-layout="studio"] { --r-btn: 2px; --r-img: 2px; --nav-h: 64px; }
[data-layout="studio"] body { font-size: var(--fs-m); }
[data-layout="studio"] .logo { font-weight: var(--display-weight); letter-spacing: -.045em; font-size: 24px; }
[data-layout="studio"] .nav-links a { font-weight: 500; color: var(--ink); }
[data-layout="studio"] .nav-links a:hover { color: var(--accent-text); border-color: currentColor; }
[data-layout="studio"] .btn { font-weight: 600; letter-spacing: 0; }
[data-layout="studio"] .btn.lg { min-height: 56px; }
[data-layout="studio"] .kicker { font-weight: 600; letter-spacing: .1em; }
[data-layout="studio"] .kicker::before { content: none; }
[data-layout="studio"] .visit-head .kicker::before { content: "04 ·"; width: auto; height: auto; background: none; }
[data-layout="studio"] .visit-head h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: var(--display-lh); font-size: clamp(36px, 6vw, 72px); }
[data-layout="studio"] .lab, [data-layout="studio"] .cat { font-weight: 600; }
[data-layout="studio"] em { font-style: normal; }

/* ====================================================================== hero: type and photograph side by side, never overlapping */
.po { overflow: clip; }
.po-grid { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: var(--s-4); }
.po-copy { display: grid; gap: var(--s-3); justify-items: start; padding-bottom: var(--s-5); }
.po-meta { font-size: var(--fs-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.po-title { font-size: clamp(38px, 11.4vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; text-align: left; }
.po-sub { font-size: var(--fs-m); line-height: 1.45; color: var(--ink); max-width: 30ch; }
.po-cta { width: 100%; margin-top: var(--s-2); }
.po-photo { margin: 0 calc(var(--gut) * -1); aspect-ratio: 1 / .8; overflow: hidden; background: var(--surface-2); border-radius: 0; }
.po-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: var(--photo-grade); }
/* next opening: a slim, quiet row; it opens the booking sheet and is fed by the real availability engine */
.po-next { display: flex; align-items: center; gap: var(--s-2); width: 100%; min-height: 52px; padding: 0; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); font-size: var(--fs-s); color: var(--ink); }
.po-next:hover strong { color: var(--accent-text); }
.po-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.po-next-lab { color: var(--muted); }
.po-next strong { font-weight: 600; font-variant-numeric: tabular-nums; margin-left: auto; transition: color .15s; }
/* tablet + desktop: asymmetric. Copy on the left, photograph bleeding off the right edge, the next-opening row under the copy. */
@media (min-width: 720px) {
  .po { --bleed: max(var(--gut), calc((100vw - var(--max)) / 2)); }
  .po-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto; column-gap: var(--s-4); padding-top: var(--s-6); align-items: stretch; }
  .po-copy { grid-column: 1 / 7; grid-row: 1; align-self: center; gap: var(--s-4); padding-block: var(--s-5); padding-bottom: var(--s-5); }
  .po-title { font-size: clamp(46px, 5.8vw, 92px); line-height: 1.02; }
  .po-sub { font-size: clamp(16px, 1.5vw, 19px); max-width: 28ch; }
  .po-cta { width: auto; }
  .po-photo { grid-column: 7 / -1; grid-row: 1 / span 2; margin: 0 calc(var(--bleed) * -1) 0 0; aspect-ratio: auto; height: clamp(420px, 58svh, 620px); border-radius: var(--r-img) 0 0 var(--r-img); }
  .po-next { grid-column: 1 / 7; grid-row: 2; align-self: end; width: auto; max-width: 420px; margin-bottom: var(--s-5); gap: var(--s-3); border: 0; border-top: 1px solid var(--line-strong); padding-top: var(--s-3); min-height: 0; }
  .po-next strong { margin-left: var(--s-2); }
}

/* ====================================================================== work: charcoal gallery, rows of mixed proportions */
.sq { background: var(--brand); color: var(--on-brand); padding-block: var(--sec); }
.sq-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.sq-head > div { display: grid; gap: var(--s-3); }
.sq h2 { font-size: clamp(36px, 6vw, 72px); line-height: .95; }
.sq .textlink { color: var(--on-brand); text-decoration-color: color-mix(in srgb, var(--on-brand) 40%, transparent); }
.sq .filters { margin: 0 0 var(--s-5); }
.sq .filter { color: color-mix(in srgb, var(--on-brand) 72%, var(--brand)); }
.sq .filter:hover { color: var(--on-brand); }
.sq .filter[aria-pressed=true] { color: var(--on-brand); border-color: var(--accent-on-dark); }
.sq-rows { display: grid; gap: var(--s-2); }
.sq-row { display: flex; gap: var(--s-2); }
.sq-cell { flex: var(--a, .75) 1 0; aspect-ratio: var(--a, .75); min-width: 0; padding: 0; border: 0; overflow: hidden; position: relative; cursor: zoom-in; border-radius: var(--r-img); background: color-mix(in srgb, var(--on-brand) 10%, var(--brand)); }
.sq-cell img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); transition: transform .9s var(--ease); }
.sq-cell:hover img { transform: scale(1.04); }
.sq-row.r1 .sq-cell { max-width: 520px; }
@media (max-width: 719px) { .sq-row.r3 { flex-wrap: wrap; } .sq-row.r3 .sq-cell:first-child { flex: 0 0 100%; } .sq-row.r3 .sq-cell { aspect-ratio: auto; } .sq-row.r3 .sq-cell:first-child { aspect-ratio: var(--a, 1.2); } .sq-row.r3 .sq-cell:not(:first-child) { aspect-ratio: var(--a, .75); } }
@media (min-width: 720px) { .sq-rows, .sq-row { gap: var(--s-4); } }

/* ====================================================================== services: printed price menu */
.mn { padding-block: var(--sec); }
.mn-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
.mn-head h2 { font-size: clamp(36px, 6vw, 72px); line-height: .95; }
.mn-groups { display: grid; gap: var(--s-6); }
.mn-group { border-top: 2px solid var(--ink); padding-top: var(--s-3); display: grid; gap: var(--s-2); align-content: start; }
.mn-cat { font-size: clamp(26px, 3.2vw, 36px); line-height: 1; }
.mn-list { list-style: none; margin: 0; padding: 0; }
.mn-row { display: grid; grid-template-columns: minmax(0, auto) minmax(var(--s-4), 1fr) auto; grid-template-areas: "name lead price" "meta meta meta"; column-gap: var(--s-3); align-items: end; width: calc(100% + var(--s-4) * 2); margin-inline: calc(var(--s-4) * -1); padding: var(--s-3) var(--s-4); min-height: 56px; text-align: left; background: none; border: 0; border-radius: var(--r-s); transition: background .18s; }
.mn-row:hover { background: color-mix(in srgb, var(--surface-2) 50%, var(--bg)); }
.mn-row:focus-visible { outline-offset: -2px; }
.mn-name { grid-area: name; min-width: 0; font-family: var(--display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.025em; overflow-wrap: break-word; transition: color .15s; }
.mn-row:hover .mn-name { color: var(--accent-text); }
.mn-lead { grid-area: lead; align-self: end; margin-bottom: .4em; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 38%, transparent); min-width: var(--s-3); }
.mn-price { grid-area: price; font-size: var(--fs-m); font-weight: 600; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mn-meta { grid-area: meta; margin-top: 2px; font-size: var(--fs-s); line-height: 1.4; color: var(--muted); }
.mn-dur { white-space: nowrap; font-variant-numeric: tabular-nums; }
.mn-desc { display: none; }
@media (min-width: 900px) {
  .mn-group { grid-template-columns: 220px minmax(0, 1fr); gap: 0 var(--s-7); padding-top: var(--s-4); }
  .mn-cat { padding-top: var(--s-3); position: sticky; top: calc(var(--nav-h) + var(--s-4)); align-self: start; }
  .mn-row { padding-block: var(--s-3); }
  .mn-name { font-size: var(--fs-h3-lg); }
  .mn-price { font-size: var(--fs-lg); }
  .mn-meta { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 64ch; }   /* a long description never makes a row tall */
  .mn-desc { display: inline; }
  .mn-desc::before { content: " · "; white-space: pre; }
}

/* ====================================================================== about: a statement and staggered portraits */
.ab { background: var(--surface-2); padding-block: var(--sec); }
.ab-grid { display: grid; gap: var(--s-6); }
.ab-text { display: grid; gap: var(--s-4); align-content: start; }
.ab-text .kicker { color: var(--ink); }
.ab-statement { font-size: clamp(38px, 8.4vw, 92px); line-height: .92; max-width: 10ch; }
.ab-p { font-size: var(--fs-m); line-height: 1.55; max-width: var(--measure-md); }
.ab-more { max-width: var(--measure-md); font-size: var(--fs-s); }
.ab-more summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent-text); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.ab-more p { padding-bottom: var(--s-2); line-height: 1.55; }
.ab-people { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); align-items: start; }
.ab-person { margin: 0; }
.ab-person .ph { background: var(--bg); border-radius: var(--r-img); overflow: hidden; display: grid; place-items: center; font-family: var(--display); font-size: 44px; font-weight: var(--display-weight); }
.ab-person img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: var(--photo-grade); }
.ab-person figcaption { padding-top: var(--s-2); display: grid; gap: 1px; }
.ab-person figcaption strong { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.01em; }
.ab-person figcaption span { font-size: var(--fs-s); line-height: 1.35; }
/* phones: two portraits of equal width, the second dropped lower and a little taller, so the pair reads as a staggered diagonal and the right edge carries weight */
.ab-people { column-gap: var(--s-4); }
.ab-person.pa { grid-column: 1 / 7; } .ab-person.pa .ph { aspect-ratio: 4 / 5; }
.ab-person.pb { grid-column: 7 / -1; margin-top: var(--s-7); } .ab-person.pb .ph { aspect-ratio: 4 / 5.3; }
@media (min-width: 640px) and (max-width: 899px) { .ab-person.pa .ph { aspect-ratio: 1 / 1; } .ab-person.pb .ph { aspect-ratio: 1 / 1.2; } }   /* tablets: squarer portraits keep the section from growing taller than the page rhythm */
@media (min-width: 900px) {
  .ab-grid { grid-template-columns: 5fr 6fr; gap: var(--s-8); align-items: center; }
  .ab-person.pa { grid-column: 1 / 7; } .ab-person.pb { grid-column: 7 / -1; margin-top: calc(var(--s-9) + var(--s-6)); }
}

/* ====================================================================== signature footer */
.sg { color: var(--on-brand); }
/* The closing invitation is the one centred focal moment on phones and tablets (a short, standalone statement that ends the page);
   from 900px it becomes an asymmetric pair (statement left, ask right) like every other wide section. */
.sg-invite { display: grid; gap: var(--s-4); justify-items: center; text-align: center; padding-block: var(--s-7) var(--s-6); }
.sg-kicker { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); }
.sg-invite h2 { font-size: clamp(44px, 12.5vw, 120px); line-height: .88; max-width: 9ch; text-wrap: balance; }
.sg-ask { display: grid; gap: var(--s-4); justify-items: center; width: 100%; margin-top: var(--s-2); }
.sg-ask p { color: color-mix(in srgb, var(--on-brand) 82%, var(--brand)); max-width: var(--measure-sm); font-size: var(--fs-m); line-height: 1.45; }
.sg-ask .btn { width: 100%; max-width: 100%; height: auto; min-height: 56px; white-space: normal; text-align: center; justify-content: center; }
/* two columns on every screen: Explore | Connect. On desktop they share the grid of the invitation above, so Connect sits under the button. */
.sg-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-5); padding-block: var(--s-4) var(--s-3); border-top: 1px solid color-mix(in srgb, var(--on-brand) 18%, var(--brand)); }
.sg-lab { font-family: var(--body); font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--on-brand) 58%, var(--brand)); margin-bottom: var(--s-1); }
.sg-links ul { list-style: none; margin: 0; padding: 0; display: grid; }
.sg-links .link { text-align: left; }
.sg a, .sg .link { display: inline-flex; align-items: center; min-height: 44px; color: color-mix(in srgb, var(--on-brand) 90%, var(--brand)); font-size: var(--fs-s); font-weight: 500; text-decoration: none; }
.sg a:hover, .sg .link:hover { color: var(--on-brand); text-decoration: underline; text-decoration-color: var(--accent-on-dark); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.sg a:focus-visible, .sg .link:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 3px; border-radius: 2px; }
.sg-col:first-child a { font-size: var(--fs-m); font-weight: 600; }   /* Explore carries the page, so it is the heavier column; Connect is lighter by design */
.sg-col:last-child a, .sg-col:last-child .link { font-weight: 400; color: color-mix(in srgb, var(--on-brand) 78%, var(--brand)); }   /* Connect is secondary to Explore, still above 4.5:1 */
/* The wordmark's size (--fit) is measured from the name in site.js so it fills the column exactly; the vw value is the no-JS fallback. */
.sg-mark { width: min(var(--max), 100% - var(--gut) * 2); margin: var(--s-4) auto 0; font-size: var(--fit, 17vw); font-weight: 800; line-height: .84; letter-spacing: -.055em; white-space: nowrap; color: var(--on-brand); overflow: hidden; padding-bottom: .12em; margin-bottom: -.06em; }
.sg-mark.long { white-space: normal; line-height: .95; overflow-wrap: anywhere; }
.sg-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 var(--s-5); padding-block: var(--s-1) var(--s-2); font-size: var(--fs-xs); color: color-mix(in srgb, var(--on-brand) 68%, var(--brand)); }
.sg-legal a { font-size: var(--fs-xs); min-height: 44px; color: color-mix(in srgb, var(--on-brand) 64%, var(--brand)); font-weight: 400; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--on-brand) 28%, var(--brand)); text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (min-width: 720px) {
  .sg-mark { margin-top: var(--s-5); }
  .sg-invite { padding-block: var(--s-8) var(--s-6); }
  .sg-ask .btn { width: auto; }
  .sg-links ul { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
}
@media (min-width: 900px) {   /* asymmetric: the closing line on the left, the ask on the right, aligned to its last line; the link columns reuse that grid */
  .sg-invite { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: var(--s-8); row-gap: var(--s-4); align-items: end; justify-items: start; text-align: left; padding-block: var(--s-8) var(--s-7); }
  .sg-ask { justify-items: start; }
  .sg-kicker { grid-column: 1 / -1; }
  .sg-ask { margin: 0 0 var(--s-2); }
  .sg-links { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: var(--s-8); }
}

/* ====================================================================== demo notice: clearly Rivus Media's, clearly not the business's
 * Rendered into #demo only while config.demo.enabled is true. Production sets it false (Settings, Account); no layout depends on it. */
.demo-note { background: color-mix(in srgb, var(--brand) 78%, #000); color: color-mix(in srgb, var(--on-brand) 72%, var(--brand)); font-size: var(--fs-xs); line-height: 1.5; border-top: 1px solid color-mix(in srgb, var(--on-brand) 12%, var(--brand)); }
.demo-in { display: flex; align-items: flex-start; gap: var(--s-3); padding-block: var(--s-3); }
.demo-tag { flex: none; margin-top: 1px; padding: 0 var(--s-2); border: 1px solid color-mix(in srgb, var(--on-brand) 40%, var(--brand)); color: var(--on-brand); border-radius: 2px; font-size: var(--fs-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.demo-note a { color: var(--on-brand); text-underline-offset: 3px; }
