/* ============================================================
   ARAO — Color profiles for Nikon
   Minimal · monochrome · photography-led
   ============================================================ */

:root {
  /* AIRSCREAM-inspired palette: navy ink + slate blue-gray text */
  --ink:    #1B2A3A;   /* deep navy — headings, dark UI */
  --ink-2:  #2C3E50;
  --slate:  #8295A6;   /* signature slate blue-gray — body text */
  --slate-2:#A9B6C2;   /* muted / captions */
  --line:   #E4E8EC;   /* hairlines (cool gray) */
  --line-2: #D2DAE1;
  --paper:  #ffffff;   /* base background */
  --panel:  #F4F6F8;   /* subtle cool section fill */
  --white:  #ffffff;

  --f:      "Inter", -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", sans-serif;
  --f-disp: "Archivo", "Inter", sans-serif;  /* italic condensed display */

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
  --nav-h: 68px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

body {
  font-family: var(--f);
  color: var(--slate);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }

/* ─── Shared type ─── */
.index {
  font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  color: var(--slate-2); text-transform: uppercase;
  margin-bottom: 26px;
}
.section-title {
  font-family: var(--f-disp);
  font-style: italic; font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.02; letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-sub {
  margin-top: 14px; font-size: 1rem; color: var(--slate);
  max-width: 44ch; font-weight: 400;
}
.link {
  display: inline-block; margin-top: 26px;
  font-size: .95rem; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: border-color .25s;
}
.link:hover { border-color: var(--ink); }
.muted { color: var(--slate); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; font-size: .95rem; font-weight: 500;
  border-radius: 999px; transition: background .2s, color .2s, border-color .2s, opacity .2s;
  white-space: nowrap;
}
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: var(--ink-2); }
.btn--line { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

/* ═══ Header ═══ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-stuck { border-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  padding-inline: var(--gut);
}

.brand {
  flex: none;
  font-family: var(--f-disp); font-style: italic; font-weight: 900;
  font-size: 1.3rem; letter-spacing: .02em; color: var(--ink);
}

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: .9rem; color: var(--slate); position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }

.nav__cta {
  flex: none; white-space: nowrap;
  font-size: .9rem; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
}
.nav__cta:hover { opacity: .6; }

.nav__toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.nav__toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ═══ Hero ═══ */
.hero {
  position: relative; min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white); overflow: hidden;
  padding: clamp(48px, 10vh, 110px) 0 clamp(28px, 5vh, 48px);
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: none;
}
.hero__inner { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 760px; }
.hero__eyebrow { font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 24px; }
.hero__title { font-family: var(--f-disp); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.01em; }
.hero__lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.86); font-weight: 300; }
.hero__cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__cta .btn--solid { background: var(--white); color: var(--ink); }
.hero__cta .btn--solid:hover { background: rgba(255,255,255,.85); }
.hero__cta .btn--line { border-color: rgba(255,255,255,.5); color: var(--white); }
.hero__cta .btn--line:hover { border-color: var(--white); }
.hero__meta {
  position: relative; z-index: 1;
  display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2);
}
.hero__meta span { font-size: .82rem; letter-spacing: .04em; color: rgba(255,255,255,.72); }

/* ═══ Story ═══ */
.story { padding: clamp(80px, 12vh, 150px) 0; }
.story__grid { display: grid; grid-template-columns: 200px 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.story__title { font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.16; letter-spacing: -.02em; max-width: 20ch; color: var(--ink); }
.story__p { margin-top: 24px; font-size: 1.08rem; line-height: 1.7; color: var(--ink-2); max-width: 60ch; }
.story__p.muted { color: var(--slate); font-size: 1rem; }

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line);
}
.fact { padding: 34px 0 0; border-right: 1px solid var(--line); padding-right: 28px; }
.fact:last-child { border-right: none; }
.fact__k { font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.fact__v { font-size: .95rem; color: var(--slate); }

/* ═══ Compare ═══ */
.compare { padding: clamp(80px, 12vh, 150px) 0; background: var(--panel); }
.compare__head { margin-bottom: 40px; }

.ba {
  position: relative;
  width: 1280px; max-width: 100%;
  aspect-ratio: 1280 / 853;   /* original ratio, fixed */
  margin-inline: auto;
  overflow: hidden;
  user-select: none; touch-action: pan-y; background: var(--ink);
  border: 1px solid var(--line);
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; width: 50%; overflow: hidden; will-change: width; }
.ba__img--before { left: 0; width: auto; min-width: 100%; height: 100%; max-width: none; object-fit: cover; }

.ba__tag {
  position: absolute; top: 16px; z-index: 3;
  font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 11px; color: var(--white); background: rgba(17,18,19,.72); backdrop-filter: blur(3px);
}
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; }

