/* Acutus Demo Studio — wedding & event photography showcase. Independent stylesheet, no shared tokens. */

:root {
  --ink: #211a12;
  --ink-soft: #2c2318;
  --paper: #f3e9d8;
  --paper-soft: #f9f3e7;
  --gold: #b9893f;
  --gold-deep: #8f6529;
  --wine: #7a2436;
  --line: rgba(33, 26, 18, 0.14);
  --line-dark: rgba(243, 233, 216, 0.18);

  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", Arial, sans-serif;

  --max: 1240px;
  --radius: 4px;
  --shadow-md: 0 20px 48px -24px rgba(20, 15, 8, 0.45);
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--gold); color: #1a140d; padding: 0.75rem 1.25rem;
  font-family: var(--sans); font-weight: 600; z-index: 100;
  transition: top 0.2s ease; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Demo bar */
.demo-bar {
  background: var(--ink); color: #d8cdbb;
  font-size: 0.78rem; padding: 0.55rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; justify-content: center; text-align: center;
}
.demo-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.25rem;
}
.wordmark { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.wordmark-mark { width: 2.4rem; height: 2.4rem; flex-shrink: 0; color: var(--gold); }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark-text strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.01em; }
.wordmark-text span { font-family: var(--sans); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; color: var(--gold-deep); }

.nav-toggle {
  display: grid; gap: 4px; background: none; border: none; padding: 0.6rem;
  width: 2.75rem; height: 2.75rem; place-items: center;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.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(-5.5px) rotate(-45deg); }

.primary-nav {
  position: fixed; inset: 4.2rem 0 0 0;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 0;
  padding: 1rem 1.25rem 2rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.primary-nav.open { transform: translateX(0); }
.primary-nav a {
  text-decoration: none; font-weight: 500; font-size: 1.1rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--display);
}
.nav-actions { margin-top: 1.25rem; }
.btn-consult {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--ink); color: #fff !important; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em;
  padding: 0.9rem 1.4rem; min-height: 44px; width: 100%; border: none;
  border-radius: var(--radius); transition: background 0.18s ease;
}
.btn-consult:hover { background: var(--gold-deep); }

@media (min-width: 900px) {
  .site-header { padding: 1rem 2.5rem; }
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; inset: auto; transform: none; flex-direction: row; align-items: center;
    padding: 0; background: none; overflow: visible; gap: 1.6rem;
  }
  .primary-nav a { border: none; padding: 0.4rem 0; font-size: 0.95rem; }
  .nav-actions { margin-top: 0; margin-left: 0.5rem; }
  .btn-consult { width: auto; padding: 0.75rem 1.3rem; }
}

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1fr;
  background: var(--ink);
}
.hero-rail {
  display: none;
}
.hero-copy {
  color: var(--paper);
  padding: 3rem 1.25rem 2.5rem;
}
.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; font-weight: 600; color: var(--gold);
  margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 10vw, 4.4rem);
  line-height: 1.02; margin: 0 0 1.2rem; font-weight: 500;
}
.hero-lede { font-size: 1.02rem; max-width: 30rem; color: #d8cdbb; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold); color: #211a12; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: 0.9rem;
  padding: 0.95rem 1.6rem; min-height: 44px; border: none;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn-primary:hover { background: #d1a559; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn-primary:hover { transform: none; } }
.btn-text {
  text-decoration: underline; text-underline-offset: 4px; font-weight: 500;
  color: var(--paper); font-family: var(--sans); font-size: 0.9rem; background: none; border: none; padding: 0;
}

.hero-photo img { width: 100%; height: 62vw; max-height: 460px; object-fit: cover; object-position: 50% 15%; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 3.2rem minmax(360px, 42%) 1fr; min-height: 680px; }
  .hero-rail {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
    padding: 2rem 0; color: #a99774; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.05em;
  }
  .hero-rail span { padding: 0.3rem 0; }
  .hero-rail span[aria-current="true"] { color: var(--gold); font-weight: 700; }
  .hero-rail .rail-line { width: 1px; height: 2.5rem; background: var(--line-dark); }
  .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 3rem 3rem 3rem 1rem; }
  .hero-photo img { height: 100%; max-height: none; min-height: 680px; }
}

