/* Francesco Dall'Olmo — site stylesheet
   Layout: a neutral graphite "editing room" ground so photographs read without colour casts;
   large serif type for names and titles, a quiet grotesk for everything else. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-100.woff2") format("woff2"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-200.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --graphite: #1c1d1f;   /* page ground, neutral like Lightroom's surround */
  --raised: #25272a;     /* inputs, cards that need separation */
  --rule: #36383c;       /* hairlines */
  --fog: #a6a49f;        /* secondary text */
  --snow: #edebe6;       /* primary text */
  --glow: #eaa797;       /* enrosadira: the pink alpenglow on Dolomite rock — links, focus, selection */
  --glow-ink: #2a1a16;

  --serif: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --text: "Lora", Georgia, "Times New Roman", serif;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.375rem;
  --step-4: 3.25rem;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--graphite); color: var(--snow);
  font: 400 var(--step-0)/1.6 var(--sans);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--glow) 70%, transparent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--glow); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--glow); color: var(--glow-ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-weight: 300; }
h2 { font-size: var(--step-3); font-weight: 300; }
h3 { font-size: var(--step-1); margin-top: 2em; }
p { margin: 0 0 1em; }
.small { font-size: var(--step--1); color: var(--fog); }
.lede { font-size: var(--step-1); color: var(--fog); max-width: 38em; line-height: 1.5; }
.lede.big { font-family: var(--serif); font-size: var(--step-2); color: var(--snow); font-weight: 300; max-width: 30em; margin-block: clamp(32px, 6vw, 72px) 1em; }
.prose { max-width: 36em; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { font-size: var(--step-2); margin: 1.6em 0 0.5em; }
.prose h3 { margin: 1.6em 0 0.4em; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--snow); color: var(--graphite); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- header */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) 18px;
  max-width: var(--max); margin-inline: auto; position: relative; z-index: 20;
}
.site-head.over { position: absolute; inset: 0 0 auto 0; max-width: none; background: linear-gradient(rgba(0,0,0,.45), transparent); }
.wordmark { font-family: var(--serif); font-size: 1.25rem; line-height: 1; text-decoration: none; letter-spacing: -0.005em; }
#nav { display: flex; align-items: center; gap: 28px; }
#nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
#nav a { text-decoration: none; font-size: 0.95rem; padding-block: 6px; }
#nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--glow); }
#nav .lang { color: var(--fog); font-size: var(--step--1); border: 1px solid var(--rule); padding: 4px 10px; border-radius: 999px; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .menu-btn { display: inline-block; background: none; color: var(--snow); border: 1px solid color-mix(in srgb, var(--snow) 35%, transparent); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 0.9rem; cursor: pointer; }
  #nav { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: flex-start; gap: 16px; padding: 12px var(--gutter) 24px; background: var(--graphite); border-bottom: 1px solid var(--rule); }
  #nav.open { display: flex; }
  #nav ul { flex-direction: column; gap: 4px; }
  #nav a { font-family: var(--serif); font-size: var(--step-2); font-weight: 300; }
  #nav .lang { font-family: var(--sans); font-size: var(--step--1); }
}

/* ---------- hero */
.hero { position: relative; min-height: min(92svh, 1000px); display: grid; align-items: end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.15) 42%, transparent 60%); }
.hero-text { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(28px, 6vw, 72px); max-width: var(--max); width: 100%; margin-inline: auto; }
.hero-name { font-size: clamp(3.4rem, 12.5vw, 11.5rem); font-weight: 300; line-height: 0.86; letter-spacing: -0.035em; }
.hero-name span { display: block; }
.hero-name span + span { padding-left: 0.55em; }
.hero-line { font-size: var(--step-1); max-width: 22em; margin: 0.9em 0 0; color: color-mix(in srgb, var(--snow) 85%, transparent); }
.hero-cap { position: absolute; z-index: 1; right: var(--gutter); bottom: clamp(28px, 6vw, 72px); margin: 0; font-family: var(--serif); font-style: italic; font-size: var(--step-0); padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--snow) 45%, transparent); }
.hero-cap a { text-decoration: none; }
.hero-project { min-height: min(78svh, 860px); }
.hero-project .hero-name { font-size: clamp(3rem, 10vw, 8.5rem); }
@media (max-width: 900px) { .hero-cap { display: none; } }
@media (max-width: 640px) { .hero-name span + span { padding-left: 0; } }

/* ---------- home */
.intro { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); gap: clamp(20px, 5vw, 72px); align-items: start; padding-block: clamp(48px, 8vw, 112px) 0; }
.intro .prose { font-size: var(--step-1); line-height: 1.55; max-width: 32em; }
.intro-portrait { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; filter: grayscale(.15); }
@media (max-width: 720px) { .intro { grid-template-columns: 1fr; } .intro-portrait { width: 150px; } }
.block { padding-block: clamp(48px, 8vw, 104px) 0; }
.block-title { margin-bottom: 0.8em; }
.more { margin-top: 1.4em; }
.more a { font-weight: 500; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0 clamp(24px, 6vw, 96px); }
.duo p { max-width: 30em; }

.proj-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.proj-card { display: grid; gap: 2px; text-decoration: none; }
.proj-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 10px; }
.proj-name { font-family: var(--serif); font-size: var(--step-1); }
.proj-place { font-size: var(--step--1); color: var(--fog); }
@media (max-width: 900px) {
  .proj-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .proj-row li { scroll-snap-align: start; }
}

/* ---------- photo grid */
.masonry { list-style: none; padding: 0; margin: 0; columns: 3 300px; column-gap: clamp(16px, 2vw, 28px); }
.masonry > li { break-inside: avoid; margin-bottom: clamp(20px, 2.6vw, 36px); }
.masonry > li[hidden] { display: none; }
.ph { margin: 0; }
.ph a { text-decoration: none; display: block; }
.ph img { width: 100%; background: var(--raised); }
.ph figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-top: 9px; }
.ph-title { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.ph-place { font-size: var(--step--1); color: var(--fog); }
.ph-price { font-size: var(--step--1); color: var(--glow); margin-left: auto; }
.ph a:hover .ph-title { color: var(--glow); }

.page-head { padding-block: clamp(28px, 6vw, 72px) clamp(24px, 4vw, 48px); max-width: 52em; }
.page-head h1 { margin-bottom: 0.35em; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; margin-bottom: clamp(24px, 4vw, 40px); }
.filters button { background: none; border: 0; color: var(--fog); font: inherit; font-size: 0.95rem; padding: 6px 10px; cursor: pointer; border-radius: 999px; }
.filters button[aria-pressed="true"] { color: var(--snow); background: var(--raised); }
.filters button:hover { color: var(--snow); }
.filters .count { margin-left: auto; font-size: var(--step--1); color: var(--fog); font-variant-numeric: tabular-nums; }

/* ---------- projects */
.proj-list { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(56px, 9vw, 120px); }
.proj-item a { text-decoration: none; display: grid; gap: 20px; }
.proj-item img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.proj-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px clamp(20px, 5vw, 64px); align-items: baseline; }
.proj-meta h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); grid-row: span 3; line-height: 0.95; }
.proj-meta p { margin: 0; max-width: 34em; }
.proj-meta .proj-place { font-size: var(--step--1); }
.proj-film { font-size: var(--step--1); color: var(--glow); }
.proj-item a:hover h2 { color: var(--glow); }
@media (max-width: 700px) { .proj-meta { grid-template-columns: 1fr; } .proj-meta h2 { grid-row: auto; } }
.next-proj { padding-block: clamp(56px, 9vw, 120px) 0; }
.next-proj a { text-decoration: none; font-family: var(--serif); font-size: var(--step-3); font-weight: 300; display: inline-grid; }
.next-proj .small { font-family: var(--sans); }

