/* Spotted Productions — Houston photography & video */

@font-face {
  font-family: 'Italiana';
  src: url('/assets/fonts/italiana-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2122, U+2212;
}

:root {
  /* Neutrals carry a faint purple cast so the brand reads through the dark UI. */
  --ink: #0a0810;
  --ink-2: #120f1b;
  --ink-3: #1b1727;
  --line: #2c2540;
  --text: #ece9f2;
  --muted: #a49db5;
  --dim: #8b83a4;

  /* Brand: royal purple for identity, green for action. */
  --brand: #6b3fa0;
  --brand-lift: #a983e0;
  --brand-glow: rgba(107, 63, 160, .22);
  --accent: #1fa971;
  --accent-lift: #46d79b;
  --on-accent: #04150d;
  --ring: #46d79b;

  --display: 'Italiana', 'Didot', 'Bodoni MT', Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif;

  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1280px;
  --rad: 2px;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-lift);
  font-weight: 600;
  margin: 0 0 1rem;
}
.eyebrow.muted { color: var(--dim); }

h1, h2, h3 {
  font-family: var(--display); font-weight: 400; line-height: 1.04;
  margin: 0; letter-spacing: .005em; text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); text-wrap: pretty; }

p { margin: 0 0 1.1rem; color: var(--muted); }
p.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  border: 1px solid transparent;
  border-radius: var(--rad);
  text-decoration: none;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ring); outline-offset: 3px;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-lift); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,.05); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,8,16,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.stuck { border-bottom-color: var(--line); background: rgba(10,8,16,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand span {
  font-family: var(--display); font-size: 1.32rem; letter-spacing: .13em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: .78rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
  padding: .4rem 0; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--accent); transition: right .3s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; padding: .8rem 1.4rem; } }

.nav-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: var(--rad); color: var(--text);
}
.nav-toggle span { display: block; width: 18px; height: 1px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1px; background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 1rem var(--gut) 2rem; background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 1.1rem 0; font-size: .95rem; }
}
@media (min-width: 900px) { .nav-toggle { display: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 7rem); position: relative; }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.hero h1 { margin-bottom: 1.6rem; }
.hero h1 em { font-style: normal; color: var(--brand-lift); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1.4rem;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--rad); background: var(--ink-3); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.3,1); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic .tall { grid-row: span 2; aspect-ratio: 3/4.5; }
.mosaic .wide { aspect-ratio: 4/3; }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-alt { background: var(--ink-2); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h1, .section-head h2 { margin-bottom: 1.3rem; }

/* small layout utilities, kept in CSS so the strict CSP can forbid inline styles */
.mb-lg { margin-bottom: 2rem; }
.mt-md { margin-top: 1.5rem; }
.mt-sm { margin-top: .5rem; }

/* ---------- services ---------- */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--ink); padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; transition: background .3s ease; }
.card:hover { background: var(--ink-3); }
.card h3 { margin-bottom: .9rem; }
.card p { flex: 1; font-size: .95rem; }
.card .price { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-lift); margin-bottom: 1.2rem; }
.card a.more {
  text-decoration: none; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text); display: inline-flex; align-items: center; gap: .5rem;
}
.card a.more:hover { color: var(--accent); }
.card a.more::after { content: '\2192'; transition: transform .25s ease; }
.card a.more:hover::after { transform: translateX(4px); }

/* ---------- strip / marquee ---------- */
.strip { overflow: hidden; padding: clamp(1rem,2vw,2rem) 0; border-block: 1px solid var(--line); background: var(--ink-2); }
.strip-track { display: flex; gap: .75rem; width: max-content; animation: slide 70s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip img { height: clamp(140px, 20vw, 230px); width: auto; object-fit: cover; border-radius: var(--rad); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  .strip { overflow-x: auto; }
}

/* ---------- about ---------- */
.about-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .85fr 1.15fr; } }
.about-photo { border-radius: var(--rad); overflow: hidden; background: var(--ink-3); aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--text); }
.stat span { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }

