/* Portfolio / home page — layered on gallery.css, mobile-first. */
/* Safety net for sub-pixel bleed from the justified-row float math. `clip` (not
   `hidden`) does NOT create a scroll container, so the sticky hero still works. */
body.pf { overflow-x: clip; }
.pf .hero__title { font-size: clamp(2.6rem, 9vw, 6rem); line-height: 1.0; }
.pf .hero__content { gap: 0; }
.pf-cta {
  display: inline-block; margin-top: 1.8rem;
  font-family: 'Hanken Grotesk', sans-serif; font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: #fff; border: 1px solid rgba(255,255,255,.85); padding: .85rem 1.8rem; border-radius: 100px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.pf-cta:hover { background: #fff; color: var(--ink); }
.pf-cta--solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pf-cta--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.pf-cta--big { font-size: .82rem; padding: 1rem 2.2rem; margin-top: 1.4rem; }

.pf-kicker { font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.pf-h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; margin: 0 0 1rem; }
.pf-lede { font-size: clamp(1rem, 2.4vw, 1.15rem); line-height: 1.7; color: var(--ink-soft); max-width: 40rem; font-weight: 300; }

.pf-intro { text-align: center; max-width: 44rem; margin: clamp(0.9rem, 3vw, 1.6rem) auto clamp(2.5rem, 6vw, 4rem); padding: 0 1.2rem; }
/* Thin the cinematic page→hero hand-off shadow (the "gray banner") way down. */
.pf .page { box-shadow: 0 -8px 20px -16px rgba(26, 24, 20, .28); }
.pf-intro .pf-lede { margin-inline: auto; }

/* About-me: Clark's photo beside the intro */
.pf-intro--photo { display: flex; align-items: center; gap: clamp(1.6rem, 5vw, 3.5rem); max-width: 58rem; text-align: left; }
.pf-intro__img { flex: 0 0 34%; }
.pf-intro__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: 14px; box-shadow: 0 26px 60px -32px rgba(20,14,8,.55); }
.pf-intro--photo .pf-intro__text { flex: 1; }
.pf-intro--photo .pf-lede { margin-inline: 0; max-width: none; }
@media (max-width: 720px) {
  .pf-intro--photo { flex-direction: column; text-align: center; gap: 1.4rem; }
  .pf-intro--photo .pf-intro__img { flex: none; width: min(18rem, 66%); }
  .pf-intro--photo .pf-intro__img img { aspect-ratio: 1 / 1; }
  .pf-intro--photo .pf-lede { margin-inline: auto; }
}

/* category filter pills */
.pf-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); padding: 0 1rem; }
.pf-pill {
  font: inherit; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); background: transparent; border: 1px solid var(--hairline);
  padding: .5rem 1.1rem; border-radius: 100px; cursor: pointer; transition: all .3s var(--ease);
}
.pf-pill:hover { border-color: var(--accent); color: var(--ink); }
.pf-pill.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* video + services + contact blocks */
/* Full-bleed band: .page has no horizontal padding, so no negative margin needed
   (a breakout margin would overflow the viewport). Inner content is centered by __inner. */
.pf-video { background: var(--bg-alt); margin: clamp(3rem, 8vw, 6rem) 0 0; padding: clamp(3rem, 9vw, 6rem) clamp(1.2rem, 5vw, 3.5rem); text-align: center; }
.pf-video__inner { max-width: 42rem; margin: 0 auto; }
.pf-video .pf-lede { margin: 0 auto 1.8rem; }
.pf-links { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.pf-video .pf-cta { color: var(--ink); border-color: var(--ink); margin-top: 0; }
.pf-video .pf-cta:hover { background: var(--ink); color: var(--bg); }
.pf-video .pf-cta--solid { color: var(--bg); }

.pf-services { text-align: center; padding: clamp(3rem, 9vw, 6rem) 0 clamp(1rem, 3vw, 2rem); }
.pf-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1.5rem, 4vw, 2.5rem); max-width: 60rem; margin: 1.5rem auto 0; text-align: left; padding: 0 .5rem; }
.pf-svc h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.6rem; margin: 0 0 .4rem; }
.pf-svc p { font-size: .95rem; line-height: 1.6; color: var(--ink-soft); font-weight: 300; margin: 0; }

