/* Arisa One Studios — palette sampled from client mockup (see docs/) */
:root {
  --black: #000000;
  --surface: #0b0a08;
  --line: rgba(239, 197, 106, 0.22);
  --gold-hi: #efc56a;
  --gold: #d8a440;
  --gold-deep: #9e7b3c;
  --white: #ffffff;
  --body: #c9c5bd;
  --muted: #8f8a80;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;
  --gold-grad: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  --pad: clamp(1.25rem, 4vw, 3rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--body);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

/* ---------- gold text utilities ---------- */
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-italic { font-style: italic; color: var(--gold); }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark .a1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.02em;
  font-feature-settings: "lnum" 1;
  font-variant-numeric: lining-nums;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark .name {
  margin-top: 0.3rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--white);
  white-space: nowrap;
}
.wordmark .name .one { color: var(--gold); }
.wordmark .studios {
  margin-top: 0.28rem;
  font-size: 0.5rem;
  letter-spacing: 0.6em;
  text-indent: 0.6em;
  color: var(--muted);
}
.wordmark--hero .a1 { font-size: clamp(4.5rem, 10vw, 7.5rem); }
.wordmark--hero .name { font-size: clamp(0.9rem, 2vw, 1.35rem); margin-top: 0.6rem; }
.wordmark--hero .studios { font-size: clamp(0.55rem, 1vw, 0.8rem); margin-top: 0.5rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(239, 197, 106, 0.12);
}
.site-header .wordmark .a1 { font-size: 1.5rem; }
.site-header .wordmark .name { font-size: 0.55rem; }
.site-header .wordmark .studios { display: none; }
.site-nav { display: flex; gap: clamp(1rem, 3vw, 2.2rem); }
.site-nav a {
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--body);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.site-nav a:hover { color: var(--gold-hi); }
.site-nav a[aria-current="page"] { color: var(--gold-hi); border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--gold-hi); font-size: 1.2rem; padding: 0.3rem 0.7rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  min-height: min(88vh, 820px);
  border-bottom: 1px solid rgba(239, 197, 106, 0.12);
  overflow: hidden;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.6rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad);
}
.hero-copy .wordmark { align-self: flex-start; align-items: flex-start; }
.hero-copy .wordmark .name, .hero-copy .wordmark .studios { text-align: left; }
.hero-tagline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.18;
  color: var(--white);
}
.hero-sub { max-width: 34ch; font-size: 1rem; color: var(--body); }
.hero-media { position: relative; min-height: 320px; }
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 70% 30%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.25) 28%, rgba(0,0,0,0) 60%);
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 400;
  font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-hi);
  background: transparent;
  border: 1px solid var(--gold-deep);
  padding: 0.95rem 2.1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); }
.section--tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.74rem; font-weight: 400;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
}
.eyebrow::after { content: ""; width: 56px; height: 1px; background: var(--gold-deep); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-link {
  font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.section-link:hover { color: var(--gold-hi); }
h2.display, h1.display {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  max-width: 22ch;
}
.lede { max-width: 62ch; margin-top: 1.4rem; }
.lede p + p { margin-top: 1em; }

/* ---------- about split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.split .media { border: 1px solid rgba(239, 197, 106, 0.14); padding: 0.6rem; }

/* ---------- project cards ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 2.2rem;
}
.project-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(239, 197, 106, 0.16);
  transition: border-color 0.3s, transform 0.3s;
}
.project-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.project-card .thumb { aspect-ratio: 16 / 11; overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .thumb img { transform: scale(1.045); }
.project-card .card-body { padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.project-card h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.45rem; letter-spacing: 0.04em;
  color: var(--white); text-transform: uppercase;
}
.project-card .kind {
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
}
.project-card p { font-size: 0.92rem; line-height: 1.65; }
.project-card .card-cta {
  margin-top: auto; padding-top: 0.9rem;
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
}
.project-card .card-cta:hover { color: var(--gold-hi); }
.card--dev .thumb {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(239,197,106,0.12), rgba(0,0,0,0) 65%), var(--surface);
}
.card--dev .thumb .a1 {
  font-family: var(--serif); font-weight: 600; font-size: 3.4rem;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- recognition ---------- */
.recognition-band { text-align: center; border-top: 1px solid rgba(239, 197, 106, 0.12); }
.laurel-row { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 2.4rem; align-items: center; }
.laurel-row img { width: min(300px, 70vw); height: auto; }
.laurel-caption { margin-top: 1.6rem; font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

/* ---------- press / stills strip ---------- */
.stills-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.9rem; margin-top: 2.2rem; }
.stills-strip img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(3.5rem, 8vw, 5.5rem) var(--pad) clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid rgba(239,197,106,0.1); }
.page-hero h1 { margin-top: 0.6rem; }

/* ---------- project feature rows (projects page) ---------- */
.feature-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 1px solid rgba(239,197,106,0.1); }
.feature-row:last-child { border-bottom: none; }
.feature-row.rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.feature-row.rev .media { order: 2; }
.feature-row .media { border: 1px solid rgba(239,197,106,0.14); padding: 0.6rem; }
.feature-row .media img { width: 100%; object-fit: cover; }
.feature-row h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; }
.feature-row .kind { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.8rem; }
.feature-row p { margin-top: 1rem; max-width: 52ch; }
.feature-row .status { margin-top: 1.2rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

/* ---------- contact ---------- */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5rem); }
.contact-details p { margin-top: 1rem; }
.contact-details .email {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--gold-hi); font-weight: 500;
}
.socials { display: flex; gap: 1.6rem; margin-top: 2rem; }
.socials a { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--body); border-bottom: 1px solid var(--gold-deep); padding-bottom: 0.2rem; }
.socials a:hover { color: var(--gold-hi); }
form .field { margin-bottom: 1.3rem; }
form label { display: block; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
form input, form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(239,197,106,0.2);
  color: var(--white);
  font-family: var(--sans); font-weight: 300; font-size: 1rem;
  padding: 0.85rem 1rem;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--gold); }
form textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid rgba(239,197,106,0.12); padding: clamp(2.5rem, 6vw, 4rem) var(--pad) 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer-grid .tag { margin-top: 1rem; font-size: 0.9rem; max-width: 30ch; color: var(--muted); }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { font-size: 0.92rem; color: var(--body); }
.footer-col a:hover { color: var(--gold-hi); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(239,197,106,0.08); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- reveal on scroll (only hidden when JS is running: html.js set by main.js) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .project-card, .project-card .thumb img { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; min-height: 46vw; }
  .hero-media img { position: relative; height: 100%; }
  .hero-media::after { background: linear-gradient(0deg, #000 4%, rgba(0,0,0,0) 55%); }
  .split, .contact-wrap, .feature-row, .feature-row.rev { grid-template-columns: 1fr; }
  .feature-row.rev .media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(0,0,0,0.97);
    border-bottom: 1px solid rgba(239,197,106,0.14);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 1rem var(--pad); border-bottom: 1px solid rgba(239,197,106,0.07); }
  .nav-toggle { display: block; }
}
