/* Janina Truong Photography — shared site styles
   Light, airy, editorial. Brand tokens from the Farbe & Typografie system. */

/* ---------- Local fonts (no Google Fonts request — privacy + performance) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-normal-latin-ext.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-normal-latin.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
  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: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  font-weight: 400 500; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  font-weight: 400 500; font-style: italic; font-display: swap;
  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: 'Jost';
  src: url('fonts/jost-normal-latin-ext.woff2') format('woff2');
  font-weight: 300 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  src: url('fonts/jost-normal-latin.woff2') format('woff2');
  font-weight: 300 500; font-style: normal; font-display: swap;
  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;
}

:root {
  --n0: #fbf9f4;
  --n1: #f4efe6;
  --n2: #e9e1d3;
  --n3: #d7ccba;
  --n4: #a89d89;
  --n5: #7c7363;
  --n6: #463f36;
  --n7: #1d1a16;

  --ink: #1d1a16;
  --sepia: #3a342c;
  --paper: #fbf9f4;
  --creme: #ffffff;
  --sand: #7c7363;
  --leinen: #e3dacb;

  --gold: #b08d57;
  --gold-deep: #8a6c3f;
  --mint: #93b5a8;
  --mint-deep: #4e776b;

  --display: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;

  --nav-h: 72px;
  --maxw: 1280px;
  --pad: clamp(22px, 5vw, 76px);
}

* { 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-weight: 300;
  font-size: 17px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; image-rendering: high-quality; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-block: clamp(60px, 11vh, 144px); }
.narrow { max-width: 720px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 400; font-size: 11px;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-deep);
}
.h-display { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 8.5vw, 110px); line-height: 0.98; letter-spacing: -0.01em; margin: 0; }
.h1 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 5.5vw, 64px); line-height: 1.04; margin: 0; }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(27px, 3.6vw, 44px); line-height: 1.08; margin: 0; }
.h3 { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.2; margin: 0; }
.lead { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.5; color: var(--sepia); text-wrap: pretty; }
.muted { color: var(--sand); }
em.gold { font-style: italic; color: var(--gold-deep); }
em.mint { font-style: italic; color: var(--mint-deep); }
p { text-wrap: pretty; }
.body-narrow p { max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 400; font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 17px 36px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--gold-deep); color: var(--paper); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { padding: 6px 0; border-bottom: 1px solid var(--gold); border-radius: 0; }
.btn-ghost:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-nav.scrolled { border-bottom-color: var(--leinen); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { width: clamp(152px, 16vw, 182px); color: var(--ink); display: block; }
.nav-logo .jt-svg { width: 100%; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--sans); font-weight: 400; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sepia);
  padding: 6px 0; position: relative; transition: color 0.25s;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--gold); transition: right 0.3s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: 0.3s; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--leinen);
    padding: 8px var(--pad) 24px; align-items: flex-start;
    transform: translateY(-120%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); z-index: 49;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 0; font-size: 14px; letter-spacing: 0.12em; border-bottom: 1px solid var(--leinen); }
  .nav-links li:last-child { padding-top: 16px; }
  .nav-links a::after { display: none; }
  .nav-cta { width: 100%; justify-content: center; }
}

/* ---------- Image slots ---------- */
image-slot {
  display: block; width: 100%; height: 100%;
  background: var(--n1);
  --frame: var(--leinen);
}
.ph { background: var(--n1); position: relative; overflow: hidden; }
.figure { position: relative; overflow: hidden; }
.figure img { transition: transform 0.8s cubic-bezier(0.2,0.7,0.2,1); }
.figure:hover img { transform: scale(1.045); }
.figure::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(244,239,230,0.6);
  opacity: 0; transition: opacity 0.5s ease, inset 0.5s ease; pointer-events: none; z-index: 2;
}
.figure:hover::after { opacity: 0.7; inset: 16px; }
.figure .cap { position: absolute; left: 16px; bottom: 14px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }

