/* Johanna Stöber Fotografie — Demo */


:root {
  --linen: #faf7f2;
  --sand: #f1ebe0;
  --sand-deep: #e6dccb;
  --hair: #e4dccd;
  --ink: #221d17;
  --ink-2: #4a423a;
  --ink-3: #6f665b;
  --moss: #4d5a3a;
  --moss-deep: #3c472d;
  --moss-tint: #e8ecdd;
  --white: #fff;

  --serif: "Caslon Display", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --nav-h: 72px;

  /* Knobs the admin can turn (server/design.js writes these over the defaults) */
  --h-scale: 1; --t-scale: 1; --space: 1; --car: 1; --veil: .46;
  --head: var(--ink); --h-track: 0em; --btn-r: 999px; --img-r: 0px;   /* set from the admin (server/design.js) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--linen); color: var(--ink-2);
  font: 400 calc(1.0625rem * var(--t-scale))/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--moss);
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
::selection { background: var(--moss); color: var(--linen); }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .hero :focus-visible, .cover :focus-visible { outline-color: #fff; }

* { scrollbar-width: thin; scrollbar-color: var(--sand-deep) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--sand-deep); border-radius: 10px; border: 2px solid var(--linen); }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--linen); padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--head); margin: 0; text-wrap: balance; }
h2 { font-size: calc(clamp(2.1rem, 4.6vw, 3.9rem) * var(--h-scale)); line-height: 1.06; letter-spacing: calc(-.012em + var(--h-track)); }
h3 { font-size: calc(clamp(1.45rem, 2.2vw, 1.85rem) * var(--h-scale)); line-height: 1.15; letter-spacing: var(--h-track); }
p { margin: 0; text-wrap: pretty; }
.caps { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.lede { font-size: calc(clamp(1.1rem, 1.5vw, 1.28rem) * var(--t-scale)); line-height: 1.65; color: var(--ink-2); max-width: 46ch; }
/* The signature is her logo, shipped as coloured PNGs (no CSS masks: they would be blocked on file://) */
.logo-img { display: block; width: 100%; height: auto; }
.brand .b-w { color: #fff; } .brand .b-i { color: var(--ink); }
/* the logo is written on stroke by stroke (logo.js): each pen stroke is drawn along its own path, left to right */
.lg-pen path { stroke-dasharray: 1 2; animation: lg-draw var(--dur) var(--t) cubic-bezier(.32,.04,.42,1) both; }
@keyframes lg-draw { from { stroke-dashoffset: var(--o); opacity: 0; } 1% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
.drawn .lg-pen path { animation: none; stroke-dasharray: none; opacity: 1; }
.hero h1 > img { visibility: hidden; } .no-js .hero h1 > img { visibility: visible; }

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

/* Icons */
.i { display: block; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

span[data-i] { display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 48px; padding: 0 1.7em; border-radius: var(--btn-r); border: 1px solid var(--ink);
  background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
  font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--linen); }
.btn:active { transform: scale(.98); }
.btn-moss { background: var(--moss); border-color: var(--moss); color: #fff; }
.btn-moss:hover { background: var(--moss-deep); border-color: var(--moss-deep); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: progress; }

/* Header */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; color: #fff;
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.solid, .nav.always {
  background: color-mix(in srgb, var(--linen) 88%, transparent); color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--hair);
}
.brand { display: block; width: clamp(150px, 14vw, 190px); text-decoration: none; transition: opacity .5s var(--ease); }
.brand .b-i { display: none; }
.nav.solid .brand .b-w, .nav.always .brand .b-w, .nav.open .brand .b-w { display: none; }
.nav.solid .brand .b-i, .nav.always .brand .b-i, .nav.open .brand .b-i { display: block; }
body:not(.intro-done) .nav:not(.solid):not(.always) .brand { opacity: 0; pointer-events: none; }
.nav ul { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); list-style: none; margin: 0; padding: 0; }
.nav a:not(.brand):not(.btn) { text-decoration: none; position: relative; padding: 6px 0; }
.nav a:not(.brand):not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:not(.brand):not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .pill { border: 1px solid currentColor; border-radius: var(--btn-r); padding: 9px 18px !important; transition: background .35s var(--ease), color .35s var(--ease); }
.nav .pill::after { display: none; }
.nav .pill:hover { background: #fff; color: var(--ink); border-color: #fff; }
.nav.solid .pill:hover, .nav.always .pill:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn .i { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav ul {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--linen); color: var(--ink); padding: 8px var(--gutter) 28px; box-shadow: 0 30px 40px -30px rgba(40,25,5,.35);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s;
  }
  .nav.open ul { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease); }
  .nav.open { background: var(--linen); color: var(--ink); }
  .nav.open .brand { opacity: 1; pointer-events: auto; }
  .nav ul li { width: 100%; border-bottom: 1px solid var(--hair); }
  .nav ul li:last-child { border: 0; padding-top: 18px; }
  .nav ul a:not(.pill) { display: block; padding: 16px 0 !important; font-family: var(--serif); font-size: 1.7rem; }
  .nav .pill { display: inline-block; font-size: .8rem; }
}

/* Hero */
.hero { position: relative; min-height: 640px; height: 100svh; max-height: 1100px; overflow: hidden; color: #fff; isolation: isolate; background: #2b2820; }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; z-index: -2; animation: settle 4.5s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to bottom, rgba(28,20,8,.34) 0, rgba(28,20,8,0) 24%, rgba(28,20,8,.04) 58%, rgba(28,20,8,.55) 100%); }
.hero-inner { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; padding: var(--nav-h) var(--gutter) 40px; }
.hero .veil { position: absolute; inset: 0; z-index: -1; background: rgba(24,16,6,var(--veil)); transition: opacity 2s var(--ease); }
.intro-done .hero .veil { opacity: 0; }
.hero h1 {
  width: clamp(290px, 54vw, 780px); color: #fff; filter: drop-shadow(0 2px 30px rgba(30,18,4,.35));
  transition: opacity 1.4s var(--ease), transform 2s var(--ease);
}
.intro-done .hero h1 { opacity: 0; transform: translateY(-14px) scale(1.04); }
.hero .tag { position: absolute; left: var(--gutter); bottom: clamp(30px, 6vh, 56px); max-width: 30ch; text-align: left; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.5; opacity: 0; animation: rise 1.4s 1.8s var(--ease) forwards; text-shadow: 0 1px 18px rgba(30,18,4,.6); }
.cue { position: absolute; left: 50%; bottom: 22px; width: 44px; margin-left: -22px; display: flex; flex-direction: column; align-items: center; padding: 4px 0; opacity: 0; animation: rise 1s 2.6s var(--ease) forwards; }
.cue-l { position: relative; display: block; width: 1px; height: 46px; background: rgba(255,255,255,.35); overflow: hidden; }
.cue-l::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 20px; background: #fff; animation: cue 2.2s 3s var(--ease) infinite; }
/* small chevron at the foot of the line, so it reads as "scroll down" */
.cue-a { display: block; width: 9px; height: 9px; margin-top: -6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); animation: nudge 2.2s 3s var(--ease) infinite; }
.cue:hover .cue-a { border-color: rgba(255,255,255,.7); }

@keyframes settle { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: translateY(-22px); } 70%, 100% { transform: translateY(48px); } }
@keyframes nudge { 0%, 55% { transform: translateY(0) rotate(45deg); } 75% { transform: translateY(4px) rotate(45deg); } 100% { transform: translateY(0) rotate(45deg); } }