.film { margin: 0 0 clamp(32px, 5vw, 56px); }
.film-play { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.film-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.film-play:hover img { opacity: 1; }
.play-mark { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border: 1.5px solid var(--snow); border-radius: 50%; }
.play-mark::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--snow); }
.film iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.film figcaption { padding-top: 10px; color: var(--fog); font-size: 0.95rem; }
.film figcaption em { font-family: var(--serif); color: var(--snow); font-size: var(--step-1); }

/* ---------- single photo */
.photo-full { margin: 0; padding: 0 var(--gutter); display: grid; place-items: center; }
.photo-full img { max-height: calc(100svh - 110px); width: auto; max-width: 100%; object-fit: contain; }
.photo-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px clamp(32px, 6vw, 96px); padding-block: 32px 0; align-items: start; }
.photo-meta h1 { font-size: var(--step-3); margin-bottom: 0.2em; }
.photo-meta .ph-place { font-size: var(--step-0); margin-bottom: 0.6em; }
.photo-nav { display: flex; gap: 20px; margin: 1.4em 0 0.6em; }
.photo-nav a { font-weight: 500; }
.not-sale { align-self: end; max-width: 26em; }
@media (max-width: 760px) { .photo-info { grid-template-columns: 1fr; } }

/* ---------- shop */
.buy { background: var(--raised); padding: clamp(20px, 3vw, 32px); }
.buy h2 { font-size: var(--step-2); margin-bottom: 0.6em; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { padding: 0; margin-bottom: 8px; font-weight: 500; }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opt { position: relative; display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--rule); cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--glow); }
.opt:has(input:focus-visible) { outline: 2px solid var(--glow); outline-offset: 2px; }
.opt-l { font-weight: 500; }
.opt-p { font-size: var(--step--1); color: var(--fog); font-variant-numeric: tabular-nums; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 18px; }
.total strong { font-family: var(--serif); font-size: var(--step-2); font-weight: 400; font-variant-numeric: tabular-nums; }
.info-grid .tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px 48px; margin-top: 24px; max-width: 44em; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 500; padding-bottom: 6px; }
td, th { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
td.num, td:last-child { text-align: right; }

/* ---------- learn / forms */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); }
.split h3 { margin-top: 0; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px 32px; margin: 24px 0; }
.points dt, .gear dt { font-weight: 500; }
.points dd, .gear dd { margin: 2px 0 0; color: var(--fog); }
.prices th { font-family: var(--serif); font-size: var(--step-1); }
.prices td.num { font-size: var(--step-1); }
.prices td.small { padding-left: 16px; }
.gear { display: grid; gap: 14px; max-width: 46em; }
.gear > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
@media (max-width: 520px) { .gear > div { grid-template-columns: 1fr; gap: 2px; } }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; max-width: 46em; margin-top: 20px; }
.form .wide, .form .form-foot, .form .form-status { grid-column: 1 / -1; }
.form-inline { grid-template-columns: minmax(0, 1fr) auto; align-items: end; max-width: 34em; }
@media (max-width: 560px) { .form, .form-inline { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
label { font-size: 0.95rem; }
.req { color: var(--fog); font-size: var(--step--1); }
input, select, textarea { font: inherit; color: var(--snow); background: var(--raised); border: 1px solid var(--rule); border-radius: 3px; padding: 11px 12px; width: 100%; }
.buy input, .buy select { background: var(--graphite); }
input:focus, select:focus, textarea:focus { border-color: var(--glow); outline: none; box-shadow: 0 0 0 1px var(--glow); }
textarea { resize: vertical; }
button[type="submit"] { font: inherit; font-weight: 500; background: var(--snow); color: var(--graphite); border: 0; border-radius: 3px; padding: 12px 22px; cursor: pointer; }
button[type="submit"]:hover { background: var(--glow); }
button[disabled] { opacity: .6; cursor: progress; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot p { margin: 0; }
.form-status { margin: 0; min-height: 1.4em; }
.form-status.ok { color: var(--glow); }
.form-status.err { color: #f0b4a4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.buy button[type="submit"] { width: 100%; margin-bottom: 10px; }

/* ---------- tours & videos (filled by script) */
.tours { display: grid; gap: 0; max-width: 60em; }
.tour { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px 32px; padding: 20px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.tour:last-of-type { border-bottom: 1px solid var(--rule); }
.tour h3 { margin: 0; font-size: var(--step-2); font-weight: 300; }
.tour ul { list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.tour .small { margin: 4px 0 0; }
.tour a { font-weight: 500; white-space: nowrap; }
@media (max-width: 720px) { .tour { grid-template-columns: 1fr; } }
.tours-status { color: var(--fog); }
.tours.loaded .tours-status { display: none; }
.tours-fallback { margin-top: 16px; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.video { text-decoration: none; display: grid; gap: 10px; }
.video img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--raised); }
.video span { line-height: 1.35; }
.video:hover span { color: var(--glow); }
.guides { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; max-width: 46em; }
.guide-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: center; text-decoration: none; }
.guide-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.guide-card span { display: grid; gap: 4px; }
.guide-card strong { font-family: var(--serif); font-weight: 400; font-size: var(--step-1); }

/* ---------- about, article, simple */
.about-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px clamp(32px, 6vw, 96px); padding-block: clamp(28px, 6vw, 72px) 0; align-items: start; }
.about-top h1 { margin-bottom: 0.6em; }
.about-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 760px) { .about-top { grid-template-columns: 1fr; } .about-portrait { max-width: 320px; } }
.article .prose { margin-inline: auto; max-width: 38em; }
.article .page-head { margin-inline: auto; max-width: 38em; }
.article-img { margin: 0 auto clamp(32px, 5vw, 56px); max-height: 70svh; width: 100%; object-fit: cover; }
.simple { padding-block: clamp(56px, 10vw, 140px); }
.simple h1 { margin-bottom: 0.5em; }

/* ---------- footer */
.site-foot {
  max-width: var(--max); margin: clamp(72px, 12vw, 160px) auto 0; padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px 32px; font-size: 0.95rem;
}
.site-foot p { margin: 0; }
.foot-name { font-family: var(--serif); font-size: var(--step-1); }
.foot-note, .foot-copy { color: var(--fog); }
.foot-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===================================================================== depth pass
   Light spill: a heavily blurred copy of the page's lead photograph tints the top of the
   page, so every page takes on the colour of its own image. */
body { position: relative; isolation: isolate; }
.spill { position: absolute; inset: 0 0 auto 0; height: var(--spill-h, 130svh); z-index: -1; overflow: hidden; pointer-events: none; }
.spill i { position: absolute; inset: -12%; background: center / cover no-repeat; filter: blur(80px) saturate(1.35); opacity: var(--spill-o, .5); transform: scale(1.15); }
.spill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--graphite) 20%, transparent) 0%, transparent 35%, var(--graphite) 96%); }

