/* ============================================
   Arnold Bros Films — styles.css
   ============================================ */

:root {
  --bg:          #FAF6EF;
  --bg-alt:      #F0E9DC;
  --dark:        #16130F;
  --dark-alt:    #211C16;
  --accent:      #C1793C;
  --accent-dark: #A6632B;
  --text:        #2A241C;
  --text-light:  #F5F1E8;
  --text-muted:  #6B6155;
  --border:      rgba(42, 36, 28, 0.12);
  --border-light: rgba(245, 241, 232, 0.18);

  --font-display: 'Archivo Black', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-script:  'Alex Brush', cursive;
  --font-quote:   'Playfair Display', serif;

  --section-pad: clamp(64px, 10vw, 140px);
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

section { position: relative; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow-light { color: var(--accent); }

.accent-text { color: var(--accent); }
.accent-dot  { color: var(--accent); }

em {
  font-family: var(--font-quote);
  font-style: italic;
  color: var(--accent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* ── Buttons ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-solid {
  background: var(--accent);
  color: var(--text-light);
}
.btn-solid:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }

.btn-ghost-light {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-light);
}
.btn-ghost-light:hover { background: var(--border-light); }

.link-arrow {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: gap 0.25s ease;
}
.link-arrow:hover { gap: 16px; }

/* ── Intro Splash ────────────────────────────────────── */

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  clip-path: circle(150% at 50% 50%);
  -webkit-clip-path: circle(150% at 50% 50%);
  transition: clip-path 1s cubic-bezier(0.76, 0, 0.24, 1), -webkit-clip-path 1s cubic-bezier(0.76, 0, 0.24, 1);
  --splash-logo-w: min(82vw, 600px);
}

.splash::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: calc(var(--splash-logo-w) * 1.65);
  height: calc(var(--splash-logo-w) * 1.65);
  max-width: 900px;
  max-height: 900px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 246, 239, 0.97) 0%, rgba(250, 246, 239, 0.85) 26%, rgba(250, 246, 239, 0.35) 52%, rgba(250, 246, 239, 0.08) 68%, transparent 80%);
  opacity: 0;
  animation: glow-in 1.1s ease forwards;
  animation-delay: 0.1s;
}

@keyframes glow-in {
  to { opacity: 1; }
}

.splash.is-leaving {
  clip-path: circle(0% at 50% 50%);
  -webkit-clip-path: circle(0% at 50% 50%);
}
.splash.is-hidden { display: none; }

.splash-mark {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.82);
  animation: splash-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.splash.is-leaving .splash-mark { transform: scale(1.22); }

@keyframes splash-in {
  to { opacity: 1; transform: scale(1); }
}

.splash-logo-wrap {
  position: relative;
  width: var(--splash-logo-w);
}

.splash-logo-img { width: 100%; display: block; }

.splash-spark {
  position: absolute;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  background: #F5A623;
  filter: drop-shadow(0 0 3px rgba(120, 70, 20, 0.55)) drop-shadow(0 0 8px rgba(255, 220, 150, 0.9));
  opacity: 0;
  animation: twinkle 0.85s ease-in-out 2;
}

.splash-spark.spark-leaf {
  width: 9px;
  height: 9px;
  background: #fff3d6;
  filter: drop-shadow(0 0 3px rgba(90, 110, 60, 0.4)) drop-shadow(0 0 7px rgba(255, 244, 214, 0.95));
}

/* positions match fruit clusters in assets/images/logo.png (873x256 crop) */
.spark-1 { left: 81.9%; top: 29.3%; animation-delay: 0.5s; }
.spark-2 { left: 89.9%; top: 35.2%; animation-delay: 0.85s; }
.spark-3 { left: 77.9%; top: 46.9%; animation-delay: 0.65s; }
.spark-4 { left: 87.6%; top: 46.9%; animation-delay: 1.0s; }
.spark-5 { left: 92.8%; top: 52.0%; animation-delay: 0.75s; }
.spark-6 { left: 90.1%; top: 58.6%; animation-delay: 1.1s; }

