:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #121419;
  --panel-soft: #181b21;
  --text: #f5f5f7;
  --muted: #a8abb3;
  --line: rgba(255, 255, 255, .1);
  --accent: #d4a72c;
  --accent-hover: #e8c04a;
  --accent-2: #d4a72c;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  min-height: 68px;
  margin: 0 auto;
  padding: 0 28px;
  background: rgba(8, 9, 11, .78);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-header .brand img { display: block; width: auto; height: 40px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--text); }
.nav-contact { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; }

main { overflow: hidden; }
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
  padding: 100px 24px 120px;
  text-align: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .62) 52%, rgba(0, 0, 0, .76)), url("/images/hero-studio.jpg") center / cover no-repeat;
}
.hero-logo { width: min(360px, 70vw); margin: 8px auto 42px; }
.eyebrow, .kicker, .card-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 10vw, 8.3rem);
  line-height: .9;
  letter-spacing: -.075em;
}
.hero > p {
  max-width: 690px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}
.hero-mark { display: flex; align-items: center; gap: 8px; height: 74px; margin-top: 62px; }
.hero-mark span { width: 5px; border-radius: 9px; background: linear-gradient(var(--accent), var(--accent-2)); }
.hero-mark span:nth-child(1), .hero-mark span:nth-child(5) { height: 22px; }
.hero-mark span:nth-child(2), .hero-mark span:nth-child(4) { height: 46px; }
.hero-mark span:nth-child(3) { height: 72px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #100c02; }
.button-primary:hover { background: var(--accent-hover); }
.button-light { background: var(--text); color: var(--bg); }
.text-link { color: var(--accent); font-weight: 700; text-underline-offset: 5px; }
.text-link:hover, .section-inquiry-link:hover { color: var(--accent-hover); }

.section { max-width: var(--max); margin: 0 auto; padding: 92px 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 32px; }
h2 { margin-bottom: 0; font-size: clamp(2.5rem, 6vw, 4.7rem); line-height: 1; letter-spacing: -.055em; }
h3 { margin-bottom: 12px; font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -.045em; }
.feature-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, #17191f, #0f1115);
}
.card-copy { display: flex; flex-direction: column; justify-content: center; padding: 52px; }
.card-copy > p:not(.card-label), .project-card p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.actions { display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.podcast-card img { width: 100%; height: 100%; object-fit: cover; }
.future-note { margin: 18px 8px 0; color: #747881; font-size: .9rem; }
.section-inquiry-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 5px;
}

.event-panel {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  align-items: end;
  gap: 50px;
  min-height: 410px;
  padding: 54px;
  border-radius: 30px;
  background: linear-gradient(120deg, #e8c04a, #d4a72c 58%, #9b7412);
  color: #160905;
}
.event-panel .kicker { color: rgba(22, 9, 5, .66); }
.event-copy > p { margin-bottom: 6px; font-size: 1.18rem; font-weight: 650; line-height: 1.55; }
.event-copy .section-inquiry-link { color: #160905; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-card {
  display: grid;
  grid-template-rows: 260px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .28); }
.project-card img { width: 100%; height: 100%; object-fit: cover; }
.project-card[href="https://placeagain.com"] img,
.project-card[href="https://portandwake.com"] img {
  object-fit: contain;
  object-position: center;
  padding: 20px;
}
.project-card[href="https://placeagain.com"] img { background: #fff; }
.project-card[href="https://portandwake.com"] img {
  padding: 2px;
  background: #000814;
}
.project-card > div { padding: 32px; }
.project-card .card-label { font-size: .7rem; }
.project-card .text-link { text-decoration: underline; }

.contact { margin-top: 76px; padding: 110px 24px; background: #0c0e12; color: var(--text); }
.contact-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.contact-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; }
.contact h2 { margin: 0; }
.inquiry-actions { display: grid; justify-items: center; gap: 12px; margin-bottom: 32px; text-align: center; }
.inquiry-toggle { display: none; border: 0; cursor: pointer; font: inherit; }
.form-toggle-ready .inquiry-toggle { display: inline-flex; }
.inquiry-form-wrapper { display: grid; grid-template-rows: 1fr; opacity: 1; }
.inquiry-form-inner { min-height: 0; overflow: hidden; }
.form-toggle-ready .inquiry-form-wrapper {
  visibility: visible;
  transition: grid-template-rows .42s ease, opacity .28s ease, visibility 0s linear 0s;
}
.form-toggle-ready.form-collapsed .inquiry-form-wrapper {
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .42s ease, opacity .28s ease, visibility 0s linear .42s;
}
.inquiry-form {
  max-width: 880px;
  margin: 0 auto;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, #17191f, #0f1115);
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 24px; }
.field label, .field legend {
  color: var(--text);
  font-size: .95rem;
  font-weight: 700;
}
.field label > span { color: var(--accent); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  margin-top: 9px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 13px;
  outline: none;
  background: #0b0d11;
  color: var(--text);
  font: inherit;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field select { height: 50px; padding: 0 15px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 110px; padding: 14px 15px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 167, 44, .18); }
.field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 167, 44, .18); }
.service-fields[hidden] { display: none; }
.choice-field { min-width: 0; padding: 0; border: 0; }
.choice-field legend { margin-bottom: 12px; }
.choice-row, .checkbox-grid { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-row label, .checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}
.choice-row input, .checkbox-grid input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); }
.submit-button { border: 0; cursor: pointer; font: inherit; }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.form-status { min-height: 24px; margin: 18px 0 0; font-weight: 700; }
.form-status.success { color: #79d9a0; }
.form-status.error { color: #ff8f7b; }
.form-status a, .email-fallback a { color: inherit; text-underline-offset: 4px; }
.email-fallback { margin: 0; color: var(--muted); font-size: .88rem; }
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 28px;
  color: var(--muted);
  font-size: .9rem;
}
footer p { margin: 0; }
.footer-branding { display: grid; gap: 14px; }
.footer-branding img { width: 160px; height: auto; }

@media (max-width: 760px) {
  .site-header { padding: 0 18px; }
  .site-header .brand img { height: 32px; }
  nav { gap: 14px; }
  nav a:not(.nav-contact) { display: none; }
  .hero { min-height: 620px; padding-top: 90px; }
  .hero-logo { width: min(260px, 72vw); margin-bottom: 34px; }
  h1 { font-size: clamp(3.6rem, 20vw, 5.7rem); }
  .section { padding: 70px 18px; }
  .feature-card, .event-panel, .project-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .card-copy { padding: 36px 28px; }
  .podcast-card img { min-height: 300px; grid-row: 1; }
  .actions { align-items: flex-start; flex-direction: column; }
  .event-panel { gap: 34px; min-height: 450px; padding: 36px 28px; }
  .project-card { grid-template-rows: 220px auto; }
  .contact { margin-top: 40px; padding: 78px 18px; }
  .inquiry-form { padding: 30px 22px; border-radius: 24px; }
  .form-row, .checkbox-grid { grid-template-columns: 1fr; gap: 0; }
  .form-row .field { margin-bottom: 20px; }
  .checkbox-grid { gap: 12px; }
  .contact .button { max-width: 100%; font-size: .9rem; }
  footer { flex-wrap: wrap; gap: 18px; padding: 28px 18px; }
}

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