/*
Theme Name: A2Garrows
Theme URI: https://a2garrows.com
Author: A2Garrows
Description: Custom one-page theme for A2Garrows — a creative studio for premium video editing and AI-powered commercials. Cinematic dark grade, teal/orange LUT accents.
Version: 1.5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: a2garrows
*/

:root {
  --ink: #0d1013;
  --panel: #14191e;
  --panel-2: #181e24;
  --line: #262d34;
  --bone: #edeae3;
  --mut: #8b939c;
  --orange: #f0762b;
  --orange-soft: rgba(240, 118, 43, 0.14);
  --teal: #27b7a8;
  --teal-soft: rgba(39, 183, 168, 0.12);
  --grade: linear-gradient(92deg, #27b7a8 0%, #f0762b 100%);
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', monospace;
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

section { scroll-margin-top: 90px; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: capitalize;
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.tc {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: capitalize;
  color: var(--teal);
}

.grade-text {
  background: var(--grade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 19px; color: var(--mut); max-width: 60ch; }
.lead strong, .body-copy strong { color: var(--bone); font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  text-decoration: none;
  padding: 15px 26px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.btn-solid { background: var(--orange); color: #16110c; font-weight: 700; }
.btn-solid:hover { background: #ff8a44; }
.btn-ghost { border-color: var(--line); color: var(--bone); }
.btn-ghost:hover { border-color: var(--teal); }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: rgba(13, 16, 19, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-mark {
  width: 100px;
  height: 48px;
  flex: none;
  background: url('img/lockup-640.png') no-repeat -17.2px -0.2px;
  background-size: 139px 78px;
}
.logo-img { height: 48px; width: auto; }
.head-nav { display: flex; align-items: center; gap: 28px; }
.head-nav a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  text-decoration: none;
  color: var(--mut);
  transition: color 0.15s ease;
}
.head-nav a:not(.btn):hover { color: var(--bone); }
.head-nav .btn { padding: 10px 18px; }
@media (max-width: 860px) {
  .head-nav a:not(.btn) { display: none; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 130px 0 90px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 500px at 8% 12%, var(--teal-soft), transparent 62%),
    radial-gradient(1000px 600px at 92% 88%, var(--orange-soft), transparent 62%),
    linear-gradient(180deg, rgba(13, 16, 19, 0.85) 0%, rgba(13, 16, 19, 0.94) 100%),
    url('https://images.unsplash.com/photo-1574717024653-61fd2cf4d44d?auto=format&fit=crop&w=1920&q=70') center / cover no-repeat,
    var(--ink);
}
.hero .tc { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(46px, 8vw, 116px);
  max-width: 14ch;
  margin-bottom: 30px;
}
.hero .lead { margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-baseline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line);
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: capitalize;
  color: var(--mut);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.hero-baseline span:last-child { color: var(--teal); }
@media (max-width: 640px) {
  .hero-baseline span:last-child { display: none; }
}

/* ---------- generic section rhythm ---------- */
.sec { padding: 110px 0; border-bottom: 1px solid var(--line); }
.sec .tc { margin-bottom: 22px; }
.sec-title {
  font-size: clamp(34px, 4.6vw, 58px);
  margin-bottom: 26px;
  max-width: 18ch;
}

/* two-column editorial */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; gap: 28px; } }
.body-copy p { color: var(--mut); margin-bottom: 18px; max-width: 62ch; }
.body-copy p:last-child { margin-bottom: 0; }

/* side image (about) */
.side-img {
  margin-top: 34px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.side-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
@media (max-width: 860px) { .side-img { max-width: 480px; } }

/* ---------- services (tracks) ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
@media (max-width: 780px) { .tracks { grid-template-columns: 1fr; } }
.track {
  background: var(--panel);
  padding: 36px 32px 40px;
  position: relative;
  transition: background 0.2s ease;
}
.track:hover { background: var(--panel-2); }
.track-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  color: var(--teal);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 22px;
}
.track h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: capitalize;
  font-size: 25px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.track p { color: var(--mut); font-size: 15.5px; }
.track::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--grade);
  transition: height 0.25s ease;
}
.track:hover::after { height: 100%; }

/* ---------- approach ---------- */
.approach-statement {
  font-size: clamp(28px, 4vw, 52px);
  max-width: 24ch;
  margin-bottom: 30px;
}

/* ---------- work / reel ---------- */
.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
@media (max-width: 860px) { .reel-grid { grid-template-columns: 1fr; } }
.reel-card {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background-color: var(--panel);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  color: #cfd4d9;
}
.reel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.35) 0%, rgba(10, 12, 14, 0.82) 100%);
}
.reel-card > * { position: relative; }
.reel-card .reel-cat { color: #ffffff; font-size: 13px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.reel-card .reel-top { display: flex; justify-content: space-between; }
.reel-card .reel-top span:last-child { color: var(--orange); }
.work-cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- why ---------- */
.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin-top: 48px;
  list-style: none;
}
@media (max-width: 720px) { .why-list { grid-template-columns: 1fr; } }
.why-list li {
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
}
.why-list li::before {
  content: '';
  width: 10px; height: 10px;
  flex: none;
  background: var(--grade);
  clip-path: polygon(0 0, 100% 50%, 0 100%); /* play glyph */
}

/* ---------- industries strip ---------- */
.strip-sec { padding: 0; border-bottom: 1px solid var(--line); }
.strip-head { padding: 90px 24px 40px; max-width: var(--wrap); margin: 0 auto; }
.strip {
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
}
.strip-inner { display: inline-block; animation: reel 36s linear infinite; }
.strip:hover .strip-inner { animation-play-state: paused; }
@keyframes reel { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip-inner { animation: none; }
  .strip { white-space: normal; }
}
.strip-inner span {
  font-family: var(--font-display);
  text-transform: capitalize;
  font-size: 28px;
  letter-spacing: 0.03em;
  color: var(--bone);
  margin: 0 18px;
}
.strip-inner em {
  font-style: normal;
  color: var(--orange);
  font-size: 20px;
  vertical-align: middle;
}

/* ---------- contact / final CTA ---------- */
.contact-sec { text-align: center; padding: 130px 0; }
.contact-title { font-size: clamp(40px, 6vw, 84px); margin: 22px auto 26px; max-width: 16ch; }
.contact-sec .lead { margin: 0 auto 44px; }
.contact-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- inner pages (privacy policy etc.) ---------- */
.page-main { padding: 150px 0 90px; min-height: 60vh; }
.page-title { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 34px; max-width: 20ch; }
.page-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: capitalize;
  font-size: 26px;
  margin: 40px 0 14px;
}
.page-content h3 { font-size: 19px; margin: 28px 0 10px; }
.page-content p, .page-content li { color: var(--mut); max-width: 70ch; margin-bottom: 14px; }
.page-content ul, .page-content ol { padding-left: 22px; margin-bottom: 16px; }
.page-content a { color: var(--teal); }
.page-content strong { color: var(--bone); }

/* ---------- footer ---------- */
.site-foot { padding: 70px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 48px; margin-bottom: 56px; }
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr; gap: 36px; } }
.foot-grid h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  color: var(--mut);
  margin-bottom: 18px;
}
.foot-grid p { color: var(--mut); font-size: 15px; max-width: 34ch; }
.foot-logo { margin-bottom: 16px; }
.foot-logo img { width: 280px; height: auto; }
.foot-nav { list-style: none; }
.foot-nav li { margin-bottom: 10px; }
.foot-nav a { color: var(--bone); text-decoration: none; font-size: 15px; }
.foot-nav a:hover { color: var(--orange); }
.foot-wa { margin-top: 18px; }
.foot-bar {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mut);
}
.foot-bar a { color: var(--bone); text-decoration: none; }
.foot-bar a:hover { color: var(--orange); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* service card images */
.track-img {
  margin: -36px -32px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.track-img img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.35s ease;
}
.track:hover .track-img img { transform: scale(1.04); }

/* approach image */
.approach-img { margin-top: 0; }
.approach-img img { aspect-ratio: 4 / 3; height: 100%; }

.cols .why-list { grid-template-columns: 1fr; margin-top: 0; }

/* wp admin bar offset */
body.admin-bar .site-head { top: 32px; }
