/* =========================================================
   APERTURE — photography portfolio
   Design: darkroom monochrome (cool ink + fog paper) with a
   single cyanotype-blue accent. Bodoni Moda display / Archivo
   body / Space Mono technical labels. Let the photos lead.
   ========================================================= */

:root {
  /* palette */
  --ink:        #15171e;   /* cool near-black */
  --graphite:   #20242e;   /* raised dark surfaces */
  --slate:      #2b3040;   /* borders on dark */
  --paper:      #eef0f3;   /* cool light grey */
  --paper-2:    #e4e7ec;   /* recessed light surface */
  --white:      #fafbfc;
  --fog:        #767c89;   /* secondary text */
  --fog-dim:    #9aa0ab;
  --cyan:       #2f5d74;   /* cyanotype accent */
  --cyan-lift:  #3e7590;
  --cyan-soft:  #dfe8ec;
  --line:       #d7dbe1;   /* hairline on paper */

  /* type */
  --f-display: "Bodoni Moda", Georgia, serif;
  --f-body:    "Archivo", system-ui, sans-serif;
  --f-mono:    "Space Mono", ui-monospace, monospace;

  /* system */
  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 74px;
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

section[id], [id]#top { scroll-margin-top: var(--header-h); }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-lift); }

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }
ul { margin: 0; }

::selection { background: var(--cyan); color: var(--white); }

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

/* ---------- skip link ---------- */
.ap-skip {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 1200;
  background: var(--ink);
  color: var(--white);
  padding: .7rem 1.1rem;
  font-family: var(--f-mono);
  font-size: .8rem;
  border-radius: 0 0 6px 6px;
  transition: top .2s var(--ease);
}
.ap-skip:focus { top: 0; color: var(--white); }

/* ---------- shell ---------- */
.ap-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- shared eyebrow / titles ---------- */
.ap-eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.ap-eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--cyan);
}
.ap-eyebrow--light { color: var(--paper); }
.ap-eyebrow--light::before { background: rgba(255,255,255,.7); }

.ap-section-title {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

.ap-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.6rem;
}
.ap-section-note {
  max-width: 30ch;
  margin: 0;
  color: var(--fog);
  font-size: .96rem;
}

.ap-lead { font-size: 1.14rem; color: #363a45; }

/* =========================================================
   BUTTONS
   ========================================================= */
.ap-btn {
  --pad-y: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: var(--pad-y) 1.7rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.ap-btn:active { transform: translateY(1px); }

.ap-btn--solid { background: var(--ink); color: var(--white); }
.ap-btn--solid:hover { background: var(--cyan); color: var(--white); }

.ap-btn--dark { background: var(--ink); color: var(--white); }
.ap-btn--dark:hover { background: var(--cyan); color: var(--white); }

.ap-btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.ap-btn--outline:hover { background: var(--ink); color: var(--white); }

.ap-btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.ap-btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.ap-btn--sm { --pad-y: .7rem; padding-inline: 1.2rem; font-size: .72rem; }

/* =========================================================
   HEADER
   ========================================================= */
.ap-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.ap-header__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ap-header.is-scrolled {
  background: rgba(21,23,30,.92);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  height: 64px;
}

.ap-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: .02em;
}
.ap-brand:hover { color: var(--white); }
.ap-brand__mark { color: var(--cyan-lift); display: inline-flex; }
.ap-header.is-scrolled .ap-brand__mark { color: var(--cyan-lift); }
.ap-brand__word { font-weight: 600; }

/* nav */
.ap-nav { display: flex; align-items: center; }
.ap-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0; padding: 0;
}
.ap-nav__list a {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  letter-spacing: .01em;
  position: relative;
  padding: .35rem 0;
}
.ap-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--cyan-lift);
  transition: width .3s var(--ease);
}
.ap-nav__list a:hover,
.ap-nav__list a.is-current { color: var(--white); }
.ap-nav__list a:hover::after,
.ap-nav__list a.is-current::after { width: 100%; }

