/* ==========================================================================
   Pr0 Social EPK
   One type family (Inter Tight). Two locked themes. Shape scale: pill buttons,
   18px cards, 12px inputs. No build step, native CSS only.
   ========================================================================== */

/* 1. TOKENS -------------------------------------------------------------- */
/* "bone" is drawn from the artist's own photography and cover art: bone-white
   ground, near-black ink, crimson pulled from the roses. "brass" is the
   original identity: near-black ground, gold accent. */

:root {
  --ground:      #faf8f5;
  --ground-2:    #f1ece5;
  --ground-3:    #e7e0d6;
  --ink:         #14110f;
  --ink-2:       rgba(20, 17, 15, .64);
  --ink-3:       rgba(20, 17, 15, .42);
  --line:        rgba(20, 17, 15, .12);
  --line-2:      rgba(20, 17, 15, .24);
  --accent:      #a81e2d;
  --accent-soft: rgba(168, 30, 45, .10);
  --accent-ink:  #ffffff;
  --shadow-sm:   0 1px 2px rgba(20,17,15,.05), 0 4px 14px rgba(20,17,15,.06);
  --shadow-lg:   0 2px 6px rgba(20,17,15,.06), 0 24px 60px rgba(20,17,15,.13);
  --glass:       rgba(250, 248, 245, .72);

  --r-card: 18px;
  --r-input: 12px;
  --r-pill: 999px;

  --gap:     clamp(1rem, 2.4vw, 1.75rem);
  --pad-x:   clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(2.75rem, 5.2vw, 4.5rem);
  --maxw:    1320px;
  --ease:    cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

[data-theme="brass"] {
  /* The original identity, token for token from the first build:
     --bg-deep, --bg-dark, --bg-card, --text-primary, --text-secondary,
     --gold and the gold-tinted borders. */
  --ground:      #090604;
  --ground-2:    #120b07;
  --ground-3:    #1e1208;
  --ink:         #edd9c0;
  --ink-2:       #d4b896;
  --ink-3:       #9b7557;
  --line:        rgba(196, 146, 74, .18);
  --line-2:      rgba(196, 146, 74, .45);
  --accent:      #c4924a;
  --accent-soft: rgba(196, 146, 74, .16);
  --accent-ink:  #090604;
  --shadow-sm:   0 1px 2px rgba(0,0,0,.45), 0 4px 14px rgba(0,0,0,.4);
  --shadow-lg:   0 2px 6px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.6);
  --glass:       rgba(9, 6, 4, .85);

  color-scheme: dark;
}

/* 2. RESET + BASE -------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
body.is-locked { overflow: hidden; }

img, video, svg, iframe { max-width: 100%; display: block; }
/* <picture> is inline by default, which collapses height:100% on the inner
   <img>. display:contents hands layout straight to the styled parent. */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--ground);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--r-input) 0;
}
.skip:focus { left: 0; }

/* 3. TYPE ---------------------------------------------------------------- */

h1, h2, h3, h4 {
  margin: 0; font-weight: 600;
  letter-spacing: -.035em; line-height: 1.05;
  text-wrap: balance;
}
.t-hero    { font-size: clamp(2.85rem, 8vw, 6.4rem); letter-spacing: -.045em; }
.t-display { font-size: clamp(2.05rem, 5.2vw, 4rem); }
.t-section { font-size: clamp(1.75rem, 3.6vw, 2.85rem); }
p { margin: 0; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  line-height: 1.55; color: var(--ink-2);
  max-width: 36ch; letter-spacing: -.012em;
}
.copy { color: var(--ink-2); max-width: 62ch; font-size: 1.02rem; line-height: 1.72; }
.copy + .copy { margin-top: 1.15rem; }
.copy strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
}
.num { font-variant-numeric: tabular-nums; letter-spacing: -.045em; }

/* 4. LAYOUT -------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(1.9rem, 3.2vw, 2.75rem); }
.section--alt { background: var(--ground-2); }

/* 5. HEADER -------------------------------------------------------------- */

