/* Preeti Sharma portfolio: a standalone, editorial page. Charcoal, warm cream and gold, with a high-contrast serif.
   Loaded instead of the site's layout/section styles; tokens.css + base.css give it buttons, focus and resets. */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.pf {
  --bg: #12100E;
  --surface: #1D1A17;
  --surface-2: #26221E;
  --text: #F3EEE6;          /* 16.4:1 on bg */
  --text-muted: #B9B0A4;    /* 8.9:1 */
  --accent: #C9A66B;        /* gold, 8.3:1 */
  --link: #D8B77C;
  --link-hover: #ECCF9F;
  --btn-bg: #C9A66B;
  --btn-bg-hover: #DDBC84;
  --btn-fg: #14110D;        /* 8.2:1 on gold */
  --lit: #2A2318;
  --edge: #8C8276;
  --line: rgba(201, 166, 107, 0.28);
  --focus: #ECCF9F;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  color-scheme: dark;
  background: var(--bg);
  color: var(--text);
}
.pf ::selection { background: var(--accent); color: var(--btn-fg); }
.pf .btn-secondary { border-color: var(--text); }
.pf .btn-secondary:hover { background: var(--surface-2); }

.pf-wrap { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }
.pf-section { padding-block: clamp(4rem, 9vw, 8rem); border-top: 1px solid var(--line); }
.pf-sec-head { display: grid; gap: var(--space-2); margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 52rem; }
.pf-num { color: var(--accent); font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; letter-spacing: 0.04em; }
.pf h1, .pf h2, .pf h3 { font-family: var(--font-display); font-weight: 600; }
.pf h2 { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
.pf h3 { font-size: var(--step-2); letter-spacing: -0.01em; }
.pf em { font-style: italic; font-weight: 500; color: var(--accent); }
.pf p { max-width: 62ch; }
.pf-kicker { margin: 0 0 var(--space-4); color: var(--accent); font-weight: 700; font-size: var(--step--1); letter-spacing: 0.02em; }

/* ---------- Top bar ---------- */
.pf-bar { position: sticky; top: 0; z-index: 50; background: rgba(18, 16, 14, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pf-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 4rem; }
.pf-back { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 2.75rem; color: var(--text); font-weight: 700; text-decoration: none; }
.pf-back:hover { color: var(--accent); text-decoration: underline; }
.pf-nav { display: none; }
.pf-nav ul { display: flex; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.pf-nav a { display: block; padding: var(--space-2) var(--space-3); color: var(--text-muted); font-weight: 700; text-decoration: none; border-radius: 6px; }
.pf-nav a:hover, .pf-nav a[aria-current="true"] { color: var(--accent); }
.pf-actions { display: flex; align-items: center; gap: var(--space-2); }
@media (min-width: 62rem) { .pf-nav { display: block; } }
@media (max-width: 39.99rem) { .pf-actions .btn-secondary { display: none; } }

/* ---------- Hero ---------- */
.pf-hero { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 6vw, 5rem); }
.pf-hero::before { content: ""; position: absolute; width: 56rem; height: 56rem; right: -18rem; top: -20rem; background: radial-gradient(closest-side, rgba(201, 166, 107, 0.22), transparent); pointer-events: none; }
.pf-hero-grid { position: relative; display: grid; gap: var(--space-7); align-items: end; }
.pf-hero h1 { font-size: clamp(2.9rem, 1.2rem + 7vw, 6.5rem); line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 var(--space-5); font-weight: 600; }
.pf-lede { font-size: var(--step-1); color: var(--text-muted); margin: 0 0 var(--space-5); }
.pf-tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-6); padding: 0; }
.pf-tags li { padding: 0.25rem 0.875rem; border: 1px solid var(--accent); border-radius: var(--radius-chip); color: var(--text); font-size: var(--step--1); font-weight: 700; }
.pf-hero-photo { position: relative; isolation: isolate; margin: 0; justify-self: center; width: min(100%, 26rem); }
/* Like the deck: the cut-out portrait, uncropped, in front of a gold circle */
.pf-hero-photo::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 6%; width: 118%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(201, 166, 107, 0.45); background: radial-gradient(circle at 50% 38%, rgba(201, 166, 107, 0.34), rgba(201, 166, 107, 0.1) 58%, rgba(201, 166, 107, 0.02) 70%); }
.pf-hero-photo img { display: block; width: 100%; height: auto; }
@media (min-width: 62rem) { .pf-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--space-8); } .pf-hero-photo { justify-self: end; } }