.ap-nav__cta {
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 2px;
  padding: .5rem 1.05rem !important;
  font-family: var(--f-mono);
  font-size: .72rem !important;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ap-nav__cta::after { display: none; }
.ap-nav__cta:hover { background: var(--white); color: var(--ink) !important; border-color: var(--white); }

/* burger */
.ap-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.ap-nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.ap-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ap-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ap-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .ap-nav__toggle { display: flex; }
  .ap-nav__list {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(21,23,30,.98);
    backdrop-filter: blur(12px);
    padding: .5rem var(--gutter) 1.4rem;
    border-top: 1px solid var(--slate);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .ap-nav__list.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .ap-nav__list li { border-bottom: 1px solid var(--slate); }
  .ap-nav__list a { display: block; padding: 1rem 0; font-size: 1rem; }
  .ap-nav__list a::after { display: none; }
  .ap-nav__cta {
    border: 0 !important;
    padding: 1rem 0 !important;
    font-family: var(--f-body) !important;
    font-size: 1rem !important;
    text-transform: none;
    letter-spacing: 0;
    color: var(--cyan-lift) !important;
  }
  .ap-nav__cta:hover { background: transparent; color: var(--white) !important; }
}

/* =========================================================
   HERO
   ========================================================= */
.ap-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.ap-hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(.85) contrast(1.03);
}
.ap-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(21,23,30,.55) 0%, rgba(21,23,30,0) 32%),
    linear-gradient(0deg, rgba(21,23,30,.86) 0%, rgba(21,23,30,.15) 55%, rgba(21,23,30,.28) 100%);
}
.ap-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(4rem, 12vh, 8rem);
}
.ap-hero__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  line-height: .92;
  letter-spacing: -0.03em;
  margin: .3rem 0 1.4rem;
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.ap-hero__lede {
  max-width: 46ch;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
}
.ap-hero__lede strong { font-weight: 600; color: var(--white); }
.ap-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.ap-hero__cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4rem, 12vh, 8rem);
  z-index: 2;
  display: none;
  align-items: center;
  gap: .8rem;
  writing-mode: vertical-rl;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.ap-hero__cue:hover { color: var(--white); }
.ap-hero__cue-line {
  width: 1px; height: 54px;
  background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.9));
  animation: cueDrop 2.4s var(--ease) infinite;
}
@keyframes cueDrop {
  0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .5; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}
@media (min-width: 1024px) { .ap-hero__cue { display: flex; } }

/* =========================================================
   INTRO / STATEMENT + STATS
   ========================================================= */
.ap-intro {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}
.ap-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--slate);
}
.ap-intro__title {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--white);
}
.ap-intro__body { color: var(--fog-dim); font-size: 1.06rem; }
.ap-intro__body p:last-child { margin-bottom: 0; }

.ap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: clamp(3rem, 7vw, 5rem) 0 0;
}
.ap-stat dt {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: .6rem;
  order: 2;
}
.ap-stat { display: flex; flex-direction: column; }
.ap-stat dd {
  order: 1;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.ap-stat__plus { color: var(--cyan-lift); }

/* =========================================================
   GALLERY
   ========================================================= */
.ap-work { padding: clamp(4.5rem, 10vw, 8rem) 0; }

.ap-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.4rem;
}
.ap-filter__btn {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fog);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .55rem 1.1rem;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.ap-filter__btn:hover { color: var(--ink); border-color: var(--ink); }
.ap-filter__btn.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.ap-masonry { columns: 3 260px; column-gap: 1rem; }

.ap-tile {
  margin: 0 0 1rem;
  break-inside: avoid;
}
.ap-tile.is-hidden { display: none; }
.ap-tile__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--paper-2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.ap-tile__btn img {
  width: 100%;
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: saturate(.92);
}
.ap-tile__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21,23,30,.72) 0%, rgba(21,23,30,0) 42%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.ap-tile__btn:hover img { transform: scale(1.05); filter: saturate(1); }
.ap-tile__btn:hover::after { opacity: 1; }

.ap-tile__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .9rem 1rem;
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  transform: translateY(8px);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.ap-tile__btn:hover .ap-tile__meta,
.ap-tile__btn:focus-visible .ap-tile__meta { transform: translateY(0); opacity: 1; }
.ap-tile__exif { color: var(--cyan-soft); }

.ap-work__empty {
  text-align: center;
  color: var(--fog);
  font-family: var(--f-mono);
  font-size: .85rem;
  padding: 3rem 0;
}

/* =========================================================
   ABOUT
   ========================================================= */