/* one orchestrated moment: the hero settles, the name rises */
@media (prefers-reduced-motion: no-preference) {
  .hero .hero-img { animation: settle 16s cubic-bezier(.2,.6,.2,1) both; }
  .hero-name span, .hero-project .hero-name, .hero-line { animation: rise 1.3s cubic-bezier(.2,.7,.2,1) both; }
  .hero-name span + span { animation-delay: .14s; }
  .hero-line { animation-delay: .35s; }
  @keyframes settle { from { transform: scale(1.1); } to { transform: scale(1); } }
  @keyframes rise { from { opacity: 0; transform: translateY(.3em); } }
}
.hero-scroll { position: absolute; z-index: 1; left: 50%; bottom: 18px; width: 1px; height: 44px; background: linear-gradient(var(--snow), transparent); opacity: .6; }
@media (max-width: 900px) { .hero-scroll { display: none; } }

/* images respond to the pointer */
.ph a, .proj-card, .proj-item a { overflow: hidden; }
.ph img, .proj-card img, .proj-item img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .6s; }
@media (hover: hover) {
  .ph a:hover img, .proj-card:hover img, .proj-item a:hover img { transform: scale(1.035); }
}
.ph a { position: relative; }

/* section heads: a rule, the title, and the "see all" link on one line */
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--rule); padding-top: 22px; margin-bottom: clamp(24px, 3vw, 40px); }
.block-head .block-title { margin: 0; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.block-head a { font-weight: 500; text-decoration: none; }
.block-head a:hover { text-decoration: underline; }
.block-head .lede { flex-basis: 100%; margin: 6px 0 0; }

/* home: editorial mosaic for the selection */
.feature { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.feature li { position: relative; min-width: 0; }
.feature li:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; }
.feature li:nth-child(2), .feature li:nth-child(3) { grid-column: 8 / 13; }
.feature li:nth-child(4) { grid-column: 1 / 5; }
.feature li:nth-child(5) { grid-column: 5 / 9; }
.feature li:nth-child(6) { grid-column: 9 / 13; }
.feature .ph, .feature .ph a { height: 100%; }
.feature .ph img { height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature li:nth-child(1) .ph img { aspect-ratio: auto; }
.feature li:nth-child(n+4) .ph img { aspect-ratio: 4 / 5; }
.feature .ph figcaption { position: absolute; inset: auto 0 0 0; padding: 48px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.66)); color: var(--snow); }
.feature .ph-place { color: color-mix(in srgb, var(--snow) 78%, transparent); }
@media (hover: hover) {
  .feature .ph figcaption { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
  .feature .ph a:hover figcaption, .feature .ph a:focus-visible figcaption { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature li:nth-child(n) { grid-column: auto; grid-row: auto; }
  .feature li:nth-child(1) { grid-column: 1 / -1; }
  .feature li:nth-child(1) .ph img { aspect-ratio: 4 / 3; }
  .feature li:nth-child(n+2) .ph img { aspect-ratio: 4 / 5; }
}

/* home: tall cinematic project cards, scrolled sideways */
.proj-row, .proj-row:where(*) { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 29%); gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.proj-row li { scroll-snap-align: start; }
.proj-card { position: relative; display: block; }
.proj-card img { aspect-ratio: 3 / 4; margin: 0; }
.proj-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 55%); }
.proj-card .proj-name { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 40px; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.proj-card .proj-place { position: absolute; z-index: 1; left: 18px; bottom: 16px; color: color-mix(in srgb, var(--snow) 80%, transparent); }
@media (max-width: 900px) { .proj-row { grid-auto-columns: minmax(230px, 72%); } }

/* full-bleed interlude: one photograph, one sentence */
.interlude { position: relative; margin-top: clamp(64px, 10vw, 140px); min-height: min(78svh, 820px); display: grid; align-items: end; overflow: hidden; }
.interlude img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 60%); }
.interlude blockquote { position: relative; z-index: 1; margin: 0 auto; width: 100%; max-width: var(--max); padding: 0 var(--gutter) clamp(32px, 6vw, 80px); }
.interlude p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -0.015em; max-width: 17em; margin: 0 0 .5em; text-wrap: balance; }
.interlude cite { font-style: normal; font-size: var(--step--1); color: color-mix(in srgb, var(--snow) 80%, transparent); }
.interlude cite a { text-decoration: none; }

/* pages with a spill: let the tint show through the photo page and heads */
.photo-page .photo-full { padding-top: clamp(8px, 2vw, 24px); }
.photo-full img { box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); }
.buy { background: color-mix(in srgb, var(--raised) 82%, transparent); backdrop-filter: blur(12px); border: 1px solid color-mix(in srgb, var(--snow) 8%, transparent); }

/* footer with more presence */
.site-foot { grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: end; }
.foot-name { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; line-height: .95; letter-spacing: -0.02em; grid-row: span 2; }

/* home opening: photographs cross-fade under the name */
.hero[data-slides] .hero-img { opacity: 0; transition: opacity 1.8s ease; }
.hero[data-slides] .hero-img.is-on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero[data-slides] .hero-img { animation: none; }
  .hero[data-slides] .hero-img.is-on { animation: settle 8s cubic-bezier(.2,.6,.2,1) both; }
}
.hero-cap a { transition: opacity .6s; }
.hero { min-height: 100svh; }

/* projects: full-screen photographs that stack over each other as you scroll */
.stack { margin-top: clamp(-12px, -1vw, 0px); }
.stack-item { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; display: grid; align-items: end; }
.stack-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 45%, transparent 70%), linear-gradient(to right, rgba(0,0,0,.35), transparent 60%); }
.stack-item + .stack-item { box-shadow: 0 -30px 60px rgba(0,0,0,.45); }
.stack-text { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter) clamp(36px, 7vw, 96px); }
.stack-text h3 { font-size: clamp(3.4rem, 12vw, 10.5rem); font-weight: 300; line-height: .86; letter-spacing: -0.035em; margin: 0 0 .18em; }
.stack-place { font-size: var(--step--1); color: color-mix(in srgb, var(--snow) 82%, transparent); margin: 0 0 .6em; letter-spacing: .02em; }
.stack-lead { font-size: var(--step-1); max-width: 26em; color: color-mix(in srgb, var(--snow) 90%, transparent); }
.stack-text a { display: inline-block; margin-top: .4em; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--glow); padding-bottom: 2px; }
.stack-text a:hover { color: var(--glow); }