.header {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.header.is-stuck {
  background: var(--glass);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
@media (prefers-reduced-transparency: reduce) {
  .header.is-stuck { background: var(--ground); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.header__in { height: 68px; display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1rem; letter-spacing: -.03em; flex-shrink: 0; }
.brand img { height: 30px; width: auto; object-fit: contain; }
.brand--lg img { height: 42px; }
/* the wordmark is one artwork recoloured per theme, so it sits on either ground */
.brand__light { display: none; }
[data-theme="brass"] .brand__dark { display: none; }
[data-theme="brass"] .brand__light { display: block; }

.nav { display: flex; align-items: center; gap: clamp(.5rem, 1.5vw, 1.5rem); margin-left: auto; white-space: nowrap; }
.nav a { font-size: .94rem; color: var(--ink-2); padding: .4rem 0; position: relative; transition: color .2s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--accent);
}

.hactions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

/* theme switch */
.tsw { display: inline-flex; position: relative; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--ground-2); }
.tsw__thumb {
  position: absolute; top: 3px; left: 3px;
  width: calc(50% - 3px); height: calc(100% - 6px);
  border-radius: var(--r-pill); background: var(--ink);
  transition: transform .42s var(--ease); pointer-events: none;
}
[data-theme="brass"] .tsw__thumb { transform: translateX(100%); }
.tsw button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: .34rem .72rem; font-size: .78rem; font-weight: 500;
  color: var(--ink-2); border-radius: var(--r-pill); transition: color .3s var(--ease);
}
.tsw button[aria-pressed="true"] { color: var(--ground); }

.navtoggle {
  display: none; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--ground-2); cursor: pointer;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease),
              background-color .25s var(--ease), transform .2s var(--ease);
}
/* the lift is the affordance: it has to read as hoverable before you click it */
.navtoggle:hover, .navtoggle.is-locked {
  background: var(--ground);
  border-color: var(--line-2);
  box-shadow: 0 1px 2px rgba(20,17,15,.06), 0 8px 20px rgba(20,17,15,.14);
}
[data-theme="brass"] .navtoggle:hover, [data-theme="brass"] .navtoggle.is-locked {
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 20px rgba(0,0,0,.55);
}
.navtoggle.is-locked { border-color: var(--ink-3); }
.navtoggle:active { transform: scale(.94); }
.navtoggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease); }
.navtoggle span::before, .navtoggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px;
  background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.navtoggle span::before { top: -5px; }
.navtoggle span::after { top: 5px; }
.navtoggle[aria-expanded="true"] span { transform: rotate(45deg); }
.navtoggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(-90deg); }
.navtoggle[aria-expanded="true"] span::after { opacity: 0; }

@media (max-width: 940px) {
  .navtoggle { display: inline-flex; order: 2; }
  /* logo hard left, controls hard right, switch tucked against the hamburger */
  .hactions { margin-left: auto; gap: .5rem; }
  .nav {
    position: fixed; top: 62px; right: var(--pad-x); left: auto; bottom: auto;
    width: min(280px, calc(100vw - (var(--pad-x) * 2)));
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: .35rem;
    background: var(--ground); border: 1px solid var(--line);
    border-radius: var(--r-card); box-shadow: var(--shadow-lg);
    transform: translateY(-6px) scale(.985); transform-origin: 100% 0;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s var(--ease), transform .24s var(--ease), visibility .24s;
  }
  /* invisible bridge, so the pointer can cross the gap without closing it */
  .nav::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav a {
    font-size: 1rem; padding: .68rem .8rem; border-radius: 11px;
    border-bottom: 0; color: var(--ink-2);
    transition: background-color .2s var(--ease), color .2s var(--ease);
  }
  .nav a:hover { background: var(--ground-2); color: var(--ink); }
  .nav a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); font-weight: 500; }
  .nav a[aria-current="page"]::after { display: none; }
}