.ap-about { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--white); }
.ap-about__grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.ap-about__media { position: relative; }
.ap-about__media img {
  width: 100%;
  border-radius: 2px;
  filter: saturate(.9) contrast(1.02);
}
.ap-about__tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(21,23,30,.85);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  padding: .45rem .8rem;
  border-radius: 2px;
}
.ap-about__title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.4rem;
}
.ap-facts {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.ap-facts li {
  background: var(--white);
  padding: 1rem 1.1rem;
  font-size: .98rem;
}
.ap-facts span {
  display: block;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: .3rem;
}

/* =========================================================
   SERVICES / PACKAGES
   ========================================================= */
.ap-services { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.ap-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.ap-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2.2rem 2rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ap-plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(21,23,30,.4); }
.ap-plan--feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.ap-plan__flag {
  position: absolute;
  top: -11px; left: 2rem;
  background: var(--cyan);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 2px;
}
.ap-plan__head { border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; margin-bottom: 1.4rem; }
.ap-plan--feature .ap-plan__head { border-color: var(--slate); }
.ap-plan__name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  margin-bottom: .7rem;
}
.ap-plan__price { display: flex; align-items: baseline; gap: .4rem; margin: 0 0 .4rem; }
.ap-plan__from, .ap-plan__unit {
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ap-plan__num {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
}
.ap-plan--feature .ap-plan__num { color: var(--white); }
.ap-plan__sub { font-size: .92rem; color: var(--fog); margin: 0; }
.ap-plan--feature .ap-plan__sub { color: var(--fog-dim); }
.ap-plan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  flex: 1 1 auto;
}
.ap-plan__list li {
  position: relative;
  padding: .5rem 0 .5rem 1.7rem;
  font-size: .96rem;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.ap-plan--feature .ap-plan__list li { border-color: rgba(255,255,255,.08); }
.ap-plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .95rem;
  width: 9px; height: 9px;
  border: 1px solid var(--cyan-lift);
  transform: rotate(45deg);
}
.ap-plan .ap-btn { width: 100%; justify-content: center; }

/* =========================================================
   FEATURED SHOOT BAND
   ========================================================= */
.ap-featured {
  position: relative;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 78vh;
}
.ap-featured__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(.8) contrast(1.05);
}
.ap-featured__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(21,23,30,.9) 0%, rgba(21,23,30,.55) 45%, rgba(21,23,30,.1) 100%);
}
.ap-featured__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(3rem, 8vw, 5rem);
}
.ap-featured__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 18ch;
  margin-bottom: 1.2rem;
}
.ap-featured__text {
  max-width: 46ch;
  color: rgba(255,255,255,.85);
  font-size: 1.08rem;
  margin-bottom: 1.8rem;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.ap-quotes { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--white); }
.ap-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.ap-quote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2rem 1.9rem;
  display: flex;
  flex-direction: column;
}
.ap-quote__stars { color: var(--cyan); display: flex; gap: 3px; margin-bottom: 1.1rem; }
.ap-quote blockquote {
  margin: 0 0 1.6rem;
  font-family: var(--f-display);
  font-size: 1.16rem;
  line-height: 1.5;
  color: #2a2e39;
  flex: 1 1 auto;
}
.ap-quote figcaption { display: flex; flex-direction: column; gap: .15rem; }
.ap-quote__name { font-weight: 600; }
.ap-quote__role {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fog);
}

/* =========================================================
   CONTACT
   ========================================================= */
.ap-contact { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--ink); color: var(--paper); }
.ap-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.ap-contact__title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 1.2rem;
}
.ap-contact .ap-lead { color: var(--fog-dim); }
.ap-contact__list {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
  display: grid;
  gap: 1.1rem;
}
.ap-contact__list li {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--paper);
  font-size: 1rem;
}
.ap-contact__list svg { color: var(--cyan-lift); flex: none; }
.ap-contact__list a { color: var(--paper); }
.ap-contact__list a:hover { color: var(--cyan-lift); }

/* form */
.ap-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  background: var(--graphite);
  border: 1px solid var(--slate);
  border-radius: 4px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.ap-field { display: flex; flex-direction: column; grid-column: 1 / -1; }
.ap-field--half { grid-column: span 1; }
.ap-field label {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fog-dim);
  margin-bottom: .55rem;
}
.ap-field input,
.ap-field select,
.ap-field textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--slate);
  border-radius: 2px;
  padding: .85rem .95rem;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.ap-field textarea { resize: vertical; min-height: 120px; }