/* ---------- Reveal on scroll (robust: hidden only when JS is active) ---------- */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,0.7,0.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.in-now { opacity: 1; transform: none; transition: none; }
html.reveal-failsafe .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--n1); padding: clamp(56px, 9vh, 96px) 0 40px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr; gap: 36px; } }
.foot-sig { width: 190px; color: var(--n1); opacity: 0.92; margin-bottom: 18px; }
.foot-sig .jt-svg { width: 100%; height: auto; }
.site-foot .col-title { font-family: var(--sans); font-weight: 400; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.site-foot a { font-size: 14px; color: var(--n3); transition: color 0.25s; }
.site-foot a:hover { color: var(--n0); }
.site-foot .tagline { font-family: var(--display); font-size: 21px; line-height: 1.4; color: var(--n2); max-width: 30ch; }
.foot-bottom { margin-top: clamp(40px, 7vh, 72px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--n4); }

/* ---------- Variant switcher (home only) ---------- */
.variant-switch {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 4px;
  background: var(--ink); color: var(--paper);
  padding: 7px 9px 7px 14px; border-radius: 999px;
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(29,26,22,0.22);
}
.variant-switch b { font-weight: 400; opacity: 0.6; margin-right: 6px; }
.variant-switch a { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); opacity: 0.55; transition: 0.25s; }
.variant-switch a:hover { opacity: 1; }
.variant-switch a.on { background: var(--gold); color: var(--ink); opacity: 1; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 22px; }
.divider { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0; }
.center .divider { margin-inline: auto; }
.grid { display: grid; gap: clamp(14px, 1.6vw, 24px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .cols-3 { grid-template-columns: 1fr 1fr; } .cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cols-3 { grid-template-columns: 1fr; } }

/* ---------- Inner page helpers ---------- */
.page-hero { padding-block: clamp(72px, 13vh, 150px) clamp(26px, 4vh, 52px); text-align: center; }
.page-hero .eyebrow { display: block; margin-bottom: 22px; }
.page-hero .lead { margin: 22px auto 0; max-width: 48ch; }
.feature-full { height: clamp(420px, 70vh, 780px); }

/* Masonry-ish gallery */
.gal { columns: 3 300px; column-gap: clamp(12px, 1.4vw, 22px); }
.gal .figure { break-inside: avoid; margin-bottom: clamp(12px, 1.4vw, 22px); }
@media (max-width: 560px) { .gal { columns: 1; } }

/* Split content row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
.split.narrow-img { grid-template-columns: 0.8fr 1fr; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 820px) { .split, .split.narrow-img { grid-template-columns: 1fr; gap: 32px; } .split.reverse { direction: ltr; } }
.split .figure { aspect-ratio: 4/5; }

/* Approach list */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step .n { font-family: var(--display); font-style: italic; font-size: 30px; color: var(--gold-deep); }
.step .h3 { margin: 8px 0 8px; }
.step p { color: var(--sand); font-size: 15px; margin: 0; }

/* CTA bands reuse */
.cta-band { background: var(--ink); color: var(--paper); text-align: center; }
.cta-band .eyebrow { color: var(--gold); }
.cta-band .h1, .cta-band .h2 { color: var(--paper); margin-top: 14px; }
.cta-band .lead { color: var(--n3); margin: 16px auto 0; max-width: 40ch; }
.cta-band .btn-solid { background: var(--gold); color: var(--ink); margin-top: 32px; }
.cta-band .btn-solid:hover { background: var(--paper); color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(34px, 6vw, 90px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-weight: 300; font-size: 16px; color: var(--ink);
  background: var(--creme); border: 1px solid var(--leinen); border-radius: 4px;
  padding: 13px 15px; transition: border-color 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-info .row { padding: 18px 0; border-bottom: 1px solid var(--leinen); }
.contact-info .row .k { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); }
.contact-info .row .v { font-family: var(--display); font-size: 22px; margin-top: 4px; }
.contact-info .row .v a:hover { color: var(--gold-deep); }
.notice { font-size: 13px; color: var(--sand); margin-top: 14px; }

/* Personal contact methods */
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); max-width: 860px; margin: 0 auto; }
@media (max-width: 640px) { .contact-methods { grid-template-columns: 1fr; } }
.cm {
  display: grid; gap: 6px; align-content: center;
  border: 1px solid var(--leinen); border-radius: 6px; background: var(--creme);
  padding: clamp(26px, 4vw, 42px); position: relative; transition: border-color 0.3s, transform 0.3s;
}
.cm:hover { border-color: var(--gold); transform: translateY(-3px); }
.cm .k { font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--sand); }
.cm .v { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; }
.cm .arr { position: absolute; top: clamp(22px,3.4vw,34px); right: clamp(22px,3.4vw,34px); color: var(--gold-deep); font-size: 20px; transition: transform 0.3s; }
.cm:hover .arr { transform: translateX(6px); }

/* ---------- Unique editorial / analog details ---------- */
/* Film grain overlay */
.grain {
  position: fixed; inset: -15%; z-index: 80; pointer-events: none; opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: grain-shift 1.1s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); }
  50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,2%); } 100% { transform: translate(0,0); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* Vertical editorial side label */
.edge-label {
  position: fixed; left: 16px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; z-index: 40; pointer-events: none;
  font-family: var(--sans); font-weight: 400; font-size: 10px; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--sand);
  display: flex; align-items: center; gap: 22px;
}
.edge-label::after { content: ""; width: 1px; height: 54px; background: var(--gold); }
@media (max-width: 1180px) { .edge-label { display: none; } }

/* Gold scroll progress */
.scroll-prog { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--gold); z-index: 90; transition: width 0.08s linear; }

/* Sticky "Schreib mir" note (right edge) */
.sticky-note {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  transition: transform 0.32s cubic-bezier(0.2,0.7,0.2,1);
}
.sticky-note:hover { transform: translateY(-50%) translateX(-5px); }
.sticky-note a {
  display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--paper);
  padding: 22px 14px;
  border-radius: 8px 0 0 8px;
  text-decoration: none;
  font-family: var(--sans); font-size: 10px; font-weight: 400;
  letter-spacing: 0.36em; text-transform: uppercase;
  writing-mode: vertical-rl;
  box-shadow: -4px 0 22px rgba(29,26,22,0.14);
  transition: background 0.28s;
}
.sticky-note a:hover { background: var(--gold-deep); }
.sticky-note .sn-bar { width: 1px; height: 36px; background: var(--gold); display: block; flex-shrink: 0; }
@media (max-width: 1180px) { .sticky-note { display: none; } }

/* Hero slideshow */
.figure[data-slideshow] img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease, transform 0.8s cubic-bezier(0.2,0.7,0.2,1);
}
.figure[data-slideshow] img.s-active { opacity: 1; }
/* Hover zoom: only on the active slide */
.figure[data-slideshow]:hover img { transform: none; }
.figure[data-slideshow]:hover img.s-active { transform: scale(1.045); }

