/* Editors Note — self-hosted */
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-Thin.otf") format("opentype"); font-weight:200; font-style:normal; font-display:swap; }
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-ThinItalic.otf") format("opentype"); font-weight:200; font-style:italic; font-display:swap; }
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-Light.otf") format("opentype"); font-weight:300; font-style:normal; font-display:swap; }
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-LightItalic.otf") format("opentype"); font-weight:300; font-style:italic; font-display:swap; }
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-Regular.otf") format("opentype"); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-Italic.otf") format("opentype"); font-weight:400; font-style:italic; font-display:swap; }
/* ============================================================
   Soul on Grey — Portfolio
   Inherits palette + type from the homepage so it reads as one
   continuous editorial. Page-local code begins at .pf-*.
   ============================================================ */

:root{
  --bg:        #faf8f5;
  --bg-2:      #f3efe8;
  --bg-3:      #ebe5dc;
  --ink:       #1c1917;
  --ink-soft:  #44403c;
  --accent:    #9a8578;
  --muted:     #8a8278;
  --highlight: #c4b5a5;
  --rule:      rgba(28,25,23,0.12);

  --serif:  "Editors Note", "Cormorant Garamond", "Times New Roman", serif;
  --script: "Editors Note", "Cormorant Garamond", "Times New Roman", serif;
  --sans:   "Comfortaa", system-ui, -apple-system, sans-serif;

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

.theme-dark{
  --bg:        #1a1714;
  --bg-2:      #221d18;
  --bg-3:      #2a2520;
  --ink:       #f0ebe3;
  --ink-soft:  #d8d2c8;
  --accent:    #c4b5a5;
  --muted:     #8a8278;
  --highlight: #d4b8a8;
  --rule:      rgba(240,235,227,0.12);
  background: var(--bg);
  color: var(--ink);
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ display:block; max-width:100%; height:auto; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- shared bits (mirrors index.html) ---------- */
.eyebrow{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}
.rule{ height:1px; background: var(--rule); border:0; margin:0; }
.rule--short{ width:56px; margin: 24px auto; }

/* ---------- NAV (identical to homepage) ---------- */
.nav{
  position: fixed; top:0; left:0; right:0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .5s ease, padding .5s ease, border-color .5s ease, color .5s ease;
  border-bottom: 1px solid transparent;

  --ink: #1c1917;
  --ink-soft: #44403c;
  --accent: #9a8578;
  --highlight: #c6c6c6;
  --rule: rgba(28,25,23,0.12);
  color: var(--ink);

  background: rgba(250,248,245,0.78);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.nav.is-scrolled{
  background: rgba(250,248,245,0.92);
  padding: 14px var(--gutter);
  border-bottom-color: var(--rule);
}
.nav__brand{
  display: flex; align-items: center; gap: 16px;
  font-family: var(--serif);
}
.nav__brand__word{
  display: inline-block;
  white-space: nowrap;
  font-family: var(--serif);
  font-weight: 100;
  font-style: italic;
  font-size: clamp(26px, 2.1vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1;
  color: currentColor;
  transform: translateY(1px);
}
.nav__brand__word .grey{ color: rgb(196,181,165); }
.nav__brand__logo{
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) saturate(0) opacity(0.78);
  transition: height 500ms ease, filter 320ms ease;
}
.nav__links{
  display: flex; gap: 28px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav__links a{ position: relative; padding-bottom: 4px; white-space: nowrap; transition: color .35s ease; }
.nav__links a::after{
  content:""; position:absolute; left:0; right:0; bottom:0;
  height:1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.nav__links a:hover::after,
.nav__links a.is-active::after{ transform: scaleX(1); }
.nav__links a.is-active{ color: var(--ink); }
.nav__cta{
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  padding: 10px 18px;
  color: var(--ink);
  transition: border-color .4s ease, color .4s ease;
}
.nav__cta:hover{ color: var(--highlight); }
@media (max-width: 980px){ .nav__links{ display: none; } }

/* ---------- HERO ---------- */
.pf-hero{
  position: relative;
  padding: clamp(180px, 22vh, 240px) 0 clamp(80px, 12vh, 140px);
  border-bottom: 1px solid var(--rule);
}
.pf-hero__inner{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.pf-hero__eyebrow-row{
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 36px;
}
.pf-hero__eyebrow-row .line{
  display:inline-block; width:48px; height:1px; background: var(--accent);
}
.pf-hero__title{
  font-family: var(--serif);
  font-weight: 100;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.pf-hero__title .em{
  font-style: italic;
  color: var(--highlight);
  font-weight: 100;
}
.pf-hero__sub{
  font-family: "Comfortaa", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: currentColor;
  opacity: 0.78;
  margin: clamp(28px, 4vw, 56px) 0 0;
  text-align: right;
  max-width: none;
}
.pf-hero__meta{
  text-align: right;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 28ch;
  letter-spacing: 0.04em;
  padding-bottom: 12px;
}
.pf-hero__meta .since{
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0;
}
@media (max-width: 820px){
  .pf-hero__inner{ grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .pf-hero__meta{ text-align: left; }
}

/* ---------- GRID ---------- */
.pf-grid-section{ padding: clamp(64px, 9vh, 120px) 0 clamp(120px, 18vh, 200px); }

.pf-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--pf-gap, 16px) * 4) var(--pf-gap, 16px);
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.4vw, 36px);
}

/* Tile */
.pf-tile{
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.pf-tile__frame{
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 4 / 5;
  border-radius: 0;
}
.pf-tile__frame image-slot{ display:block; width:100%; height:100%; }
.pf-tile__frame::after{
  /* subtle inner edge */
  content:"";
  position:absolute; inset:0;
  box-shadow: inset 0 0 0 1px rgba(28,25,23,0.04);
  pointer-events: none;
}

/* Reel badge (top-right) */
.pf-tile__badge{
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 11px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  pointer-events: none;
}
.pf-tile__badge .dot{
  width:5px; height:5px; border-radius:50%;
  background: #ff6b6b;
  box-shadow: 0 0 8px rgba(255,107,107,0.6);
}

/* Tile caption */
.pf-tile__caption{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: currentColor;
  opacity: 0.78;
}
.pf-tile__num{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 0;
}
.pf-tile__tag{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 100;
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.3;
  color: currentColor;
  opacity: 1;
  letter-spacing: -0.005em;
  max-width: 28ch;
}
.pf-tile__arrow{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .45s ease, transform .45s ease;
  white-space: nowrap;
}
.pf-tile:hover .pf-tile__arrow{ opacity: 0.6; transform: translateX(0); }

/* ---- HOVER MODES (default: zoom) ---- */
.pf-tile__frame image-slot,
.pf-tile__frame img,
.pf-tile__frame video{
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .9s ease, opacity .9s ease;
}
[data-hover="zoom"] .pf-tile:hover .pf-tile__frame image-slot,
[data-hover="zoom"] .pf-tile:hover .pf-tile__frame img,
[data-hover="zoom"] .pf-tile:hover .pf-tile__frame video{
  transform: scale(1.045);
}

/* desaturate: tiles muted by default, restore on hover */
[data-hover="desaturate"] .pf-tile__frame image-slot,
[data-hover="desaturate"] .pf-tile__frame img,
[data-hover="desaturate"] .pf-tile__frame video{
  filter: grayscale(0.85) brightness(0.92);
}
[data-hover="desaturate"] .pf-tile:hover .pf-tile__frame image-slot,
[data-hover="desaturate"] .pf-tile:hover .pf-tile__frame img,
[data-hover="desaturate"] .pf-tile:hover .pf-tile__frame video{
  filter: grayscale(0) brightness(1);
}

/* caption reveal: tagline hidden until hover; sits on top of frame */
[data-hover="caption"] .pf-tile__caption{
  position: absolute;
  inset: auto 18px 18px 18px;
  margin-top: 0;
  color: #f0ebe3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
  z-index: 3;
  pointer-events: none;
}
[data-hover="caption"] .pf-tile__caption::before{
  content:"";
  position:absolute; inset: -60px -22px -22px -22px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  z-index: -1;
}
[data-hover="caption"] .pf-tile__tag,
[data-hover="caption"] .pf-tile__num,
[data-hover="caption"] .pf-tile__arrow{ color: #f0ebe3; opacity: 1; transform: none; }
[data-hover="caption"] .pf-tile__num{ color: rgba(240,235,227,0.7); }
[data-hover="caption"] .pf-tile:hover .pf-tile__caption{ opacity: 1; transform: translateY(0); }

/* ---- LAYOUT MODES ---- */
/* Uniform (default — all 4:5) handled above */

/* Masonry — varied aspect ratios per nth-of-type */
[data-layout="masonry"] .pf-grid{
  column-count: 3;
  column-gap: var(--pf-gap, 16px);
  display: block;
}
[data-layout="masonry"] .pf-tile{
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: calc(var(--pf-gap, 16px) * 4);
  display: block;
}
[data-layout="masonry"] .pf-tile:nth-of-type(3n+1) .pf-tile__frame{ aspect-ratio: 4 / 5; }
[data-layout="masonry"] .pf-tile:nth-of-type(3n+2) .pf-tile__frame{ aspect-ratio: 3 / 4; }
[data-layout="masonry"] .pf-tile:nth-of-type(3n+3) .pf-tile__frame{ aspect-ratio: 1 / 1; }
[data-layout="masonry"] .pf-tile:nth-of-type(6n+1) .pf-tile__frame{ aspect-ratio: 9 / 16; }
[data-layout="masonry"] .pf-tile:nth-of-type(6n+5) .pf-tile__frame{ aspect-ratio: 5 / 7; }

/* Editorial — asymmetric 12-col grid */
[data-layout="editorial"] .pf-grid{
  grid-template-columns: repeat(12, 1fr);
  gap: calc(var(--pf-gap, 16px) * 5) var(--pf-gap, 16px);
}
[data-layout="editorial"] .pf-tile{ grid-column: span 4; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+1){ grid-column: span 5; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+2){ grid-column: span 3; margin-top: 80px; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+3){ grid-column: span 4; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+4){ grid-column: 2 / span 4; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+5){ grid-column: span 4; margin-top: 60px; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+6){ grid-column: span 3; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+1) .pf-tile__frame{ aspect-ratio: 4 / 5; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+2) .pf-tile__frame{ aspect-ratio: 9 / 16; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+4) .pf-tile__frame{ aspect-ratio: 3 / 2; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+5) .pf-tile__frame{ aspect-ratio: 4 / 5; }
[data-layout="editorial"] .pf-tile:nth-of-type(7n+6) .pf-tile__frame{ aspect-ratio: 9 / 16; }

@media (max-width: 980px){
  .pf-grid{ grid-template-columns: repeat(2, 1fr); }
  [data-layout="masonry"] .pf-grid{ column-count: 2; }
  [data-layout="editorial"] .pf-grid{ grid-template-columns: repeat(6, 1fr); }
  [data-layout="editorial"] .pf-tile,
  [data-layout="editorial"] .pf-tile:nth-of-type(7n+1),
  [data-layout="editorial"] .pf-tile:nth-of-type(7n+2),
  [data-layout="editorial"] .pf-tile:nth-of-type(7n+3),
  [data-layout="editorial"] .pf-tile:nth-of-type(7n+4),
  [data-layout="editorial"] .pf-tile:nth-of-type(7n+5),
  [data-layout="editorial"] .pf-tile:nth-of-type(7n+6){ grid-column: span 3; margin-top: 0; }
}
@media (max-width: 560px){
  .pf-grid{ grid-template-columns: 1fr; gap: 56px; }
  [data-layout="masonry"] .pf-grid{ column-count: 1; }
  [data-layout="editorial"] .pf-tile{ grid-column: span 6 !important; }
}

/* ---------- closing flourish ---------- */
.pf-coda{
  text-align: center;
  padding: clamp(90px, 14vh, 160px) var(--gutter);
  border-top: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.pf-coda__watermark{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 90vw);
  height: auto;
  opacity: 0.45;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-select: none; user-select: none;
  z-index: 0;
}
.pf-coda > *:not(.pf-coda__watermark){ position: relative; z-index: 1; }
.pf-coda .eyebrow{ display:inline-block; margin-bottom: 24px; }
.pf-coda h2{
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
}
.pf-coda h2 .em{ font-style: italic; color: var(--highlight); font-weight: 200; }
.pf-coda__cta{
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  padding: 18px 34px;
  transition: background .4s ease, color .4s ease;
}
.pf-coda__cta:hover{ background: var(--accent); color: var(--bg); }

/* ---------- FOOTER (mirrors homepage) ---------- */
.footer{
  background: #14110f;
  color: #f0ebe3;
  padding: 80px var(--gutter) 36px;
}
.footer__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.footer__brand{ display:flex; flex-direction:column; gap: 22px; }
.footer__logo{
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 32px;
  color: #f0ebe3;
  line-height: 1;
}
.footer__logo .grey{ color: #c4b5a5; font-style: italic; }
.footer__tag{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  color: #c4b5a5;
  letter-spacing: 0.02em;
}
.footer__about{
  font-size: 13px;
  line-height: 1.7;
  color: #d8d2c8;
  margin: 0;
  max-width: 38ch;
}
.footer__social{ display:flex; gap: 14px; margin-top: 6px; }
.footer__social a{
  width: 36px; height: 36px;
  border: 1px solid rgba(240,235,227,0.18);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #d8d2c8;
  transition: border-color .35s ease, color .35s ease;
}
.footer__social a:hover{ border-color: #c4b5a5; color: #f0ebe3; }
.footer__social svg{ width: 14px; height: 14px; }
.footer__col h4{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #c4b5a5;
  margin: 0 0 22px;
  font-weight: 400;
}
.footer__col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap: 12px; }
.footer__col a{ color: #d8d2c8; font-size: 14px; }
.footer__col a:hover{ color: #f0ebe3; }
.footer__col .small{ color: #8a8278; font-size: 12px; line-height: 1.6; }
.footer__bottom{
  max-width: var(--maxw);
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(240,235,227,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8a8278;
}
.footer__bottom .right{ display:flex; gap: 28px; }
@media (max-width: 820px){
  .footer__inner{ grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand{ grid-column: 1 / -1; }
  .footer__bottom{ flex-direction: column; gap: 16px; text-align: center; }
}

/* ---------- reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in{ opacity:1; transform: translateY(0); }
body.no-reveal .reveal{ opacity:1; transform: none; transition: none; }

/* selection */
::selection{ background: var(--accent); color: var(--bg); }

/* ============================================================
   Tweaks panel (vanilla — light cream card to match homepage)
   ============================================================ */
.pf-tweaks{
  position: fixed; right: 24px; bottom: 24px;
  width: 300px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #faf8f5;
  color: #1c1917;
  border: 1px solid rgba(28,25,23,0.12);
  border-radius: 12px;
  box-shadow: 0 18px 60px -20px rgba(0,0,0,0.35), 0 4px 12px -4px rgba(0,0,0,0.18);
  font-family: "Comfortaa", system-ui, sans-serif;
  z-index: 9999;
  padding: 18px 18px 16px;
  display: none;
}
.pf-tweaks.is-open{ display: block; }
.pf-tweaks__head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 16px;
}
.pf-tweaks h4{
  margin: 0;
  font-family: "Comfortaa", sans-serif;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: #9a8578; font-weight: 500;
}
.pf-tweaks .x{
  background: none; border: 0; cursor: pointer;
  color: #44403c; font-size: 16px; line-height: 1; padding: 4px;
}
.pf-tweaks .section-title{
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: #9a8578; margin: 18px 0 10px; font-weight: 500;
}
.pf-tweaks .seg{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid rgba(28,25,23,0.14);
  border-radius: 6px;
  overflow: hidden;
}
.pf-tweaks .seg button{
  padding: 8px 4px;
  font-family: "Comfortaa", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #44403c;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(28,25,23,0.08);
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.pf-tweaks .seg button:last-child{ border-right: 0; }
.pf-tweaks .seg button.is-on{ background: #1c1917; color: #faf8f5; }
.pf-tweaks .seg button:hover:not(.is-on){ background: rgba(28,25,23,0.05); }
.pf-tweaks .swatches{ display:flex; gap: 10px; flex-wrap: wrap; }
.pf-tweaks .swatch{
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(28,25,23,0.18);
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: transform .25s ease;
}
.pf-tweaks .swatch:hover{ transform: scale(1.08); }
.pf-tweaks .swatch.is-on::after{
  content:""; position:absolute; inset:-4px;
  border: 1px solid #1c1917;
  border-radius: 50%;
}
.pf-tweaks .slider-row{
  display: flex; flex-direction: column; gap: 8px;
}
.pf-tweaks .slider-row .label-row{
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px;
  color: #44403c;
}
.pf-tweaks .slider-row .val{
  font-variant-numeric: tabular-nums;
  color: #1c1917; font-weight: 500;
  font-size: 11px;
}
.pf-tweaks .slider-row input[type=range]{
  width: 100%;
  accent-color: #1c1917;
  margin: 0;
}

/* === SHARED MOBILE NAV CSS === */
/* -------------------- MOBILE NAV (shared) -------------------- */
.nav__burger{
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  position: relative;
  z-index: 1010;
  cursor: pointer;
  color: currentColor;
  background: transparent;
  border: 0;
  margin: -10px;
  padding: 0;
}
.nav__burger .b{
  display: block;
  width: 22px; height: 1px;
  background: currentColor;
  position: relative;
  transition: transform .35s ease, opacity .25s ease, top .35s ease;
}
.nav__burger .b::before,
.nav__burger .b::after{
  content: "";
  position: absolute; left: 0;
  width: 22px; height: 1px;
  background: currentColor;
  transition: transform .35s ease, top .35s ease, opacity .25s ease;
}
.nav__burger .b::before{ top: -7px; }
.nav__burger .b::after{ top: 7px; }
body.is-menu-open .nav__burger .b{ background: transparent; }
body.is-menu-open .nav__burger .b::before{ top: 0; transform: rotate(45deg); }
body.is-menu-open .nav__burger .b::after { top: 0; transform: rotate(-45deg); }

.nav__overlay{
  position: fixed; inset: 0;
  z-index: 1000;
  background: #1a1714;
  color: #f0ebe3;
  display: flex; flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 96px 28px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1), visibility .55s;
  overflow-y: auto;
}
body.is-menu-open .nav__overlay{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__overlay__links{
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: clamp(8px, 2vh, 18px);
  flex: 1;
  justify-content: center;
}
.nav__overlay__links li{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: 0ms;
}
body.is-menu-open .nav__overlay__links li{ opacity: 1; transform: translateY(0); }
body.is-menu-open .nav__overlay__links li:nth-child(1){ transition-delay: 120ms; }
body.is-menu-open .nav__overlay__links li:nth-child(2){ transition-delay: 200ms; }
body.is-menu-open .nav__overlay__links li:nth-child(3){ transition-delay: 280ms; }
body.is-menu-open .nav__overlay__links li:nth-child(4){ transition-delay: 360ms; }
.nav__overlay__links a{
  display: inline-block;
  font-family: var(--serif);
  font-weight: 100;
  font-style: italic;
  font-size: clamp(48px, 12vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #f0ebe3;
  text-decoration: none;
  transition: color .3s ease, opacity .3s ease;
}
.nav__overlay__links a:hover{ color: #c4b5a5; }
.nav__overlay__links a.is-active{ color: #c4b5a5; }
.nav__overlay__foot{
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(240,235,227,0.14);
  opacity: 0;
  transition: opacity .6s ease;
  transition-delay: 480ms;
}
body.is-menu-open .nav__overlay__foot{ opacity: 1; }
.nav__overlay__foot a{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #c4b5a5;
}
.nav__overlay__foot small{
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #8a8278;
}
body.is-menu-open{ overflow: hidden; }

@media (max-width: 820px){
  .nav__burger{ display: inline-flex; }
  .nav__cta{ display: none; }
  .nav__links{ display: none !important; }
  .nav__brand__logo{ height: 48px !important; width: calc(48px * 4 / 5) !important; }
  .nav__brand__word{ font-size: 22px !important; }
  .nav{ padding-top: 16px !important; padding-bottom: 16px !important; }
}
/* === SHARED MOBILE NAV CSS END === */

/* === MOBILE FINISHING CSS === */
/* Universal — fixed-width hero subs become fluid */
@media (max-width: 820px){
  [class$="hero__sub"], [class*="hero__sub "]{
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    margin-top: clamp(20px, 4vw, 32px) !important;
  }
  [class$="hero__sub"] br, [class*="hero__sub "] br{ display: none; }
}

/* Universal — footer crunch */
@media (max-width: 720px){
  .footer{ padding: 56px 24px 28px; }
  .footer__inner{ grid-template-columns: 1fr !important; gap: 40px; }
  .footer__brand{ grid-column: 1 !important; }
  .footer__logo{ font-size: 28px !important; }
  .footer__tag{ font-size: 20px !important; }
  .footer__about{ font-size: 13px; max-width: 100%; }
  .footer__bottom{
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 9.5px !important;
    letter-spacing: 0.24em !important;
  }
  .footer__bottom .right{ gap: 18px; }
}

@media (max-width: 720px){
  .pf-hero{ padding-top: 140px; padding-bottom: 56px; }
  .pf-hero__title{ font-size: clamp(56px, 16vw, 90px) !important; line-height: 0.94 !important; padding-left: 24px; padding-right: 24px; }
  .pf-hero__sub{
    font-size: 14px !important;
    line-height: 1.7 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .pf-grid-section{ padding: 56px 0 80px; }
  .pf-grid{ grid-template-columns: 1fr !important; gap: clamp(40px, 8vw, 64px) !important; padding: 0 24px !important; }
  [data-layout="masonry"] .pf-grid{ column-count: 1 !important; padding: 0 24px !important; }
  [data-layout="editorial"] .pf-grid{ grid-template-columns: 1fr !important; padding: 0 24px !important; }
  [data-layout="editorial"] .pf-tile{ grid-column: 1 !important; margin-top: 0 !important; }
  [data-layout="editorial"] .pf-tile .pf-tile__frame{ aspect-ratio: 4 / 5 !important; }

  .pf-tile__tag{ font-size: 18px !important; }

  .pf-coda{ padding-left: 24px; padding-right: 24px; }
  .pf-coda h2{ font-size: clamp(36px, 9vw, 56px) !important; line-height: 1.04 !important; }
  .pf-coda__watermark{ width: 80vw !important; }

  /* Tweaks panel — edge to edge */
  .pf-tweaks{
    right: 12px !important; bottom: 12px !important; left: 12px !important;
    width: auto !important;
    max-height: 70vh !important;
  }
}
/* === MOBILE FINISHING CSS END === */