/* ============================================================
   Leslie Løvkind — botanical light photography
   Warm cream paper · ink · a single muted leaf-green accent.
   Newsreader (display, italic) · Hanken Grotesk (body) · Space Mono (labels)
   Ported from the Foliokind prototype; photo slots are engine-painted
   <div class="ph"> elements (background-image set inline by fk_photo).
   ============================================================ */
:root {
  --paper:   oklch(0.985 0.008 92);
  --paper-2: oklch(0.963 0.013 86);
  --surface: oklch(0.994 0.005 92);
  --ink:     oklch(0.255 0.012 60);
  --ink-2:   oklch(0.445 0.012 60);
  --ink-3:   oklch(0.605 0.012 64);
  --line:    oklch(0.865 0.012 80);
  --line-2:  oklch(0.80 0.014 78);
  --leaf:      oklch(0.515 0.072 148);
  --leaf-deep: oklch(0.42 0.066 150);
  --leaf-soft: oklch(0.93 0.030 140);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:  "Space Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --gut: clamp(22px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.6; letter-spacing: -0.003em;
}
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.0; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, .ph { display: block; }
/* photo slots — fk_photo paints a background-image inline and sets the
   aspect-ratio; this is the empty-state panel and the width default. */
.ph { width: 100%; height: auto; background-color: var(--paper-2); }

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

.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 400;
}
.label.leaf { color: var(--leaf-deep); }

/* link with underline reveal */
.ulink { position: relative; font-weight: 500; }
.ulink::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.ulink:hover::after { transform: scaleX(1); }

/* thin editorial button */
.tbtn {
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer; white-space: nowrap;
  padding: 13px 24px; border-radius: 2px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); transition: background .2s, color .2s, border-color .2s;
}
.tbtn:hover { background: transparent; color: var(--ink); }
.tbtn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.tbtn.ghost:hover { border-color: var(--ink); }
.tbtn svg { width: 15px; height: 15px; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: color-mix(in oklch, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { font-family: var(--serif); font-size: 19px; letter-spacing: 0.22em; font-weight: 400; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-contact { font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* In the mirror, the engine's editing banner is sticky at the top. A fixed
   site nav would overlap it and steal clicks (e.g. Publish), so in edit mode
   the nav flows normally below the banner — matching the other Foliokind
   sites. The public site keeps its fixed, frosted nav. */
.fk-editing .nav { position: static; }
.fk-editing .hero { padding-top: clamp(28px, 4vw, 48px); }

/* ---------------- hero ---------------- */
.hero { padding-top: clamp(120px, 18vh, 200px); padding-bottom: clamp(40px, 6vw, 90px); }
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-eyebrow { max-width: 30ch; }
.hero-eyebrow .label { display: block; }
.hero-title {
  font-size: clamp(41px, 9.1vw, 129px); line-height: 0.86; letter-spacing: -0.04em;
  font-weight: 300; margin-top: clamp(20px, 4vw, 54px); text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 400; }
.hero-belt {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 60px);
  align-items: end; margin-top: clamp(28px, 4vw, 56px);
}
.hero-intro { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; color: var(--ink-2); max-width: 42ch; font-weight: 300; }
.hero-intro em { font-style: italic; color: var(--ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
@media (max-width: 720px){ .hero-belt { grid-template-columns: 1fr; align-items: start; } }

.hero-figure { margin-top: clamp(40px, 6vw, 96px); position: relative; }
.hero-figure .ph { width: 100%; }
.hero-figure .cap-row { display: flex; justify-content: space-between; margin-top: 14px; }

/* ---------------- generic section ---------------- */
.section { padding: clamp(70px, 11vw, 170px) 0; }
.section.tight { padding: clamp(50px, 7vw, 110px) 0; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 80px); align-items: baseline; }
.sec-head .num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--ink-3); padding-top: 10px; }
.sec-title { font-size: clamp(32px, 5vw, 68px); line-height: 0.98; font-weight: 300; letter-spacing: -0.03em; }
.sec-title em { font-style: italic; }
.sec-lead { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); max-width: 50ch; margin-top: 22px; font-weight: 300; line-height: 1.55; }

/* ---------------- statement ---------------- */
.statement { padding: clamp(80px, 12vw, 180px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement .big {
  font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4.6vw, 62px);
  line-height: 1.12; letter-spacing: -0.025em; max-width: 22ch; text-wrap: balance;
}
.statement .big em { font-style: italic; color: var(--leaf-deep); }
.statement .by { margin-top: clamp(28px, 4vw, 48px); display: flex; align-items: center; gap: 14px; }
.statement .sig { font-family: var(--serif); font-style: italic; font-size: 24px; }

/* ---------------- shot / figure ---------------- */
figure { margin: 0; }
figcaption { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-3); margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; }
figcaption .pl { color: var(--ink-2); }

/* selected work — asymmetric editorial grid */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.5vw, 40px); margin-top: clamp(40px, 6vw, 80px); }
.work-grid figure .ph { width: 100%; }
.w-a { grid-column: 1 / 8; }
.w-b { grid-column: 9 / 13; align-self: end; }
.w-c { grid-column: 1 / 5; }
.w-d { grid-column: 6 / 13; }
.w-e { grid-column: 3 / 11; margin-top: clamp(10px, 2vw, 30px); }
@media (max-width: 760px){
  .work-grid { grid-template-columns: 1fr; gap: 32px; }
  .w-a,.w-b,.w-c,.w-d,.w-e { grid-column: 1 / -1; margin-top: 0; align-self: auto; }
}