/* 6. BUTTONS ------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  white-space: nowrap; padding: .82rem 1.5rem;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: .95rem; font-weight: 500; letter-spacing: -.012em; cursor: pointer;
  transition: transform .2s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn--primary { background: var(--ink); color: var(--ground); box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn--accent:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ground-2); border-color: var(--ink-3); transform: translateY(-1px); }
.btn--sm { padding: .58rem 1.05rem; font-size: .86rem; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg.arw { transform: translateX(3px); }
.btnrow { display: flex; flex-wrap: wrap; gap: .7rem; }

.tlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 500; font-size: .95rem; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.tlink:hover { border-color: var(--accent); color: var(--accent); }
.tlink svg { transition: transform .25s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }

/* 7. HERO ---------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid; grid-template-columns: 1.02fr .98fr;
  align-items: center; gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(1.5rem, 3vw, 2.75rem) clamp(2.5rem, 4.5vw, 4rem);
}
/* uncapped so the one-line name is never squeezed by the copy column; the
   paragraph keeps its own measure below */
.hero__copy { max-width: none; }
/* the name is one line at every width, never "Pr0" stacked over "Social" */
.hero__copy h1 { margin-bottom: 1.25rem; white-space: nowrap; font-size: clamp(2.3rem, 6.4vw, 5.5rem); }
.hero__copy h1 em { font-style: normal; color: var(--accent); }
.hero__media {
  position: relative; aspect-ratio: 4 / 5;
  /* capped so the portrait cannot stretch the hero into an empty viewport */
  max-height: min(70vh, 660px);
  margin-left: auto;
  border-radius: var(--r-card); overflow: hidden;
  background: var(--ground-3); box-shadow: var(--shadow-lg);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero .btnrow { margin-top: 2rem; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-block: 1.5rem 2.5rem; }
  .hero__copy { max-width: none; order: 2; }
  .hero__media { order: 1; aspect-ratio: 4 / 3; max-height: none; margin-left: 0; }
}

/* page header for interior pages */
.phead { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 2.5vw, 2rem); }
.phead h1 { margin-top: .9rem; }
.phead p { margin-top: 1.2rem; }

/* 8. STAT BAND ----------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: clamp(1.4rem, 2.6vw, 2.1rem) 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(1.25rem, 3vw, 2.5rem); }
.stat__n { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.stat__l { margin-top: .6rem; font-size: .88rem; color: var(--ink-3); }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stat { padding-block: 1.4rem; }
}

/* 9. PULL QUOTE ---------------------------------------------------------- */

.pull {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(1.75rem, 5vw, 4rem); align-items: center; isolation: isolate;
}
.pull__fig { margin: 0; position: relative; justify-self: end; align-self: end; }
.pull__fig img {
  width: min(100%, 430px); height: auto; margin-left: auto;
  filter: drop-shadow(0 26px 48px rgba(20,17,15,.24));
}
[data-theme="brass"] .pull__fig img { filter: drop-shadow(0 26px 48px rgba(0,0,0,.6)); }
/* the disc reads as a stage behind him rather than a floating cut-out */
.pull__fig::before {
  content: ""; position: absolute; z-index: -1;
  left: 8%; right: 8%; bottom: 6%; aspect-ratio: 1;
  border-radius: 50%; background: var(--accent-soft);
}
@media (max-width: 840px) {
  .pull { grid-template-columns: 1fr; gap: 2rem; }
  .pull__fig { justify-self: center; }
  .pull__fig img { width: min(100%, 300px); margin-inline: auto; }
}

.pull__q {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem); font-weight: 500;
  line-height: 1.2; letter-spacing: -.035em; max-width: 26ch; text-wrap: balance;
}
.pull__q b { font-weight: 500; color: var(--accent); }
.pull__a { margin-top: 1.6rem; font-size: .92rem; color: var(--ink-3); }

/* 10. FEATURE SPLIT ------------------------------------------------------ */