/* positions match leaf highlight clusters in the same crop */
.spark-7  { left: 85.0%; top: 20.3%; animation-delay: 0.4s; }
.spark-8  { left: 78.1%; top: 32.0%; animation-delay: 0.95s; }
.spark-9  { left: 93.6%; top: 37.9%; animation-delay: 0.55s; }
.spark-10 { left: 74.7%; top: 43.8%; animation-delay: 1.15s; }
.spark-11 { left: 81.6%; top: 14.5%; animation-delay: 0.7s; }

@keyframes twinkle {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.2) rotate(0deg); }
  50%  { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(20deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotate(40deg); }
}

@media (prefers-reduced-motion: reduce) {
  .splash, .splash::before, .splash-mark, .splash-spark { animation: none !important; transition: none !important; }
}

/* ── Header ──────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 246, 239, 0.96);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.site-header.is-scrolled .logo { color: var(--text); }

.logo-script {
  font-family: var(--font-script);
  font-size: 30px;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  margin-left: 4px;
}

.nav {
  display: flex;
  gap: 40px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.site-header.is-scrolled .nav { color: var(--text); }

.nav a { position: relative; }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; border-color: var(--text-light); color: var(--text-light); }
.site-header.is-scrolled .nav-cta { border-color: var(--text); color: var(--text); }
.site-header.is-scrolled .nav-cta:hover { background: var(--text); color: var(--bg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text-light);
  transition: background 0.3s ease;
}
.site-header.is-scrolled .nav-toggle span { background: var(--text); }

/* ── Hero ────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(193, 121, 60, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(22,19,15,0.5) 0%, rgba(22,19,15,0.85) 75%, var(--dark) 100%),
    linear-gradient(120deg, #2b2318 0%, #16130F 60%);
}

.hero-media-placeholder {
  position: absolute;
  bottom: -8%;
  right: -4%;
  font-size: 26vw;
  color: rgba(245, 241, 232, 0.035);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 160px 32px 120px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 104px);
  color: var(--text-light);
  max-width: 900px;
}

.hero-copy {
  font-size: 18px;
  color: rgba(245, 241, 232, 0.72);
  max-width: 480px;
  margin: 28px 0 40px;
}

.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-light);
  opacity: 0.6;
  font-size: 18px;
  z-index: 2;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ── Partner Marquee ─────────────────────────────────── */

.partners {
  background: var(--bg-alt);
  padding: 40px 0;
  overflow: hidden;
}

.partners-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.marquee { width: 100%; overflow: hidden; }

.marquee-track {
  display: flex;
  width: max-content;
  gap: 20px;
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 22px;
  color: var(--text);
  animation: scroll-left 32s linear infinite;
}

.marquee-track .dot { color: var(--accent); font-style: normal; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section Heads ───────────────────────────────────── */

.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  max-width: 780px;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head-row h2 { text-transform: none; font-family: var(--font-display); text-transform: uppercase; }

/* ── Process (How We Work) ──────────────────────────── */

.process { padding: var(--section-pad) 0; }

.process-steps {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step { flex: 1; min-width: 0; }

.step-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 24px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 15px;
}

.step-connector {
  color: var(--accent);
  font-size: 18px;
  padding-top: 16px;
}

/* ── Reel ────────────────────────────────────────────── */

.reel {
  background: var(--dark);
  color: var(--text-light);
  padding: var(--section-pad) 32px;
  text-align: center;
}

.reel-inner { max-width: 620px; margin: 0 auto 56px; }

.reel h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 16px 0 20px;
}

.reel-copy { color: rgba(245, 241, 232, 0.65); font-size: 17px; }

.reel-player {
  max-width: 960px;
  margin: 0 auto;
}