.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; z-index: 4; background: var(--white); transform: translateX(-50%); }
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%; background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.28); cursor: ew-resize;
  display: flex; align-items: center; justify-content: center;
}
.ba__grip::before, .ba__grip::after {
  content: ""; width: 0; height: 0; border-block: 4px solid transparent;
}
.ba__grip::before { border-right: 6px solid var(--ink); margin-right: 3px; }
.ba__grip::after  { border-left: 6px solid var(--ink); margin-left: 3px; }
.ba__handle:focus-visible { outline: none; }
.ba__handle:focus-visible .ba__grip { outline: 2px solid var(--ink); outline-offset: 3px; }
.compare__hint { margin-top: 18px; font-size: .84rem; color: var(--slate-2); }

/* ═══ Profiles / Sample photos ═══ */
.profiles { padding: clamp(80px, 12vh, 150px) 0; }
.profiles__head { margin-bottom: 48px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shot {
  position: relative; overflow: hidden; aspect-ratio: 3 / 2;
  border: none; padding: 0; cursor: pointer; background: var(--panel);
  display: block;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s var(--ease); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,42,58,.34), transparent 46%);
  opacity: 0; transition: opacity .3s;
}
.shot__no {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  font-family: var(--f-disp); font-style: italic; font-weight: 800;
  font-size: .82rem; color: var(--white); letter-spacing: .02em;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s;
}
.shot:hover img { transform: scale(1.05); }
.shot:hover::after { opacity: 1; }
.shot:hover .shot__no { opacity: 1; transform: none; }
.shot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ═══ Lightbox ═══ */
.lb {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(15, 23, 32, .92);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__stage {
  position: relative; max-width: min(1180px, 92vw); max-height: 88vh;
  display: flex; flex-direction: column; align-items: center;
}
.lb__img {
  max-width: 100%; max-height: 82vh; width: auto; height: auto;
  object-fit: contain; border-radius: 2px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  transform: scale(.98); transition: transform .35s var(--ease), opacity .25s;
}
.lb.is-open .lb__img { transform: scale(1); }
.lb__img.is-swapping { opacity: 0; }
.lb__cap {
  display: flex; align-items: center; gap: 16px; margin-top: 16px;
  font-size: .84rem; color: rgba(255,255,255,.78); flex-wrap: wrap; justify-content: center;
}
.lb__cap [data-lb-count] { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.lb__tag {
  font-family: var(--f-disp); font-style: italic; font-weight: 700;
  text-transform: uppercase; font-size: .8rem; letter-spacing: .03em;
  color: rgba(255,255,255,.9);
}
.lb__close {
  position: absolute; top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px);
  z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem; color: var(--white);
  background: rgba(255,255,255,.1); transition: background .2s;
}
.lb__close:hover { background: rgba(255,255,255,.22); }
.lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.9rem; line-height: 1; color: var(--white);
  background: rgba(255,255,255,.1); transition: background .2s, transform .2s;
}
.lb__nav:hover { background: rgba(255,255,255,.22); }
.lb__nav--prev { left: clamp(10px, 3vw, 32px); }
.lb__nav--next { right: clamp(10px, 3vw, 32px); }
.lb__nav:active { transform: translateY(-50%) scale(.92); }

/* ═══ Gallery ═══ */
.gallery { padding: clamp(80px, 12vh, 150px) 0; background: var(--panel); }
.gallery__head { margin-bottom: 44px; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 8px; }
.gcell { position: relative; overflow: hidden; background: var(--ink); cursor: pointer; }
.gcell:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.gcell--tall { grid-row: span 2; }
.gcell--wide { grid-column: span 2; }
.gcell img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s var(--ease), transform .7s var(--ease); }
.gcell:hover img { filter: grayscale(0); transform: scale(1.03); }
.gcell figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px;
  display: flex; align-items: flex-end; justify-content: space-between;
  background: linear-gradient(to top, rgba(10,11,12,.7), transparent);
  color: var(--white); opacity: 0; transition: opacity .3s;
}
.gcell:hover figcaption { opacity: 1; }
.gcell figcaption span { font-size: .9rem; }
.gcell figcaption em { font-style: normal; font-size: .72rem; letter-spacing: .04em; color: rgba(255,255,255,.7); }