.pf-contact { text-align: center; padding: clamp(3.5rem, 10vw, 7rem) 1.2rem clamp(2rem, 6vw, 3rem); border-top: 1px solid var(--hairline); margin-top: clamp(2rem, 6vw, 4rem); }
.pf-contact .pf-lede { margin: 0 auto 0; }
.pf-social { margin-top: 1.6rem; display: flex; gap: .8rem; justify-content: center; align-items: center; color: var(--ink-soft); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.pf-social a { color: var(--ink-soft); text-decoration: none; }
.pf-social a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .pf .hero__title { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .pf-cta { padding: .8rem 1.5rem; }
}

/* ============================================================
   CINEMATIC PREMIUM LAYER — home only (scoped to body.pf)
   Galleries keep their minimal theme; the landing page gets depth,
   color grade, film grain, and a dramatic dark "intermission".
   ============================================================ */
body.pf {
  --pf-gold:  #c0904e;            /* warmer signature gold */
  --pf-amber: #c8772e;            /* terracotta-amber */
  --pf-rose:  #b06a5e;            /* dusty rose */
  --pf-teal:  #2c5a6e;            /* cool cinematic shadow */
  --pf-deep:  #100c08;            /* deep film ink */
  --pf-grade: linear-gradient(120deg, var(--pf-amber), var(--pf-rose));
  /* warm vignette atmosphere behind the whole page */
  background:
    radial-gradient(135% 75% at 50% -8%, #fffdf8 0%, var(--bg) 46%),
    radial-gradient(120% 60% at 92% 8%, rgba(192,144,78,.10), transparent 55%);
  background-attachment: fixed;
}

/* --- Film grain: fixed, animated, very subtle --- */
.pf-grain {
  position: fixed; inset: -50%; z-index: 3; pointer-events: none;
  opacity: .045; mix-blend-mode: overlay; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) {
  .pf-grain { animation: pf-grain 5s steps(6) infinite; }
}
@keyframes pf-grain {
  0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-4%)}
  60%{transform:translate(-3%,2%)} 80%{transform:translate(4%,3%)} 100%{transform:translate(0,0)}
}

/* --- Hero: cinematic colour grade + vignette + bolder type --- */
.pf .hero { z-index: 0; }
.pf .hero__scrim {
  background:
    linear-gradient(to top, rgba(16,12,8,.72) 0%, rgba(16,12,8,.14) 38%, rgba(16,12,8,0) 62%),
    linear-gradient(to bottom, rgba(16,12,8,.30) 0%, rgba(16,12,8,0) 24%),
    linear-gradient(115deg, rgba(44,90,110,.30), rgba(0,0,0,0) 44%, rgba(200,119,46,.24)),
    radial-gradient(125% 110% at 50% 42%, rgba(0,0,0,0) 52%, rgba(12,9,6,.55) 100%);
}
.pf .hero__eyebrow {
  font-weight: 600; letter-spacing: .5em; text-indent: .5em;
  color: #f7ede0; opacity: .92;
}
.pf .hero__eyebrow::after {
  content: ""; display: block; width: 46px; height: 2px; margin: 1rem auto 0;
  background: var(--pf-grade); border-radius: 2px;
}
.pf .hero__title {
  font-size: clamp(2.9rem, 9.5vw, 7rem); line-height: .98; letter-spacing: -.012em;
  text-shadow: 0 2px 60px rgba(0,0,0,.45);
}
.pf .hero__meta { color: #f3e7d8; opacity: .9; letter-spacing: .28em; }

/* --- Premium buttons (gradient fill, lift, glow) --- */
.pf-cta { backdrop-filter: blur(2px); transition: all .4s var(--ease); }
.pf-cta--solid, .pf .hero .pf-cta:not(.pf-cta--solid):hover {
  background-image: var(--pf-grade); background-color: transparent;
  border-color: transparent; color: #fff;
  box-shadow: 0 10px 30px -10px rgba(176,106,94,.6);
}
.pf-cta--solid:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(200,119,46,.7); }
.pf-cta--big { letter-spacing: .22em; }

/* --- Kickers in signature gold --- */
.pf-kicker { color: var(--pf-amber); font-weight: 600; }
.pf-h2 { letter-spacing: -.01em; }

/* --- Filter pills: gradient active state --- */
.pf-pill { backdrop-filter: blur(3px); }
.pf-pill.is-active { background-image: var(--pf-grade); border-color: transparent; box-shadow: 0 8px 22px -10px rgba(176,106,94,.55); }
.pf-pill:hover { border-color: var(--pf-amber); color: var(--pf-amber); }