/* Feature strip */
.feature-strip { background: var(--ink); color: var(--paper); }
.feature-grid { display: grid; grid-template-columns: 1fr; }
.feature-col { padding: 2.25rem 1.5rem 2.5rem; border-top: 1px solid var(--line-dark); }
.feature-col:first-child { border-top: none; }
.feature-photo { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 1.25rem; border-radius: var(--radius); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-col h3 {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.65rem; color: var(--paper);
}
.feature-col p { font-size: 0.92rem; color: #c9bca4; max-width: 28rem; margin-bottom: 0.9rem; }
.feature-col a { font-size: 0.85rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.feature-col a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 860px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-col { border-top: none; border-left: 1px solid var(--line-dark); }
  .feature-col:first-child { border-left: none; }
}

/* Cinematic banner */
.cinematic {
  position: relative; min-height: 420px; display: flex; align-items: center;
  background: var(--ink); overflow: hidden;
}
.cinematic-bg { position: absolute; inset: 0; z-index: 0; }
.cinematic-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cinematic-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33,26,18,0.55) 0%, rgba(33,26,18,0.82) 100%);
}
.cinematic-inner { position: relative; z-index: 1; padding: 3.5rem 1.25rem; max-width: 34rem; }
.play-button {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: rgba(243, 233, 216, 0.14); border: 1px solid rgba(243, 233, 216, 0.4);
  color: var(--paper); display: grid; place-items: center; margin-bottom: 1.5rem;
  transition: background 0.18s ease;
}
.play-button:hover { background: rgba(243, 233, 216, 0.22); }
.play-button svg { width: 1.1rem; height: 1.1rem; margin-left: 2px; }
.cinematic h2 { color: var(--paper); font-size: clamp(1.9rem, 6vw, 2.75rem); margin-bottom: 0.9rem; }
.cinematic p { color: #d8cdbb; margin-bottom: 1.1rem; max-width: 30rem; }
.demo-note-inline {
  font-size: 0.82rem; color: var(--gold); background: rgba(185,137,63,0.12);
  border: 1px solid rgba(185,137,63,0.35); padding: 0.6rem 0.9rem; border-radius: var(--radius);
  max-width: 28rem; margin-top: 0.75rem;
}

/* Section heads */
.section-head { max-width: 42rem; margin: 0 auto 2.5rem; padding: 0 1.25rem; }
.section-head-row {
  display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; align-items: flex-start;
  max-width: var(--max); margin: 0 auto 2.25rem; padding: 0 1.25rem;
}
.section-head h2 { font-size: clamp(1.9rem, 5.5vw, 2.6rem); margin-bottom: 0.75rem; }
.section-head p { color: #5c5240; max-width: 32rem; }
.section-head-row .link-more { font-size: 0.88rem; font-weight: 600; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

@media (min-width: 760px) {
  .section-head-row { flex-direction: row; align-items: flex-end; }
}

.portfolio-section, .process-section, .team-section { padding: 4.5rem 0; }
.philosophy-section { padding: 4.5rem 0; background: var(--paper-soft); }

/* Portfolio grid */
.portfolio-grid {
  padding: 0 1.25rem; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 0.85rem;
}
.portfolio-tile { position: relative; overflow: hidden; background: #000; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.portfolio-tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.portfolio-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.1rem 0.9rem;
  background: linear-gradient(0deg, rgba(20,15,8,0.78) 0%, transparent 100%);
  color: #fff; font-family: var(--display); font-size: 1rem; font-style: italic;
}

@media (min-width: 560px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Philosophy / quote carousel */
.philosophy-inner { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
.philosophy-track { position: relative; min-height: 10.5rem; }
.philosophy-slide {
  font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 4vw, 1.8rem);
  line-height: 1.35; color: var(--ink);
}
.philosophy-slide cite {
  display: block; margin-top: 1.25rem; font-family: var(--sans); font-style: normal;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep);
}
.philosophy-controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.philosophy-arrow {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; color: var(--ink);
}
.philosophy-arrow svg { width: 1rem; height: 1rem; }
.philosophy-dots { display: flex; gap: 0.5rem; }
.philosophy-dots button {
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--line); border: none; padding: 0;
}
.philosophy-dots button[aria-current="true"] { background: var(--gold); width: 1.4rem; border-radius: 1rem; transition: width 0.2s ease; }

/* Process */
.process-list {
  padding: 0 1.25rem; max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.process-list li { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-num {
  font-family: var(--display); font-weight: 600; font-style: italic; font-size: 1.3rem; color: var(--gold-deep);
  flex: 0 0 auto; width: 2.5rem;
}
.process-list h3 { font-size: 1.05rem; margin-bottom: 0.3rem; font-weight: 600; }
.process-list p { color: #5c5240; font-size: 0.92rem; max-width: 26rem; }

@media (min-width: 860px) {
  .process-list { flex-direction: row; }
  .process-list li { flex: 1; flex-direction: column; gap: 1rem; border-top: none; border-left: 1px solid var(--line); padding: 0 1.5rem; }
  .process-list li:first-child { border-left: none; padding-left: 0; }
  .process-list li:last-child { border-bottom: none; }
}

/* Team */
.team-section--text-only { background: var(--paper-soft); }
.team-copy { padding: 0 1.25rem; max-width: 40rem; margin: 0 auto; text-align: center; }
.team-copy h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 1rem; }
.team-copy p { color: #5c5240; margin: 0 auto 1.25rem; max-width: 32rem; }
.team-flourish { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--gold-deep); margin-top: 1.5rem; }
.team-flourish span { display: block; font-family: var(--sans); font-style: normal; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8a7c62; margin-top: 0.3rem; }

/* Closing CTA */
.closing-cta { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.closing-bg { position: absolute; inset: 0; z-index: 0; }
.closing-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.closing-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,8,0.55) 0%, rgba(20,15,8,0.75) 100%); }
.closing-inner { position: relative; z-index: 1; padding: 2rem 1.25rem; max-width: 34rem; }
.closing-cta .eyebrow { color: var(--gold); }
.closing-cta h2 { color: var(--paper); font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 1rem; }
.closing-cta p { color: #e4dac6; margin-bottom: 1.5rem; }

/* Footer */
.site-footer { background: var(--ink); color: #c9bca4; padding: 3rem 1.25rem 2rem; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 2.5rem; }
.footer-brand .wordmark-text strong { color: var(--paper); }
.footer-brand p { margin-top: 1rem; font-size: 0.88rem; max-width: 22rem; color: #a99774; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.footer-links h4 { font-family: var(--sans); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 0.9rem; }
.footer-links a { display: block; font-size: 0.88rem; color: #d8cdbb; text-decoration: none; padding: 0.35rem 0; }
.footer-links a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line-dark);
  display: grid; place-items: center; color: #d8cdbb; text-decoration: none;
}
.footer-social svg { width: 1rem; height: 1rem; }
.footer-bottom {
  max-width: var(--max); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
}
.footer-bottom p { font-size: 0.8rem; color: #8a7c62; }
.footer-bottom a.footer-credit { color: #d8cdbb; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: 0.8rem; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Consultation drawer */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(20, 15, 8, 0.55);
  display: flex; justify-content: flex-end;
}
body.drawer-open { overflow: hidden; }
.consult-panel {
  background: var(--paper); width: 100%; max-width: 32rem; height: 100%;
  overflow-y: auto; padding: 1.75rem 1.5rem 2.5rem;
  display: flex; flex-direction: column;
}
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.drawer-head h2 { font-size: 1.6rem; }
.drawer-head p { color: #5c5240; font-size: 0.9rem; margin-top: 0.5rem; }
.drawer-close {
  background: none; border: 1px solid var(--line); border-radius: 50%;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center; flex-shrink: 0; margin-left: 1rem;
}
.drawer-close svg { width: 1rem; height: 1rem; }

.consult-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.45rem; }
.form-row label { font-weight: 600; font-size: 0.88rem; }
.form-row label span { font-weight: 400; color: #8a7c62; }
.consult-form input, .consult-form select, .consult-form textarea {
  font-family: var(--sans); font-size: 1rem; padding: 0.8rem 0.9rem;
  border: 1px solid var(--line); background: #fff; min-height: 44px; border-radius: var(--radius);
}
.consult-form textarea { min-height: 88px; resize: vertical; }
.form-demo-note { font-size: 0.8rem; color: #8a7c62; }
.consult-submit { margin-top: 0.25rem; }

.form-success { text-align: center; padding: 2rem 0; }
.form-success span { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--gold); color: #fff; font-size: 1.4rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-success p { color: #5c5240; margin-bottom: 1.25rem; }
.form-success button { background: none; border: 1px solid var(--ink); padding: 0.7rem 1.3rem; font-weight: 600; min-height: 44px; border-radius: var(--radius); }

/* Mobile sticky actions */
.quick-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ink); box-shadow: 0 -10px 24px -12px rgba(20,15,8,0.4);
}
.quick-actions button, .quick-actions a {
  text-align: center; padding: 0.95rem 1rem; color: #fff; font-weight: 600; font-size: 0.85rem;
  text-decoration: none; min-height: 48px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; font-family: var(--sans);
}
.quick-actions button:first-child { border-right: 1px solid var(--line-dark); }
.quick-actions button:last-child { background: var(--gold); color: #211a12; }

@media (min-width: 900px) {
  .quick-actions { display: none !important; }
}
