/* ============================================================
   AYAAN ON THE LENS — street-spotted automotive photography
   Tokens
   ============================================================ */
:root{
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-2: #1a1a1d;
  --line: #2a2a2c;
  --text: #ece9e4;
  --text-muted: #8a8d90;
  --text-faint: #55585b;
  --red: #d2222d;
  --amber: #f2a93b;

  --display: "Big Shoulders Display", sans-serif;
  --body: "Archivo", sans-serif;
  --mono: "IBM Plex Mono", monospace;

  --max: 1280px;
  --pad: clamp(20px, 5vw, 64px);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }

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

::selection{ background: var(--red); color: #fff; }

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

/* ---------- layout helpers ---------- */
.wrap{ max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.dashline{
  border: none;
  height: 1px;
  margin: 0;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 20px);
}

.eyebrow{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- nav ---------- */
.site-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  background: linear-gradient(to bottom, rgba(10,10,11,0.85), transparent);
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled{
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand{
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand span{ color: var(--red); }
.nav-links{
  display: flex;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a{
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--text-muted);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.nav-links a:hover{ color: var(--text); border-color: var(--line); }
.nav-links a[aria-current="page"]{
  color: var(--text);
  border-color: var(--red);
  background: rgba(210,34,45,0.08);
}

@media (max-width: 480px){
  .site-nav{ flex-wrap: wrap; row-gap: 10px; padding: 14px var(--pad); }
  .brand{ font-size: 15px; }
  .nav-links{ font-size: 10px; gap: 2px; }
  .nav-links a{ padding: 6px 8px; }
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--surface);
}
.hero-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}
.hero::after{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,9,0.96) 0%, rgba(8,8,9,0.55) 32%, rgba(8,8,9,0.15) 60%, rgba(8,8,9,0.35) 100%);
}
.hero-content{
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) 56px;
  width: 100%;
}
.jp-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 24px;
  border: 1.5px solid var(--text);
  border-radius: 50% / 40%;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  color: var(--text);
  opacity: 0.85;
}
.hero h1{
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(48px, 10vw, 118px);
  line-height: 0.88;
  letter-spacing: 0.005em;
  margin: 0 0 18px;
}
.hero h1 em{
  font-style: normal;
  color: var(--red);
}
.hero-sub{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-sub .dot{ color: var(--text-faint); }

.scroll-cue{
  position: absolute;
  bottom: 24px; right: var(--pad);
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-cue::after{
  content: "";
  width: 1px; height: 40px;
  background: var(--text-faint);
}

/* ---------- section headers ---------- */
.section-head{
  padding: 72px var(--pad) 30px;
  max-width: var(--max);
  margin: 0 auto;
}
.section-head h2{
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  margin: 10px 0 12px;
  letter-spacing: 0.01em;
}
.section-head p{
  color: var(--text-muted);
  max-width: 46em;
  font-size: 15.5px;
}

/* ---------- gallery ---------- */
.gallery{
  padding: 0 var(--pad) 100px;
  max-width: var(--max);
  margin: 0 auto;
  column-count: 3;
  column-gap: 14px;
}
@media (max-width: 900px){ .gallery{ column-count: 2; } }
@media (max-width: 560px){ .gallery{ column-count: 1; } }

.gallery figure{
  break-inside: avoid;
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.gallery figure.is-visible{ opacity: 1; transform: translateY(0); }

.gallery img{
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
.gallery figure:hover img{ transform: scale(1.045); filter: brightness(1.04); }

/* ---------- lightbox ---------- */
.lightbox-overlay{
  position: fixed;
  inset: 0;
  background: rgba(8,8,9,0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 300;
}
.lightbox-overlay.is-open{
  opacity: 1;
  visibility: visible;
}
.lightbox-img{
  position: fixed;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0,0,0,0.65);
  will-change: left, top, width, height;
}
.lightbox-close{
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 310;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: rgba(10,10,11,0.75);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: border-color .2s ease, color .2s ease, transform .25s ease;
}
.lightbox-overlay.is-open .lightbox-close{
  opacity: 1;
  pointer-events: auto;
  transition: opacity .2s ease .15s, border-color .2s ease, color .2s ease, transform .25s ease;
}
.lightbox-close:hover{ border-color: var(--red); color: var(--red); transform: rotate(90deg); }

.gallery figcaption{
  position: absolute;
  left: 0; bottom: 0; right: 0;
  padding: 9px 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: linear-gradient(to top, rgba(8,8,9,0.92), rgba(8,8,9,0));
  border-left: 2px solid var(--red);
  transition: color .25s ease, border-color .25s ease;
}
.gallery figure:hover figcaption{ color: var(--text); border-left-color: var(--amber); }

.gallery figure.tall{ }

/* ---------- about ---------- */
.about-grid{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 800px){ .about-grid{ grid-template-columns: 1fr; gap: 32px; } }

.about-media{ position: sticky; top: 100px; }
.about-media img{ border: 1px solid var(--line); }
.about-media figcaption{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 10px;
  border-left: 2px solid var(--red);
  padding-left: 8px;
}
@media (max-width: 800px){ .about-media{ position: static; } }

.about-copy p{
  font-size: 16.5px;
  color: #cfcbc4;
  max-width: 40em;
}
.about-copy p + p{ margin-top: 1.1em; }

.notes{
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.notes li{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.notes .k{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-top: 2px;
}
.notes .v{ color: #cfcbc4; }

/* ---------- contact ---------- */
.contact-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px var(--pad) 120px;
  min-height: 70vh;
}
.contact-wrap h2{
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.95;
  margin: 14px 0 22px;
}
.contact-wrap > p{
  color: var(--text-muted);
  max-width: 40em;
  font-size: 16px;
  margin-bottom: 44px;
}

.plate{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  padding: 18px 24px;
  border-radius: 3px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.plate:hover{ border-color: var(--red); transform: translateY(-2px); }
.plate .plate-jp{
  border: 1.5px solid var(--text-muted);
  border-radius: 50% / 40%;
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 6px;
  color: var(--text-muted);
}
.plate .plate-email{
  font-family: var(--mono);
  font-size: clamp(16px, 3vw, 22px);
  letter-spacing: 0.02em;
  color: var(--text);
}

.contact-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}
.copy-btn{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.copy-btn:hover{ color: var(--text); border-color: var(--text-muted); }
.copy-btn.copied{ color: var(--amber); border-color: var(--amber); }

.contact-form{
  max-width: 40em;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
.contact-form .field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-form input,
.contact-form textarea{
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 3px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  resize: vertical;
  transition: border-color .2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{ color: var(--text-faint); }
.contact-form input:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: var(--red);
}
.send-btn{
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--red);
  border: 1.5px solid var(--red);
  padding: 14px 32px;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
}
.send-btn:hover{ background: transparent; color: var(--red); transform: translateY(-2px); }
.send-btn:disabled{ opacity: 0.55; cursor: default; transform: none; }

.form-status{
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  min-height: 1.2em;
  margin: 0;
}
.form-status.is-success{ color: var(--amber); }
.form-status.is-error{ color: var(--red); }
.form-status a{ text-decoration: underline; }


.contact-meta{
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
@media (max-width: 640px){ .contact-meta{ grid-template-columns: 1fr; gap: 20px; } }
.contact-meta .k{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.contact-meta .v{ font-size: 14.5px; color: #cfcbc4; }

/* ---------- footer ---------- */
footer{
  padding: 32px var(--pad) 40px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer .fmono{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
footer a:hover{ color: var(--text); }
