@charset "UTF-8";
/* ==========================================================================
   Frank Moody Photographic — site stylesheet
   Rebuilt 2026. Replaces bootstrap.min.css / custom.css / style1.css /
   animate.css / owl.* / ionicons / font-awesome.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Coda&family=Raleway:wght@300;400;600&family=Roboto:wght@300;400;500;700&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --accent: #6495ED;              /* cornflower blue — carried over from the old site */
  --accent-dark: #3f74d0;
  --ink: #1f2124;
  --ink-soft: #55595f;
  --page: #e1e1e1;
  --panel: #f6f6f6;
  --line: #cfcfcf;
  --dark: #1a1a1a;
  --dark-2: #2a2a2a;
  --white: #fff;

  --head: 'Coda', 'Trebuchet MS', sans-serif;
  --body: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --ui: 'Roboto', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --nav-h: 64px;
  --radius: 2px;
  --shadow: 0 2px 14px rgba(0, 0, 0, .12);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .28);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover, a:focus-visible { color: var(--ink); text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Visible only to screen readers, but focusable (skip link) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 10000;
  background: var(--accent); color: #fff;
  padding: .7rem 1.2rem; font-family: var(--ui); border-radius: 0 0 3px 3px;
}
.skip-link:focus { top: 0; color: #fff; text-decoration: none; }

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

/* --------------------------------------------------------------------------
   3. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  /* A soft scrim only behind the bar itself, so the menu stays readable over a
     bright sky without dimming the photograph the way a full overlay would. */
  background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .28) 70%, transparent);
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.is-solid { background: var(--dark-2); box-shadow: 0 1px 16px rgba(0, 0, 0, .35); }

.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--nav-h);
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Brand lockup: Frank Moody, a hairline, then TheAIR.Tech */
.brand-lockup { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.brand, .brand-air { display: flex; align-items: center; padding: .4rem 0; }
.brand img { height: 34px; width: auto; }
.brand-air img { height: 40px; width: auto; opacity: .92; transition: opacity .2s ease; }
.brand-air:hover img, .brand-air:focus-visible img { opacity: 1; }
.brand-sep { width: 1px; align-self: stretch; margin: .55rem 0; background: rgba(255, 255, 255, .32); }

@media (max-width: 620px) {
  .brand-lockup { gap: .55rem; }
  .brand img { height: 25px; }
  .brand-air img { height: 30px; }
}
@media (max-width: 430px) {
  .brand-lockup { gap: .4rem; }
  .brand img { height: 20px; }
  .brand-air img { height: 24px; }
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius); color: #fff; cursor: pointer;
  padding: 0;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle span {
  display: block; position: relative;
  width: 22px; height: 2px; background: #fff;
  transition: background .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 22px; height: 2px; background: #fff;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: .55rem .8rem;
  font-family: var(--head); font-size: .95rem; letter-spacing: .02em;
  color: #e8e8e8; border-radius: var(--radius);
  transition: color .2s ease, background .2s ease;
}
.nav-menu a:hover, .nav-menu a:focus-visible { color: #fff; background: rgba(100, 149, 237, .35); text-decoration: none; }
.nav-menu a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark-2);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
    box-shadow: 0 14px 24px rgba(0, 0, 0, .35);
  }
  .nav-menu.is-open { max-height: 26rem; }
  .nav-menu a {
    padding: .95rem var(--gutter);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0;
  }
}

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 5rem;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}
.hero--short { min-height: 62svh; }

.hero-slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; z-index: -2; }
.hero-slides li {
  position: absolute; inset: 0;
  background-size: cover; background-position: 50% 50%;
  opacity: 0;
  animation: heroFade 42s linear infinite;
  will-change: opacity;
}
.hero-slides li:nth-child(1) { animation-delay: 0s; }
.hero-slides li:nth-child(2) { animation-delay: 6s; }
.hero-slides li:nth-child(3) { animation-delay: 12s; }
.hero-slides li:nth-child(4) { animation-delay: 18s; }
.hero-slides li:nth-child(5) { animation-delay: 24s; }
.hero-slides li:nth-child(6) { animation-delay: 30s; }
.hero-slides li:nth-child(7) { animation-delay: 36s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  14%  { opacity: 1; }
  17%  { opacity: 0; }
  100% { opacity: 0; }
}

/* No overlay over the hero — the photographs run at full colour. The only thing
   on top is the caption in the bottom-right corner, and the header's own scrim. */

