/* FOTO ANNA — public site. Plain CSS, no build step.
   Direction: Squarespace-style — white canvas, big light type, full-bleed imagery,
   square-cornered buttons, content carried by whitespace instead of boxes. */

:root {
  --paper: #ffffff;
  --ink: #171717;
  --muted: #62625f;
  --line: #e4e4e1;
  --panel: #f4f4f2;
  --accent: #b4530a;        /* the orange mask of colour negative film */
  --accent-dark: #8f4108;
  --font: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.1875rem; }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.section { padding-block: clamp(64px, 10vw, 140px); }
.section--panel { background: var(--panel); }
.page-head { padding-block: clamp(56px, 9vw, 120px) clamp(24px, 4vw, 48px); }
.page-head p { color: var(--muted); max-width: 52ch; margin: 1.2em 0 0; font-size: 1.1875rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  padding: 15px 34px; text-decoration: none; cursor: pointer; font-weight: 500; letter-spacing: 0.01em;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: transparent; border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-quiet { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link-quiet:hover { color: var(--accent); }

/* ---------- notification bars (admin-managed) ---------- */
.site-bar { position: relative; text-align: center; padding: 10px 48px 10px var(--gutter); }
.site-bar p { margin: 0; }
.site-bar a { color: inherit; }
.site-bar__close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: inherit; padding: 4px 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line);
  transition: background-color .25s, color .25s, border-color .25s;
}
.site-header.is-overlay { background: transparent; color: #fff; border-bottom-color: transparent; }
.brand { text-decoration: none; font-weight: 500; font-size: 1.125rem; letter-spacing: 0.06em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 0.9375rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav__tools { display: flex; align-items: center; gap: 20px; }
.lang-select {
  appearance: none; background: transparent; border: 0; cursor: pointer; font-size: 0.875rem; font-weight: 500;
  padding: 6px 2px; letter-spacing: .04em; color: inherit;
}
.lang-select option { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: inherit; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; background: var(--paper); color: var(--ink);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px;
    padding: var(--header-h) var(--gutter) 40px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; }
  .nav-open .site-header { background: var(--paper); color: var(--ink); border-bottom-color: transparent; }
  .nav__list { flex-direction: column; gap: 14px; }
  .nav__list a { font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 300; letter-spacing: -0.02em; }
  .nav__tools { flex-direction: column; align-items: flex-start; gap: 14px; }
}

body.nav-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; margin-top: calc(-1 * var(--header-h));
  display: grid; place-items: center; text-align: center; color: #fff; background: #1b1b1b; overflow: hidden;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 24px) var(--gutter) 96px; max-width: 1000px; }
.hero__tagline { font-size: clamp(1.05rem, 2vw, 1.375rem); margin: 1.4em auto 2.2em; max-width: 36ch; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__dots { position: absolute; z-index: 3; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.hero__dot { width: 32px; height: 32px; background: none; border: 0; cursor: pointer; position: relative; }
.hero__dot::before { content: ""; position: absolute; left: 8px; right: 8px; top: 15px; height: 2px; background: rgba(255,255,255,.45); }
.hero__dot[aria-current="true"]::before { background: #fff; }

/* ---------- compact banner (override: small carousel on top of the tiled page background) ---------- */
:root { --banner-max: 1280px; }                 /* make the banner narrower here, e.g. 960px */
.hero { min-height: 0; margin-top: 0; display: block; background: none; color: var(--ink); overflow: visible; }
.hero::after { display: none; }
.hero__banner { position: relative; max-width: var(--banner-max); margin: 0 auto; overflow: hidden; background: #1b1b1b; }
.hero__slides { position: relative; inset: auto; }
.hero__slide { position: absolute; inset: 0; }
.hero__slide:first-child { position: relative; inset: auto; }   /* first slide sets the banner height */
.hero__banner .hero__dots { bottom: 8px; }
.hero__inner { padding: 28px var(--gutter) 40px; margin: 0 auto; }
.hero .btn--light { color: var(--ink); border-color: var(--ink); }
.hero .btn--light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- home sections ---------- */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.intro__body { font-size: 1.1875rem; max-width: 62ch; }
.intro__body a { color: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); }
.tile { text-decoration: none; display: block; }
.tile__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--panel); }
.tile__title { margin: 18px 0 6px; }
.tile:hover .tile__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.tile__text { color: var(--muted); margin: 0; }
.services { max-width: 62ch; }
.services__body { margin-top: 1.4em; font-size: 1.1875rem; }

/* ---------- visit / hours / map ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.visit__info { padding: clamp(48px, 8vw, 120px) var(--gutter) clamp(48px, 8vw, 120px) max(var(--gutter), calc((100vw - var(--maxw)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.visit__info .inner { max-width: 440px; width: 100%; }
.visit__map { min-height: 460px; background: var(--panel); }
.visit__map iframe, .map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(.25); }
.address { font-style: normal; margin: 1.6em 0 1em; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; margin: 0 0 1.4em; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status.is-open::before { background: #2f8f4e; }
.hours { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 0.9375rem; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.contact-lines { margin: 0 0 1.8em; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-lines a:hover { border-bottom-color: currentColor; }
@media (max-width: 900px) {
  .intro, .visit { grid-template-columns: 1fr; }
  .visit__info { padding-inline: var(--gutter); }
  .visit__info .inner { max-width: none; }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand strong { display: block; font-size: 1.125rem; font-weight: 500; letter-spacing: .06em; margin-bottom: 8px; }
.site-footer h2 { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.8125rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- long-form text ---------- */
.prose { max-width: 720px; font-size: 1.125rem; line-height: 1.78; }
.prose h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 2em 0 .6em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.2em 0 .6em; }
.prose h3 { margin: 1.8em 0 .5em; font-weight: 500; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose a.header-anchor { display: none; }
.prose img { margin: 2em 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 2px solid var(--ink); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.table-scroll { overflow-x: auto; margin: 1.6em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; line-height: 1.5; min-width: 440px; }
.prose th, .prose td { text-align: left; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; border-bottom-color: var(--ink); }
.prose td:last-child, .prose th:last-child { padding-right: 0; }

.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.9375rem; }
.toc summary { font-weight: 600; cursor: pointer; padding: 6px 0; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ul { list-style: none; margin: 8px 0 0; padding: 0; }
.toc ul ul { padding-left: 14px; }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.doc__meta { margin-top: 3em; color: var(--muted); font-size: .875rem; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 8px; } .toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 24px; } }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 36px; }
.filters button { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--muted); border-bottom: 1px solid transparent; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.masonry { column-count: 3; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: var(--panel); cursor: zoom-in; }
.masonry img { width: 100%; height: auto; }
.masonry button:hover img { opacity: .9; }
@media (max-width: 960px) { .masonry { column-count: 2; } }
@media (max-width: 520px) { .masonry { column-count: 1; } }
.more { text-align: center; margin-top: 48px; }
.empty { color: var(--muted); padding: 48px 0; }