/* prints: a regular grid, like a catalogue */
.print-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.print-grid .ph img { aspect-ratio: 3 / 2; object-fit: cover; }
.print-grid .ph figcaption { padding-top: 12px; }
.print-grid .ph-price { flex-basis: 100%; margin: 2px 0 0; font-size: 0.95rem; }

/* buttons: rounded, with a fill that rises on hover and an arrow that nudges forward */
.btn {
  --btn-fg: var(--snow); --btn-line: color-mix(in srgb, var(--snow) 38%, transparent); --btn-fill: var(--snow); --btn-fg-hover: var(--graphite);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .65em;
  padding: .78em 1.25em .78em 1.4em; border-radius: 999px; border: 1px solid var(--btn-line);
  font: 500 .95rem/1 var(--sans); letter-spacing: .005em; color: var(--btn-fg); text-decoration: none; white-space: nowrap;
  transition: color .4s cubic-bezier(.2,.7,.2,1), border-color .4s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill); border-radius: inherit; transform: translateY(101%); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.btn::after {
  content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h10M8.5 3.5 13 8l-4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h10M8.5 3.5 13 8l-4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.btn:hover, .btn:focus-visible { color: var(--btn-fg-hover); border-color: var(--btn-fill); text-decoration: none; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
/* on photographs: frosted glass so it reads on any image */
.btn-light { --btn-line: color-mix(in srgb, var(--snow) 55%, transparent); background: color-mix(in srgb, #000 22%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.stack-text a.btn { border-bottom: 1px solid var(--btn-line); padding-bottom: .78em; margin-top: .6em; }
.stack-text a.btn:hover { color: var(--btn-fg-hover); border-color: var(--btn-fill); }
.block-head a.btn { font-size: .9rem; }
.block-head a.btn:hover { text-decoration: none; }
.more { margin-top: 1.6em; }
.tour a.btn { font-size: .88rem; padding: .66em 1.05em .66em 1.2em; }
/* form buttons match */
button[type="submit"] { border-radius: 999px; padding: .85em 1.6em; transition: background .3s, transform .2s; }
button[type="submit"]:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { .btn::before, .btn::after { transition: none; } }


/* ===================================================================== type: Fraunces + Hanken Grotesk
   Three levels: soft Fraunces for names and titles, small spaced capitals for labels, Hanken for reading. */
h1, h2, h3, .hero-name, .wordmark, .ph-title, .foot-name, .hero-cap, .proj-name, .film figcaption em, .total strong,
.prices th, .guide-card strong, .lede.big, .interlude p, .next-proj a, .stack-text h3, #nav a {
  font-variation-settings: "SOFT" 50;
}
.hero-name, .stack-text h3 { font-weight: 300; letter-spacing: -0.03em; }
.block-head .block-title { font-weight: 350; letter-spacing: -0.02em; }
.wordmark { font-weight: 400; font-size: 1.3rem; }
#nav a { font-family: var(--sans); }
.stack-place, .proj-meta .proj-place, .proj-card .proj-place, .photo-meta .ph-place, .tour .small, .film figcaption .small,
.foot-note, .eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}
.stack-place, .eyebrow { color: var(--glow); }
.photo-meta .ph-place { color: var(--fog); }
.hero-line { font-weight: 400; letter-spacing: .005em; }
body { font-feature-settings: "ss01" 0; }

/* ===================================================================== learn page: panels, cards, chips */
.learn .page-head { padding-bottom: clamp(20px, 3vw, 36px); }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--raised) 70%, transparent); text-decoration: none; font-size: .92rem; font-weight: 500; transition: border-color .3s, background .3s; }
.chip-link:hover { border-color: var(--glow); color: var(--snow); background: var(--raised); }
.ico-s { width: 18px; height: 18px; color: var(--glow); }
.ico { width: 26px; height: 26px; }

.panel { position: relative; margin-top: clamp(20px, 3vw, 32px); padding: clamp(22px, 4vw, 48px); border-radius: 24px; border: 1px solid color-mix(in srgb, var(--snow) 9%, transparent); background: color-mix(in srgb, var(--raised) 78%, transparent); backdrop-filter: blur(10px); scroll-margin-top: 24px; }
.panel-head { display: flex; align-items: center; gap: 18px; padding-bottom: clamp(18px, 3vw, 28px); margin-bottom: clamp(18px, 3vw, 28px); border-bottom: 1px solid var(--rule); }
.panel-ico { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: var(--glow); background: color-mix(in srgb, var(--glow) 12%, transparent); border: 1px solid color-mix(in srgb, var(--glow) 30%, transparent); }
.panel-head .eyebrow { margin: 0 0 4px; }
.panel-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 350; }
.panel-body > :last-child { margin-bottom: 0; }
.lead-text { font-size: var(--step-1); line-height: 1.55; max-width: 36em; }
.lead-text p { margin: 0 0 .6em; }
.divider { height: 1px; margin: clamp(26px, 4vw, 40px) 0; background: linear-gradient(to right, var(--rule), transparent); }
h3.sub { font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fog); margin: 0 0 16px; font-variation-settings: normal; }

.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.point { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: color-mix(in srgb, var(--graphite) 55%, transparent); border: 1px solid var(--rule); }
.point .ico { flex: none; color: var(--glow); margin-top: 2px; }
.point h3 { margin: 0 0 4px; font-family: var(--sans); font-size: 1rem; font-weight: 600; font-variation-settings: normal; }
.point p { margin: 0; color: var(--fog); font-size: .95rem; line-height: 1.5; }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 15px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--glow) 35%, transparent); color: color-mix(in srgb, var(--snow) 92%, var(--glow)); font-size: .92rem; background: color-mix(in srgb, var(--glow) 6%, transparent); }

.prices-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 20px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--graphite) 60%, transparent); }
.price.best { border-color: color-mix(in srgb, var(--glow) 70%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--glow) 14%, var(--graphite)) 0%, color-mix(in srgb, var(--graphite) 70%, transparent) 70%); }
.price-h { margin: 0; font-size: 1rem; color: var(--fog); }
.price-h .num { font-family: var(--serif); font-size: 3.4rem; font-weight: 300; line-height: 1; color: var(--snow); letter-spacing: -0.03em; margin-right: 4px; font-variation-settings: "SOFT" 50; }
.price-p { margin: 18px 0 2px; font-family: var(--serif); font-size: 2rem; font-weight: 400; font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 50; }
.price-r { margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--glow); }
.price-n { margin: 14px 0 22px; color: var(--fog); font-size: .95rem; line-height: 1.45; flex: 1; }
.price .btn { align-self: flex-start; }
.badge { position: absolute; top: -12px; left: 22px; padding: 5px 12px; border-radius: 999px; background: var(--glow); color: var(--glow-ink); font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
.badge-soft { position: static; display: inline-block; margin-bottom: 14px; background: color-mix(in srgb, var(--glow) 16%, transparent); color: var(--glow); border: 1px solid color-mix(in srgb, var(--glow) 35%, transparent); }
.btn-solid { --btn-fg: var(--graphite); --btn-line: var(--snow); --btn-fill: var(--glow); --btn-fg-hover: var(--glow-ink); background: var(--snow); }

.book { margin-top: clamp(26px, 4vw, 40px); padding: clamp(20px, 3vw, 32px); border-radius: 20px; border: 1px dashed color-mix(in srgb, var(--snow) 18%, transparent); scroll-margin-top: 24px; }
.book .form { margin-top: 16px; }
.book.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { border-color: var(--glow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--glow) 20%, transparent); } 100% { box-shadow: none; } }