.reel-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background:
    radial-gradient(ellipse at center, rgba(193,121,60,0.18), transparent 65%),
    linear-gradient(135deg, #2b2318, #16130F);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: rgba(193, 121, 60, 0.12);
  color: var(--text-light);
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.play-btn:hover { transform: scale(1.08); background: var(--accent); }

/* ── Work ────────────────────────────────────────────── */

.work { padding: var(--section-pad) 0; }

.work-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.work-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-alt);
  transition: transform 0.3s ease;
}
.work-card:hover { transform: translateY(-4px); }

.work-card--feature { grid-column: span 6; flex-direction: row; }
.work-card--upcoming { opacity: 0.7; }

.work-media {
  background: linear-gradient(135deg, #e7ddc9, #d8cbae);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: rgba(42, 36, 28, 0.28);
}

.work-card--feature .work-media { aspect-ratio: auto; flex: 1.3; min-height: 340px; }
.work-card--feature .work-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.work-info { padding: 28px; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.work-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
  text-transform: none;
}

.work-card--feature .work-info h3 { font-size: 34px; }

.work-info p { color: var(--text-muted); font-size: 15px; }

/* ── Services ────────────────────────────────────────── */

.services { background: var(--bg-alt); padding: var(--section-pad) 0; }

.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.service i {
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service h3 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: none;
}

.service p { color: var(--text-muted); font-size: 15px; }

/* ── Mission ─────────────────────────────────────────── */

.mission {
  background: var(--dark);
  color: var(--text-light);
  padding: var(--section-pad) 32px;
}

.mission-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
}

.mission-quote h2 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.35;
}

.mission-body {
  border-left: 1px solid var(--border-light);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.mission-body p { color: rgba(245, 241, 232, 0.7); font-size: 16px; }

/* ── Contact ─────────────────────────────────────────── */

.contact { background: var(--dark); color: var(--text-light); overflow: hidden; }

.contact-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22,19,15,0.92) 30%, rgba(22,19,15,0.65)),
    linear-gradient(135deg, #2b2318, #16130F);
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-copy h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 16px 0 32px;
}

.contact-details { margin-bottom: 32px; }
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(245, 241, 232, 0.75);
  margin-bottom: 12px;
}
.contact-details i { color: var(--accent); width: 16px; }

.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 40px; height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); }

.contact-form {
  background: rgba(250, 246, 239, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: flex; gap: 16px; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-light);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(245, 241, 232, 0.4); }

.contact-form select { color: rgba(245, 241, 232, 0.6); }
.contact-form select option { color: var(--text); }

.contact-form textarea { resize: vertical; }

.form-note {
  font-size: 12px;
  color: rgba(245, 241, 232, 0.45);
  text-align: center;
}

/* ── Footer ──────────────────────────────────────────── */

.site-footer { background: var(--dark); color: var(--text-light); }

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 32px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.logo-footer { align-items: center; color: var(--text-light); }

.footer-tagline {
  font-size: 15px;
  color: rgba(245, 241, 232, 0.6);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 24px 32px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(245, 241, 232, 0.45);
}

.footer-bottom a { text-decoration: underline; }

.footer-nav { display: flex; gap: 24px; }

/* ── Scroll Reveal ───────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .nav {
    display: flex;
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    font-size: 22px;
    color: var(--text-light);
    z-index: 99;
  }

  .process-steps { flex-direction: column; }
  .step-connector { display: none; }

  .work-grid, .services-grid { grid-template-columns: 1fr 1fr; }
  .work-card, .work-card--feature { grid-column: span 2; }
  .work-card--feature { flex-direction: column; }
  .work-card--feature .work-media { min-height: 0; }

  .mission-inner, .contact-inner { grid-template-columns: 1fr; }
  .mission-body { border-left: none; border-top: 1px solid var(--border-light); padding-left: 0; padding-top: 32px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .work-card, .work-card--feature { grid-column: span 2; }
  .form-row { flex-direction: column; }
  .hero-actions .btn { flex: 1; }
}