/* ---------- process ---------- */
.steps { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--ink); padding: clamp(1.8rem, 3vw, 2.8rem); }
.step .num { font-family: var(--display); font-size: 2.6rem; color: var(--brand-lift); line-height: 1; margin-bottom: 1rem; }
.step h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.step p { font-size: .93rem; margin: 0; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { border: 1px solid var(--line); border-radius: var(--rad); padding: 2rem; background: var(--ink); }
.quote .rate { color: var(--brand-lift); letter-spacing: .15em; font-size: .85rem; margin-bottom: 1rem; }
.quote blockquote { margin: 0 0 1.5rem; font-size: .98rem; color: var(--text); line-height: 1.7; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-3); border: 1px solid var(--line);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--brand-lift);
}
.quote cite { font-style: normal; font-size: .9rem; font-weight: 600; display: block; color: var(--text); }
.quote .role { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* ---------- cta band ---------- */
.cta-band { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--ink-2); border-block: 1px solid var(--line); text-align: center; }
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band p { margin-inline: auto; max-width: 52ch; }
.cta-band .btn { margin-top: 1.6rem; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filters button {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: .7rem 1.2rem; border-radius: var(--rad); cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.filters button:hover { color: var(--text); border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.filters button .n { opacity: .6; margin-left: .4rem; font-weight: 600; }

.gallery { columns: 1; column-gap: .8rem; }
@media (min-width: 620px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }
@media (min-width: 1400px) { .gallery { columns: 4; } }
.tile {
  break-inside: avoid; margin: 0 0 .8rem; position: relative; overflow: hidden;
  border-radius: var(--rad); background: var(--ink-3); cursor: zoom-in; display: block;
  width: 100%; padding: 0; border: 0; appearance: none;
}
.tile img { width: 100%; transition: transform .7s cubic-bezier(.2,.8,.3,1); }
.tile:hover img { transform: scale(1.04); }
.tile .cap {
  position: absolute; inset: auto 0 0; padding: 2.5rem .9rem .9rem;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  opacity: 0; transition: opacity .3s ease; text-align: left;
}
.tile:hover .cap, .tile:focus-visible .cap { opacity: 1; }
.tile .cap b { display: block; font-size: .82rem; font-weight: 600; color: #fff; }
.tile .cap span { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-lift); }
.tile.hide { display: none; }

/* ---------- lightbox ---------- */
.lightbox {
  border: 0; padding: clamp(1rem, 4vw, 3rem); max-width: 100vw; max-height: 100vh;
  width: 100%; height: 100%; background: rgba(6,6,7,.97); color: var(--text);
}
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(6,6,7,.9); }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; border-radius: var(--rad); }
.lb-cap { text-align: center; margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.lb-cap b { color: var(--text); font-weight: 600; }
.lb-btn {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid var(--line); color: #fff;
  border-radius: 50%; cursor: pointer; font-size: 1.3rem; transition: background .25s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.16); }
.lb-prev { left: clamp(.5rem, 2vw, 2rem); }
.lb-next { right: clamp(.5rem, 2vw, 2rem); }
.lb-close { top: clamp(.8rem, 2vw, 1.6rem); right: clamp(.8rem, 2vw, 1.6rem); transform: none; }

/* ---------- pricing ---------- */
.tier-group { margin-bottom: clamp(3rem, 6vw, 5rem); }
.tier-group > h2 { margin-bottom: 2rem; }
.tiers { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .tiers { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.tier {
  border: 1px solid var(--line); border-radius: var(--rad);
  padding: clamp(1.8rem, 3vw, 2.4rem); background: var(--ink); position: relative;
  display: flex; flex-direction: column;
}
.tier.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand-glow), transparent 55%), var(--ink-3);
  box-shadow: 0 0 0 1px var(--brand-glow), 0 18px 50px -30px var(--brand);
}
.tier .flag {
  position: absolute; top: -1px; right: 1.5rem;
  background: var(--brand); color: #fff; font-size: .62rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; padding: .4rem .8rem;
}
.tier .kicker { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: .5rem; }
.tier h3 { margin-bottom: .8rem; }
.tier .amount { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--text); }
.tier .unit { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.6rem; display: block; }
.tier ul { list-style: none; margin: 0 0 1.8rem; padding: 0; flex: 1; }
.tier li { display: flex; gap: .7rem; font-size: .92rem; color: var(--muted); padding: .5rem 0; border-bottom: 1px solid var(--line); }
.tier li:last-child { border-bottom: 0; }
.tier li::before { content: '\2713'; color: var(--accent); flex: none; font-size: .85rem; }

.addons { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; }
@media (min-width: 700px) { .addons { grid-template-columns: repeat(2, 1fr); } }
.addon { background: var(--ink); padding: 1.2rem 1.6rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.addon span { font-size: .95rem; color: var(--text); }
.addon b { color: var(--accent); font-size: .95rem; white-space: nowrap; }

.note { font-size: .85rem; color: var(--dim); max-width: 68ch; }

/* ---------- form ---------- */
.form-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 940px) { .form-grid { grid-template-columns: 1.15fr .85fr; } }
.field { margin-bottom: 1.3rem; }
.field label {
  display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .55rem;
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: .98rem; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--rad);
  padding: .95rem 1rem; transition: border-color .2s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--dim); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; gap: 1.3rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .82rem; color: var(--dim); margin-top: 1rem; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--rad); font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(60,150,90,.14); border: 1px solid rgba(90,190,120,.45); color: #b6e7c6; }
.form-status.err { background: rgba(190,70,50,.14); border: 1px solid rgba(220,110,80,.45); color: #f3bfae; }

.contact-side { border: 1px solid var(--line); border-radius: var(--rad); padding: clamp(1.8rem,3vw,2.4rem); background: var(--ink-2); height: max-content; }
.contact-side h3 { margin-bottom: 1.5rem; }
.cline { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.cline:last-of-type { border-bottom: 0; }
.cline .k { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); display: block; margin-bottom: .2rem; }
.cline a, .cline .v { color: var(--text); text-decoration: none; font-size: .96rem; }
.cline a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.foot-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-brand p { font-size: .92rem; max-width: 40ch; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--rad); color: var(--muted);
  text-decoration: none; transition: border-color .25s ease, color .25s ease;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.foot-col h4 { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); margin: 0 0 1.2rem; font-weight: 700; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: .7rem; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 1.8rem;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between;
  font-size: .78rem; color: var(--dim);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--on-accent);
  padding: .8rem 1.2rem; z-index: 300; font-weight: 700; font-size: .8rem;
}
.skip:focus { left: 0; }