.panel .tours { margin-top: 20px; }
.panel .tour { border-top: 0; margin-top: 10px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--graphite) 55%, transparent); }
.panel .tour:last-of-type { border-bottom: 1px solid var(--rule); }

.panel-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 clamp(14px, 2vw, 20px); }
.panel-accent { border-color: color-mix(in srgb, var(--glow) 35%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--glow) 10%, var(--raised)) 0%, color-mix(in srgb, var(--raised) 78%, transparent) 60%); }
.panel .form-inline { max-width: none; }
.panel .guide-card { padding: 12px; border-radius: 16px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--graphite) 55%, transparent); transition: border-color .3s; }
.panel .guide-card:hover { border-color: var(--glow); }
.panel .guide-card img { border-radius: 10px; }
@media (max-width: 560px) { .panel { border-radius: 18px; } .panel-ico { width: 46px; height: 46px; border-radius: 14px; } .panel .guide-card { grid-template-columns: 96px minmax(0, 1fr); } }


/* ===================================================================== type: Poppins + Lora
   Poppins for the name, titles and interface; Lora for reading. */
body { font-family: var(--text); font-size: 1.0625rem; line-height: 1.68; }
#nav a, #nav .lang, .menu-btn, .btn, button, label, input, select, textarea, .filters, .small, .ph-place, .proj-place,
.chip-link, .tags li, .badge, .price-h, .price-r, .price-p, .opt, .count, table, .tour h3, .tour ul, .site-foot,
.hero-line, .stack-place, .eyebrow, h3.sub, .point h3, .lede, .skip, .hero-cap, .ph-title, .video span, .guide-card strong {
  font-family: var(--sans);
}
.lede { font-weight: 300; }
.hero-line { font-weight: 400; letter-spacing: .01em; }
h1, h2, h3, .block-head .block-title, .proj-meta h2, .stack-text h3, .hero-project .hero-name, .next-proj a, .proj-card .proj-name {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.035em; font-variation-settings: normal;
}
h1 { line-height: 1.05; }
.stack-text h3, .proj-meta h2, .hero-project .hero-name { line-height: .95; }
.ph-title, .hero-cap { font-style: normal; font-weight: 500; font-size: .98rem; letter-spacing: -0.005em; }
.price-h .num, .price-p { font-weight: 600; letter-spacing: -0.03em; font-variation-settings: normal; }
.tour h3 { font-weight: 500; }
.point h3, .guide-card strong { font-weight: 600; }
.prose h2, .prose h3 { letter-spacing: -0.02em; }
em, i { font-family: var(--text); }

/* the name: FRANCESCO thin, DALL'OLMO extra bold */
.hero-name { font-family: var(--serif); text-transform: uppercase; font-size: clamp(2.6rem, 9.6vw, 9.2rem); line-height: .92; letter-spacing: 0; }
.hero-name span:first-child { font-weight: 100; letter-spacing: .06em; }
.hero-name span + span { font-weight: 800; letter-spacing: -0.01em; padding-left: 0; }
.hero-project .hero-name { text-transform: none; font-size: clamp(3rem, 9vw, 8rem); }
.wordmark { font-family: var(--serif); text-transform: uppercase; font-size: 1.02rem; line-height: 1.02; letter-spacing: .02em; }
.wordmark .wm-1 { font-weight: 200; letter-spacing: .14em; }
.wordmark .wm-2 { font-weight: 800; }
.foot-name { font-family: var(--serif); text-transform: uppercase; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: .98; }
.foot-name span { display: block; }
.foot-name span:first-child { font-weight: 100; letter-spacing: .08em; }
.foot-name span + span { font-weight: 800; }

/* fixes: lede weight, film caption */
.lede { font-weight: 400; }
.lede.big { font-family: var(--sans); font-weight: 300; letter-spacing: -0.01em; color: var(--snow); }
.film figcaption { font-family: var(--sans); font-size: .9rem; color: var(--fog); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.film figcaption em { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: var(--step-1); letter-spacing: -0.02em; color: var(--snow); }
.film figcaption .small { font-family: var(--sans); font-weight: 400; font-size: .85rem; letter-spacing: 0; text-transform: none; }
.film figcaption a { font-family: var(--sans); font-weight: 500; }

/* ===================================================================== photo viewer */
body:has(.photo-page) .site-head { display: none; }
.stage { position: relative; height: 100svh; min-height: 480px; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: clamp(14px, 2.5vw, 28px) var(--gutter) 0; cursor: zoom-out; }
.stage .photo-full { padding: 0; min-height: 0; display: grid; place-items: center; cursor: default; }
.stage .photo-full img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; cursor: default; box-shadow: 0 30px 80px -24px rgba(0,0,0,.6); }
.stage-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; width: 100%; max-width: var(--max); margin-inline: auto; padding: 16px 0 calc(18px + env(safe-area-inset-bottom, 0px)); cursor: default; }
.stage-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; min-width: 0; }
.stage-title h1 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 0; }
.stage-title .ph-place { margin: 0; color: var(--fog); font-size: .95rem; }
.btn-down::after { transform: rotate(90deg); }
.btn-down:hover::after, .btn-down:focus-visible::after { transform: rotate(90deg) translateX(3px); }
.stage-btn { position: absolute; z-index: 5; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--snow); text-decoration: none;
  background: rgba(10,11,13,.45); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .25s, transform .25s, border-color .25s; }
.stage-btn:hover { background: var(--glow); color: var(--glow-ink); border-color: var(--glow); }
.stage-close { top: clamp(14px, 2.5vw, 28px); right: var(--gutter); }
.stage-arrow { top: calc(50% - 40px); }
.stage-arrow.is-prev { left: var(--gutter); }
.stage-arrow.is-next { right: var(--gutter); }
.stage-arrow.is-prev:hover { transform: translateX(-2px); }
.stage-arrow.is-next:hover { transform: translateX(2px); }
@media (max-width: 760px) { .stage-arrow { display: none; } .stage-btn { width: 42px; height: 42px; } .stage-bar .btn { width: 100%; justify-content: center; } }
.photo-info { scroll-margin-top: 16px; }

