/* ==========================================================================
   Aerial Capture Photography — style.css
   Dark cinematic portfolio theme. No frameworks, no build step.
   ========================================================================== */

:root {
  --bg: #080D14;
  --surface: #0F1724;
  --surface-2: #16202E;
  --line: #24303F;
  --text: #EEF2F6;
  --muted: #A6B2C0;
  --accent: #6D8DAA;
  --accent-strong: #93AFC8;
  --sage: #5E6F66;
  --header-h: 72px;
  --radius: 6px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }

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

::selection { background: rgba(109, 141, 170, .30); }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.2em; }

.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.kicker {
  display: block;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.lede { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #0B1522;
  padding: .6rem 1rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #0B1522; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: .85rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: #0B1522; }
.btn-primary:hover { background: var(--accent-strong); color: #0B1522; }

.btn-ghost { border-color: rgba(242, 244, 243, .45); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
  background: linear-gradient(rgba(11, 13, 12, .55), rgba(11, 13, 12, 0));
}
.site-header.scrolled,
.site-header.nav-open {
  background: rgba(11, 13, 12, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand img { height: 42px; width: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  padding: .4rem 0;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right .25s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .6rem;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform .25s var(--ease), opacity .2s;
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(11, 13, 12, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s;
  }
  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 0 1rem;
  }
  .site-nav a {
    display: block;
    padding: .9rem 1.5rem;
    font-size: 1.05rem;
  }
  .site-nav a::after { display: none; }

  .nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,13,12,.35) 0%, rgba(11,13,12,.05) 40%, rgba(11,13,12,.88) 100%);
}
.hero-content {
  padding: 0 0 clamp(3.5rem, 9vh, 6.5rem);
  max-width: 46rem;
}
.hero-content h1 { text-shadow: 0 2px 24px rgba(0,0,0,.5); }
/* Over photography the brand blue is too quiet — lift it and add a shadow. */
.hero-content .kicker {
  color: var(--accent-strong);
  text-shadow: 0 2px 14px rgba(0,0,0,.85), 0 0 3px rgba(0,0,0,.6);
}
/* Brand band — the full lockup on a plain ground, never over photography. */
.brand-band {
  background: var(--surface);
  border-block: 1px solid var(--line);
  text-align: center;
}
.brand-band img {
  width: min(340px, 62vw);
  height: auto;
  margin-inline: auto;
}
.brand-band p {
  color: var(--muted);
  max-width: 46ch;
  margin: 1.6rem auto 0;
}
.hero-tagline {
  color: rgba(242, 244, 243, .92);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 38rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.8rem;
}

/* Interior page hero (short banner) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 5.5rem)) 0 clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 400px at 20% -10%, rgba(109,141,170,.12), transparent 60%),
    var(--surface);
}
.page-hero .lede { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Home — intro / services
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.split-media img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}
.split-media { position: relative; }
.split-media::after {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: -1;
}

@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split-media::after { display: none; }
}

.services-points {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: .8rem;
}
.services-points li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--muted);
}
.services-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--accent);
}
.services-points li strong { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   Home — teaser mosaic
   -------------------------------------------------------------------------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 10px;
  margin-top: 2.4rem;
}
.mosaic a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), opacity .3s;
}
.mosaic a:hover img { transform: scale(1.045); }
.mosaic a:focus-visible img { transform: scale(1.045); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }

@media (max-width: 860px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

.section-cta { text-align: center; margin-top: 2.6rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(900px 300px at 80% 120%, rgba(109,141,170,.16), transparent 65%),
    var(--surface);
  border-block: 1px solid var(--line);
  text-align: center;
}
.cta-band .lede { margin-inline: auto; }
.cta-band .btn { margin-top: 1.4rem; }
/* Oversized badge watermark, bled off the right edge of every CTA band. */
.cta-band { position: relative; overflow: hidden; }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band::after {
  content: "";
  position: absolute;
  right: clamp(-60px, -3vw, 0px);
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 394px;
  background: url("../assets/logo.png") center / contain no-repeat;
  opacity: .09;
  pointer-events: none;
}
@media (max-width: 900px) { .cta-band::after { display: none; } }

/* --------------------------------------------------------------------------
   About — editorial rows
   -------------------------------------------------------------------------- */

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.about-row + .about-row { border-top: 1px solid var(--line); }
.about-row:nth-child(even) .about-media { order: -1; }
.about-media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
.about-media.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 860px) {
  .about-row { grid-template-columns: 1fr; }
  .about-row:nth-child(even) .about-media { order: 0; }
}

/* --------------------------------------------------------------------------
   Gallery grid (masonry via CSS columns)
   -------------------------------------------------------------------------- */

.gallery-grid {
  columns: 4 280px;
  column-gap: 12px;
}
.gallery-grid a {
  display: block;
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
}
.gallery-grid img {
  width: 100%;
  transition: transform .45s var(--ease), opacity .3s;
}
.gallery-grid a:hover img,
.gallery-grid a:focus-visible img { transform: scale(1.035); }
.gallery-grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(11,13,12,.45));
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.gallery-grid a:hover::after,
.gallery-grid a:focus-visible::after { opacity: 1; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 6, 6, .96);
}
.lightbox.open { display: flex; }

.lightbox figure {
  margin: 0;
  max-width: min(1600px, 94vw);
  max-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: 94vw;
  max-height: calc(100svh - 88px);
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}
.lightbox figcaption {
  color: var(--muted);
  font-size: .88rem;
  margin-top: .9rem;
  text-align: center;
  padding: 0 1rem;
}
.lb-counter { color: var(--text); font-weight: 600; margin-right: .6rem; }

.lb-btn {
  position: absolute;
  background: rgba(19, 23, 22, .72);
  border: 1px solid var(--line);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s, border-color .2s;
}
.lb-btn:hover { background: rgba(109, 141, 170, .24); border-color: var(--accent); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lb-prev, .lb-next {
    top: auto;
    bottom: 16px;
    transform: none;
  }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .lightbox img { max-height: calc(100svh - 130px); }
}

body.lb-lock { overflow: hidden; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-media img { border-radius: var(--radius); }
.contact-direct {
  margin-top: 1.6rem;
  display: grid;
  gap: .5rem;
  color: var(--muted);
}
.contact-direct a { font-weight: 500; }

.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .45rem;
}
.form-field .req { color: var(--accent); }
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  padding: .8rem 1rem;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 141, 170, .20);
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #6E7873; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 3.2rem 0 2rem;
  color: var(--muted);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  font-weight: 700;
}
.footer-brand img { height: 118px; width: auto; }
.footer-tag { margin-top: .8rem; max-width: 34ch; }

.site-footer h3 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text);
  margin-bottom: .9rem;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-nav a, .footer-contact a { color: var(--muted); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: .45rem; }

.footer-bottom {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: #7C8580;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

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