.pf-stats { display: grid; margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; padding: 0; border-top: 1px solid var(--line); }
.pf-stats > div { display: flex; flex-direction: column; padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.pf-stats dd { order: -1; }
.pf-stats dt { color: var(--text-muted); font-weight: 700; }
.pf-stats dd { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: clamp(3rem, 1.6rem + 6vw, 5.5rem); line-height: 1; letter-spacing: -0.03em; }
@media (min-width: 40rem) {
  .pf-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-stats > div { border-bottom: 0; padding: var(--space-6) var(--space-5); border-left: 1px solid var(--line); }
  .pf-stats > div:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- About ---------- */
.pf-two { display: grid; gap: var(--space-7); align-items: start; }
.pf-portrait { margin: 0; }
.pf-portrait img { display: block; width: 100%; height: auto; border-radius: 1.25rem; border: 1px solid var(--line); }
.pf-pull { font-family: var(--font-display); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 var(--space-6); max-width: 28ch; }
.pf-body p { color: var(--text-muted); }
.pf-body h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 700; color: var(--text); margin: var(--space-6) 0 var(--space-2); letter-spacing: 0; }
@media (min-width: 62rem) { .pf-two { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-8); } .pf-two.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } .pf-two.flip .pf-portrait { order: 2; } .pf-sticky { position: sticky; top: 6rem; } }

/* ---------- What I bring ---------- */
.pf-pillars { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: 0; counter-reset: pillar; }
.pf-pillars li { counter-increment: pillar; display: grid; gap: var(--space-2); padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.pf-pillars li:last-child { border-bottom: 1px solid var(--line); }
.pf-pillars h3 { margin: 0; }
.pf-pillars h3::before { content: counter(pillar, decimal-leading-zero) "  "; color: var(--accent); font-size: var(--step-1); font-weight: 500; }
.pf-pillars p { margin: 0; color: var(--text-muted); }
.pf-tagline { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.3rem); color: var(--accent); margin: 0; max-width: 24ch; line-height: 1.2; }

/* ---------- Highlights ---------- */
.pf-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.pf-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: var(--space-5); }
.pf-tile b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4rem); line-height: 1; color: var(--accent); letter-spacing: -0.03em; margin-bottom: var(--space-2); }
.pf-tile span { color: var(--text-muted); display: block; }
.pf-collage { margin: 0; }
.pf-collage img { display: block; width: min(100%, 30rem); height: auto; border-radius: 1.25rem; margin-inline: auto; background: #000; }
@media (min-width: 40rem) { .pf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Case studies ---------- */
.pf-case { display: grid; gap: var(--space-6); padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.pf-case:first-of-type { border-top: 0; padding-top: 0; }
.pf-case-kicker { margin: 0 0 var(--space-2); color: var(--accent); font-weight: 700; }
.pf-case h3 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--space-4); }
.pf-case-sub { color: var(--text-muted); margin: 0 0 var(--space-5); }
.pf-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-5); margin: 0 0 var(--space-5); padding: var(--space-5) 0; border-block: 1px solid var(--line); }
.pf-metrics div { display: flex; flex-direction: column; }
.pf-metrics dd { order: -1; }
.pf-metrics dt { color: var(--text-muted); font-size: var(--step--1); font-weight: 700; line-height: 1.35; }
.pf-metrics dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); line-height: 1.05; color: var(--accent); letter-spacing: -0.02em; }
.pf-points { margin: 0; padding-left: 1.2rem; color: var(--text-muted); }
.pf-points li { margin-bottom: var(--space-3); }
.pf-points li::marker { color: var(--accent); }
.pf-visuals { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }
.pf-fig { margin: 0; }
.pf-fig img { display: block; width: 100%; height: auto; border-radius: 0.875rem; border: 1px solid var(--line); background: #0b0a09; }
.pf-fig figcaption { margin-top: var(--space-2); color: var(--text-muted); font-size: var(--step--1); }
.pf-reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.pf-reels.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-reels.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-reels img { aspect-ratio: 9 / 14; object-fit: cover; }
.pf-phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--space-3); }
.pf-phones .pf-fig img { aspect-ratio: 9 / 18; object-fit: cover; object-position: top; }
.pf-profiles { display: grid; gap: var(--space-3); }
@media (min-width: 40rem) { .pf-reels.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pf-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-profiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) {
  .pf-case { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-8); align-items: start; }
  .pf-case-info { position: sticky; top: 6rem; }
}