/* Sections */
section { position: relative; }
.pad { padding-block: calc(clamp(84px, 11vw, 168px) * var(--space)); }

/* Showcase */
.work { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(70px, 9vw, 130px); overflow: hidden; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(34px, 4vw, 56px); }
.work-head p { margin-top: 18px; max-width: 44ch; color: var(--ink-3); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  background: transparent; border: 1px solid transparent; color: var(--ink-3); border-radius: var(--btn-r); min-height: 40px; padding: 0 16px; cursor: pointer;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; transition: color .3s, border-color .3s, background .3s;
}
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }

.car { position: relative; }
.track {
  display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  padding: 8px calc(50vw - min(44vw, 330px)) 40px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.track.dragging { cursor: grabbing; scroll-snap-type: none; }
.track.dragging .slide { pointer-events: none; }
.slide {
  --h: calc(clamp(340px, 66vh, 640px) * var(--car)); position: relative;
  flex: none; scroll-snap-align: center; margin: 0; background: var(--white); padding: clamp(6px, .9vw, 12px);
  width: min(88vw, calc(var(--h) * var(--ar))); box-shadow: 0 1px 0 rgba(60,40,10,.05), 0 30px 50px -34px rgba(70,45,10,.5);
  transition: transform .8s var(--ease), opacity .8s var(--ease), filter .8s var(--ease);
  transform: scale(.9); opacity: .5; filter: saturate(.8);
}
.slide.on { transform: none; opacity: 1; filter: none; }
.slide { border-radius: var(--img-r); } .slide button { border-radius: calc(var(--img-r) * .6); }
.slide button { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; aspect-ratio: var(--ar); overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); -webkit-user-drag: none; user-select: none; }
.slide:hover img { transform: scale(1.025); }
.slide figcaption { position: absolute; left: 4px; top: 100%; padding-top: 12px; font-size: .86rem; color: var(--ink-3); white-space: nowrap; opacity: 0; transition: opacity .6s var(--ease); display: flex; gap: 14px; }
.slide.on figcaption { opacity: 1; }
.slide figcaption b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); }