.hero-caption {
  position: absolute;
  right: clamp(1.1rem, 4vw, 3.2rem);
  bottom: clamp(3.6rem, 8vh, 5.5rem);
  z-index: 2;
  text-align: right;
  color: #fff;
  max-width: min(90vw, 34rem);
  /* a whisper of shadow so white type holds up over a bright sky,
     without putting a box or a tint over the photograph */
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 2px 18px rgba(0, 0, 0, .45);
  pointer-events: none;
}
.hero-caption h1 {
  font-size: clamp(1.35rem, 3.4vw, 2.4rem);
  font-weight: 400; letter-spacing: .04em;
  margin: 0 0 .25em; color: #fff;
}
.hero-caption p {
  font-family: var(--ui); font-weight: 300;
  font-size: clamp(.78rem, 1.5vw, 1rem);
  letter-spacing: .14em; text-transform: uppercase;
  margin: 0; color: rgba(255, 255, 255, .92);
}
.hero-caption .hero-place {
  margin-top: .35em;
  letter-spacing: .1em; text-transform: none;
  font-size: clamp(.74rem, 1.3vw, .9rem);
  color: rgba(255, 255, 255, .75);
}

@media (max-width: 560px) {
  .hero-caption { left: clamp(1.1rem, 4vw, 3.2rem); bottom: 4.2rem; }
  .hero-caption p { letter-spacing: .07em; text-wrap: balance; }
}

.scroll-cue {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; display: grid; place-items: center;
  color: rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: rgba(0, 0, 0, .3);
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .55));
  animation: cueBob 2.4s ease-in-out infinite;
}
.scroll-cue:hover { color: #fff; background: rgba(0, 0, 0, .5); }
@keyframes cueBob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--ui); font-size: .95rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .85rem 1.7rem;
  border: 2px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: #fff;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover, .btn:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* --------------------------------------------------------------------------
   6. Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--panel { background: var(--panel); }
.section--dark { background: var(--dark); color: #eee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #a9c4f5; }
.section--dark a:hover, .section--dark a:focus-visible { color: #fff; }

.section-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section-head h2 {
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: .35em;
}
.section-head p { font-family: var(--ui); font-weight: 300; color: var(--ink-soft); margin: 0; }
.section--dark .section-head p { color: #b9bcc2; }
.section-head::after {
  content: ''; display: block; width: 72px; height: 3px;
  background: var(--accent); margin: 1.4rem auto 0;
}

.lede { font-size: 1.15rem; text-align: center; max-width: 48rem; margin-inline: auto; }

/* --------------------------------------------------------------------------
   7. Cards / services / process
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.2rem, 3vw, 2.2rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card { text-align: center; padding: 1.5rem 1.2rem; }
.card img { margin: 0 auto 1rem; max-height: 92px; width: auto; }
.card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.card p { font-size: 1rem; color: var(--ink-soft); }
.section--dark .card p { color: #b9bcc2; }

.card-icon { color: var(--accent); margin: 0 auto 1rem; display: block; }
.service:hover .card-icon { color: var(--accent-dark); }
.card-icon svg { display: block; }

/* Credentials strip under the About copy */
.creds {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem clamp(1.5rem, 5vw, 3.5rem);
  list-style: none; margin: clamp(2rem, 5vw, 3rem) auto 0; padding: 0;
  max-width: 60rem;
}
.creds li { display: flex; align-items: center; gap: .7rem; font-family: var(--ui); }
.creds svg { flex: 0 0 auto; color: var(--accent); }
.creds strong { display: block; font-weight: 500; font-size: .98rem; color: var(--ink); }
.creds span span, .creds li > span > :not(strong) { display: block; }
.creds li > span { line-height: 1.35; }
.creds li > span strong + * { font-size: .85rem; }
.creds li > span { font-size: .85rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   8. Portfolio
   -------------------------------------------------------------------------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-bottom: 2rem; padding: 0; list-style: none;
}
.filter-btn {
  font-family: var(--ui); font-size: .85rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .6rem 1.1rem;
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.filter-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; padding: 0; list-style: none; margin: 0; }
.tiles li[hidden] { display: none; }

.tile {
  position: relative; display: block;
  overflow: hidden; border-radius: var(--radius);
  background: #111; box-shadow: var(--shadow);
}
.tile img { width: 100%; aspect-ratio: 500 / 264; object-fit: cover; transition: transform .6s ease, opacity .35s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); opacity: .55; }
.tile-label {
  position: absolute; inset: auto 0 0 0;
  padding: 3.2rem .95rem .85rem;
  font-family: var(--head); font-size: 1.15rem; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .62) 45%, transparent 100%);
  text-align: left;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .75);
}
.tile-label small {
  display: block; font-family: var(--ui); font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; color: #a9c4f5;
}