/* ---------- Clients and brands ---------- */
.pf-group-title { font-size: var(--step-2); margin: 0 0 var(--space-5); display: flex; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; }
.pf-group-title span { font-family: var(--font-body); font-size: var(--step-0); font-weight: 400; color: var(--text-muted); }
.pf-people { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: var(--space-5) var(--space-4); }
.pf-people li { display: grid; justify-items: center; gap: var(--space-2); text-align: center; font-weight: 700; font-size: var(--step--1); line-height: 1.3; }
.pf-people img { width: 6.5rem; height: 6.5rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); background: var(--surface); }
.pf-people .more, .pf-brands .more { display: grid; place-items: center; width: 6.5rem; height: 6.5rem; border-radius: 50%; border: 2px dashed var(--accent); color: var(--accent); font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.pf-brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: var(--space-5) var(--space-4); }
.pf-brands li { display: grid; justify-items: center; gap: var(--space-2); text-align: center; font-weight: 700; font-size: var(--step--1); line-height: 1.3; }
.pf-brands img { width: 6.5rem; height: 6.5rem; border-radius: 1.1rem; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.pf-brands .more { border-radius: 1.1rem; }

/* ---------- Contact ---------- */
.pf-contact h2 { font-size: clamp(2.75rem, 1.2rem + 7vw, 6.5rem); line-height: 0.98; letter-spacing: -0.03em; max-width: 12ch; margin-bottom: var(--space-6); }
.pf-contact-list { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: 0; max-width: 34rem; }
.pf-contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--line); align-items: baseline; }
.pf-contact-list li:last-child { border-bottom: 1px solid var(--line); }
.pf-contact-list span { color: var(--text-muted); font-weight: 700; }
.pf-contact-list a { color: var(--text); font-size: var(--step-1); overflow-wrap: anywhere; }
.pf-contact-list a:hover { color: var(--accent); }
.pf-contact-photos { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-contact-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.25rem; border: 1px solid var(--line); }
@media (min-width: 62rem) { .pf-contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-8); align-items: center; } }

.pf-foot { border-top: 1px solid var(--line); padding-block: var(--space-6) var(--space-7); color: var(--text-muted); font-size: var(--step--1); }
.pf-foot .pf-wrap { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; align-items: center; }
.pf-foot p { margin: 0; max-width: none; }
.pf-foot a { color: var(--link); }

/* ---------- Print / Save as PDF: light, ink-friendly, no sticky bits ---------- */
@page { size: A4; margin: 12mm; }
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.pf { --bg: #fff; --surface: #f6f1e7; --surface-2: #efe7d7; --text: #1a1612; --text-muted: #4b443b; --accent: #8a6a2f; --link: #6f531f; --line: rgba(138, 106, 47, 0.45); background: #fff; color: #1a1612; }
  .pf-bar, .skip-link, .consent, .pf-actions, .btn-row { display: none !important; }
  .pf-hero::before { display: none; }
  .pf-section { padding-block: 1.2rem; break-inside: auto; }
  .pf-case, .pf-tile, .pf-fig, .pf-people li, .pf-brands li, .pf-pillars li { break-inside: avoid; }
  .pf-sec-head, .pf-group-title { break-after: avoid; }
  .pf-case-info, .pf-sticky { position: static; }
  .pf-arch { background: #efe7d7; }
  .pf h2 { font-size: 2rem; }
  .pf-hero h1 { font-size: 3rem; }
  .pf-stats dd { font-size: 2.6rem; }
  .pf-case { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .pf-two { grid-template-columns: 0.8fr 1.2fr; gap: 1.5rem; }
  a { color: inherit; text-decoration: none; }
  .pf-contact-list a { text-decoration: none; }
}
.pf .nb { white-space: nowrap; }
.pf-metrics .wide { grid-column: 1 / -1; }
