/* Athena Theatrical — site styles */
:root {
  --bg: #0b0c0b;
  --bg-2: #121412;
  --bg-3: #191c19;
  --line: #262a26;
  --text: #e8ebe8;
  --muted: #9aa39b;
  --green: #4cb257;
  --green-hi: #7fe08a;
  --glow: 0 0 18px rgba(76, 178, 87, .35);
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 18px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-hi); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .04em;
  margin: 0 0 .5em;
  color: #fff;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font: 500 .78rem/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1.1rem;
}
.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--text); max-width: 46ch; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 11, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  font: 600 1.02rem/1 var(--serif);
  letter-spacing: .22em;
  color: #fff;
  white-space: nowrap;
}
.brand span { color: var(--green); }
.nav { display: flex; gap: 2rem; }
.nav a {
  font: 400 .82rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .5rem 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--green); }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  color: #fff; width: 44px; height: 40px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--green-hi); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font: 500 .8rem/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: #fff;
  padding: 1rem 1.6rem;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: transparent;
  transition: background .2s, box-shadow .2s, color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--green); color: #0b0c0b; box-shadow: var(--glow); }
.btn::after { content: "→"; font-size: 1rem; letter-spacing: 0; }
.btn.no-arrow::after { content: none; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 10vw, 120px) 0; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rule { width: 56px; height: 2px; background: var(--green); border: 0; margin: 0 0 1.8rem; box-shadow: var(--glow); }

/* ---------- Home hero ---------- */
.hero {
  padding: 0;
  background: #000;
  position: relative;
  overflow: hidden;
}
.hero img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.hero-tag {
  position: absolute; left: 0; right: 0; bottom: clamp(16px, 4vw, 40px);
  text-align: center;
  font: 400 clamp(.72rem, 1.6vw, .9rem)/1 var(--sans);
  letter-spacing: .38em; text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero img { height: 58vh; max-height: 460px; object-fit: cover; }
  .hero-tag { position: static; padding: 1.2rem var(--gutter) 0; line-height: 1.9; letter-spacing: .3em; }
}

.mission { text-align: center; }
.mission .rule { margin-left: auto; margin-right: auto; }
.mission p.statement {
  font: 400 clamp(1.4rem, 3vw, 2.15rem)/1.4 var(--serif);
  letter-spacing: .01em;
  color: #fff;
  max-width: 30ch; margin: 0 auto 2.2rem;
}

/* ---------- Grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #3a4a3b; }
.card .num {
  font: 500 .8rem/1 var(--sans); letter-spacing: .2em; color: var(--green); margin-bottom: 1.2rem; display: block;
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* project strip on home */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--bg-3); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; filter: saturate(.85); }
.strip figure:hover img { transform: scale(1.04); filter: saturate(1); }
.strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font: 500 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.strip figcaption small { display: block; color: var(--muted); letter-spacing: .1em; margin-top: .3rem; font-weight: 400; }
@media (max-width: 900px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* CTA band */
.cta { text-align: center; }
.cta h2 { margin-bottom: 1rem; }
.cta p { color: var(--muted); max-width: 46ch; margin: 0 auto 2rem; }

/* ---------- Page header ---------- */
.page-head { padding: clamp(56px, 9vw, 104px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { margin-bottom: 1rem; }
.page-head.with-image { position: relative; padding: 0; min-height: 360px; display: flex; align-items: end; overflow: hidden; }
.page-head.with-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: grayscale(1); }
.page-head.with-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 4%, rgba(11,12,11,.2) 70%); }
.page-head.with-image .wrap { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 56px); padding-top: 120px; }

/* ---------- Services ---------- */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.service figure img { width: 100%; height: 100%; object-fit: cover; }
.service.flip figure { order: 2; }
.service p { color: var(--muted); font-size: 1.12rem; max-width: 42ch; }
@media (max-width: 800px) {
  .service { grid-template-columns: 1fr; }
  .service.flip figure { order: 0; }
}

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 800px) { .projects { grid-template-columns: 1fr; } }
.project { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.project figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.project figure img { width: 100%; height: 100%; object-fit: cover; }
.project .body { padding: 1.6rem 1.6rem 1.8rem; }
.project h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.project .meta { font: 400 .82rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.project .scope { color: var(--text); font-size: 1rem; margin-bottom: 1rem; }
.project dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; font-size: .92rem; }
.project dt { color: var(--muted); }
.project dd { margin: 0; color: var(--text); }

/* ---------- Team ---------- */
.member { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); align-items: start; }
.member:first-child { border-top: 0; padding-top: 0; }
.member figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.member figure img { width: 100%; height: 100%; object-fit: cover; }
.member .role { font: 500 .8rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin-bottom: 1.4rem; }
.member p { color: var(--muted); font-size: 1.04rem; }
.member .contact-lines { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .98rem; }
@media (max-width: 760px) {
  .member { grid-template-columns: 1fr; }
  .member figure { max-width: 320px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dl { margin: 2rem 0 0; display: grid; gap: 1.4rem; }
.contact-info dt { font: 500 .76rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.contact-info dd { margin: 0; font-size: 1.05rem; }

form.contact { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font: 500 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.field input, .field textarea {
  width: 100%;
  font: 300 1rem/1.5 var(--sans);
  color: #fff;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: var(--glow); }
.field textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-size: .98rem; min-height: 1.5em; }
.form-status.ok { color: var(--green-hi); }
.form-status.err { color: #ff8f8f; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