.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__media { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ground-3); aspect-ratio: 1; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body > * + * { margin-top: 1.1rem; }
@media (max-width: 840px) { .feature { grid-template-columns: 1fr; } }

/* 11. SECTION HEAD ------------------------------------------------------- */

.shead { margin-bottom: clamp(1.5rem, 2.8vw, 2.25rem); }
.shead .eyebrow { display: block; margin-bottom: .9rem; }
.shead p { margin-top: 1rem; color: var(--ink-2); max-width: 52ch; }
.shead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* 12. RAIL --------------------------------------------------------------- */

.rail {
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--pad-x); padding-block: .5rem 1.5rem;
  margin-inline: calc(50% - 50vw);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 clamp(220px, 25vw, 320px); }
.rail__img { aspect-ratio: 2 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--ground-3); box-shadow: var(--shadow-sm); cursor: zoom-in; }
.rail__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rail__img:hover img { transform: scale(1.04); }

/* 13. GRIDS + TILES ------------------------------------------------------ */

/* These are spans and anchors used as boxes. Without display:block they stay
   inline, and aspect-ratio / overflow / height:100% are all ignored. */
.rail__img, .release__art, .release__meta, .release__t, .release__s,
.vtile__frame, .vtile__t, .vtile__s, .row__t, .row__s, .row__i, .row__e { display: block; }