.car-ctl { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--hair); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.arrow:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.arrow:active { transform: scale(.94); }
.arrow[disabled] { opacity: .3; pointer-events: none; }
.count { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); min-width: 4.4em; text-align: center; font-variant-numeric: tabular-nums; }
.count span { color: var(--ink-3); }

/* Statement */
.statement { background: var(--sand); overflow: hidden; }
.statement .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.statement q { quotes: none; display: block; font-family: var(--serif); font-size: calc(clamp(2.2rem, 5.2vw, 4.6rem) * var(--h-scale)); line-height: 1.07; color: var(--head); letter-spacing: calc(-.014em + var(--h-track)); text-wrap: balance; }
.statement .sign { margin-top: 38px; width: clamp(170px, 18vw, 230px); color: var(--moss); }
.collage { position: relative; height: clamp(420px, 52vw, 700px); }
.collage figure { position: absolute; margin: 0; background: #fff; padding: clamp(5px, .7vw, 9px); box-shadow: 0 1px 0 rgba(60,40,10,.05), 0 34px 50px -30px rgba(70,45,10,.55); will-change: transform; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--img-r) * .6); }
.collage figure { border-radius: var(--img-r); }
.collage .c1 { left: 0; top: 4%; width: 46%; aspect-ratio: 2/3; }
.collage .c2 { right: 0; top: 0; width: 44%; aspect-ratio: 4/5; }
.collage .c3 { left: 28%; bottom: 0; width: 46%; aspect-ratio: 3/2; }

/* About */
.about .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.portrait { margin: 0; }
.portrait .frame { background: #fff; padding: clamp(8px, 1vw, 14px); box-shadow: 0 1px 0 rgba(60,40,10,.05), 0 40px 60px -38px rgba(70,45,10,.55); }
.portrait img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 78%; border-radius: calc(var(--img-r) * .6); }
.portrait .frame { border-radius: var(--img-r); }
.portrait figcaption { margin-top: 14px; font-size: .8rem; color: var(--ink-3); }
.about h2 { margin-bottom: 30px; }
.about .copy { display: grid; gap: 22px; max-width: 54ch; }
.about .links { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Leistungen */
.services { border-top: 1px solid var(--hair); }
.services h2 { max-width: 14ch; margin-bottom: clamp(44px, 6vw, 84px); }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.svc figure { margin: 0 0 24px; background: #fff; padding: clamp(5px, .7vw, 9px); box-shadow: 0 1px 0 rgba(60,40,10,.05), 0 30px 46px -32px rgba(70,45,10,.5); }
.svc figure img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc article:hover figure img { transform: scale(1.03); }
.svc figure { overflow: hidden; border-radius: var(--img-r); }
.svc figure img { border-radius: calc(var(--img-r) * .6); }
.svc h3 { margin-bottom: 14px; }
.svc p { color: var(--ink-3); max-width: 34ch; }
.services .more { margin-top: clamp(40px, 5vw, 70px); color: var(--ink-3); max-width: 52ch; }


/* Delivery teaser */
.delivery { background: var(--moss-deep); color: #e9eddc; overflow: hidden; }
.delivery h2 { color: #fff; }
.delivery .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.delivery p { color: #d7dfc6; max-width: 44ch; margin-top: 24px; }
.delivery ul { list-style: none; padding: 0; margin: 30px 0 40px; display: grid; gap: 12px; color: #fff; }
.delivery li { display: flex; gap: 14px; align-items: center; }
.delivery li .i { color: #c6d4a8; }
.mock { background: var(--linen); border-radius: 6px; box-shadow: 0 50px 80px -40px rgba(8,14,2,.7); color: var(--ink); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--hair); background: var(--sand); font-size: .84rem; color: var(--ink-3); }
.mock-bar .i { width: 15px; height: 15px; }
.mock-bar span { background: var(--linen); border-radius: 999px; padding: 5px 14px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-cover { position: relative; aspect-ratio: 16/6.4; background: #3a342a; color: #fff; display: grid; place-items: center; text-align: center; }
.mock-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.mock-cover b { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.mock-grid { display: flex; gap: 6px; padding: 14px; }
.mock-grid div { position: relative; flex: var(--f); height: clamp(90px, 11vw, 150px); overflow: hidden; background: var(--sand); }
.mock-grid img { width: 100%; height: 100%; object-fit: cover; }
.mock-grid .i { position: absolute; right: 8px; bottom: 8px; width: 18px; height: 18px; color: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,.5)); }
.mock-grid .fav { fill: #fff; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; padding: 4px 16px 18px; font-size: .84rem; color: var(--ink-3); }
.mock-foot em { font-style: normal; background: var(--moss); color: #fff; border-radius: 999px; padding: 7px 16px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }

/* Contact */
.contact .grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact h2 { margin-bottom: 26px; }
.contact .direct { margin-top: 44px; display: grid; gap: 14px; }
.contact .direct a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.08rem; color: var(--ink); width: fit-content; border-bottom: 1px solid var(--hair); padding-bottom: 5px; transition: border-color .3s; }
.contact .direct a:hover { border-color: var(--ink); }
form { display: grid; gap: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--sand-deep); border-radius: 0; padding: 10px 0 12px; outline: 0; transition: border-color .3s; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236f665b' stroke-width='1.5'%3E%3Cpath d='m2 5 5 5 5-5'/%3E%3C/svg%3E") right 2px center no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #756c60; opacity: 1; }
.field .err { display: none; color: #9a3b24; font-size: .88rem; }
.field.bad .err { display: block; }
.field.bad input, .field.bad textarea { border-color: #9a3b24; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--moss); box-shadow: 0 2px 0 var(--moss); }
.hp { position: absolute; left: -9999px; }
.fine { font-size: .84rem; color: var(--ink-3); max-width: 52ch; }
.form-ok { display: none; border: 1px solid var(--moss); background: var(--moss-tint); color: var(--moss-deep); padding: 22px 24px; border-radius: 4px; }
.form-ok.show { display: block; animation: rise .7s var(--ease); }

/* Footer */
.foot { border-top: 1px solid var(--hair); padding-block: 56px 44px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
.foot .brand-foot { display: block; width: 210px; color: var(--ink); }
.foot nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: .92rem; }
.foot nav a { text-decoration: none; color: var(--ink-3); }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot small { display: block; width: 100%; color: var(--ink-3); font-size: .8rem; margin-top: 14px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateY(44px); filter: blur(7px); transition: opacity 1.3s var(--ease), transform 1.5s var(--ease), filter 1.3s var(--ease); transition-delay: var(--d, 0s); }
.rv-l.in { opacity: 1; transform: none; filter: none; }
.no-js .rv, .no-js .rv-l { opacity: 1; transform: none; filter: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--linen) 97%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; touch-action: pan-y; }
.lb.open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.lb-top, .lb-bot { display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(14px, 3vw, 36px); gap: 16px; }
.lb-title { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-stage { --pad: clamp(8px, 7vw, 110px); position: relative; min-height: 0; overflow: hidden; }
/* absolutely placed so the stage's height, not the file's size, limits the picture */
.lb-stage img { position: absolute; inset: 0 var(--pad); margin: auto; max-width: calc(100% - 2 * var(--pad)); max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 70px -36px rgba(60,40,10,.55); transition: opacity .5s var(--ease), transform .6s var(--ease); background: var(--sand); }
.lb-stage img.swap { opacity: 0; transform: scale(.985); }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .3s, color .3s, transform .3s var(--ease); }
.lb-btn:hover { background: var(--sand); }
.lb-btn:active { transform: scale(.92); }
.lb-btn .i { width: 24px; height: 24px; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; }
.lb-prev { left: clamp(2px, 1.4vw, 24px); } .lb-next { right: clamp(2px, 1.4vw, 24px); }
.lb-count { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: .92rem; }
.lb-acts { display: flex; gap: 6px; align-items: center; }
.heart-on { color: #b3472f; } .heart-on .i, .heart-on svg { fill: currentColor; }
@media (max-width: 640px) { .lb-nav { display: none; } .lb-stage { --pad: 10px; } }
@media (hover: none) { .lb-hint { display: none; } }

/* Gallery page */
.demo-note { background: var(--moss-tint); color: var(--moss-deep); font-size: .88rem; padding: 10px var(--gutter); display: flex; gap: 16px; justify-content: center; align-items: center; text-align: center; margin-top: var(--nav-h); }
.demo-note button { background: none; border: 0; cursor: pointer; padding: 6px; opacity: .7; } .demo-note button:hover { opacity: 1; }
.cover { position: relative; min-height: min(78vh, 700px); color: #fff; display: grid; place-items: end center; text-align: center; overflow: hidden; isolation: isolate; padding: 70px var(--gutter) clamp(44px, 6vw, 80px); background: #3a342a; text-shadow: 0 1px 24px rgba(30,18,4,.55); }
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -2; animation: settle 4s var(--ease) both; }
.cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(28,20,8,.18), rgba(28,20,8,0) 30%, rgba(28,20,8,.22) 55%, rgba(28,20,8,.7)); }
.cover h1 { font-size: clamp(3.4rem, 10vw, 8.6rem); line-height: .98; letter-spacing: -.018em; color: #fff; text-shadow: 0 2px 40px rgba(30,18,4,.35); animation: rise 1.4s .3s var(--ease) both; }
.cover .meta { margin-top: 26px; animation: rise 1.4s .55s var(--ease) both; }
.cover .by { color: #fff; margin: 22px auto 0; width: clamp(200px, 24vw, 280px); opacity: .95; animation: rise 1.4s .8s var(--ease) both; filter: drop-shadow(0 1px 14px rgba(30,18,4,.5)); }
.hello { padding-block: clamp(56px, 7vw, 96px) 40px; text-align: center; }
.hello p { max-width: 54ch; margin-inline: auto; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.6; color: var(--ink); font-family: var(--serif); }
.hello .exp { margin-top: 22px; display: inline-flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--ink-3); }
.bar { position: sticky; top: var(--nav-h); z-index: 30; background: color-mix(in srgb, var(--linen) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--hair); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; padding-block: 10px; flex-wrap: wrap; }
.bar .left { display: flex; align-items: center; gap: 18px; }
.bar .n { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--btn-r); border: 1px solid var(--hair); background: transparent; cursor: pointer; font-size: .84rem; transition: border-color .3s, background .3s; }
.toggle:hover { border-color: var(--ink-3); }
.toggle[aria-pressed="true"] { border-color: #b3472f; background: #fbeee9; color: #8f3420; }
.toggle[aria-pressed="true"] .i { fill: #b3472f; stroke: #b3472f; }
.bar .right { display: flex; gap: 10px; align-items: center; }
.btn-sm { min-height: 44px; padding: 0 1.3em; font-size: .76rem; }
.zip-prog { position: relative; overflow: hidden; }
.zip-prog::before { content: ""; position: absolute; inset: 0; background: var(--moss-deep); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .25s linear; }
.zip-prog > * { position: relative; }

.jg { padding-block: clamp(26px, 3vw, 44px) 80px; }
.jg-row { display: flex; gap: 6px; margin-bottom: 6px; }
.ph { position: relative; margin: 0; overflow: hidden; border-radius: calc(var(--img-r) * .5); background: var(--sand); cursor: zoom-in; flex: none; }
.ph .open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ph .acts { z-index: 2; pointer-events: none; }
.ph .acts button { pointer-events: auto; }
.ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: blur(14px); transform: scale(1.04); transition: opacity .9s var(--ease), filter 1.2s var(--ease), transform 1.4s var(--ease); }
.ph.ld img { opacity: 1; filter: none; transform: none; }
.ph:hover img { transform: scale(1.03); }
.ph .shade { position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(to top, rgba(20,14,4,.5), transparent); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.ph:hover .shade, .ph:focus-within .shade { opacity: 1; }
.ph .acts { position: absolute; inset: auto 8px 8px 8px; display: flex; justify-content: space-between; align-items: center; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ph:hover .acts, .ph:focus-within .acts { opacity: 1; transform: none; }
.ph .acts button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; filter: drop-shadow(0 1px 6px rgba(0,0,0,.45)); transition: transform .3s var(--ease); }
.ph .acts button:hover { transform: scale(1.12); }
.ph .acts .i { width: 22px; height: 22px; }
.ph.fav .acts { opacity: 1; transform: none; }
.ph.fav .acts .hb .i { fill: #ff7a5f; stroke: #ff7a5f; }
.ph.fav .acts .dl { opacity: 0; } .ph.fav:hover .acts .dl { opacity: 1; }
@media (hover: none) { .ph .acts, .ph .shade { opacity: 1; transform: none; } .ph .acts .dl { opacity: 1 !important; } }
.empty { display: none; text-align: center; padding: 80px 0; color: var(--ink-3); }
.empty.show { display: block; }

.toast { position: fixed; left: 50%; bottom: 26px; translate: -50% 20px; background: var(--ink); color: var(--linen); padding: 13px 22px; border-radius: 999px; font-size: .92rem; opacity: 0; pointer-events: none; z-index: 300; transition: opacity .4s var(--ease), translate .5s var(--ease); display: flex; gap: 10px; align-items: center; width: max-content; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; translate: -50% 0; }

.thanks { text-align: center; padding-block: clamp(70px, 9vw, 130px); border-top: 1px solid var(--hair); }
.thanks h2 { color: var(--moss); }
.thanks p { max-width: 46ch; margin: 16px auto 0; color: var(--ink-3); }

/* Responsive */
@media (max-width: 960px) {
  .statement .grid, .about .grid, .delivery .grid, .contact .grid { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 460px; }
  .svc { grid-template-columns: 1fr; gap: 36px; }
  .svc p { max-width: 52ch; }
  .collage { height: min(110vw, 620px); margin-top: 24px; }
}
@media (max-width: 700px) { .cue { display: none; } }
@media (max-width: 560px) {
  .hero picture img { object-position: 50% 30%; }
  .lbl-long { display: none; }
  .bar .n { display: none; }
  .bar .wrap { flex-wrap: nowrap; gap: 8px; }
  .bar .right { gap: 8px; }
  .btn-sm { padding: 0 1.05em; letter-spacing: .1em; }
  .ph .acts button { width: 40px; height: 40px; }
  .ph.sm .acts .dl { display: none; }
  .cover > img { object-position: 46% 30%; }
  .row2 { grid-template-columns: 1fr; }
  .bar .wrap { padding-block: 8px; }
  .btn-sm .lbl-long { display: none; }
  .jg { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero .tag, .cue { opacity: 1; }
  .rv, .rv-l { opacity: 1; transform: none; filter: none; }
}