/* --------------------------------------------------------------------------
   9. Testimonials
   -------------------------------------------------------------------------- */
.quotes { position: relative; max-width: 46rem; margin-inline: auto; text-align: center; }
.quote { display: none; }
.quote.is-active { display: block; animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.quote img {
  width: 96px; height: 96px; object-fit: contain;
  background: #fff; border-radius: 50%; padding: 8px;
  margin: 0 auto 1.2rem; box-shadow: var(--shadow);
}
.quote blockquote { margin: 0 0 1rem; font-size: 1.2rem; font-style: italic; line-height: 1.65; }
.quote figcaption { font-family: var(--ui); font-size: .95rem; color: var(--accent); letter-spacing: .03em; }

.quote-nav { display: flex; gap: .5rem; justify-content: center; margin-top: 1.8rem; }
.quote-dot {
  width: 12px; height: 12px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55);
  background: transparent; cursor: pointer; transition: background .2s ease;
}
.quote-dot[aria-selected="true"] { background: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   10. Contact form
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.25fr; } }

.contact-detail { font-family: var(--ui); }
.contact-detail h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.contact-detail ul { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.contact-detail li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .7rem; }
.contact-detail svg { flex: 0 0 auto; color: var(--accent); margin-top: .25rem; }

.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label { font-family: var(--ui); font-size: .85rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .4rem; color: var(--ink-soft); }
.section--dark .field label { color: #c7cad0; }
.field input, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(100, 149, 237, .25);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.field .hint { font-family: var(--ui); font-size: .8rem; color: #c0392b; margin-top: .3rem; min-height: 1em; }

/* honeypot — hidden from humans, visible to naive bots */
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-family: var(--ui); font-size: .85rem; color: var(--ink-soft); }
.section--dark .form-note { color: #9ea2a9; }

.form-message {
  font-family: var(--ui); padding: 1rem 1.2rem; margin-bottom: 1.4rem;
  border-left: 4px solid; border-radius: var(--radius);
}
.form-message[hidden] { display: none; }
.form-message.is-success { background: rgba(46, 160, 96, .14); border-color: #2ea060; color: #b8f0cf; }
.form-message.is-error { background: rgba(192, 57, 43, .14); border-color: #c0392b; color: #ffc9c2; }

/* --------------------------------------------------------------------------
   11. Before / after sliders
   -------------------------------------------------------------------------- */
.ba-list { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }

.ba-item h3 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: .2em; }
.ba-item .ba-caption { font-family: var(--ui); color: var(--ink-soft); margin-bottom: 1.1rem; }

.ba {
  position: relative; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow);
  background: #111;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
  line-height: 0;
}
.ba img { width: 100%; display: block; pointer-events: none; }
.ba-after { position: absolute; inset: 0; width: 100%; }
.ba-after img { width: 100%; height: 100%; object-fit: cover; }
/* the clip is driven by --pos (0–100) from JS */
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }

.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 3px; margin-left: -1.5px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 8px rgba(0, 0, 0, .55);
  pointer-events: none;
}
.ba-handle::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border: 3px solid #fff; border-radius: 50%;
  background: rgba(0, 0, 0, .4)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='16' viewBox='0 0 26 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3 2 8l5 5M19 3l5 5-5 5'/%3E%3C/svg%3E")
    center / 26px 16px no-repeat;
  box-shadow: 0 0 12px rgba(0, 0, 0, .5);
}
@media (max-width: 560px) {
  .ba-handle::after { width: 40px; height: 40px; margin: -20px 0 0 -20px; background-size: 22px 14px; }
}

.ba-tag {
  position: absolute; top: .75rem;
  font-family: var(--ui); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(0, 0, 0, .6);
  padding: .35rem .7rem; border-radius: var(--radius);
  pointer-events: none; line-height: 1.4;
}
.ba-tag--before { left: .75rem; }
.ba-tag--after { right: .75rem; }

