/*
 * ALR Photography – public site styles.
 * The brand: the "lens flare" gradient (colours and ORDER never change – Discovery/design.md §1), Open Sans Light at
 * large sizes in black on light grey or white on photos, square black buttons, the gradient Book button.
 * One family (Open Sans, variable, latin + latin-ext for ș ț ă î â). Mobile first.
 */

/* ---------------------------------------------------------------- fonts (self-hosted) */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap; src: url("../fonts/open-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap; src: url("../fonts/open-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------------------------------------------------------------- design tokens */
:root {
  /* brand – the lens flare. NEVER reorder these stops. */
  --flare-1: #955425; --flare-2: #640d2c; --flare-3: #320c3b; --flare-4: #13355c; --flare-5: #22968f; --flare-6: #071429;
  --lens-flare: linear-gradient(135deg, var(--flare-1) 0%, var(--flare-2) 20%, var(--flare-3) 40%, var(--flare-4) 60%, var(--flare-5) 80%, var(--flare-6) 100%);
  /* the same stops, translucent – for the header over the home hero */
  --lens-flare-soft: linear-gradient(135deg, rgb(149 84 37 / .82) 0%, rgb(100 13 44 / .82) 20%, rgb(50 12 59 / .82) 40%, rgb(19 53 92 / .82) 60%, rgb(34 150 143 / .82) 80%, rgb(7 20 41 / .82) 100%);

  --bg: #eeeeee;
  --surface: #ffffff;
  --tint: #e6e6e6;
  --ink: #000000;          /* headings */
  --ink-2: #4f4f4f;        /* body text */
  --muted: #666666;        /* was #757575 – raised for AA on #eee */
  --line: rgb(170 170 170 / .35);
  --line-2: #b9b9b9;
  --border: #737373;
  --on-dark: #ffffff;
  --overlay: #0a0a0a;
  --menu-panel: rgb(10 10 10 / .88);
  --danger: #a3261c;
  --accent: #13355c;       /* focus rings: the flare's deep blue */

  --f-body: "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-ui: var(--f-body);
  --f-head: var(--f-body);
  --track-ui: .06em;
  --track-wide: .14em;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px;
  --gutter: 16px;
  --max: 1400px;
  --text: 1520px;
  --narrow: 780px;
  --header-h: 60px;
  --radius: 3px;
  --gap-photo: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .25s;
}
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.75 var(--f-body);

  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.15; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code { font-size: .9em; background: var(--tint); padding: .1em .35em; border-radius: var(--radius); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }
[hidden] { display: none !important; }
::selection { background: var(--flare-3); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; font: 700 13px var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.section { padding-block: var(--s-7); }
@media (min-width: 900px) { .section { padding-block: var(--s-8); } }
.section--tint { background: var(--tint); }

.wrap--text { max-width: calc(var(--text) + 2 * var(--gutter)); }
.surface { background: var(--surface); }

/* ---------------------------------------------------------------- lens flare */
.flare { background: var(--lens-flare); color: var(--on-dark); }
/* The slow shift of the old site's Book button – only where the visitor allows motion, and only on hover/focus. */
@keyframes flare-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ---------------------------------------------------------------- type */
h1, h2, h3, h4 { color: var(--ink); font-family: var(--f-head); }
.kicker { margin: 0 0 var(--s-3); font: 600 12px/1.4 var(--f-ui); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted); }
.display { font: 300 clamp(2.1rem, 1.5rem + 2.6vw, 4.4rem)/1.12 var(--f-head); margin: 0 0 var(--s-4); overflow-wrap: anywhere; }
.page-title { font: 300 clamp(2rem, 1.5rem + 2vw, 3.2rem)/1.2 var(--f-head); margin: 0 0 var(--s-4); }
.section__title { font: 300 clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem)/1.25 var(--f-head); margin: 0 0 var(--s-5); }
.lead { font-size: 1.12rem; line-height: 1.75; color: var(--ink-2); max-width: 70ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.prose { font-size: 1rem; line-height: 1.8; color: var(--ink-2); }
.prose > * + h2, .prose > * + h3 { margin-top: 1.8em; }
.prose h2 { font: 300 1.75rem/1.25 var(--f-head); margin-bottom: .6em; }
.prose h3 { font: 400 1.3rem/1.3 var(--f-head); margin-bottom: .5em; }
.prose h4 { font: 600 1.05rem/1.4 var(--f-head); margin-bottom: .4em; }
.prose a { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose img { margin: 1.8em auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: .6em; text-align: center; }
.prose blockquote { margin: 1.8em 0; padding: .4em 0 .4em 1.2em; border-left: 3px solid var(--flare-3); font-style: italic; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li + li { margin-top: .35em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 0 0 1.5em; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 560px; }
.empty { padding: var(--s-6) 0; color: var(--muted); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 46px; padding: 12px 22px;
  border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff;
  font: 700 14px/1.2 var(--f-ui); text-decoration: none; text-align: center;
  transition: background-color var(--dur), color var(--dur), border-color var(--dur), box-shadow var(--dur);
  touch-action: manipulation;
}
.btn:hover { background: #333; border-color: #333; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: transparent; border-color: #fff; color: #fff; }
.btn--light:hover { background: rgb(78 78 78 / .9); border-color: #fff; }
/* The brand call to action: lens flare, white bold text, 3px radius. */
.btn--flare { background: var(--lens-flare); border: 0; border-radius: var(--radius); color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgb(0 0 0 / .35); }
.btn--flare:hover, .btn--flare:focus-visible { color: #fff; box-shadow: 0 6px 22px rgb(50 12 59 / .35); }
.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* ---------------------------------------------------------------- admin bar */
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 7px var(--gutter); background: #111; color: #ddd; font: 400 12.5px/1.4 var(--f-ui); position: relative; z-index: 60; }
.admin-bar a { color: #fff; text-decoration: none; border-bottom: 1px solid #555; }
.admin-bar a:hover { border-color: #fff; }
.admin-bar__who { color: #999; }
.admin-bar__edit { font-weight: 700; }
.admin-bar__warn { color: #f3c77a; }


/* ---------------------------------------------------------------- top bar (wide desktop only, like the old site) */
.top-bar { display: none; font-size: 13px; }
@media (min-width: 1620px) { .top-bar { display: block; } }
.top-bar__inner { padding: 4px 60px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 38px; }
.top-bar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 22px; }
.top-bar a { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; }
.top-bar a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.top-bar__social ul { gap: 6px; }
.top-bar__social a { width: 24px; height: 24px; justify-content: center; border: 1.5px solid #fff; border-radius: 50%; }
.lang-switch img { width: 18px; height: 12px; }

/* ---------------------------------------------------------------- header + navigation */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header__inner { height: var(--header-h); padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.brand { display: block; color: #fff; width: 140px; flex: none; }
.brand svg { width: 100%; height: auto; }
.brand:focus-visible { outline-color: #fff; }
.header-tools { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 13px; }
.header-tools a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.header-tools a:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 799.98px) { .header-tools { display: none; } }

.nav-toggle { width: 46px; height: 46px; display: grid; place-items: center; border: 0; background: none; color: #fff; margin-right: -10px; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px; transition: transform var(--dur) var(--ease); }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { color: #fff; text-decoration: none; }

/* Below 1620px (as the old site): the slim bar; the menu slides in from the right on the gradient. */
@media (max-width: 1619.98px) {
  .main-nav {
    position: fixed; z-index: 49; top: var(--header-h); right: 0; bottom: 0; width: min(380px, 100%);
    background: var(--lens-flare); overflow-y: auto; overscroll-behavior: contain;
    padding: var(--s-4) 24px calc(var(--s-7) + env(safe-area-inset-bottom));
    transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s;
    display: flex; flex-direction: column;
  }
  .nav-open .main-nav { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .nav-open { overflow: hidden; }
  .main-nav__list > li { position: relative; }
  .main-nav__list > li > a { display: flex; align-items: center; gap: 8px; padding: 11px 46px 11px 0; font-size: 16px; }
  .main-nav .sub-toggle { position: absolute; right: 0; top: 2px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: #fff; }
  .main-nav .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .main-nav .sub-menu { display: none; padding: 0 0 8px 14px; }
  .main-nav .is-open > .sub-menu { display: block; }
  .main-nav .sub-menu a { display: block; padding: 7px 0; font-size: 13px; }
  .sub-menu__sub { display: none; }
  .main-nav__extra { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
  .main-nav__login, .main-nav__lang { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
  .main-nav__list--right { margin-top: 0; }
}
@media (min-width: 800px) and (max-width: 1619.98px) { .main-nav__login, .main-nav__lang { display: none; } }

/* 1620px and wider: logo in the middle, the menu items spread evenly either side, hover dropdowns. */
@media (min-width: 1620px) {
  :root { --header-h: 100px; }
  .nav-toggle, .header-tools, .main-nav__extra { display: none; }
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; padding: 0 60px; }
  .brand { grid-column: 2; grid-row: 1; width: 280px; margin: 0 40px; }
  .main-nav { display: contents; }
  .main-nav__list { display: flex; align-items: center; justify-content: space-around; height: 100%; grid-row: 1; }
  .main-nav__list--left { grid-column: 1; }
  .main-nav__list--right { grid-column: 3; }
  .main-nav__list > li { position: relative; display: flex; align-items: center; height: 100%; }
  .main-nav__list > li > a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; font-size: 13px; font-weight: 300; text-transform: uppercase; }
  /* the old site's underline growing from the centre, white fading out at both ends */
  .main-nav__list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: linear-gradient(90deg, transparent, #fff, transparent); transform: scaleX(0); transition: transform var(--dur) var(--ease); }
  .main-nav__list > li:hover > a::after, .main-nav__list > li > a:focus-visible::after, .main-nav__list > li.is-active > a::after { transform: scaleX(1); }
  .main-nav .sub-toggle { width: 16px; height: 24px; display: grid; place-items: center; background: none; border: 0; color: #fff; padding: 0; margin-left: 2px; }
  .main-nav .sub-toggle svg { width: 10px; height: 10px; }
  .main-nav .sub-menu {
    position: absolute; top: calc(100% - 20px); left: -20px; z-index: 60; width: 280px; padding: 10px 0;
    background: var(--menu-panel);
    opacity: 0; visibility: hidden; transition: opacity .18s, visibility 0s .18s;
  }
  .main-nav__list--right > li:last-child .sub-menu { left: auto; right: -20px; }
  .main-nav [data-sub]:hover > .sub-menu, .main-nav [data-sub]:focus-within > .sub-menu, .main-nav .is-open > .sub-menu { opacity: 1; visibility: visible; transition: opacity .18s; }
  .main-nav .sub-menu a { display: grid; gap: 2px; padding: 8px 20px; }
  .main-nav .sub-menu a:hover, .main-nav .sub-menu a[aria-current] { background: rgb(255 255 255 / .08); }
  .sub-menu__label { font-size: 13px; font-weight: 300; }
  .sub-menu__sub { font-size: 11px; font-weight: 300; color: rgb(255 255 255 / .75); }
}

/* ---------------------------------------------------------------- page heads, heroes */
.page-head { padding-block: var(--s-7) var(--s-6); }
@media (min-width: 900px) { .page-head { padding-block: var(--s-8) var(--s-6); } }
.crumbs { margin: 0 0 var(--s-4); font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Pages with hero photos: the old "page-slideshow" – white-washed photos crossfading behind the title, 45vh. */
.hero { position: relative; display: grid; place-items: center; height: 45vh; min-height: 260px; overflow: hidden; background: #fff; text-align: center; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__img.is-active { opacity: .45; }
.hero__title { position: relative; margin: 0; padding: 0 var(--gutter); font: 300 clamp(2.4rem, 1.4rem + 3.6vw, 5rem)/1.1 var(--f-head); color: var(--ink); }
/* Every other page: the gradient title bar with the breadcrumbs (The7 page title). */
.title-bar { padding: 26px var(--gutter) 18px; text-align: center; }
.title-bar__title { color: #fff; font: 300 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.25 var(--f-head); margin: 0 0 6px; }
.title-bar .crumbs { margin: 0; font-size: 12px; color: rgb(255 255 255 / .85); }
.title-bar .crumbs ol { justify-content: center; }
.title-bar .crumbs li + li::before { content: "/"; color: rgb(255 255 255 / .6); }
.title-bar .crumbs a { color: #fff; }

/* Home: full-height photo slides with the translucent band and an outlined title link. */
.home-hero { position: relative; height: calc(100svh - var(--header-h) - var(--bottom-h)); min-height: 360px; overflow: hidden; background: #111; }
.home-hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }   /* hidden slides sit on top of each other – only the showing one may take the click */
.home-hero__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.home-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__band { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 22px var(--gutter); background: rgb(0 0 0 / .5); display: grid; place-items: center; }
.home-hero__link { display: inline-block; padding: 12px 28px; border: 1px solid #fff; color: #fff; text-decoration: none; font: 300 clamp(1.3rem, 1rem + 1.6vw, 2.4rem)/1.2 var(--f-head); transition: background-color var(--dur); }
.home-hero__link:hover { background: rgb(78 78 78 / .85); }
.home-hero__controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.home-hero__dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; }
.home-hero__dot[aria-current="true"] { background: #fff; }

/* ---------------------------------------------------------------- sections */
.section { padding-block: var(--s-7); }
@media (min-width: 900px) { .section { padding-block: var(--s-8); } }
.section--white { background: var(--surface); }
.intro { max-width: 940px; margin: 0 auto; text-align: center; color: var(--ink-2); font-size: 1.06rem; font-weight: 300; }

/* Sub-page list: round photo, title with a full-width rule, text, "Learn more". */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-7); }
.service-item { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 760px) { .service-item { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-7); } }
.service-item__img { width: 220px; height: 220px; border-radius: 50%; overflow: hidden; margin: 0 auto; background: var(--tint); }
.service-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-item:hover .service-item__img img { transform: scale(1.04); }
.service-item__title { font: 300 1.9rem/1.2 var(--f-head); padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--ink); }
.service-item__title a { text-decoration: none; }
.service-item p { margin-bottom: var(--s-4); }

/* Service detail: text left, the price and Book button right (no card, as on the old site). */
.service { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .service { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-8); } }
.price-block { text-align: center; }
.price-block__amount { font: 400 2.2rem/1.1 var(--f-head); color: var(--ink); margin: 0; }
.price-block__unit { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 4px 0 26px; font-size: 15px; color: var(--ink-2); }
.price-block__unit::before, .price-block__unit::after { content: ""; width: 26px; height: 1px; background: var(--ink-2); }

/* ---------------------------------------------------------------- photos: shared + 18+ gate */
.photo { background: var(--tint); }
.protect-images .photo, .protect-images .lb__img {
  -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none;
}
.is-gated-wrap { position: relative; overflow: hidden; }
.photo.is-gated { filter: blur(22px) saturate(.7); transform: scale(1.12); }
.is-revealing .photo.is-gated { transition: filter .5s, transform .5s; }
.gate-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--ink); text-decoration: none; white-space: nowrap;
  font: 700 11px/1 var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
}
.gate-btn:hover { background: var(--ink); color: #fff; }
.gate-btn svg { flex: none; }
@media (hover: hover) {
  .jg .gate-btn { opacity: 0; transition: opacity var(--dur); }
  .jg__item:hover .gate-btn, .jg .gate-btn:focus-visible { opacity: 1; }
}
.gate-btn--card { top: 40%; }
.gate-btn--inline { position: static; transform: none; box-shadow: none; border: 1px solid var(--ink); }
.age-ok .gate-btn, .age-ok .gate-notice { display: none; }
.gate-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); margin: 0 0 var(--s-5); padding: var(--s-4) var(--s-5); background: var(--tint); border-left: 2px solid var(--ink); font-size: .95rem; }
.gate-notice p { margin: 0; flex: 1 1 320px; }

.gate-dialog, .consent-dialog { border: 0; padding: 0; max-width: min(520px, calc(100vw - 32px)); width: 100%; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.gate-dialog::backdrop, .consent-dialog::backdrop { background: rgba(12, 12, 12, .72); }
.gate-dialog__inner { padding: var(--s-6); }
.gate-dialog__title { font: 300 2rem/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--s-3); }
.gate-dialog__actions, .consent-dialog__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* ---------------------------------------------------------------- justified grid */
/* No-JS fallback: flex items grow in proportion to their aspect ratio, so each row has one height.
   site.js replaces this with exact rows (.is-laid-out). */
.jg { --row-h: 250px; display: flex; flex-wrap: wrap; gap: var(--gap-photo); }
.jg::after { content: ""; flex-grow: 1000000; }
@media (min-width: 700px) { .jg { --row-h: 260px; } }
@media (min-width: 1200px) { .jg { --row-h: 320px; } }
.jg__item { position: relative; margin: 0; flex: var(--ar) 1 calc(var(--ar) * var(--row-h)); min-width: 0; overflow: hidden; background: var(--tint); }
.jg__link { display: block; height: 100%; cursor: zoom-in; }
.jg__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ar); transition: opacity .2s; }
.jg__link:hover .jg__img:not(.is-gated) { opacity: .92; }
.jg.is-laid-out::after { display: none; }
.jg.is-laid-out .jg__item { flex: none; }
.jg.is-laid-out .jg__img { aspect-ratio: auto; }
.jg.is-laid-out .jg__item.is-jg-defer { display: none; }   /* held back until the next batch (see layoutGrid) */
/* Loading: a soft shimmer where the photo will be, then the photo fades in (site.js marks .is-loaded). The link wrapper
   fades, not the image – service and press pages animate the image itself on hover. Without JavaScript nothing hides. */
.js .jg__item::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .07) 50%, transparent 70%) var(--tint); background-size: 220% 100%;
  animation: jg-shimmer 1.6s ease-in-out infinite; transition: opacity .5s ease; }
.js .jg__item.is-loaded::before { opacity: 0; animation: none; }
.js .jg__link { position: relative; z-index: 1; opacity: 0; transition: opacity .7s ease; }
.js .jg__item.is-loaded .jg__link { opacity: 1; }
@keyframes jg-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .js .jg__item::before { animation: none; } .js .jg__link { transition-duration: .2s; } }
/* An incomplete gallery ends on a full row, then softly disappears in the direction the visitor continues. */
@media (min-width: 700px) {
  .jg-wrap--has-more .jg__item.is-jg-tail {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 58%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 58%, transparent 100%);
  }
}
@media (max-width: 699px) {
  .jg-wrap--has-more .jg {
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 120px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 120px), transparent 100%);
  }
}

.gallery { margin-top: var(--s-7); }
.gallery--bleed { margin-inline: calc(-1 * var(--gutter)); }

/* ---------------------------------------------------------------- forms, contact */
.contact { display: grid; gap: var(--s-7); padding-top: var(--s-7); }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); padding-top: var(--s-8); align-items: start; } .contact__intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.contact__lead { font: 300 1.5rem/1.3 var(--f-head); text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.contact__direct { list-style: none; padding: 0; margin: var(--s-5) 0; display: grid; gap: 10px; }
.contact__direct li { display: flex; align-items: center; gap: 10px; }
.contact__note { font-size: .9rem; color: var(--muted); }

.form-card { background: var(--tint); padding: var(--s-5) var(--s-4); }
@media (min-width: 700px) { .form-card { padding: var(--s-6); } }
.form { display: grid; gap: var(--s-5); }
.form-grid { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .field:has(textarea) { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .choice legend { font: 400 11px var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .search-form input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font-size: 16px; line-height: 1.5;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus, .search-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 18, 18, .08); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { margin: 0; color: var(--danger); font-size: .88rem; }
.field--check label { display: flex; gap: 12px; align-items: flex-start; font: 400 .92rem/1.5 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--ink); }
.req { color: var(--danger); }
.choice { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.choice legend { margin-bottom: 8px; }
.notice-box { background: var(--tint); padding: var(--s-5); margin: var(--s-5) 0; }
.notice-box p { margin: 0; }


.search-form { display: flex; gap: var(--s-2); max-width: 620px; margin-top: var(--s-4); }
.search-form input { flex: 1; min-width: 0; }

.message-page { padding-block: var(--s-8) var(--s-6); text-align: center; }
.message-page .page-head__lead { margin-inline: auto; }
.message-page .link-row, .message-page .search-form { justify-content: center; margin-inline: auto; }

.legal { padding-bottom: var(--s-6); }
.toc { background: var(--tint); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-6); }
.toc ol { margin: 0; }
.legal__updated { margin-top: var(--s-7); font-size: .88rem; color: var(--muted); }

.form-card { background: var(--surface); }
.contact__direct a { text-decoration: none; }
.contact__direct a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- press */
/* ---------------------------------------------------------------- blog */
.post-cards { display: grid; gap: var(--s-7) var(--s-6); }
@media (min-width: 700px) { .post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .post-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: grid; align-content: start; gap: var(--s-4); min-width: 0; }
.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card__media:hover .post-card__img { transform: scale(1.03); }
.post-card__meta { margin: 0 0 6px; font: 400 11px var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; color: var(--muted); }
.post-card__meta a { text-decoration: none; }
.post-card__meta a:hover { color: var(--ink); }
.post-card__title { font: 400 1.3rem/1.3 var(--f-head); margin-bottom: 8px; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.post-card__excerpt { color: var(--ink-2); font-size: .95rem; margin: 0; }

.post__head { padding-block: var(--s-7) var(--s-5); text-align: center; }
.post__title { font: 300 clamp(2rem, 1.4rem + 2.2vw, 3.2rem)/1.15 var(--f-head); margin-bottom: var(--s-4); }
.post__lead { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; margin: 0 auto; }
.post__cover { margin: 0 auto var(--s-6); max-width: 1100px; }
.post__cover img { width: 100%; max-height: 80vh; object-fit: cover; }
.post__body { font-size: 1.04rem; }
.post__tags { margin-top: var(--s-6); }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-4); margin-top: var(--s-8); font: 400 12px var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; }
.pagination ol { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; text-decoration: none; }
.pagination a:hover { background: var(--tint); }
.pagination [aria-current] { background: var(--ink); color: #fff; }
.pagination__prev, .pagination__next { display: inline-flex !important; gap: 6px; }

.post-card { background: var(--surface); padding-bottom: var(--s-5); }
.post-card > div { padding-inline: var(--s-5); }
.post-nav { display: flex; justify-content: space-between; gap: var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.post-nav a { display: grid; gap: 4px; text-decoration: none; max-width: 45%; }
.post-nav a:last-child { text-align: right; margin-left: auto; }
.post-nav small { color: var(--muted); text-transform: uppercase; letter-spacing: var(--track-wide); font-size: 11.5px; }

/* ---------------------------------------------------------------- search, messages */
.search-results { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-5); }
.search-results li { background: var(--surface); padding: var(--s-5); }
.search-results h2 { font: 400 1.25rem/1.3 var(--f-head); margin-bottom: 6px; }
.search-results h2 a { text-decoration: none; }
.search-results h2 a:hover { text-decoration: underline; }
.search-results p { margin: 0; font-size: .95rem; }
.search-results small { color: var(--muted); }
.message-page { padding-block: var(--s-8) var(--s-6); text-align: center; }
.message-page .lead { margin-inline: auto; }
.message-page .link-row { justify-content: center; }
.link-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-5); }
.toc { background: var(--surface); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-6); }
.toc ol { margin: 0; }
.legal__updated { margin-top: var(--s-7); font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------- footer: lens flare + grey + stardust */
.site-footer { color: #fff; background: url("../img/stardust.gif"), var(--lens-flare); background-blend-mode: overlay, normal; }
.site-footer a { color: #fff; }
.site-footer__cols { max-width: var(--max); margin: 0 auto; padding: var(--s-7) var(--gutter); display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); padding-block: var(--s-8); } }
.footer-col__title { color: #fff; font: 400 1.25rem/1.3 var(--f-head); margin-bottom: var(--s-4); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { border-bottom: 1px solid rgb(255 255 255 / .2); }
.footer-links a, .footer-links .link-btn { display: flex; align-items: center; gap: 8px; padding: 9px 0; text-decoration: none; width: 100%; text-align: left; }
.footer-links a:hover, .footer-links .link-btn:hover { text-decoration: underline; text-underline-offset: .2em; }
.hours { border-collapse: collapse; width: 100%; max-width: 340px; margin-bottom: var(--s-5); font-size: 14.5px; }
.hours th, .hours td { padding: 6px 0; border-bottom: 1px solid rgb(255 255 255 / .2); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.footer-contact { font-style: normal; }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-contact svg { flex: none; margin-top: 5px; }
.social { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .55); border-radius: 50%; transition: background-color var(--dur); }
.social a:hover { background: rgb(255 255 255 / .15); }
.site-footer__bottom { background: rgb(179 181 182 / .32); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px var(--s-5); padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); }
.footer-logo { width: 150px; color: #fff; }
.footer-logo svg { width: 100%; height: auto; }
.site-footer__copy { margin: 0; font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.site-footer .btn--flare { background: transparent; border: 1px solid #fff; text-shadow: none; }
.site-footer .btn--flare:hover { background: rgb(255 255 255 / .15); }
.to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--lens-flare); color: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / .25); }

/* ---------------------------------------------------------------- lightbox */
.lb { position: fixed; inset: 0; z-index: 1000; background: var(--overlay); color: #eee; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity .22s; touch-action: none; }
.lb.is-open { opacity: 1; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 0 18px; font: 400 11.5px var(--f-ui); letter-spacing: var(--track-ui); color: #999; }
.lb__btn { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; color: #eee; border-radius: 50%; transition: background-color var(--dur); }
.lb__btn:hover { background: rgba(255, 255, 255, .08); }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; }
.lb__img { max-width: none; max-height: none; object-fit: contain; transition: opacity .2s; background: transparent; transform-origin: 0 0; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.lb__img.is-animating { transition: opacity .2s, transform .28s var(--ease); }
.lb.can-zoom .lb__img { cursor: zoom-in; }
.lb.is-zoomed .lb__img { cursor: grab; will-change: transform; }
.lb.is-zoomed.is-dragging .lb__img { cursor: grabbing; }
.lb.is-zoomed .lb__nav { opacity: 0; pointer-events: none; }
.lb__stage { cursor: default; }
.lb__tools { display: flex; align-items: center; gap: 4px; }
.lb__zoom[hidden] { display: none; }
.lb__img.is-loading { opacity: .25; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 8px; }
.lb__nav--next { right: 8px; }
@media (max-width: 899.98px) { .lb__nav { display: none; } }
.lb__caption { padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); text-align: center; min-height: 64px; }
/* timeline: every photo of the gallery, the current one highlighted and kept in the middle */
.lb.has-strip { grid-template-rows: auto 1fr auto auto; }
.lb.has-strip .lb__caption { padding-bottom: 8px; min-height: 0; }
.lb__strip { display: flex; gap: 4px; height: 74px; padding: 6px 50vw calc(10px + env(safe-area-inset-bottom)); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; touch-action: pan-x; overscroll-behavior-x: contain; transition: opacity .2s; }
.lb__strip::-webkit-scrollbar { display: none; }
.lb.is-zoomed .lb__strip { opacity: 0; pointer-events: none; }
.lb__thumb { flex: none; height: 100%; aspect-ratio: var(--ar, 1.5); padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: #1c1c1c; cursor: pointer; opacity: .45; transition: opacity .2s, transform .2s, box-shadow .2s; }
.lb__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lb__thumb:hover { opacity: .85; }
.lb__thumb.is-current { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.lb__thumb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; opacity: 1; }
@media (max-width: 640px) { .lb__strip { height: 58px; } }
.lb__title { margin: 0 0 4px; font: 400 12.5px var(--f-ui); letter-spacing: var(--track-wide); text-transform: uppercase; color: #fff; }
.lb__title a { color: #fff; }
.lb__exif { margin: 0; font: 400 12px/1.7 var(--f-ui); color: #9a9a9a; }
.lb__exif span + span::before { content: "·"; margin: 0 .55em; color: #555; }
.lb__exif a { color: #d8d8d8; text-decoration-color: #555; }
.lb__exif a:hover { color: #fff; }
body.lb-open { overflow: hidden; }

/* ---------------------------------------------------------------- consent banner */
.consent-banner {
  position: fixed; z-index: 900; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  background: #fff; color: var(--ink); padding: var(--s-5); box-shadow: 0 20px 60px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .06); border: 1px solid var(--line);
  font-size: .92rem; max-height: calc(100dvh - 24px); overflow-y: auto;
}
@media (min-width: 700px) { .consent-banner { left: 24px; right: auto; bottom: 24px; width: 420px; } }
.consent-banner__title { font: 400 1.05rem var(--f-head); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; padding-right: 32px; }
.consent-banner p { color: var(--ink-2); margin-bottom: var(--s-4); }
.consent-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-banner__actions .link-btn { grid-column: 1 / -1; justify-self: center; padding: 6px; font: 400 11.5px var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; }
.btn--consent { min-height: 44px; background: var(--ink); color: #fff; }
.btn--consent:hover { background: #fff; color: var(--ink); }
.notice-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 50%; }
.notice-x:hover { background: var(--tint); color: var(--ink); }
.consent-dialog.is-fallback[open] { position: fixed; z-index: 1000; inset: 16px 0 auto; margin: 0 auto; }
.consent-dialog__inner { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); max-height: calc(100dvh - 48px); overflow-y: auto; }
.consent-dialog h2 { font: 300 1.8rem/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.consent-dialog__intro { font-size: .92rem; color: var(--ink-2); }
.consent-dialog__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; }
.consent-dialog__close:hover { background: var(--tint); }
.consent-options { list-style: none; margin: 0; padding: 0; }
.consent-option { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.consent-option h3 { font: 700 12px var(--f-ui); letter-spacing: var(--track-ui); text-transform: uppercase; margin-bottom: 6px; }
.consent-option p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.consent-option__always { flex: none; font: 400 11px var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.consent-switch { position: relative; flex: none; width: 48px; height: 28px; cursor: pointer; }
.consent-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.consent-switch__track { position: absolute; inset: 0; border-radius: 14px; background: #cfcfcf; transition: background-color .2s; }
.consent-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.consent-switch input:checked + .consent-switch__track { background: var(--ink); }
.consent-switch input:checked + .consent-switch__track::after { transform: translateX(20px); }
.consent-switch input:focus-visible + .consent-switch__track { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- maintenance */
.maintenance-page { display: grid; min-height: 100vh; place-items: center; text-align: center; }
.maintenance { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-7) var(--gutter); max-width: 640px; }
.maintenance__legal { margin-top: var(--s-6); font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------- checkboxes and radios */
input[type=checkbox]:not(.consent-switch input), input[type=radio] {
  -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; display: inline-grid; place-content: center;
  border: 1.5px solid var(--muted); border-radius: 5px; background: #fff; cursor: pointer; vertical-align: -4px;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
input[type=radio] { border-radius: 50%; }
input[type=checkbox]:not(.consent-switch input)::before {
  /* the tick is a mask filled with the page surface colour: white on black (light), dark on cream (dark theme) */
  content: ""; width: 14px; height: 14px; transform: scale(0); transition: transform .15s var(--ease); background: var(--surface, #fff);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.6L10 3.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.6L10 3.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
input[type=radio]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--surface, #fff); transform: scale(0); transition: transform .15s var(--ease); }
input[type=checkbox]:not(.consent-switch input):checked, input[type=radio]:checked { background: var(--ink); border-color: var(--ink); }
input[type=checkbox]:not(.consent-switch input):checked::before, input[type=radio]:checked::before { transform: scale(1); }
input[type=checkbox]:not(.consent-switch input):focus-visible, input[type=radio]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input[type=checkbox]:not(.consent-switch input):hover:not(:checked):not(:disabled) { border-color: var(--ink); }
/* a tick-box sentence inside a form field reads as text, not as a small-caps field title */
.field label.check { font: 400 15px/1.5 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink); }
.field label.check input[type=checkbox] { width: 20px; height: 20px; min-height: 0; padding: 0; margin-top: 1px; box-shadow: none; }
input[type=checkbox]:not(.consent-switch input):disabled, input[type=radio]:disabled { opacity: .45; cursor: not-allowed; }
.field--check label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.field--check input { margin-top: 2px; }
.has-error input[type=checkbox] { border-color: var(--danger); }

.xselect[hidden] { display: none; }
/* Videos (YouTube / Vimeo) in written content: a click-to-play placeholder until the visitor allows them */
.embed { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; margin: 2em 0; background: #141414; color: #e8e6e1; overflow: hidden; border-radius: 2px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; margin: 0; aspect-ratio: auto; }
.embed.is-loaded .embed__notice { display: none; }
.embed__notice { max-width: 34em; padding: 20px 24px; text-align: center; }
.embed__play { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8); }
.embed__play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.embed__title { margin: 0 0 6px; font: 400 13px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.embed__text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: #b9b6ae; }
.embed__actions { margin: 0; font: 400 12.5px var(--f-ui); color: #8d8a83; }
.embed__actions a, .embed__link { color: #e8e6e1; text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.embed__btn { margin-right: 10px; }
@media (max-width: 560px) { .embed { aspect-ratio: 4 / 3; } .embed__text { font-size: 12.5px; } }
.embed .embed__btn { min-height: 38px; padding: 9px 20px; border-color: #fff; background: #fff; color: #141414; } .embed .embed__btn:hover { background: transparent; color: #fff; }

/* Photos in posts and pages: galleries (two or more in a row) and single photos open in the lightbox */
.prose .prose-gallery { margin: 2em 0; }
.prose .prose-gallery .jg { --row-h: 200px; }
@media (min-width: 700px) { .prose .prose-gallery .jg { --row-h: 210px; } }
.prose .prose-gallery img, .prose .prose-gallery figure { margin: 0; }
.prose .prose-photo a[data-lb] { display: block; cursor: zoom-in; }
.prose a[data-lb] img { transition: opacity .2s; }
.prose a[data-lb]:hover img { opacity: .92; }
/* Wider than the text on larger screens, centred on it */
@media (min-width: 900px) {
  .prose .prose-gallery { width: min(1080px, calc(100vw - 2 * var(--gutter))); position: relative; left: 50%; transform: translateX(-50%); }
}
.prose .prose-gallery__caption { margin: -1.2em 0 2em; text-align: center; font-size: .9em; color: var(--muted); }

/* ---------------------------------------------------------------- pagination */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-4); margin-top: var(--s-8); font-size: 14px; }
.pagination ol { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; text-decoration: none; }
.pagination a:hover { background: var(--surface); }
.pagination [aria-current] { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- motion + print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .top-bar, .site-header, .site-footer, .consent-banner, .admin-bar, .gate-btn, .to-top { display: none !important; }
  body { font-size: 11pt; background: #fff; }
}

/* A plain page title is followed straight by the text */
.page-head + .section { padding-top: 0; }
.hero + .section, .title-bar + .section { padding-top: var(--s-6); }

/* ---------------------------------------------------------------- home: only the slider, no scrolling (old site) */
:root { --bottom-h: 60px; --top-bar-h: 0px; }
@media (min-width: 1620px) { :root { --top-bar-h: 38px; } }
.is-home .home-hero { height: calc(100svh - var(--header-h) - var(--top-bar-h) - var(--bottom-h)); }
.site-footer--home .site-footer__cols { display: none; }
.site-footer--home .site-footer__bottom { background: var(--lens-flare); min-height: var(--bottom-h); }
.is-home .to-top { display: none; }

/* Section pages: centred intro (old "about-section"), list straight after it */
.page--section .prose, .page--home .prose { max-width: 940px; margin-inline: auto; text-align: center; font-weight: 300; }
.page--section .section + .section { padding-top: 0; }

/* Press list (old blog masonry): two columns of white cards, date at the bottom */
.press-list { max-width: 1040px; }
.press-list .post-cards { display: grid; gap: 24px; }
@media (min-width: 760px) { .press-list .post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.press-list .post-card { background: var(--surface); padding: 0; gap: 0; display: flex; flex-direction: column; box-shadow: 0 1px 4px rgb(0 0 0 / .08); }
.press-list .post-card__media { aspect-ratio: 2 / 1; }
.press-list .post-card__body { padding: 30px 24px 10px; flex: 1; }
.press-list .post-card__title { font: 400 1.15rem/1.35 var(--f-head); margin: 0 0 14px; }
.press-list .post-card__excerpt { font-size: 12.5px; line-height: 1.65; }
.press-list .post-card__date { margin: 0; padding: 12px 24px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.page--section .service-list, .page--home .service-list { max-width: 840px; margin-inline: auto; }
.service-item p { color: var(--ink-2); font-weight: 300; }

/* ================================================================ imported page layouts (Elementor structure)
   Values measured on the old site: text 17/27px #757575, headings 34px, boxed width 1140px. */
.layout { --boxed: 1140px; color: #757575; font-size: 17px; line-height: 27px; }
.layout .el { display: flex; flex-direction: column; width: var(--w, auto); min-width: 0; box-sizing: border-box; background-repeat: no-repeat; }
.layout > .el { width: 100%; }
.layout .el--boxed { padding-inline: max(10px, calc((100% - var(--boxed)) / 2)); }
.layout .el > * { min-width: 0; }
.layout .el[style*="--w"] { flex: 0 0 var(--w); max-width: var(--w); }
.layout h2 { font: 400 34px/1.2 var(--f-head); color: #000; margin: 0 0 14px; }
.layout h3 { font: 400 24px/1.3 var(--f-head); color: #000; margin: 0 0 12px; }
.layout p { margin: 0 0 14px; }
.layout .el-w > :last-child, .layout .el-w p:last-child { margin-bottom: 0; }
.layout a { color: #000; }
.layout .btn { color: #fff; }
.layout .center { text-align: center; }
.layout .right { text-align: right; }
.layout .el-media figure { margin: 0 auto; width: var(--w, 100%); }
.layout .el-media img { width: 100%; height: auto; }
.layout figure.round img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.layout .price-block { text-align: center; margin: 10px 0 24px; }
.layout .price-block__amount { font: 400 2.2rem/1.1 var(--f-head); color: #000; margin: 0; }
.layout .price-block__unit { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px 0 0; color: #4f4f4f; }
.layout .price-block__unit::before, .layout .price-block__unit::after { content: ""; width: 26px; height: 1px; background: #4f4f4f; }
.layout .icon-box h3 { font-size: 24px; }
.layout details.faq { background: var(--surface); margin: 0 0 10px; padding: 0 20px; }
.layout details.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: #000; }
.layout details.faq[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.layout blockquote.quote { margin: 0 0 20px; padding: 20px 24px; background: var(--surface); font-style: italic; border: 0; }
.layout .el-gallery { width: 100%; }
.layout .btn--block { width: 100%; }
@media (max-width: 1024px) { .layout .el[style*="--w-t"] { flex-basis: var(--w-t); max-width: var(--w-t); } }
@media (max-width: 767px) {
  .layout .el[style*="--w"] { flex: 0 0 var(--w-m, 100%); max-width: var(--w-m, 100%); }
  .layout .el[style*="--dir-m"] { flex-direction: var(--dir-m); }
  .layout .el[style*="--pad-m"] { padding: var(--pad-m); }
  .layout .el[style*="--minh-m"] { min-height: var(--minh-m); }
  /* measured on the old site at 390px: text blocks 0.8em (13.6px) on 27px lines, headings 75% */
  .layout { font-size: 17px; line-height: 27px; }
  .layout .el-w { font-size: .8em; }
  .layout h2 { font-size: 25.5px; line-height: 1; }
  .layout .btn { font-size: 15px; }
  .layout .price-block__amount { font-size: 51px; }
}
/* Layout variables belong to the block that sets them (custom properties would otherwise inherit into children). */
.layout .el, .layout .el-w, .layout .el-media { --w: initial; --w-t: initial; --w-m: initial; --dir-m: initial; --pad-m: initial; --minh-m: initial; --overlay: initial; }
.layout .el[style*="--overlay"] { position: relative; isolation: isolate; }
.layout .el[style*="--overlay"]::before { content: ""; position: absolute; inset: 0; background: var(--overlay); border-radius: inherit; z-index: -1; }
/* Elementor defaults: 20px gap inside containers; boxed containers keep content within 1140px whatever their padding. */
.layout .el { gap: 20px; }
.layout .el--boxed { padding-left: max(10px, calc((100% - var(--boxed)) / 2)) !important; padding-right: max(10px, calc((100% - var(--boxed)) / 2)) !important; }
.layout a:not(.btn) { text-decoration: none; }
/* Elementor defaults on the old site: buttons in the kit accent colour, icons sized to the text */
.layout .btn { background: #4c4c4c; border-color: transparent; font-weight: 400; font-size: 15px; min-height: 0; padding: 12px 24px; border-radius: 3px; }
.layout .btn:hover { background: #333; }
.layout .btn--flare { background: var(--lens-flare); font-size: 18px; padding: 18px 24px; }
.layout .fa { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; margin-right: .45em; }
.layout ul.icon-list { list-style: none; padding: 0; margin: 0; color: #000; }
.layout ul.icon-list li { margin: 2px 0; }
.layout .icon-box__icon .fa { width: 40px; height: 40px; margin: 0; color: #000; }
.layout .social-squares { display: flex; gap: 6px; justify-content: center; }
.layout .social-squares a { width: 32px; height: 32px; display: grid; place-items: center; background: #000; color: #fff; border-radius: 3px; }
.layout .social-squares .fa { margin: 0; }
/* Spam trap: never visible */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Round photos (Elementor image with 100% radius) and the rule under linked headings */
.layout .el-media.round img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
/* Press post title bar: the post photo, darkened, white title and breadcrumbs */
.post-head { position: relative; display: grid; place-items: center; align-content: center; min-height: 500px; padding: 40px var(--gutter); text-align: center; background: #222; overflow: hidden; }
.post-head__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.post-head__title { position: relative; color: #fff; font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.3 var(--f-head); margin: 0 0 8px; }
.post-head .crumbs { position: relative; margin: 0; color: rgb(255 255 255 / .85); font-size: 12px; }
.post-head .crumbs ol { justify-content: center; }
.post-head .crumbs li + li::before { content: "/"; color: rgb(255 255 255 / .6); }
.post-head .crumbs a { color: #fff; }
.layout .post-date { font-size: 15px; color: #757575; margin: 0; }

/* Elementor border defaults when only the style is set; spacers and empty blocks keep their height */
.layout .el-w[style*="border-style"] { border-width: 0; border-color: #4f4f4f; }
.layout .el-w[style*="border-style"][style*="border-width"] { border-color: #4f4f4f; }
.layout .btn { font-size: 16px; padding: 15px 30px; line-height: 1; }
.layout .el-w:empty { display: block; }
/* Press posts (The7 page, not Elementor): 1300px wide, light 17/27 text */
.post .layout { --boxed: 1300px; color: #4f4f4f; font-weight: 300; }
.post .layout p { margin: 0 0 10px; }
.post .layout h2 { line-height: 44px; margin: 0 0 10px; }
.post .layout li { color: #4f4f4f; }
.layout .post-date { font-size: 17px; color: #767676; }

/* Pages on the old theme's default template: inside its page frame (measured: 70px above/below, 1300px wide) */
.layout--framed { padding: 70px max(20px, calc((100% - 1300px) / 2)); }
.layout--framed > .el { width: 100%; }
@media (max-width: 767px) { .layout--framed { padding-block: 40px; } }

/* Image sizes from Elementor (width / max width / preset) and image borders */
.layout .el-media figure { width: var(--w, auto); max-width: var(--mw, 100%); }
.layout .el-media[style*="--bc"] img { border: 1px solid var(--bc); }
.layout .el-media img { display: block; margin: 0 auto; }
/* Image carousel: a sliding row, 3 photos in view (1 on phones) */
.layout .el-carousel { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.layout .el-carousel::-webkit-scrollbar { display: none; }
.layout .el-carousel img { flex: 0 0 33.333%; width: 33.333%; height: 300px; object-fit: cover; scroll-snap-align: start; }
@media (max-width: 767px) { .layout .el-carousel img { flex-basis: 100%; width: 100%; } }
/* The7 "fancy" title: photo, dark overlay, big white title */
.fancy-head { position: relative; display: grid; place-items: center; align-content: center; min-height: var(--fh, 300px); padding: 20px var(--gutter); background: var(--fbg, #222); overflow: hidden; text-align: center; }
.fancy-head__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fancy-head__overlay { position: absolute; inset: 0; background: #000; }
.fancy-head__title { position: relative; margin: 0; font-weight: 400; line-height: 1.2; }
.fancy-head .crumbs { position: relative; color: #fff; }
@media (max-width: 778px) { .fancy-head { min-height: 70px; } .fancy-head__title { font-size: 30px !important; } }
.layout .el[style*="flex-direction: row"] > .el:not([style*="--w:"]) { flex: 1 1 0; }

.layout .sep-icon { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; }
.layout .sep-icon::before, .layout .sep-icon::after { content: ""; width: 10px; height: 1px; background: #000; }
.layout .sep-icon .fa { width: 24px; height: 24px; margin: 0; color: #000; }
.layout .embed--map { aspect-ratio: auto; height: 400px; margin: 0; }

/* Elementor container defaults (measured): nested blocks 10px padding; full-width top blocks 10px; boxed top blocks 0 10px */
.layout .el .el { padding: 10px; }
.layout > .el:not(.el--boxed), .layout > .el.el--boxed { padding-top: 0; padding-bottom: 0; }
.layout > .el:not(.el--boxed) { padding: 10px; }
.layout h2, .layout h3 { font-weight: 400; }
.layout > .el.el--boxed { padding-top: 10px; padding-bottom: 10px; }

.layout hr { width: 100%; border: 0; border-top: 1px solid #000; margin: 0; }
.layout p:has(> .btn--block), .layout .el-w:has(.btn--block) { align-self: stretch; }

.layout a.el-link { color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.layout a.el-link:hover { transform: translateY(-2px); }
.layout .btn--flare.btn--lg { font-size: 18px; padding: 20px 24px; }

/* Press post cover with The7's category label and date badge */
.post-body { padding-top: 70px !important; }
.post-cover { position: relative; margin: 0 0 30px; }
.post-cover img { width: 100%; height: auto; display: block; }
.post-cover__cat { position: absolute; top: 10px; left: 10px; background: #000; color: #fff !important; font: 700 11px/1 var(--f-ui); padding: 7px 10px; text-decoration: none; }
.post-cover__date { position: absolute; top: 10px; right: 10px; display: grid; justify-items: center; gap: 4px; width: 46px; padding: 6px 0; background: #fff; color: #000; font: 700 11px/1 var(--f-ui); }
.post-cover__date b { font-size: 17px; border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 4px 0; width: 22px; text-align: center; }

/* Elementor grid containers */
.layout .el.el--grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; }
.layout .el.el--grid, .layout .el--grid > * { --cols: initial; }
@media (max-width: 1024px) { .layout .el.el--grid { grid-template-columns: repeat(var(--cols-t, 2), minmax(0, 1fr)); } }
@media (max-width: 767px) { .layout .el.el--grid { grid-template-columns: repeat(var(--cols-m, 1), minmax(0, 1fr)); } }
.layout .el-media figcaption { margin-top: 8px; text-align: center; color: #4c4c4c; font-size: 17px; }

.layout h1 { font: 300 clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem)/1.2 var(--f-head); color: #000; margin: 0 0 14px; }
.layout h4 { font: 600 1.15rem/1.4 var(--f-head); color: #000; margin: 0 0 10px; }

/* Gallery footer (old Justified Image Grid): Load More button and the copyright line */
.jg-more { text-align: center; margin: 20px 0 0; }
.jg-more__btn { border: 0; background: #4c4c4c; color: #fff; font: 300 17px/1 var(--f-body); padding: 14px 24px; cursor: pointer; }
.jg-more__btn:hover { background: #333; }
.jg-credit { text-align: center; color: #4c4c4c; font-size: 17px; font-weight: 300; margin: 16px 0 0; }

/* Old JIG button (black, narrow, wrapping) and bold credit */
.jg-more__btn { background: #000; color: #ddd; width: 177px; padding: 10px 20px; line-height: 23px; }
.jg-credit { color: #000; font-weight: 700; font-size: 15px; }
/* Press post footer: share bar, previous/next, other posts */
.post-foot { padding-top: 40px !important; gap: 0 !important; }
.share-bar { display: flex; gap: 8px; margin-bottom: 50px; }
.share-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; background: #f6f7f9; color: #000; font: 700 14px var(--f-ui); text-decoration: none; }
.share-bar a.share-bar__small { flex: 0 0 54px; }
.share-bar .fa { width: 14px; height: 14px; margin: 0; }
.post-nav { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 54px; }
.post-nav a { display: flex; align-items: center; gap: 16px; color: #000; text-decoration: none; font-size: 20px; }
.post-nav a .fa { width: 18px; height: 30px; color: #ccc; margin: 0; }
.post-nav small { display: block; font-size: 13px; color: #767676; text-transform: uppercase; }
.post-nav__next { text-align: right; }
.post-others { list-style: none; margin: 0 0 40px; padding: 0 0 40px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 20px; }
@media (max-width: 900px) { .post-others { grid-template-columns: 1fr; } }
.post-others li { display: flex; gap: 20px; }
.post-others img { width: 110px; height: 80px; object-fit: cover; flex: none; }
.post-others a { color: #000; text-decoration: none; font-size: 17px; line-height: 1.6; }
.post-others time { display: block; color: #767676; font-size: 14px; }

/* Phones: Elementor lets row containers wrap; children take their phone width (100% unless set) */
@media (max-width: 767px) {
  .layout .el[style*="flex-direction: row"]:not([style*="--dir-m"]) { flex-wrap: wrap; }
  .layout .el[style*="flex-direction: row"] > .el:not([style*="--w"]) { flex: 0 0 100%; max-width: 100%; }
}
/* Page title slideshow: 45vh, 20rem on tablets, 10rem on phones (old settings); title 5em → 2em */
@media (max-width: 1024px) { .hero { height: 20rem; min-height: 0; } }
@media (max-width: 767px) { .hero { height: 10rem; } .hero__title { font-size: 34px; } }
/* Outline buttons stack (PowerPack buttons on Socials) */
.layout .btn-stack { display: grid; gap: 10px; width: 100%; }
.layout .btn--outline { background: transparent; border: 2px solid #fff; color: #fff; border-radius: 0; }
.layout .btn--outline:hover { background: rgb(0 0 0 / .47); }
.layout .el--boxed[style*="--boxed"] { padding-left: max(10px, calc((100% - var(--boxed)) / 2)) !important; padding-right: max(10px, calc((100% - var(--boxed)) / 2)) !important; }

/* WordPress smilies */

/* Text pages (old The7 content, measured): 17/27 light grey text, 34/44 headings */
.prose { font-size: 17px; line-height: 27px; font-weight: 300; color: #4f4f4f; }
.prose p { margin: 0 0 10px; }
.prose h2 { font: 400 34px/44px var(--f-head); color: #000; margin: 0 0 10px; }
.prose h3 { font: 400 24px/34px var(--f-head); color: #000; margin: 0 0 10px; }
.prose > * + h2, .prose > * + h3 { margin-top: 0; }
.prose a { color: #000; }

.hero__title { text-transform: capitalize; }

/* ===== Measured against the old site at 1920px (portraits/studio), 2026-10-06 ===== */
.layout h2, .layout h3, .layout h4 { line-height: 1; margin: 0; }
.layout h2 { font-size: 34px; }
.layout p { margin: 0 0 10px; }
.layout .el-w > :last-child { margin-bottom: 0; }
.layout .estimate-note { font-weight: 300; color: #4f4f4f; margin: 0 0 10px; }
.layout .price-block { margin: 0; }
.layout .price-block__amount { font-size: 39px; line-height: 34px; font-weight: 400; margin: 0; }
.layout .price-block__unit { width: 45%; margin: 5px auto 0; font-size: 17px; line-height: 24px; color: #757575; gap: 10px; }
.layout .price-block__unit::before, .layout .price-block__unit::after { flex: 1; width: auto; background: #757575; }
.layout .btn--flare.btn--lg { font-size: 18px; font-weight: 700; line-height: 14px; padding: 20px 24px; min-height: 0; }
.layout p:has(> .btn) { margin-bottom: 0; }


.layout .el-w > .estimate-note:last-child { margin-bottom: 10px; }

/* ===== Header ≥1620px, measured on the old site (The7 split header) at 1920px ===== */
@media (min-width: 1620px) {
  .top-bar__inner { padding: 5px 50px; min-height: 38px; }
  .top-bar a { line-height: 19px; }
  .top-bar__social a { width: 26px; height: 26px; }
  .top-bar ul { gap: 4px 20px; }
  .top-bar__social ul { gap: 4px; }
  .site-header__inner { display: flex; align-items: stretch; height: 100px; padding: 0 30px; gap: 0; }
  .main-nav { display: contents; }
  .main-nav__list { flex: 1 1 0; display: flex; justify-content: space-between; align-items: stretch; padding: 0 !important; }
  .main-nav__list--left { order: 1; }
  .brand { order: 2; flex: 0 0 330px; width: 330px; margin: 0; display: flex; align-items: center; }
  .brand svg { width: 300px; height: auto; }
  .main-nav__list--right { order: 3; }
  .main-nav__list > li { flex: 1 1 auto; justify-content: center; }
  .main-nav__list > li > a { line-height: 17px; padding: 0; }
}
@media (min-width: 1620px) { .top-bar ul { min-height: 28px; } .main-nav .menu-cta > a .icon { width: 11px; height: 11px; } }
@media (min-width: 1620px) {
  .main-nav__list > li[data-sub] > a { padding-right: 0; }
  .main-nav .sub-toggle { width: 10px; height: 17px; margin: 0 0 0 1px; }
  .main-nav .sub-toggle svg { width: 9px; height: 9px; }
  .main-nav .sub-toggle svg path { stroke-width: 2.4; }
}

/* The7 split menu (measured): each link fills its item, text + chevron centred, margins 0 14px (outer edges 0) */
.main-nav__chev { display: none; }
@media (min-width: 1620px) {
  .main-nav__list > li > a { flex: 1 1 auto; justify-content: center; margin: 0 14px; padding: 2px !important; }
  .main-nav__list > li:first-child > a { margin-left: 0; }
  .main-nav__list > li:last-child > a { margin-right: 0; }
  .main-nav__chev { display: inline-flex; margin-left: 1px; }
  .main-nav__chev svg path { stroke-width: 2.4; }
  .main-nav .sub-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
  .main-nav__list > li > a::after { left: 2px; right: 2px; }
}
/* Top bar ≥1620px (measured): flag link 43px, 20px gaps, 26px social circles 4px apart, 20px mail/phone icons, 28px rows */
@media (min-width: 1620px) {
  .top-bar a { min-height: 28px; gap: 5px; }
  .top-bar .lang-switch { padding: 0 15px 0 10px; }
  .top-bar ul.top-bar__left { gap: 20px; }
  .top-bar__social a { min-height: 26px; }
  .top-bar .icon--mail, .top-bar .icon--phone { width: 20px; height: 15px; }
  .top-bar .icon--user { width: 16px; height: 16px; }
  .top-bar__right { gap: 20px; }
}
@media (max-width: 640px) {
  .prose table, .content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .88rem; }
  .prose td, .prose th, .content td, .content th { overflow-wrap: break-word; hyphens: auto; }
  .prose td h3, .page .content td h3 { font-size: 1rem; line-height: 1.35; margin: 0; }
}

/* gentle fade-ins (assets/js/reveal.js) – only added by the script, so the page is complete without it */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* gallery: loading the next batch (assets/js/site.js) */
.jg-sentinel { height: 1px; }
.jg-loading { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 0; color: var(--muted); font-size: 13px; letter-spacing: var(--track-ui); }
.jg-loading[hidden] { display: none; }
.jg-loading span { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: jg-spin .8s linear infinite; }
@keyframes jg-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .jg-loading span { animation-duration: 2.4s; } }

/* "Client Login" modal (layout.php, site.js) */
.cl-modal { width: min(440px, calc(100vw - 32px)); padding: 30px 28px 26px; border: 0; border-radius: 16px; background: var(--surface); color: var(--ink-2); box-shadow: 0 30px 80px rgb(0 0 0 / .4); }
.cl-modal::backdrop { background: rgb(8 6 8 / .62); backdrop-filter: blur(3px); }
.cl-modal::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 16px 16px 0 0; background: var(--lens-flare); }
.cl-modal__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.cl-modal__close:hover { background: var(--tint); color: var(--ink); }
.cl-modal__kicker { margin: 0 0 6px; color: var(--copper, #873949); font-size: 11.5px; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.cl-modal h2 { margin: 0; color: var(--ink); font: 300 34px/1.1 var(--f-head); letter-spacing: -.03em; }
.cl-modal__intro { margin: 10px 0 18px; color: var(--muted); font-size: 15px; }
.cl-field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.cl-field input { min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--tint); color: var(--ink); font-size: 16px; }
.cl-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.cl-turnstile:not(:empty) { margin: 4px 0 14px; }
.cl-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: rgb(192 57 43 / .12); color: var(--danger); font-size: 14px; }
.cl-error[hidden], .cl-step[hidden] { display: none; }
.cl-done { margin: 4px 0 12px; padding: 12px 14px; border-radius: 8px; background: rgb(46 160 67 / .12); color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.cl-done[hidden], .cl-step [hidden] { display: none; }
.cl-modal__note { margin: -8px 0 16px; color: var(--muted); font-size: 14px; }
.cl-links .linkish { color: var(--ink-2); font-size: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.cl-btn { width: 100%; min-height: 50px; border: 0; border-radius: 999px; background: var(--lens-flare); background-size: 140% 100%; color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.cl-btn:disabled { opacity: .6; cursor: progress; }
.cl-links { margin: 16px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.cl-links a { color: var(--ink-2); }
.field label.check + .field__desc { padding-left: 30px; }

/* Small gradient circles (icons, back to top, step numbers): a thin lens-flare ring around a calm centre in the page's
   own colour and a clear symbol – the full gradient at this size was too busy. `html` lifts it over each element's fill. */
html .to-top, html .gcx-ico, html .gc-h span, html .gcp-step__n, html .gcp-stepper__n { background: var(--bg); color: var(--ink); isolation: isolate; }
html .gcx-ico, html .gc-h span, html .gcp-step__n, html .gcp-stepper__n { position: relative; }
html .to-top::before, html .gcx-ico::before, html .gc-h span::before, html .gcp-step__n::before, html .gcp-stepper__n::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 1.5px; background: var(--lens-flare); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
html .gcx-ico--lg::before { padding: 2px; }
html .to-top:hover { background: color-mix(in srgb, var(--bg) 80%, var(--ink) 20%); }
