/* ===========================================================
   Capital Drone Services — Automotive Photography Portfolio
   =========================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@600,700&f[]=satoshi@400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  /* --- palette --- */
  /* Blueprint canvas: this is the site-wide base, matched to the E92 field. */
  --bg-void:      #06080b;
  /* One uninterrupted graphite-black field behind the portfolio. */
  --bg-surface:   #06080b;
  --bg-surface-2: #06080b;
  --line:         #28313a;
  --line-soft:    rgba(212,224,237,0.10);
  --ink:          #eef4f8;
  --ink-muted:    #a3aeb8;
  --ink-dim:      #73808b;
  --accent:       #9bc7f3;
  --accent-soft:  rgba(155,199,243,0.16);

  /* --- type --- */
  --font-display: 'Clash Display', 'Arial Narrow', sans-serif;
  --font-body:    'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --container: 1360px;
  --edge: clamp(1.25rem, 4vw, 3.5rem);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,p{ margin: 0; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

/* --- focus states --- */
a:focus-visible,
button:focus-visible,
.accordion-trigger:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before{
  content:'';
  width: 7px; height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}

/* ===================== TOP UTILITY BAR ===================== */
.utility-bar{
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.utility-bar .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.6rem;
}
.utility-bar .ub-center{ display:none; }
@media (min-width: 768px){
  .utility-bar .ub-center{ display:flex; align-items:center; gap:0.6rem; }
}
.ub-diamond{ width:5px; height:5px; background: var(--ink-dim); transform: rotate(45deg); }

/* ===================== NAV ===================== */
.site-nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,8,11,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.4rem;
}
.brand{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand span{ color: var(--accent); }

.nav-links{
  display: none;
  align-items: center;
  gap: 2.1rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.nav-links a{
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}
.nav-links a::after{
  content:'';
  position:absolute; left:0; bottom:-2px;
  width:0; height:1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a:hover::after{ width:100%; }

.nav-cta{
  display: none;
  align-items: center;
  gap: 0.9rem;
}
.phone-pill{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 0.55rem 1rem;
  border-radius: 100px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.phone-pill:hover{ border-color: var(--accent); color: var(--accent); }

@media (min-width: 900px){
  .nav-links{ display: flex; }
  .nav-cta{ display: flex; }
}

.nav-toggle{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  align-items: center;
}
.nav-toggle span{
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 900px){
  .nav-toggle{ display: none; }
}

.mobile-panel{
  position: fixed;
  inset: 4.4rem 0 0 0;
  background: var(--bg-void);
  z-index: 49;
  padding: 2rem var(--edge);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mobile-panel.open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-panel a{
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.mobile-panel .phone-pill{ align-self: flex-start; margin-top: 0.5rem; }
@media (min-width: 900px){ .mobile-panel{ display: none; } }

/* ===================== HERO (full-bleed viewfinder) ===================== */
.hero-full{
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
@media (max-height: 620px), (max-width: 480px){
  .hero-full{ min-height: 108svh; }
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(0, var(--scroll-py, 0px), 0);
}
.hero-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
  filter: brightness(0.9);
  transform: scale(1.08);
  animation: hero-kenburns 24s ease-in-out infinite alternate;
}
@keyframes hero-kenburns{
  from{ transform: scale(1.08) translate3d(0,0,0); }
  to{ transform: scale(1.16) translate3d(-1.2%, -1.5%, 0); }
}

.hero-scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(6,6,7,0.95) 0%, rgba(6,6,7,0.86) 42%, rgba(6,6,7,0.3) 66%, rgba(6,6,7,0.4) 100%),
    linear-gradient(90deg, rgba(6,6,7,0.55) 0%, rgba(6,6,7,0.05) 45%);
}
@media (max-width: 640px){
  .hero-scrim{
    background:
      linear-gradient(0deg, rgba(6,6,7,0.97) 0%, rgba(6,6,7,0.93) 52%, rgba(6,6,7,0.25) 78%, rgba(6,6,7,0.45) 100%);
  }
}

/* cursor-reactive spotlight, like a flash sweeping the frame */
.hero-spotlight{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 40%), rgba(242,241,237,0.10), transparent 70%);
}
.hero-full:hover .hero-spotlight{ opacity: 1; }
@media (hover: none){ .hero-spotlight{ display: none; } }

/* viewfinder corner brackets */
.viewfinder{
  position: absolute;
  inset: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.1);
  animation: vf-focus-in 0.9s cubic-bezier(.16,1,.3,1) 0.1s forwards;
}
@keyframes vf-focus-in{
  to{ opacity: 1; transform: scale(1); }
}
.vf-corner{
  position: absolute;
  width: 22px; height: 22px;
  border: 1.5px solid rgba(242,241,237,0.55);
}
.vf-tl{ top: 0; left: 0; border-right: none; border-bottom: none; }
.vf-tr{ top: 0; right: 0; border-left: none; border-bottom: none; }
.vf-bl{ bottom: 0; left: 0; border-right: none; border-top: none; }
.vf-br{ bottom: 0; right: 0; border-left: none; border-top: none; }

.hero-hud{
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(242,241,237,0.75);
  opacity: 0;
  animation: hero-hud-in 0.7s ease 0.85s forwards;
}
@keyframes hero-hud-in{ to{ opacity: 1; } }
.hero-hud-top{
  top: clamp(2.2rem, 5vw, 3.5rem);
  left: clamp(2.2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.rec-dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(155,199,243,0.25);
  animation: rec-pulse 2.4s ease-in-out infinite;
}
@keyframes rec-pulse{
  0%, 100%{ box-shadow: 0 0 0 3px rgba(155,199,243,0.25); }
  50%{ box-shadow: 0 0 0 6px rgba(155,199,243,0.08); }
}
.hero-hud-bottom{
  bottom: clamp(2.2rem, 5vw, 3.5rem);
  right: clamp(2.2rem, 5vw, 3.5rem);
  text-align: right;
  max-width: min(80vw, 380px);
}
@media (max-width: 640px){
  .hero-hud-bottom{ display: none; }
}

.hero-inner{
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.hero-content{
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 44rem;
}
.hero-load > *{
  opacity: 0;
  transform: translateY(16px);
  animation: hero-rise 0.8s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-load > .eyebrow{ animation-delay: 0.3s; }
.hero-load > .hero-title{ animation-delay: 0.4s; }
.hero-load > .hero-copy{ animation-delay: 0.55s; }
.hero-load > .cta-row{ animation-delay: 0.7s; }
@keyframes hero-rise{ to{ opacity: 1; transform: translateY(0); } }

.hero-title{
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  overflow-wrap: normal;
  word-break: keep-all;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.45));
}
.hero-title .line{
  display: block;
  font-size: clamp(2.1rem, 7vw, 5.8rem);
  font-weight: 700;
}
.hero-title .line.outline{
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero-copy{
  max-width: 46ch;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.hero-copy strong{ color: var(--ink); font-weight: 700; }

.cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.4rem;
}
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 1rem 1.5rem;
  border-radius: 2px;
  min-height: 44px;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color .18s ease;
}
.btn-primary{
  background: var(--ink);
  color: var(--bg-void);
}
.btn-primary:hover{ background: var(--accent); color: var(--bg-void); transform: translateY(-1px); }
.btn-ghost{
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn svg{ width: 16px; height: 16px; flex: none; }


/* ===================== TICKER ===================== */
.ticker{
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-surface);
  padding: 1rem 0;
}
.ticker-track{
  display: flex;
  width: max-content;
  animation: ticker-scroll var(--tick-duration, 32s) linear infinite;
}
@media (prefers-reduced-motion: reduce){
  .ticker-track{ animation: none; }
}
.ticker-track span{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0 1.4rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex: none;
}
.ticker-track span em{
  font-style: normal;
  color: var(--accent);
}
@keyframes ticker-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(var(--tick-shift, -50%)); }
}