/* keyboard-accessible range sitting invisibly over the comparison.
   pointer-events are off so dragging is handled entirely by the script and
   the native thumb never fights it; tab + arrow keys still work. */
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; opacity: 0;
  pointer-events: none;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }

/* --------------------------------------------------------------------------
   12. Gallery grid + lightbox
   -------------------------------------------------------------------------- */
.gallery {
  display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); background: #111; box-shadow: var(--shadow); }
.gallery-item button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  line-height: 0;
}
.gallery-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.gallery-item:hover img { transform: scale(1.05); opacity: .5; }
.gallery-cap {
  position: absolute; inset: auto 0 0 0; text-align: left;
  padding: 2.5rem .9rem .85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  color: #fff; pointer-events: none;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover .gallery-cap,
.gallery-item:focus-within .gallery-cap { opacity: 1; transform: none; }
.gallery-cap strong { display: block; font-family: var(--head); font-size: 1.1rem; font-weight: 400; }
.gallery-cap span { font-family: var(--ui); font-size: .85rem; color: #d7dade; line-height: 1.45; display: block; }

@media (hover: none) {
  /* no hover on touch — show captions permanently, softer */
  .gallery-cap { opacity: 1; transform: none; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 5000;
  display: grid; place-items: center;
  background: rgba(8, 8, 10, .95);
  padding: clamp(.5rem, 3vw, 2.5rem);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: .8rem; }
.lightbox img {
  max-width: 100%; max-height: 78svh; width: auto; margin-inline: auto;
  object-fit: contain; box-shadow: var(--shadow-lg);
}
.lightbox figcaption { color: #e6e6e6; font-family: var(--ui); text-align: center; max-width: 60ch; margin-inline: auto; }
.lightbox figcaption strong { display: block; font-family: var(--head); font-size: 1.2rem; font-weight: 400; margin-bottom: .2rem; }
.lightbox figcaption span { font-size: .9rem; color: #b6b9bf; }

.lb-btn {
  position: absolute; z-index: 2;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(0, 0, 0, .55); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  cursor: pointer; transition: background .2s ease;
}
.lb-btn:hover { background: var(--accent); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: max(1rem, 2vw); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(1rem, 2vw); top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); font-family: var(--ui); font-size: .85rem; color: #9ea2a9; }

@media (max-width: 620px) {
  .lb-prev { left: .4rem; } .lb-next { right: .4rem; }
  .lb-btn { width: 44px; height: 44px; }
}

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   13. Page header (interior pages)
   -------------------------------------------------------------------------- */
/* Interior page banner. Deliberately a plain dark band rather than a dimmed
   photograph — no image on this site is shown behind a veil. */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + clamp(2.5rem, 7vw, 4.5rem)) var(--gutter) clamp(2.2rem, 6vw, 3.5rem);
  text-align: center; color: #fff;
  background: var(--dark);
  border-bottom: 3px solid var(--accent);
}
.page-head h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .25em; }
.page-head p { font-family: var(--ui); font-weight: 300; color: #dcdee2; max-width: 46rem; margin-inline: auto; }

.crumbs { font-family: var(--ui); font-size: .85rem; margin-bottom: 1rem; color: #b6b9bf; }
.crumbs a { color: #dfe3e8; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { padding: 0 .4rem; opacity: .6; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--dark); color: #b9bcc2; font-family: var(--ui); padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 2.5rem; }
.site-footer h2 { font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #c8cbd1; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.site-footer img.footer-logo { height: 34px; width: auto; max-width: 100%; margin-bottom: 1rem; }
.footer-air { display: inline-block; margin-top: .4rem; }
.footer-air img { height: 34px; width: auto; opacity: .8; transition: opacity .2s ease; }
.footer-air:hover img { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 1.5rem; text-align: center; font-size: .88rem; color: #8f939a;
}
.footer-bottom p { margin: 0 0 .35rem; }

/* --------------------------------------------------------------------------
   15. Reveal-on-scroll + motion preferences
   -------------------------------------------------------------------------- */
/* Only hide content for the reveal animation when JavaScript is actually
   running (the .js class is set by an inline script in <head>). Without this,
   a visitor with JS disabled — or a script that fails to load — would get a
   page of invisible sections. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .hero-slides li:first-child { opacity: 1; }
}

/* --------------------------------------------------------------------------
   16. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .scroll-cue, .filters, .lightbox, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; color: #000; }
}