/* --- Filmic photo reveals + hover --- */
.pf .cell { position: relative; border-radius: 3px; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(20,14,8,.55); }
.pf .cell img { transition: transform 1.1s var(--ease), filter 1.1s var(--ease); will-change: transform; }
.pf .cell:not(.in) img { transform: scale(1.06); filter: saturate(.85) brightness(.96); }
.pf .cell:hover img { transform: scale(1.045); filter: saturate(1.06); }
.pf .cell::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(16,12,8,.22), rgba(0,0,0,0) 42%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.pf .cell:hover::after { opacity: 1; }

/* --- The dark cinematic "intermission": video band --- */
.pf-video {
  background:
    radial-gradient(90% 130% at 50% -10%, rgba(200,119,46,.20), transparent 58%),
    radial-gradient(70% 90% at 85% 110%, rgba(44,90,110,.22), transparent 60%),
    var(--pf-deep);
  color: #f3ece1; position: relative; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
}
.pf-video .pf-kicker { color: var(--pf-gold); }
.pf-video .pf-h2 { color: #fbf6ee; }
.pf-video .pf-lede { color: #d8cfc2; }
.pf-video .pf-lede strong { color: #fff; }
.pf-video .pf-cta { color: #fff; border-color: rgba(255,255,255,.45); }
.pf-video .pf-cta:hover { background-image: var(--pf-grade); border-color: transparent; transform: translateY(-2px); }

/* --- Services: hover lift + gradient heading accent --- */
.pf-svc { padding: 1.2rem 1.1rem; border-radius: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease); }
.pf-svc:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 22px 50px -30px rgba(20,14,8,.4); }
.pf-svc h3 { background: var(--pf-grade); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }

/* --- Contact: warm gradient stage --- */
.pf-contact {
  background: radial-gradient(120% 90% at 50% 0%, rgba(192,144,78,.12), transparent 60%);
  border-top-color: transparent;
}
.pf-contact .pf-h2 { font-size: clamp(2.4rem, 7vw, 4rem); }
.pf-social a:hover { color: var(--pf-amber); }
.foot__mark { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; }

/* keep everything above the grain except the grain itself */
.page, .hero { position: relative; }
.hero { z-index: 0; } .page { z-index: 1; }

/* ---- Pricing ---- */
.pf-pricing { text-align: center; padding: clamp(3rem, 9vw, 6rem) 0 clamp(1rem, 3vw, 2rem); }
.pf-pricing .pf-lede { margin: 0 auto clamp(2rem, 5vw, 3rem); }
.pf-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: clamp(.9rem, 2.4vw, 1.4rem); max-width: 64rem; margin: 0 auto; text-align: left; }
.pf-price-card { background: var(--bg-card, #fff); border: 1px solid var(--hairline); border-radius: 16px; padding: 1.4rem 1.5rem 1.3rem; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pf-price-card:hover { transform: translateY(-4px); box-shadow: 0 26px 56px -34px rgba(20, 14, 8, .42); }
.pf-price-card h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.5rem; margin: 0 0 .8rem; }
.pf-price-list { list-style: none; margin: 0 0 .9rem; padding: 0; }
.pf-price-list li { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--hairline); font-size: .94rem; }
.pf-price-list li:last-child { border-bottom: 0; }
.pf-price-list li span { color: var(--ink-soft); }
.pf-price-list li b { font-weight: 600; font-size: 1.02rem; color: var(--ink); white-space: nowrap; }
.pf-pc-note { font-size: .84rem; line-height: 1.55; color: var(--ink-soft); font-style: italic; margin: auto 0 0; }
.pf-price-card--feature { border-color: var(--pf-amber); box-shadow: inset 0 0 0 1px rgba(200, 119, 46, .4); }
.pf-price-card--feature h3 { background: var(--pf-grade); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }
.pf-price-extras { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.4rem; max-width: 52rem; margin: clamp(1.6rem, 4vw, 2.4rem) auto 0; font-size: .9rem; color: var(--ink-soft); }
.pf-price-extras span b { color: var(--ink); font-weight: 600; margin-left: .2rem; }
.pf-price-foot { max-width: 40rem; margin: clamp(1.4rem, 4vw, 2.2rem) auto clamp(1.5rem, 4vw, 2rem); font-size: .92rem; line-height: 1.65; color: var(--ink-soft); }

/* ---- Footer logo band (dark, matches the logo's #101010 so its square blends in) ---- */
.pf-foot { background: #101010; text-align: center; margin: clamp(2.5rem, 7vw, 4.5rem) 0 0; padding: clamp(1.5rem, 4vw, 2.5rem) 1.5rem clamp(2rem, 5vw, 3rem); display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.pf-foot__logo { width: clamp(170px, 42vw, 240px); height: auto; }
.pf-foot__line { margin: -.4rem 0 0; color: #8c8378; font-size: .8rem; letter-spacing: .07em; }
.pf-foot__line a { color: #c0b6a7; text-decoration: none; }
.pf-foot__line a:hover { color: var(--pf-gold); }

/* ---- Top nav: transparent over the hero, solid once scrolled ---- */
.pf-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(.7rem, 2vw, 1.05rem) clamp(1.2rem, 5vw, 3.5rem); transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.pf-nav::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(12, 9, 6, .55), transparent); opacity: 1; transition: opacity .4s var(--ease); }
.pf-nav__brand { font-family: 'Cormorant Garamond', serif; font-size: 1.32rem; font-weight: 500; letter-spacing: .02em; color: #fff; text-decoration: none; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.pf-nav__links { display: flex; align-items: center; gap: clamp(.8rem, 2.3vw, 1.7rem); }
.pf-nav__links a { color: #fff; text-decoration: none; font-size: .74rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(0,0,0,.45); transition: color .3s var(--ease); }
.pf-nav__links a:hover { color: var(--pf-gold); }
.pf-nav__book { border: 1px solid rgba(255,255,255,.55); border-radius: 100px; padding: .45rem 1rem; }
.pf-nav__book:hover { background: rgba(255,255,255,.14); }
.pf-nav.is-stuck { background: rgba(250, 248, 244, .9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--hairline); }
.pf-nav.is-stuck::before { opacity: 0; }
.pf-nav.is-stuck .pf-nav__brand, .pf-nav.is-stuck .pf-nav__links a { color: var(--ink); text-shadow: none; }
.pf-nav.is-stuck .pf-nav__links a:hover { color: var(--pf-amber); }
.pf-nav.is-stuck .pf-nav__book { border-color: var(--hairline); }
.pf-nav.is-stuck .pf-nav__book:hover { background-image: var(--pf-grade); border-color: transparent; color: #fff; }
@media (max-width: 600px) {
  .pf-nav { justify-content: center; }
  .pf-nav__brand { display: none; }
  .pf-nav__links { gap: .85rem; }
  .pf-nav__links a { font-size: .66rem; letter-spacing: .06em; }
  .pf-nav__book { padding: .38rem .7rem; }
}
.pf [id] { scroll-margin-top: 4.5rem; }

/* ---- Real-estate video players (facade → iframe) ---- */
.pf-video__inner { max-width: 52rem; }
.pf-vid-feature { margin: clamp(1.5rem, 4vw, 2.3rem) 0 1rem; }
.pf-vid-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 2vw, 1rem); }
.pf-vid { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; margin: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: #000; box-shadow: 0 22px 52px -30px rgba(0,0,0,.75); }
.pf-vid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease), filter .5s var(--ease); }
.pf-vid:hover img { transform: scale(1.04); filter: brightness(1.08); }
.pf-vid__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.pf-vid__play::after { content: ''; width: 0; height: 0; margin-left: 5px; border-left: 17px solid #14110d; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.pf-vid:hover .pf-vid__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.pf-vid--main .pf-vid__play { width: 80px; height: 80px; }
.pf-vid--main .pf-vid__play::after { margin-left: 6px; border-left-width: 22px; border-top-width: 14px; border-bottom-width: 14px; }
.pf-vid__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .95rem .75rem; text-align: left; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.pf-vid__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; }
@media (max-width: 560px) { .pf-vid-row { grid-template-columns: 1fr; } }

/* ---- Booking call-out (after pricing) ---- */
.pf-callout { text-align: center; padding: clamp(2.6rem, 7vw, 4.5rem) 1.2rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); background: radial-gradient(120% 100% at 50% 0%, rgba(192,144,78,.14), transparent 62%); border-top: 1px solid var(--hairline); }
.pf-callout .pf-h2 { font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: 1.2rem; }