.ap-field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa0ab' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .95rem center;
  padding-right: 2.4rem;
}
.ap-field input::placeholder,
.ap-field textarea::placeholder { color: #5a606c; }
.ap-field input:focus,
.ap-field select:focus,
.ap-field textarea:focus {
  outline: none;
  border-color: var(--cyan-lift);
  box-shadow: 0 0 0 3px rgba(62,117,144,.25);
}
.ap-field__error {
  display: none;
  margin-top: .45rem;
  font-size: .8rem;
  color: #e08a7a;
  font-family: var(--f-mono);
  letter-spacing: .04em;
}
.ap-field.is-invalid input,
.ap-field.is-invalid textarea { border-color: #b25a4a; }
.ap-field.is-invalid .ap-field__error { display: block; }

.ap-form__submit { grid-column: 1 / -1; justify-content: center; }
.ap-form__ok {
  grid-column: 1 / -1;
  margin: 0;
  background: rgba(62,117,144,.16);
  border: 1px solid var(--cyan-lift);
  border-radius: 2px;
  padding: .9rem 1rem;
  color: var(--cyan-soft);
  font-size: .92rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.ap-footer { background: #101218; color: var(--fog-dim); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.ap-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--slate);
}
.ap-brand--footer { font-size: 1.3rem; margin-bottom: 1.1rem; }
.ap-footer__tag { max-width: 34ch; font-size: .95rem; margin: 0; }
.ap-footer__col h3 {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 1.1rem;
  font-weight: 400;
}
.ap-footer__col ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.ap-footer__col a { color: var(--fog-dim); font-size: .95rem; }
.ap-footer__col a:hover { color: var(--white); }
.ap-footer__social a { display: inline-flex; align-items: center; gap: .6rem; }
.ap-footer__note p { font-size: .95rem; margin-bottom: 1.1rem; }
.ap-footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  padding-top: 1.6rem;
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--fog);
}
.ap-footer__bar p { margin: 0; }
.ap-footer__bar a { color: var(--cyan-lift); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.ap-lb {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-lb[hidden] { display: none; }
.ap-lb__backdrop { position: absolute; inset: 0; background: rgba(9,10,14,.94); }
.ap-lb.is-open { animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.ap-lb__stage {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ap-lb__img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  border-radius: 2px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
}
.ap-lb__cap {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  align-items: baseline;
  color: var(--paper);
  text-align: center;
  justify-content: center;
}
.ap-lb__title { font-family: var(--f-display); font-size: 1.05rem; }
.ap-lb__exif {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan-lift);
}

.ap-lb__btn {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.ap-lb__btn:hover { background: var(--cyan); border-color: var(--cyan); }
.ap-lb__close { top: 4vh; right: 4vw; width: 48px; height: 48px; }
.ap-lb__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.ap-lb__nav:hover { transform: translateY(-50%) scale(1.06); }
.ap-lb__prev { left: 3vw; }
.ap-lb__next { right: 3vw; }
@media (max-width: 640px) {
  .ap-lb__prev { left: 50%; transform: translate(-140%, 0); top: auto; bottom: 3vh; }
  .ap-lb__next { right: 50%; transform: translate(140%, 0); top: auto; bottom: 3vh; }
  .ap-lb__nav:hover { transform: translate(-140%,0) scale(1.06); }
  .ap-lb__next:hover { transform: translate(140%,0) scale(1.06); }
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.ap-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.ap-reveal.is-visible { opacity: 1; transform: none; }
.ap-masonry .ap-tile.is-visible { transition-delay: calc(var(--i, 0) * 60ms); }

@media (prefers-reduced-motion: reduce) {
  .ap-reveal { opacity: 1; transform: none; transition: none; }
  .ap-hero__cue-line { animation: none; }
  .ap-tile__btn img { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .ap-intro__grid { grid-template-columns: 1fr; }
  .ap-stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .ap-about__grid { grid-template-columns: 1fr; }
  .ap-about__media { max-width: 460px; }
  .ap-plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .ap-plan--feature { order: -1; }
  .ap-featured__scrim { background: linear-gradient(0deg, rgba(21,23,30,.92) 0%, rgba(21,23,30,.4) 70%, rgba(21,23,30,.2) 100%); }
  .ap-quote-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .ap-contact__grid { grid-template-columns: 1fr; }
  .ap-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  body { font-size: .98rem; }
  .ap-masonry { columns: 2 150px; column-gap: .7rem; }
  .ap-tile { margin-bottom: .7rem; }
  .ap-section-head { flex-direction: column; align-items: flex-start; }
  .ap-form { grid-template-columns: 1fr; }
  .ap-field--half { grid-column: 1 / -1; }
  .ap-stats { grid-template-columns: 1fr; gap: 1.4rem; }
  .ap-footer__grid { grid-template-columns: 1fr; }
  .ap-hero__actions { flex-direction: column; align-items: stretch; }
  .ap-hero__actions .ap-btn { justify-content: center; }
}
