/* Fotostudio Dom — stylesheet. Gallery white cube: whitespace, museum labels, framed photos. */

:root {
  --plum: #3c2233;
  --plum-deep: #241a22;
  --blush: #e7c3c9;
  --blush-soft: #f4e3e3;
  --gold: #c9a24a;
  --paper: #faf6f2;
  --ink: #221b1f;
  --line: #d9cfc9;
  --radius: 2px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Courier New", monospace;
  --gap: clamp(1rem, 2vw, 2rem);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; }
p { margin: 0 0 1em; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--plum); color: #fff; padding: .5rem 1rem; z-index: 999; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.grid { display: grid; gap: var(--gap); }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 100% 0); transition: opacity .7s ease, transform .7s ease, clip-path .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0% 0); }
.reveal--1.in-view { transition-delay: .05s; }
.reveal--2.in-view { transition-delay: .15s; }
.reveal--3.in-view { transition-delay: .25s; }
.reveal--4.in-view { transition-delay: .35s; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,246,242,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--maxw); margin: 0 auto; padding: .8rem clamp(1rem, 4vw, 3rem); display: flex; align-items: center; gap: clamp(1rem,3vw,3rem); }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--plum-deep); flex-shrink: 0; }
.logo__mark { color: var(--plum-deep); flex-shrink: 0; }
.logo__word { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .02em; }
.logo__word em { font-style: italic; color: var(--gold); }
.logo__word--footer { color: var(--paper); font-size: 1.4rem; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; justify-content: center; }
.main-nav a { text-decoration: none; font-size: .92rem; letter-spacing: .03em; text-transform: uppercase; position: relative; padding-bottom: .3rem; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--plum); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link { position: relative; display: inline-flex; color: var(--plum-deep); text-decoration: none; }
.cart-count { position: absolute; top: -8px; right: -10px; background: var(--gold); color: #241a0c; font-size: .68rem; font-weight: 700; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.cart-count--bump { animation: bump .4s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.burger { display: none; background: none; border: 0; cursor: pointer; color: var(--plum-deep); min-width: 44px; min-height: 44px; }

.mobile-menu { position: fixed; inset: 0; background: var(--plum-deep); color: var(--paper); transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s ease; z-index: 100; padding: 2rem; }
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu ul { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu a { color: var(--paper); text-decoration: none; font-family: var(--font-display); font-size: 1.6rem; }
.mobile-menu__close { position: absolute; top: 1.2rem; right: 1.2rem; background: none; border: 0; color: var(--paper); cursor: pointer; min-width: 44px; min-height: 44px; }

@media (max-width: 760px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3rem,8vw,7rem) 0 clamp(2rem,6vw,4rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,4vw,4rem); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: 1.02; margin: 0 0 1rem; }
.hero__title .wipe { display: inline-block; clip-path: inset(0 100% 0 0); animation: wipe 1.1s .2s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.hero__lede { font-size: 1.15rem; max-width: 34ch; color: #4a3a42; }
.hero__actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hero__visual { position: relative; aspect-ratio: 4/5; }
.hero__frame { position: absolute; inset: 0; border: 10px solid #fff; box-shadow: 0 25px 50px -20px rgba(36,26,34,.4); overflow: hidden; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; bottom: -18px; left: -18px; background: var(--gold); color: var(--plum-deep); }
.hero__ornament { position: absolute; top: -40px; right: -60px; width: 220px; height: 220px; color: var(--blush); z-index: -1; }
@media (max-width: 820px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { max-width: 380px; margin: 0 auto; } }

/* ---------- museum label ---------- */
.label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: .5rem; }
.label::before { content: ""; width: 20px; height: 1px; background: var(--gold); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: var(--radius); border: 1px solid transparent; font-size: .9rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer; min-height: 44px; position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: currentColor; opacity: .12; transition: left .35s ease; z-index: -1; }
.btn:hover::before { left: 0; }
.btn--primary { background: var(--plum-deep); color: var(--paper); }
.btn--primary:hover { background: var(--plum); }
.btn--gold { background: var(--gold); color: var(--plum-deep); }
.btn--outline { border-color: var(--plum-deep); color: var(--plum-deep); background: transparent; }
.btn--ghost { background: transparent; border-color: rgba(250,246,242,.5); color: var(--paper); }
.btn--sm { padding: .5rem 1rem; font-size: .78rem; min-height: 38px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- light picker (signature feature) ---------- */
.light-picker { background: var(--plum-deep); color: var(--paper); border-radius: var(--radius); padding: clamp(1.8rem,4vw,3rem); position: relative; overflow: hidden; }
.light-picker__tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.5rem 0; }
.light-picker__tab { background: transparent; border: 1px solid rgba(250,246,242,.35); color: var(--paper); padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer; font-size: .85rem; min-height: 44px; transition: background .25s, border-color .25s; }
.light-picker__tab:hover { border-color: var(--gold); }
.light-picker__tab.is-active { background: var(--gold); color: var(--plum-deep); border-color: var(--gold); font-weight: 600; }
.light-picker__result { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; background: rgba(250,246,242,.06); border: 1px solid rgba(250,246,242,.18); border-radius: var(--radius); padding: 1.4rem; margin-top: .5rem; }
.light-picker__swatch { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; transition: background .4s ease; }
.light-picker__result h3 { color: var(--gold); font-size: 1.1rem; margin-bottom: .3rem; }
.light-picker__result p { margin: 0; font-size: .92rem; color: #e4d8dc; }
@media (max-width: 500px) { .light-picker__result { grid-template-columns: 1fr; text-align: center; } .light-picker__swatch { margin: 0 auto; } }

/* ---------- product strip / cards ---------- */
.product-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: var(--gap); }
.product-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.product-card__media { aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card__cat { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.product-card__title { font-family: var(--font-display); font-size: 1.15rem; }
.product-card__price { margin-top: auto; font-weight: 600; }
@media (max-width: 680px) {
  .product-strip--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: .5rem; }
  .product-strip--scroll .product-card { min-width: 240px; scroll-snap-align: start; }
}

/* ---------- dividers / ornaments ---------- */
.divider { width: 100%; height: 48px; color: var(--blush); }
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .05; mix-blend-mode: multiply; z-index: 1; }

/* ---------- about / place strip ---------- */
.band { background: var(--blush-soft); }
.band-dark { background: var(--plum-deep); color: var(--paper); }

/* ================= component library for inner pages ================= */

.page-hero { background: var(--blush-soft); padding: clamp(3rem,6vw,5rem) 0 clamp(2rem,4vw,3rem); text-align: left; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p { max-width: 60ch; margin-top: .8rem; color: #4a3a42; }

.breadcrumbs { list-style: none; display: flex; gap: .4rem; padding: 1rem 0 0; margin: 0; font-size: .8rem; color: #6e5b64; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; }
.breadcrumbs a { text-decoration: underline; }

.prose { max-width: 70ch; line-height: 1.75; }
.prose h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6rem; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose a { text-decoration: underline; }

.legal-toc { background: #fff; border: 1px solid var(--line); padding: 1.2rem 1.4rem; max-width: 70ch; }
.legal-toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; }

.notice { border: 1px solid var(--gold); background: #fdf7ea; padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .92rem; }
.notice--info { border-color: #7f9bb0; background: #eef3f6; }
.notice--error { border-color: #b05454; background: #fbecec; }

.form-grid { display: grid; gap: 1.1rem; max-width: 640px; }
.form-grid--2col { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .85rem; letter-spacing: .02em; }
.field input, .field textarea, .field select { font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; accent-color: var(--gold); min-height: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field-error { color: #a53b3b; font-size: .8rem; min-height: 1.1em; }
.field-row { display: flex; gap: .6rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: .85rem; min-height: 1.2em; margin-top: .5rem; }
.form-msg--ok { color: #2f6b3f; }
.form-msg--error { color: #a53b3b; }

.faq { max-width: 70ch; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { border: 1px solid var(--line); background: #fff; padding: .2rem 1.2rem; }
.faq-item summary { padding: 1rem 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 1rem; color: #4a3a42; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.product-detail__media { aspect-ratio: 4/3; overflow: hidden; border: 10px solid #fff; box-shadow: 0 20px 40px -24px rgba(36,26,34,.4); }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.8rem; font-family: var(--font-display); color: var(--plum); }
.product-detail__meta { display: flex; gap: 1rem; flex-wrap: wrap; margin: .8rem 0; font-size: .85rem; color: #6e5b64; }
.product-detail__bullets { padding-left: 1.2rem; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: .9rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; }
.cart-qty { width: 60px; padding: .4rem; border: 1px solid var(--line); min-height: 40px; }
.cart-summary { max-width: 360px; margin-left: auto; background: #fff; border: 1px solid var(--line); padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.cart-summary__row { display: flex; justify-content: space-between; }
.cart-summary__total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: #6e5b64; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info__item { display: flex; gap: .7rem; align-items: flex-start; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--plum-deep); color: var(--paper); padding: clamp(3rem,6vw,5rem) 0 1.5rem; margin-top: 4rem; }
.site-footer__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem,4vw,3rem); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--gap); }
.footer-brand p { color: #c9bcc2; max-width: 32ch; }
.footer-pin { display: flex; align-items: center; gap: .4rem; color: #c9bcc2; }
.footer-col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { text-decoration: none; color: #e4d8dc; }
.footer-col a:hover { text-decoration: underline; }
.footer-email { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; }
.footer-email a { color: var(--gold); text-decoration: none; }
.site-footer__bottom { max-width: var(--maxw); margin: 2.5rem auto 0; padding: 1.2rem clamp(1rem,4vw,3rem) 0; border-top: 1px solid rgba(250,246,242,.15); font-size: .8rem; color: #a897a0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 560px; margin: 0 auto; background: var(--plum-deep); color: var(--paper); padding: 1.2rem 1.4rem; border-radius: var(--radius); box-shadow: 0 20px 40px -16px rgba(0,0,0,.4); z-index: 200; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-banner p { margin: 0; font-size: .85rem; flex: 1 1 260px; color: #e4d8dc; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; }

/* ================================================================
   COMPONENTS: .class - what it is
   .page-hero - inner-page hero band with title and intro text
   .breadcrumbs - small trail of links above page title
   .prose - long-form legal/text content with readable measure
   .legal-toc - boxed table of contents for legal pages
   .notice / .notice--info / .notice--error - callout boxes
   .form-grid / .form-grid--2col - layout grid for forms
   .field / .field-error - labeled form control wrapper + error text
   .field-row - inline input+button row (e.g. newsletter)
   .hp-field - visually hidden honeypot input
   .form-msg / .form-msg--ok / .form-msg--error - inline form feedback
   .faq / .faq-item - details/summary accordion list
   .product-detail / .product-detail__media / __price / __meta / __bullets - product page layout
   .cart-table / .cart-qty / .cart-summary / .cart-empty - cart & checkout layout
   .contact-layout / .contact-info / .contact-info__item - contact page split layout
   .product-strip / .product-card - catalog grid of service cards
   .product-strip--scroll - horizontal scroll-snap variant on mobile
   .light-picker / .light-picker__tabs / __tab / __result / __swatch - signature mood-light feature
   .hero / .hero__grid / __title / __lede / __actions / __visual / __frame / __badge / __ornament - home hero
   .label - small museum-style caption label
   .btn / .btn--primary / .btn--gold / .btn--outline / .btn--ghost / .btn--sm - buttons
   .band / .band-dark - full-width color section wrappers
   .divider - decorative SVG section divider
   .grain-overlay - fixed full-viewport texture overlay
   .reveal / .in-view / .reveal--1..4 - scroll reveal animation hooks
   .site-header / .main-nav / .mobile-menu / .burger / .cart-link / .cart-count - header & nav
   .site-footer / .footer-col / .footer-brand / .footer-newsletter - footer
   .cookie-banner - cookie consent bar
   .wrap / .grid / .section - layout helpers
   ================================================================ */

/* ---------- newsletter form ---------- */
.newsletter-form { display: flex; flex-direction: column; gap: .8rem; }

/* ---------- product detail actions ---------- */
.product-detail__actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; align-items: center; }

@media (max-width: 500px) {
  .product-detail__actions { flex-direction: column; align-items: stretch; }
}

/* wg-contrast-autofix */
section.hero div.wrap.hero__grid div p.label { color: #111111 !important; }
#main section.section div.wrap p.label.reveal { color: #111111 !important; }
#main section.section.band div.wrap p.label.reveal { color: #111111 !important; }
#main section.section.band-dark div.wrap p.label.reveal { color: #ffffff !important; }
div.product-strip.product-strip--scroll a.product-card.reveal div.product-card__body span.product-card__cat { color: #111111 !important; }
.cookie-banner p { color: #ffffff !important; }
.footer-pin { color: #ffffff !important; }
section.section div.wrap.grid div.reveal p.label { color: #111111 !important; }
section.hero div.wrap.hero__grid div.hero__visual span.label.hero__badge { color: #ffffff !important; }