.lightbox { border: 0; padding: 0; background: rgba(12, 12, 12, .96); color: #fff; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox__stage { height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 56px 72px 24px; }
.lightbox__stage img { margin: auto; max-height: calc(100vh - 170px); object-fit: contain; }
.lightbox__cap { text-align: center; padding-top: 16px; max-width: 70ch; margin-inline: auto; font-size: .9375rem; }
.lightbox__cap strong { display: block; font-weight: 500; font-size: 1rem; }
.lightbox__cap span { color: #b9b9b6; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 2rem; line-height: 1; padding: 12px 16px; }
.lightbox__close { top: 8px; right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__stage { padding: 56px 8px 16px; } }

/* ---------- news ---------- */
.post { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding-block: 48px; border-top: 1px solid var(--line); }
.post:last-child { border-bottom: 1px solid var(--line); }
.post time { color: var(--muted); font-size: .9375rem; padding-top: .5em; }
.post h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 1em; }
@media (max-width: 700px) { .post { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.contact-grid .map { margin-top: 40px; }
.contact-grid .map iframe { min-height: 320px; height: 320px; }
.form-intro { margin-bottom: 28px; }
.field { margin-bottom: 22px; }
.field label, .field .label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 8px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; border: 1px solid #c4c4bf; background: #fff; padding: 14px 16px; border-radius: 0; transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }
.field textarea { min-height: 180px; resize: vertical; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: .875rem; margin: 6px 0 0; }
.field__hint { color: var(--muted); font-size: .8125rem; margin: 6px 0 0; display: flex; justify-content: space-between; gap: 16px; }
.field__hint.is-low { color: var(--accent-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .file-add { display: inline-block; font-weight: 500; cursor: pointer; border: 1px solid var(--ink); padding: 10px 20px; font-size: .9375rem; font-weight: 500; }
.field .file-add:hover { background: var(--ink); color: #fff; }
.file-add:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.files { list-style: none; margin: 16px 0 0; padding: 0; }
.files li { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.files .thumb { width: 52px; height: 52px; object-fit: cover; background: var(--panel); display: grid; place-items: center; font-size: .6875rem; font-weight: 600; color: var(--muted); }
.files .name { word-break: break-all; }
.files .meta { color: var(--muted); }
.files .meta.is-warn { color: var(--accent-dark); }
.files .meta.is-bad { color: #b3261e; }
.files button { background: none; border: 0; cursor: pointer; font-size: 1.3rem; line-height: 1; padding: 6px 10px; color: var(--muted); }
.files button:hover { color: var(--ink); }
.progress { height: 3px; background: var(--line); margin: 20px 0 8px; overflow: hidden; }
.progress > div { height: 100%; width: 0; background: var(--ink); transition: width .2s; }
.form-status { margin-top: 16px; min-height: 1.5em; }
.form-status.is-error { color: #b3261e; }
.thanks { padding: 8px 0 0; }
.thanks h2 { margin-bottom: .6em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- cookie notice & promo modal ---------- */
.cookie { position: fixed; z-index: 90; left: 20px; bottom: 20px; max-width: 380px; background: var(--paper); border: 1px solid var(--ink); padding: 20px; font-size: .875rem; }
.cookie p { margin: 0 0 14px; }
.cookie .btn { padding: 9px 22px; font-size: .875rem; }
@media (max-width: 520px) { .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
.promo { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.promo::backdrop { background: rgba(0, 0, 0, .6); }
.promo__frame { position: relative; }
.promo__frame img { width: 100%; height: 100%; object-fit: contain; }
.promo__close { position: absolute; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 24px; padding: 80px var(--gutter); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