/* ===================== SECTION HEADERS ===================== */
.section{
  position: relative;
  padding: 5rem 0;
}
/* A recessed scan-line gives sections a boundary without boxing the page in. */
.section::after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(72rem, calc(100% - (var(--edge) * 2)));
  height: 1px;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(155,199,243,0.06) 16%, rgba(155,199,243,0.24) 50%, rgba(155,199,243,0.06) 84%, transparent 100%);
}

/* Technical-sheet motif: the JDM drawing is atmosphere, never a filter on the work. */
.work-section{
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--bg-void);
}
.work-section > .wrap{ position: relative; z-index: 1; }
.work-blueprint{
  position: absolute;
  z-index: 0;
  width: min(64rem, 74vw);
  right: max(-15rem, -12vw);
  top: 2.5rem;
  opacity: 0.16;
  pointer-events: none;
  transform: rotate(-2.5deg);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 84%, transparent 100%);
}
.work-blueprint::after{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-void) 90%);
}
.work-blueprint img{ width:100%; height:auto; filter: contrast(1.12) brightness(1.22); }
@media (max-width: 720px){
  .work-blueprint{ width: 48rem; right: -23rem; top: 5.5rem; opacity: .11; }
}

.blueprint-runway{
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #06080b;
}
.blueprint-runway > .section{
  position: relative;
  z-index: 1;
}
.process-bg{
  position: absolute;
  display: block;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: auto;
  height: 100%;
  aspect-ratio: 1072 / 1536;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.61;
  /* Fade the actual image alpha outward, not only its color. This prevents the
     portrait asset from ever reading as a rectangular panel on ultrawide screens. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.process-bg img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.process-bg::after{
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(6, 8, 11, 0.24), rgba(6, 8, 11, 0.24)),
    linear-gradient(180deg, rgba(6, 8, 11, 0.96) 0%, rgba(6, 8, 11, 0.42) 16%, rgba(6, 8, 11, 0.10) 31%, rgba(6, 8, 11, 0.10) 68%, rgba(6, 8, 11, 0.48) 84%, rgba(6, 8, 11, 0.96) 100%),
    linear-gradient(90deg, rgba(6, 8, 11, 0.9) 0%, rgba(6, 8, 11, 0.34) 15%, transparent 34%, transparent 66%, rgba(6, 8, 11, 0.34) 85%, rgba(6, 8, 11, 0.9) 100%);
}
@media (max-width: 720px){
  .process-bg{
    top: 0;
    bottom: 0;
    left: 50%;
    width: auto;
    height: 100%;
    aspect-ratio: 1072 / 1536;
    transform: translateX(-50%);
  }
  .process-bg img{ width: 100%; height: 100%; }
  .process-bg{ opacity: 0.56; }
  .process-bg::after{
    background:
      linear-gradient(180deg, rgba(6, 8, 11, 0.98) 0%, rgba(6, 8, 11, 0.44) 16%, transparent 34%, transparent 66%, rgba(6, 8, 11, 0.5) 84%, rgba(6, 8, 11, 0.98) 100%),
      linear-gradient(90deg, rgba(6, 8, 11, 0.92) 0%, rgba(6, 8, 11, 0.42) 20%, transparent 48%, rgba(6, 8, 11, 0.3) 80%, rgba(6, 8, 11, 0.88) 100%);
  }
}

/* The process is presented as a technical-sheet feature spread, not a generic accordion. */
.process-section{
  min-height: 58rem;
  padding-top: clamp(7rem, 11vw, 10rem);
  padding-bottom: clamp(6rem, 10vw, 9rem);
}
.process-section .section-head{
  max-width: 36rem;
  gap: 1.35rem;
  margin-bottom: clamp(4.5rem, 9vw, 7.5rem);
}
.process-section .section-title .line{
  font-size: clamp(3.4rem, 8.2vw, 7.6rem);
  letter-spacing: -0.065em;
}
.process-section .section-title .line.outline{
  -webkit-text-stroke-width: 1px;
}
.process-spec{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.process-section .accordion{
  width: min(100%, 47rem);
}
.process-section .accordion-trigger{
  min-height: 4.75rem;
  padding: 1.35rem 0;
  transition: padding-left 0.24s ease, color 0.24s ease;
}
.process-section .accordion-trigger:hover{
  padding-left: 0.75rem;
}
.process-section .accordion-item.open .accordion-trigger{
  padding-left: 0.75rem;
}
.process-section .stage-num{ color: var(--accent); }
.process-section .stage-name{ font-size: clamp(1.15rem, 2vw, 1.45rem); }
.process-section .accordion-panel-inner{
  padding-left: 5.25rem;
  max-width: 54ch;
  color: var(--ink);
}
@media (min-width: 960px){
  .process-section .wrap{ padding-left: clamp(8rem, 11vw, 12.5rem); }
}
@media (max-width: 720px){
  .process-section{
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
  .process-section .section-head{ margin-bottom: 3.75rem; }
  .process-section .section-title .line{ font-size: clamp(3rem, 15vw, 5rem); }
  .process-spec{ font-size: 0.58rem; letter-spacing: 0.08em; }
  .process-section .accordion-panel-inner{ padding-left: 0; }
}
.section-head{
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 3rem;
  max-width: 60ch;
}
.section-title{
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.94;
  overflow-wrap: normal;
  word-break: keep-all;
}
.section-title .line{
  display: block;
  font-size: clamp(1.9rem, 5.6vw, 4.6rem);
  font-weight: 700;
}
.section-title .line.outline{
  color: transparent;
  -webkit-text-stroke: 1.3px var(--ink);
}
.section-lede{
  color: var(--ink-muted);
  font-size: 1.02rem;
  max-width: 52ch;
}

/* ===================== GALLERY ===================== */
.gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 0.9rem;
}
@media (min-width: 720px){
  .gallery{ grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
}
.g-item{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-surface);
  cursor: pointer;
  grid-column: span 2;
  aspect-ratio: 4/5;
  padding: 0;
  transform: translate3d(0, var(--lift, 0px), 0) perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.28s cubic-bezier(.22,.8,.2,1), box-shadow 0.28s ease, border-color 0.28s ease;
}
@media (hover: hover) and (pointer: fine){
  .g-item.tilt-active{
    --lift: -5px;
    z-index: 2;
    border-color: rgba(242,241,237,0.28);
    box-shadow: 0 22px 42px rgba(0,0,0,0.42);
  }
}
@media (min-width: 720px){
  .g-item{ grid-column: span 2; }
  .g-item.wide{ grid-column: span 2; aspect-ratio: 4/5; }
  .g-item.hero-shot{ grid-column: span 4; aspect-ratio: 16/9; }
}
.g-frame{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.g-item img{
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translateY(var(--py, 0px)) scale(1.06);
  transition: transform 0.5s cubic-bezier(.2,.7,.3,1), filter .6s ease;
  filter: saturate(0.96);
}
.g-item:hover img{ transform: translateY(var(--py, 0px)) scale(1.11); }
@media (prefers-reduced-motion: reduce){
  .g-item{ transform: none !important; transition: none; }
  .g-item img{ transform: none !important; transition: none; }
}
.g-caption{
  position: absolute; inset: auto 0 0 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(11,11,12,0) 0%, rgba(11,11,12,0.88) 78%);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transform: translateY(8px);
  opacity: 0.92;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.g-item:hover .g-caption{ transform: translateY(0); opacity: 1; }
.g-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.g-spec{
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
/* corner-bracket echo of the hero viewfinder motif */
.g-item::before{
  content: '';
  position: absolute;
  left: 0.7rem; bottom: 0.7rem;
  width: 16px; height: 16px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1;
}
.g-item:hover::before, .g-item:focus-visible::before{ opacity: 0.85; transform: scale(1); }

.g-plus{
  position: absolute; top: 0.7rem; right: 0.7rem;
  width: 16px; height: 16px;
  border-top: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
  font-size: 0;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.g-item:hover .g-plus, .g-item:focus-visible .g-plus{ opacity: 0.85; transform: scale(1); }

/* ===================== PROCESS ACCORDION ===================== */
.accordion{ border-top: 1px solid var(--line); }
.accordion-item{ border-bottom: 1px solid var(--line); }
.accordion-trigger{
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  text-align: left;
}
.stage-num{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-dim);
  width: 4.5rem;
  flex: none;
}
.stage-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  text-transform: uppercase;
  flex: 1;
}
.stage-icon{
  width: 28px; height: 28px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}
.stage-icon::before,.stage-icon::after{
  content:'';
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
}
.stage-icon::before{ width: 10px; height: 1px; transform: translate(-50%,-50%); }
.stage-icon::after{ width: 1px; height: 10px; transform: translate(-50%,-50%); transition: transform 0.25s ease, opacity .25s ease; }
.accordion-item.open .stage-icon::after{ transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.accordion-item.open .stage-name{ color: var(--accent); }

.accordion-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-item.open .accordion-panel{ max-height: 240px; }
.accordion-panel-inner{
  padding: 0 0 1.75rem 4.5rem;
  color: var(--ink-muted);
  max-width: 58ch;
  font-size: 0.98rem;
}

/* ===================== SERVICES SPLIT ===================== */
.services-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 860px){
  .services-grid{ grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.service-col h3{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.service-list{ display: flex; flex-direction: column; }
.service-list li{
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.02rem;
}
.service-list li:last-child{ border-bottom: 1px solid var(--line); }
.service-list .num{
  font-family: var(--font-mono);
  color: var(--ink-dim);
  font-size: 0.78rem;
  flex: none;
  padding-top: 0.2rem;
}
.service-list .txt{ flex: 1; }
.service-list .sub{
  display: block;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  margin-top: 0.3rem;
}

/* ===================== CONTACT ===================== */
.contact{
  border-bottom: none;
}
.contact::after{ display: none; }
.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
}
@media (min-width: 900px){
  .contact-grid{ grid-template-columns: 1.1fr 0.9fr; }
}
.contact-title .line{ font-size: clamp(2rem, 7.5vw, 6rem); }

.contact-links{ border-top: 1px solid var(--line); }
.contact-link{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px){
  .contact-link{
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.6rem 0;
  }
}
.contact-link .cl-label{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-transform: uppercase;
  flex: none;
}
@media (min-width: 640px){
  .contact-link .cl-label{ padding-top: 0.5rem; }
}
.contact-link .cl-value{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 4.5vw, 1.7rem);
  text-transform: uppercase;
  transition: color 0.2s ease;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (min-width: 640px){
  .contact-link .cl-value{
    flex: 1 1 auto;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    text-align: right;
  }
}
.contact-link:hover .cl-value{ color: var(--accent); }
.contact-link .cl-arrow{
  display: none;
  font-family: var(--font-mono);
  color: var(--ink-dim);
  transition: transform 0.2s ease, color .2s ease;
}
@media (min-width: 640px){
  .contact-link .cl-arrow{ display: block; flex: none; padding-top: 0.5rem; }
}
.contact-link:hover .cl-arrow{ transform: translate(3px,-3px); color: var(--accent); }

.contact-meta{
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.contact-meta strong{ color: var(--ink); font-weight: 500; }

/* ===================== FOOTER ===================== */
.site-footer{
  padding: 2rem 0;
}
.site-footer .wrap{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}
@media (min-width: 700px){
  .site-footer .wrap{ flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-brand{ color: var(--ink-muted); }
.back-top{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.back-top:hover{ border-color: var(--accent); color: var(--accent); }

/* ===================== LIGHTBOX ===================== */
.lightbox{
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(6,6,7,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--edge);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open{ opacity: 1; pointer-events: auto; }
.lightbox-inner{
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lightbox-inner img{
  max-height: 74vh;
  width: 100%;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--bg-surface);
}
.lightbox-caption{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lightbox-caption .lb-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
}
.lightbox-caption .lb-spec{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.lightbox-close{
  position: absolute;
  top: 1.5rem; right: var(--edge);
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover{ border-color: var(--accent); color: var(--accent); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in{ opacity: 1; transform: translateY(0); }

/* gallery items: aperture-style shutter reveal instead of a plain fade */
.g-reveal{
  opacity: 0;
  clip-path: circle(4% at 50% 50%);
  transform: scale(1.1);
  transition: clip-path 0.85s cubic-bezier(.22,.8,.2,1), opacity 0.5s ease, transform 0.85s cubic-bezier(.22,.8,.2,1);
}
.g-reveal.in{
  opacity: 1;
  clip-path: circle(75% at 50% 50%);
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce){
  .reveal, .g-reveal{ opacity: 1; transform: none; clip-path: none; transition: none; }
}