/* ===================================================================== home: name centered on one line */
.hero { align-items: center; justify-items: center; }
.hero::after { background: radial-gradient(ellipse 70% 50% at 50% 52%, rgba(0,0,0,.38), transparent 75%), linear-gradient(to top, rgba(0,0,0,.45), transparent 40%); }
.hero-text { text-align: center; padding: 0 var(--gutter); }
.hero-name { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .34em; font-size: clamp(1.9rem, 5.4vw, 4.8rem); line-height: 1.05; }
.hero-name span { display: inline-block; }
.hero-line { margin: 1em auto 0; max-width: 30em; }

/* ===================================================================== brand palette
   Notte (ground), Ardesia (surfaces), Roccia (lines), Nebbia (secondary text), Neve (text),
   Alpenglow (primary accent: actions), neutral grey for labels and information (Salvia green dropped Nov 2026).
   Previous secondary accent was Ora blu #8ea8f2 on blue-tinted greys (#121418 / #1d2026 / #30343c / #9aa0a8). */
:root {
  --graphite: #141414; --raised: #1f1f1f; --rule: #353535; --fog: #a3a3a3; --snow: #f1efea;
  --glow: #f0813a; --glow-ink: #1c0e04; --dusk: #bdbab4;   /* secondary: neutral light grey (was Salvia #a9bd98) */
}
.form-status.err { color: #ff9b8a; }
.btn::before { background: var(--glow); }
.btn:hover, .btn:focus-visible { --btn-fg-hover: var(--glow-ink); }
button[type="submit"]:hover { background: var(--glow); color: var(--glow-ink); }
.eyebrow, .stack-place, .proj-film, .panel-head .eyebrow { color: var(--dusk); }
.panel-ico { color: var(--dusk); background: color-mix(in srgb, var(--dusk) 12%, transparent); border-color: color-mix(in srgb, var(--dusk) 32%, transparent); }
.ico-s, .point .ico { color: var(--dusk); }
.tags li { border-color: color-mix(in srgb, var(--dusk) 38%, transparent); background: color-mix(in srgb, var(--dusk) 8%, transparent); color: color-mix(in srgb, var(--snow) 88%, var(--dusk)); }
.badge-soft { background: color-mix(in srgb, var(--dusk) 14%, transparent); color: var(--dusk); border-color: color-mix(in srgb, var(--dusk) 38%, transparent); }
.panel-accent { border-color: color-mix(in srgb, var(--dusk) 32%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--dusk) 10%, var(--raised)) 0%, color-mix(in srgb, var(--raised) 78%, transparent) 60%); }
.chip-link:hover { border-color: var(--dusk); }
.block-head { border-top-color: var(--rule); }

/* photo viewer fix: the photo always fits whole on screen, the title bar sits below it */
.stage { --pad: clamp(14px, 2.5vw, 28px); --bar: 84px; height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: var(--pad) var(--gutter) 0; }
.stage .photo-full { flex: none; display: flex; justify-content: center; align-items: center; height: calc(100svh - var(--bar) - var(--pad)); padding: 0 56px; }
.stage .photo-full img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - var(--bar) - var(--pad)); object-fit: contain; }
.stage-bar { flex: none; min-height: var(--bar); padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) {
  .stage { --bar: 136px; }
  .stage .photo-full { padding: 0; }
}

/* footer: smaller name, social icons */
.foot-name { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.05; grid-row: auto; }
.foot-social { gap: 10px; align-items: center; }
.soc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule); color: var(--snow); text-decoration: none; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.soc:hover, .soc:focus-visible { background: var(--glow); color: var(--glow-ink); border-color: var(--glow); transform: translateY(-2px); }

/* ===================================================================== contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-page .panel { margin-top: 0; }
.contact-h { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 6px; }
.contact-page .form { margin-top: 16px; }
.contact-side { display: grid; gap: 18px; justify-items: start; padding-top: 8px; }
.contact-portrait { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 1px solid var(--rule); box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); }
.soc-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; width: 100%; }
.soc-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 18px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--raised) 75%, transparent); text-decoration: none; transition: border-color .25s, transform .25s, background .25s; }
.soc-card:hover { border-color: var(--glow); transform: translateY(-2px); color: var(--snow); }
.soc-ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--glow) 14%, transparent); color: var(--glow); }
.soc-ico svg { width: 28px; height: 28px; }
.soc-card:hover .soc-ico { background: var(--glow); color: var(--glow-ink); }
.soc-txt { display: grid; gap: 1px; min-width: 0; }
.soc-txt strong { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; }
.soc-handle { font-family: var(--sans); color: var(--dusk); font-size: .92rem; }
.contact-mail { display: grid; gap: 2px; margin: 4px 0 0; }
.contact-mail a { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; word-break: break-all; }
.about-cta { margin-top: clamp(48px, 8vw, 96px); padding: clamp(24px, 4vw, 40px); border-radius: 24px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--raised) 70%, transparent); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.about-cta p { margin: 0; font-family: var(--sans); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; }

/* about: round portrait with a soft drop shadow */
.about-top { align-items: center; }
.about-portrait {
  width: min(100%, 340px); aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  justify-self: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 28px 60px -18px rgba(0,0,0,.75), 0 10px 24px -10px rgba(0,0,0,.5);
}
@media (max-width: 760px) { .about-portrait { width: 220px; justify-self: start; } }


/* ===================================================================== commercial page: services, jobs, steps */
.comm .page-head .eyebrow { margin: 0 0 14px; }
.comm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.award { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--sans); font-size: .88rem; color: var(--fog); }
.award .ico-s { flex: none; }

.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.service { position: relative; padding: 24px 22px 22px; border-radius: 20px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--graphite) 60%, transparent); transition: border-color .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.service:hover { border-color: color-mix(in srgb, var(--glow) 55%, transparent); transform: translateY(-3px); }
.service-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 15px; color: var(--glow); background: color-mix(in srgb, var(--glow) 12%, transparent); border: 1px solid color-mix(in srgb, var(--glow) 28%, transparent); }
.service h3 { margin: 0 0 6px; font-family: var(--sans); font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.service p { margin: 0; color: var(--fog); font-size: .95rem; line-height: 1.55; }

.jobs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.job { margin: 0; position: relative; }
.job img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 14px; }
.job figcaption { display: grid; gap: 2px; padding-top: 10px; }
.job.is-video a::before { content: ""; position: absolute; z-index: 1; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, #000 35%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 18px no-repeat; backdrop-filter: blur(6px); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; counter-reset: none; }
.step { padding: 22px 20px; border-radius: 18px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--graphite) 55%, transparent); }
.step-n { display: block; margin-bottom: 14px; font-family: var(--serif); font-size: 2.2rem; font-weight: 100; line-height: 1; letter-spacing: .02em; color: var(--glow); }
.step h3 { margin: 0 0 6px; font-family: var(--sans); font-size: 1.02rem; font-weight: 600; }
.step p { margin: 0; color: var(--fog); font-size: .95rem; line-height: 1.5; }