/* ---------------- series ---------------- */
.series-list { margin-top: clamp(36px, 5vw, 70px); border-top: 1px solid var(--line); }
.serie {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--line);
}
.serie:nth-child(even) .serie-media { order: 2; }
.serie-media .ph { width: 100%; }
.serie-no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--leaf-deep); }
.serie-title { font-size: clamp(34px, 4.4vw, 60px); font-weight: 300; font-style: italic; margin-top: 14px; }
.serie-desc { font-size: 17px; color: var(--ink-2); max-width: 44ch; margin-top: 18px; line-height: 1.6; }
.serie-meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-3); margin-top: 20px; }
.serie-link { margin-top: 26px; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; }
.serie-link svg { width: 16px; height: 16px; transition: transform .3s; }
.serie-link:hover svg { transform: translateX(5px); }
@media (max-width: 760px){
  .serie { grid-template-columns: 1fr; gap: 24px; }
  .serie:nth-child(even) .serie-media { order: 0; }
}

/* ---------------- full-bleed break ---------------- */
.break { position: relative; }
.break .ph { width: 100%; height: clamp(420px, 70vh, 760px); }
.break-quote {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: clamp(28px, 6vw, 90px); pointer-events: none;
}
.break-quote .q {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 3.6vw, 52px); line-height: 1.2; color: var(--paper);
  max-width: 24ch; text-shadow: 0 2px 30px oklch(0 0 0 / 0.55); text-wrap: balance;
}

/* ---------------- about ---------------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-portrait .ph { width: 100%; }
.about-portrait figcaption { margin-top: 12px; }
.about-body .sec-title { margin-bottom: 28px; }
.about-body p { font-size: 18px; color: var(--ink-2); margin-bottom: 20px; line-height: 1.7; max-width: 54ch; }
.about-body p .lead { color: var(--ink); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.fact .label { display: block; margin-bottom: 8px; }
.fact .fval { font-family: var(--serif); font-size: 19px; font-style: italic; color: var(--ink); }
@media (max-width: 760px){ .about-grid { grid-template-columns: 1fr; } .about-facts { grid-template-columns: 1fr; gap: 16px; } }

/* ---------------- approach ---------------- */
.approach { background: var(--paper-2); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 5vw, 70px); }
.appr h3 { font-size: 26px; font-style: italic; font-weight: 400; margin-bottom: 12px; }
.appr .n { font-family: var(--mono); font-size: 12px; color: var(--leaf-deep); letter-spacing: 0.12em; }
.appr p { font-size: 16px; color: var(--ink-2); margin-top: 14px; line-height: 1.6; }
@media (max-width: 760px){ .approach-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------- prints ---------------- */
.prints-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(40px, 5vw, 70px); }
.print .ph { width: 100%; }
.print-info { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; gap: 12px; }
.print-name { font-family: var(--serif); font-style: italic; font-size: 19px; }
.print-price { font-family: var(--mono); font-size: 13px; color: var(--ink); white-space: nowrap; }
.print-ed { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 760px){ .prints-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------------- index / exhibitions ---------------- */
.index-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); margin-top: clamp(36px, 5vw, 64px); }
.idx-col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin: 0 0 18px; }
.idx-row { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.idx-row .yr { font-family: var(--mono); font-size: 13px; color: var(--leaf-deep); }
.idx-row .ev { font-size: 16px; color: var(--ink); }
.idx-row .ev span { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 3px; }
@media (max-width: 760px){ .index-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------------- contact ---------------- */
.contact { border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(30px, 5vw, 80px); align-items: end; }
.contact h2 { font-size: clamp(40px, 7vw, 110px); font-weight: 300; line-height: 0.9; letter-spacing: -0.035em; }
.contact h2 em { font-style: italic; }
.contact-mail { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 34px); margin-top: 28px; display: inline-block; }
.contact-side { text-align: right; }
.contact-side p { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; max-width: 26ch; margin-left: auto; }
.contact-socials { display: flex; gap: 18px; justify-content: flex-end; }
.contact-socials a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 760px){ .contact-inner { grid-template-columns: 1fr; align-items: start; } .contact-side { text-align: left; } .contact-side p { margin-left: 0; } .contact-socials { justify-content: flex-start; } }

/* ---------------- footer ---------------- */
.footer { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand { font-size: 16px; }
.footer-note { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-3); }
.footer-note a { color: var(--leaf-deep); }

/* ---------------- scroll reveal ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}