/* ═══ Install ═══ */
.install { padding: clamp(80px, 12vh, 150px) 0; }
.install__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.install__intro .section-sub { max-width: 30ch; }
.install__cta { margin-top: 30px; }
.steps { list-style: none; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__no { font-size: .82rem; color: var(--slate-2); font-variant-numeric: tabular-nums; padding-top: 3px; letter-spacing: .04em; }
.step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.step p { color: var(--slate); font-size: .98rem; }
.step code { background: var(--panel); padding: 1px 6px; font-size: .88em; }
.step b { color: var(--ink); font-weight: 500; }

/* ═══ Pricing ═══ */
.pricing { padding: clamp(80px, 12vh, 150px) 0; background: var(--panel); }
.pricing__head { margin-bottom: 48px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.plan { padding: 40px 34px; border-right: 1px solid var(--line); background: var(--paper); position: relative; display: flex; flex-direction: column; }
.plan:last-child { border-right: none; }
.plan--feat { background: var(--ink); color: var(--white); }
.plan__badge { position: absolute; top: 18px; right: 20px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); }
.plan--feat .plan__badge { color: rgba(255,255,255,.6); }
.plan__name { font-family: var(--f-disp); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.35rem; letter-spacing: -.01em; color: var(--ink); }
.plan--feat .plan__name { color: var(--white); }
.plan__desc { font-size: .9rem; color: var(--slate); margin-top: 4px; }
.plan--feat .plan__desc { color: rgba(255,255,255,.6); }
.plan__price { font-size: 2rem; font-weight: 600; letter-spacing: -.02em; margin: 24px 0; color: var(--ink); }
.plan--feat .plan__price { color: var(--white); }
.plan__list { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.plan__list li { position: relative; padding-left: 20px; font-size: .95rem; color: var(--ink-2); }
.plan--feat .plan__list li { color: rgba(255,255,255,.85); }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--slate-2); }
.plan--feat .plan__list li::before { background: rgba(255,255,255,.5); }
.plan--feat .btn--solid { background: var(--white); color: var(--ink); }
.plan--feat .btn--solid:hover { background: rgba(255,255,255,.85); }

/* ═══ Closing ═══ */
.finale { position: relative; overflow: hidden; color: var(--white); }
.finale__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.72); }
.finale::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,42,58,.7), rgba(27,42,58,.4)); }
.finale__inner { position: relative; z-index: 1; padding: clamp(90px, 16vh, 180px) 0; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.finale__title { font-family: var(--f-disp); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: .98; letter-spacing: -.01em; }

/* ═══ Footer ═══ */
.foot { padding: clamp(56px, 8vh, 88px) 0 32px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.foot__brand .brand { font-size: 1.1rem; }
.foot__tag { margin-top: 16px; font-size: .92rem; color: var(--slate); max-width: 24ch; }
.foot__col h4 { font-size: .82rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 18px; }
.foot__col a { display: block; margin-bottom: 11px; font-size: .94rem; color: var(--ink-2); transition: color .2s; width: fit-content; }
.foot__col a:hover { color: var(--ink); }
.foot__form { display: flex; gap: 0; border-bottom: 1px solid var(--line-2); }
.foot__form input { flex: 1; min-width: 0; padding: 8px 0; border: none; background: transparent; font-size: .94rem; color: var(--ink); }
.foot__form input::placeholder { color: var(--slate-2); }
.foot__form button { padding: 8px 6px; font-size: 1.1rem; color: var(--ink); }
.foot__form button:hover { opacity: .5; }
.foot__msg { margin-top: 10px; font-size: .84rem; color: var(--slate); min-height: 1.2em; }

.foot__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; font-size: .84rem; color: var(--slate-2); }
.foot__social { display: flex; gap: 18px; }
.foot__social a:hover { color: var(--ink); }

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
  .story__grid { grid-template-columns: 1fr; gap: 20px; }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .install__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper); padding: 14px var(--gut) 22px; border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links a { padding: 12px 0; font-size: 1.05rem; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .fact:last-child { border-bottom: none; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: none; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: none; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand, .foot__col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .shots { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .lb__nav { width: 44px; height: 44px; font-size: 1.5rem; }
  .lb__nav--prev { left: 6px; }
  .lb__nav--next { right: 6px; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gcell--wide, .gcell--tall { grid-column: auto; grid-row: auto; }
  .ba { aspect-ratio: 4 / 5; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__bottom { justify-content: flex-start; }
}