.comm .panel-accent .form { max-width: none; }
.comm .contact-mail { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
@media (min-width: 1100px) {
  .duo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
  .duo .block-title { font-size: clamp(2rem, 2.9vw, 2.75rem); }
}

/* ===================================================================== before / after slider (learn page) */
.split { display: grid; gap: 28px; align-items: center; margin-bottom: 34px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); }
  .split-rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .split-rev > .split-text { order: 2; }
}
.split-text .eyebrow { margin: 0 0 12px; }
.split-text .lead-text { margin: 0; }
.split .tags { margin-bottom: 0; }
.ba.ba-wide { margin: 40px 0 8px; }
.ba.ba-course { margin: 0 0 22px; }
.ba { margin: 0; }
.ba-frame { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: var(--ratio, 3 / 2); background: var(--graphite); touch-action: pan-y; user-select: none; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.45); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; translate: -50% -50%; border-radius: 50%; border: 2px solid #fff; background: color-mix(in srgb, #000 30%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat; backdrop-filter: blur(6px); transition: scale .25s cubic-bezier(.2,.7,.2,1); }
.ba-frame:hover .ba-handle::after, .ba-range:focus-visible ~ .ba-handle::after { scale: 1.1; }
.ba-tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: color-mix(in srgb, #000 40%, transparent); backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag-l { left: 14px; } .ba-tag-r { right: 14px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100vh; }
.ba-range::-moz-range-thumb { width: 48px; height: 100vh; border: 0; opacity: 0; }
.ba-range:focus-visible { outline: none; }
.ba-frame:has(.ba-range:focus-visible) { outline: 2px solid var(--glow); outline-offset: 3px; }
.ba figcaption { margin-top: 10px; color: var(--fog); }
.ba.is-peek .ba-before, .ba.is-peek .ba-handle { transition: clip-path .9s cubic-bezier(.45,0,.2,1), left .9s cubic-bezier(.45,0,.2,1); }

/* ===================================================================== lightbox (js/site.js, a.lb) */
a.lb { display: block; cursor: zoom-in; color: inherit; text-decoration: none; }
a.lb img { transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s; }
a.lb:hover img, a.lb:focus-visible img { transform: scale(1.015); filter: brightness(1.06); }
.job a.lb { overflow: hidden; border-radius: 14px; }
.job a.lb figcaption { overflow: visible; }
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 13, .985); color: var(--snow); overscroll-behavior: contain; }
.lightbox::backdrop { background: transparent; backdrop-filter: blur(14px); }
.lightbox[open] { display: grid; animation: lb-in .25s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lb-fig { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding: clamp(12px, 3vw, 40px) clamp(12px, 7vw, 96px) 18px; height: 100dvh; cursor: zoom-out; }
.lb-img { width: 100%; height: 100%; object-fit: contain; cursor: default; transition: opacity .25s; }
.lightbox.is-loading .lb-img { opacity: .35; }
.lb-cap { display: flex; justify-content: space-between; gap: 16px; font-size: var(--step--1); color: var(--fog); cursor: default; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid color-mix(in srgb, var(--snow) 18%, transparent); border-radius: 50%; background: color-mix(in srgb, #000 40%, transparent); color: var(--snow); cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, transform .2s, border-color .2s; }
.lb-btn:hover, .lb-btn:focus-visible { background: color-mix(in srgb, var(--snow) 14%, transparent); border-color: color-mix(in srgb, var(--snow) 40%, transparent); transform: scale(1.06); }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 14px; right: 14px; }
.lb-prev, .lb-next { top: 50%; translate: 0 -50%; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 10px; translate: none; } .lb-fig { padding-bottom: 70px; } .lb-cap { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } a.lb img { transition: none; } }

/* ===================================================================== commercial projects: cards, project page */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 500; letter-spacing: .02em; color: var(--fog); border: 1px solid var(--rule); background: color-mix(in srgb, var(--graphite) 70%, transparent); }
.tag-video { color: var(--glow); border-color: color-mix(in srgb, var(--glow) 40%, transparent); }
.job-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.job-grid.is-few { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.job-card a { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.job-media { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--raised); }
.job-media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .35s; }
.job-card a:hover .job-media img, .job-card a:focus-visible .job-media img { transform: scale(1.03); filter: brightness(1.05); }
.job-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 11px; border-radius: 999px; font-size: .75rem; color: var(--snow); background: color-mix(in srgb, #000 45%, transparent); backdrop-filter: blur(8px); }
.job-meta { display: grid; gap: 8px; }
.job-title { font-family: var(--sans); font-size: var(--step-1); font-weight: 500; line-height: 1.2; transition: color .2s; }
.job-card a:hover .job-title { color: var(--glow); }
.job-client { font-size: var(--step--1); color: var(--fog); }
.job-client:empty { display: none; }
.service-more { display: inline-block; margin-top: 14px; font-size: .9rem; font-weight: 500; color: var(--glow); text-decoration: none; }

.job-page .crumb { margin: 0 0 18px; font-size: var(--step--1); }
.job-page .crumb a { color: var(--fog); text-decoration: none; }
.job-page .crumb a:hover { color: var(--glow); }
.job-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(24px, 4vw, 44px); }
.job-head h1 { margin: 12px 0 10px; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1; }
.job-head .lede { margin: 0; max-width: 60ch; }
.job-facts { margin: 0; display: grid; gap: 12px; padding-left: 20px; border-left: 1px solid var(--rule); }
.job-facts dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); }
.job-facts dd { margin: 2px 0 0; }
.job-hero { border-radius: 18px; overflow: hidden; margin-bottom: clamp(18px, 2.4vw, 30px); }
.job-hero img { display: block; width: 100%; max-height: 86svh; object-fit: cover; }
.job-film { margin-bottom: clamp(18px, 2.4vw, 30px); }
.job-film .film-play { border-radius: 18px; }
.job-gallery { list-style: none; padding: 0; margin: 0 0 clamp(40px, 6vw, 72px); columns: 2 320px; column-gap: clamp(18px, 2.4vw, 30px); }
.job-gallery li { break-inside: avoid; margin-bottom: clamp(18px, 2.4vw, 30px); }
.job-gallery a.lb { border-radius: 14px; overflow: hidden; }
.job-gallery img { display: block; width: 100%; }
.job-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.job-cta h2 { margin: 0 0 6px; }
.job-cta p { margin: 0; color: var(--fog); max-width: 52ch; }
.job-cta .job-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .job-head { grid-template-columns: 1fr; } .job-facts { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: 14px; grid-auto-flow: column; justify-content: start; gap: 28px; } }

/* home photo caption: optional note (award) under the title */
.hero-cap { transition: opacity .6s; text-align: right; }
.hero-note { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 4px; font-size: .78rem; font-weight: 400; letter-spacing: .01em; color: color-mix(in srgb, var(--snow) 82%, transparent); }
.hero-note[hidden] { display: none; }
.hero-note .ico-s { width: 14px; height: 14px; color: var(--glow); flex: none; }