.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.release { display: block; }
.release__art { position: relative; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: var(--ground-3); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.release:hover .release__art { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.release__art img { width: 100%; height: 100%; object-fit: cover; }
.release__meta { margin-top: .95rem; }
.release__t { font-weight: 600; letter-spacing: -.025em; font-size: 1.05rem; line-height: 1.25; }
.release__s { margin-top: .25rem; font-size: .88rem; color: var(--ink-3); }

.vtile { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; }
.vtile__frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; background: var(--ground-3); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.vtile:hover .vtile__frame { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vtile__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vtile:hover .vtile__frame img { transform: scale(1.05); }
.vtile__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.04) 58%); }
.vtile__play i { width: 54px; height: 54px; border-radius: var(--r-pill); background: rgba(255,255,255,.93); display: grid; place-items: center; box-shadow: 0 4px 20px rgba(0,0,0,.3); transition: transform .3s var(--ease); }
.vtile:hover .vtile__play i { transform: scale(1.09); }
.vtile__play svg { fill: #14110f; margin-left: 3px; }
.vtile__t { margin-top: .85rem; font-weight: 600; letter-spacing: -.02em; font-size: 1rem; }
.vtile__s { margin-top: .2rem; font-size: .85rem; color: var(--ink-3); }

.vtile--lg .vtile__frame { aspect-ratio: 16 / 9; }
.vtile--lg .vtile__play i { width: 76px; height: 76px; }

/* the featured video is shot vertical, so it gets a portrait frame and the
   copy sits beside it instead of above a letterboxed crop */
.vfeat { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.vfeat__media { width: 100%; max-width: 430px; justify-self: end; }
.vtile--tall .vtile__frame { aspect-ratio: 9 / 16; }
.vtile--tall .vtile__play i { width: 68px; height: 68px; }
@media (max-width: 840px) {
  .vfeat { grid-template-columns: 1fr; gap: 2rem; }
  .vfeat__media { justify-self: start; max-width: 100%; }
}

/* 14. MASONRY GALLERY ---------------------------------------------------- */

.masonry { columns: 3; column-gap: var(--gap); }
@media (max-width: 900px) { .masonry { columns: 2; } }
/* one column of sixteen tall photos is a scroll, not a gallery: on phones the
   columns become a mosaic, one wide plate then pairs, repeating */
@media (max-width: 620px) {
  .masonry { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
  .masonry figure { margin: 0; height: 100%; }
  .masonry figure img { height: 100%; object-fit: cover; }
  .masonry figure:nth-child(5n + 1) { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
  .masonry figure:not(:nth-child(5n + 1)) { aspect-ratio: 3 / 4; }
}
.masonry figure { margin: 0 0 var(--gap); break-inside: avoid; border-radius: var(--r-card); overflow: hidden; background: var(--ground-3); box-shadow: var(--shadow-sm); cursor: zoom-in; }
.masonry img { width: 100%; transition: transform .8s var(--ease); }
.masonry figure:hover img { transform: scale(1.03); }

/* 15. ROWS --------------------------------------------------------------- */

.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: clamp(.9rem, 2.5vw, 2rem);
  padding: clamp(1rem, 2vw, 1.35rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
a.row:hover { padding-left: .5rem; }
.row__i { font-size: .85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 1.4rem; }
.row__t { font-weight: 500; letter-spacing: -.02em; font-size: 1.04rem; }
.row__s { margin-top: .15rem; font-size: .86rem; color: var(--ink-3); }
.row__e { font-size: .86rem; color: var(--ink-3); text-align: right; white-space: nowrap; }
.row__art { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; background: var(--ground-3); }
@media (max-width: 560px) {
  .row { grid-template-columns: auto 1fr; }
  .row__e { grid-column: 2; text-align: left; margin-top: .2rem; }
}

/* 16. PLATFORM PILLS ----------------------------------------------------- */

.plats { display: flex; flex-wrap: wrap; gap: .7rem; }
.plat {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.2rem; border: 1px solid var(--line-2);
  border-radius: var(--r-pill); font-size: .92rem; font-weight: 500;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.plat:hover { background: var(--ground-2); border-color: var(--ink-3); transform: translateY(-1px); }
.plat svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

/* 17. BANNER CTA --------------------------------------------------------- */

.banner {
  position: relative; border-radius: var(--r-card); overflow: hidden; isolation: isolate;
  min-height: clamp(340px, 46vw, 520px); display: grid; align-items: end;
  padding: clamp(1.75rem, 4vw, 3.5rem);
}
.banner__bg { position: absolute; inset: 0; z-index: -2; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10,7,6,.9) 4%, rgba(10,7,6,.4) 54%, rgba(10,7,6,.14) 100%);
}
.banner__in { color: #f6f1ea; max-width: 42ch; }
.banner__in h2 { color: #fff; }
.banner__in p { color: rgba(246,241,234,.84); margin-top: .9rem; }
.banner__in .btnrow { margin-top: 1.6rem; }
.banner__in .btn--primary { background: #fff; color: #14110f; }
.banner__in .btn--ghost { color: #fff; border-color: rgba(255,255,255,.42); }
.banner__in .btn--ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* 18. FORMS -------------------------------------------------------------- */

.form { display: grid; gap: 1.1rem; }
.form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form__2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .86rem; font-weight: 500; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--ground); border: 1px solid var(--line-2);
  border-radius: var(--r-input); padding: .78rem .95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem;
}
.formnote { font-size: .84rem; color: var(--ink-3); }

/* 19. FOOTER ------------------------------------------------------------- */

.footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 4.5vw, 3.5rem) 1.75rem; background: var(--ground-2); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr 1fr; } }
/* the identity block spans the width and the two link lists stay side by side,
   so the footer is three tidy blocks instead of one long ladder of links */
@media (max-width: 620px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 1.9rem 1.25rem; }
  .footer__top > div:first-child {
    grid-column: 1 / -1; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line);
  }
  .footer h3 { margin-bottom: .8rem; }
  .footer__links { gap: .55rem; }
  .footer__bot { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
.footer h3 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 1rem; }
.footer__links { display: grid; gap: .6rem; }
.footer__links a { font-size: .95rem; color: var(--ink-2); transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__bot {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem); padding-top: 1.4rem;
  border-top: 1px solid var(--line); display: flex; flex-wrap: wrap;
  gap: .75rem 1.5rem; justify-content: space-between; font-size: .84rem; color: var(--ink-3);
}

/* 20. MODAL -------------------------------------------------------------- */

.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 6, 5, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(1100px, 100%); transform: scale(.97); transition: transform .4s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__frame { aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__img { max-height: 84dvh; width: auto; margin-inline: auto; border-radius: var(--r-card); box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.modal__cap { margin-top: 1rem; color: rgba(255,255,255,.75); font-size: .9rem; text-align: center; }
.modal__x {
  position: fixed; top: clamp(.9rem, 2.5vw, 1.6rem); right: clamp(.9rem, 2.5vw, 1.6rem);
  width: 42px; height: 42px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.12);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.modal__x:hover { background: rgba(255,255,255,.24); transform: rotate(90deg); }

/* 21. SERVICES PAGE ------------------------------------------------------ */

.price { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); align-items: stretch; }
@media (max-width: 720px) { .price { grid-template-columns: 1fr; } }
.pcard {
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--ground-2);
  display: flex; flex-direction: column; position: relative;
}
.pcard--hi { border-color: var(--accent); background: var(--ground); box-shadow: var(--shadow-lg); }
.pcard__tag {
  position: absolute; top: clamp(1.6rem, 3vw, 2.4rem); right: clamp(1.6rem, 3vw, 2.4rem);
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent); padding: .32rem .7rem; border-radius: var(--r-pill);
}
.pcard__n { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-top: .7rem; }
.pcard__n small { font-size: 1rem; font-weight: 400; color: var(--ink-3); letter-spacing: -.01em; }
.pcard__d { margin-top: .9rem; color: var(--ink-2); font-size: .98rem; line-height: 1.62; }
.pcard ul { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: .6rem; }
.pcard li { display: flex; gap: .6rem; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
.pcard li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .28rem; stroke: var(--accent); fill: none; stroke-width: 2.2; }
.pcard li.no svg { stroke: var(--ink-3); }
.pcard .btn { margin-top: auto; }

.svc { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (max-width: 720px) { .svc { grid-template-columns: 1fr; } }
.svc__i { padding: clamp(1.4rem, 2.8vw, 2rem) 0; border-bottom: 1px solid var(--line); }
.svc > .svc__i:nth-child(even) { padding-left: clamp(1.5rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
@media (max-width: 720px) { .svc > .svc__i:nth-child(even) { padding-left: 0; border-left: 0; } }
.svc__h { display: flex; align-items: center; gap: .7rem; }
.svc__h svg { width: 19px; height: 19px; stroke: var(--accent); fill: none; stroke-width: 1.6; flex-shrink: 0; }
.svc__h b { font-weight: 600; letter-spacing: -.02em; font-size: 1.05rem; }
.svc__p { margin-top: .5rem; color: var(--ink-2); font-size: .95rem; line-height: 1.62; max-width: 46ch; }

/* 22. MOTION ------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .enter { animation: enter .9s var(--ease) both; animation-delay: var(--d, 0ms); }
  @keyframes enter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  .enter-media { animation: enterMedia 1.1s var(--ease) both; animation-delay: 120ms; }
  @keyframes enterMedia { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* 23. UTIL --------------------------------------------------------------- */

.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-s { margin-top: 1rem; } .mt-m { margin-top: 1.75rem; } .mt-l { margin-top: 2.75rem; }
.embed { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--ground-2); }

/* 24. CONTACT FORM SUBMISSION ------------------------------------------- */

.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formstatus {
  margin-top: 1rem; font-size: .95rem; line-height: 1.5;
  padding: .8rem 1rem; border-radius: var(--r-card, 10px);
  border: 1px solid var(--line, rgba(0,0,0,.12)); background: var(--ground-2, rgba(0,0,0,.03));
}
.formstatus[data-state="sending"] { opacity: .75; }
.formstatus[data-state="ok"] { border-color: var(--accent, #8c2b2b); }
.formstatus[data-state="error"] { border-color: var(--accent, #8c2b2b); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent, #8c2b2b); }
#bookform.is-sending { opacity: .8; pointer-events: none; }