/* ===================================================================== phones: more room
   Panels become full-width bands (no side border, no double padding), cards inside lose some padding,
   the gutter grows a little, the footer stacks in one column. */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .panel { margin-inline: calc(-1 * var(--gutter)); padding: 30px var(--gutter) 32px; border-radius: 0; border-left: 0; border-right: 0; margin-top: 0; }
  .panel + .panel { border-top: 0; }
  .panel-head { gap: 14px; padding-bottom: 16px; margin-bottom: 20px; }
  .panel-ico { width: 42px; height: 42px; border-radius: 13px; }
  .panel-ico .ico { width: 20px; height: 20px; }
  .panel-head h2 { font-size: 1.65rem; line-height: 1.1; }
  .service, .step, .point, .price, .panel .tour { padding: 18px 16px; border-radius: 16px; }
  .service-ico { width: 40px; height: 40px; margin-bottom: 12px; border-radius: 12px; }
  .services, .steps, .prices-cards { gap: 10px; }
  .step-n { font-size: 1.6rem; }
  .lead-text, .panel .lead-text p { font-size: 1.05rem; line-height: 1.6; }
  .page-head .lede, .lede { font-size: 1.12rem; line-height: 1.55; }
  .page-head h1 { font-size: clamp(2.3rem, 11vw, 3rem); line-height: 1.02; }
  .block { margin-top: 56px; }
  .job-grid, .job-grid.is-few { gap: 22px; }
  .job-hero, .job-film .film-play { border-radius: 12px; }
  .job-cta { margin-inline: calc(-1 * var(--gutter)); }

  .site-foot { grid-template-columns: 1fr; gap: 14px; align-items: start; text-align: left; padding-top: 36px; }
  .foot-name { grid-row: auto; font-size: 1.3rem; }
  .foot-mail a { overflow-wrap: anywhere; }
  .foot-social { order: 5; }
  .foot-copy { order: 6; }
}
.job-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #000; }
@media (max-width: 640px) { .job-video video { border-radius: 12px; } }
.job-gallery.is-tall { columns: 3 260px; }
@media (max-width: 640px) { .job-gallery.is-tall { columns: 2 150px; column-gap: 10px; } .job-gallery.is-tall li { margin-bottom: 10px; } }

/* ===================================================================== editorial layout (Nov 2026)
   No boxed panels or cards: sections are separated by space and a thin line, content sits on the page.
   Icon tiles go, icons stay small and plain. Photos get almost square corners. Buttons stay round. */
.panel, .panel-accent, .about-cta {
  margin-top: clamp(72px, 10vw, 140px); padding: clamp(28px, 3.5vw, 44px) 0 0;
  border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: none; box-shadow: none; backdrop-filter: none;
}
.panel::before, .panel::after { content: none; }
.panel-head { border-bottom: 0; padding-bottom: 0; margin-bottom: clamp(28px, 4vw, 52px); gap: 0; }
.panel-ico { display: none; }
.panel-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.panel-head .eyebrow { margin-bottom: 10px; }
.divider { border-color: var(--rule); }

/* cards become columns with a hairline on top */
.service, .step, .point, .price, .panel .tour, .panel .guide-card, .soc-card, .book {
  background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 0; box-shadow: none;
  padding: 18px 0 0; transform: none !important;
}
.service:hover, .soc-card:hover, .panel .guide-card:hover { border-color: var(--glow); }
.services, .steps, .prices-cards, .points { gap: clamp(28px, 3vw, 44px) clamp(20px, 2.6vw, 40px); }
.service-ico { width: auto; height: auto; margin-bottom: 14px; border: 0; border-radius: 0; background: none; place-items: start; }
.soc-ico { background: none; width: auto; height: auto; border-radius: 0; }
.soc-card:hover .soc-ico { background: none; color: var(--glow); }
.price.best { border-top: 2px solid var(--glow); background: none; }
.panel .tour:last-of-type { border-bottom: 0; }
.book { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(24px, 3vw, 36px); }
.step-n { font-size: 1.8rem; }

/* photos: nearly square corners */
.ba-frame, .job img, .job a.lb, .job-media, .job-hero, .job-film .film-play, .job-gallery a.lb, .job-video video,
.panel .guide-card img, .stage img, .lb-img { border-radius: 4px; }

@media (max-width: 640px) {
  .panel, .panel-accent, .about-cta { margin-inline: 0; margin-top: 64px; padding: 26px 0 0; }
  .panel + .panel { border-top: 1px solid var(--rule); }
  .job-cta { margin-inline: 0; }
  .panel-head h2 { font-size: 1.9rem; }
  .service, .step, .point, .price, .panel .tour { padding: 16px 0 0; border-radius: 0; }
  .job-hero, .job-film .film-play, .job-video video { border-radius: 4px; }
}
.services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* home opening: one progress bar per photo */
.hero-bars { position: absolute; z-index: 2; left: 50%; bottom: clamp(22px, 3.2vw, 36px); translate: -50% 0; display: flex; gap: 10px; }
.hero-bar { position: relative; width: clamp(34px, 4.4vw, 64px); height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; translate: 0 -50%; background: color-mix(in srgb, var(--snow) 30%, transparent); border-radius: 2px; transition: background .2s; }
.hero-bar:hover::before { background: color-mix(in srgb, var(--snow) 55%, transparent); }
.hero-bar-fill { position: absolute; left: 0; right: 0; top: 50%; height: 2px; translate: 0 -50%; background: var(--snow); border-radius: 2px; transform: scaleX(0); transform-origin: left center; }
.hero-bar:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; border-radius: 4px; }
.hero.has-bars .hero-scroll { display: none; }
@media (max-width: 640px) { .hero-bars { gap: 8px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); } .hero-bar { width: 30px; } }

/* social icons: round, brand colours, no hover effect */
.soc.soc-instagram, .soc.soc-instagram:hover, .soc.soc-instagram:focus-visible { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; border-color: transparent; transform: none; }
.soc.soc-youtube, .soc.soc-youtube:hover, .soc.soc-youtube:focus-visible { background: #FF0033; color: #fff; border-color: transparent; transform: none; }
.soc-card, .soc-card:hover { border: 0 !important; color: var(--snow); }
.soc-card .soc-ico, .soc-card:hover .soc-ico { width: 52px; height: 52px; border-radius: 50%; color: #fff; }
.soc-card.soc-instagram .soc-ico, .soc-card.soc-instagram:hover .soc-ico { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.soc-card.soc-youtube .soc-ico, .soc-card.soc-youtube:hover .soc-ico { background: #FF0033; }
.soc-card .soc-ico svg { width: 26px; height: 26px; }

/* ---------- header always visible */
.site-head {
  position: sticky; top: 0; z-index: 40; max-width: none; margin-inline: 0;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: color-mix(in srgb, var(--graphite) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.site-head.over { position: fixed; inset: 0 0 auto 0; background: linear-gradient(rgba(0,0,0,.45), transparent); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-head.scrolled { padding-top: calc(10px + env(safe-area-inset-top, 0px)); padding-bottom: 10px; box-shadow: 0 1px 0 var(--rule); }
.site-head.over.scrolled { background: color-mix(in srgb, var(--graphite) 82%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
