/* ============================================================
   Maple Turf — halftone magazine / retro portfolio styles
   Colours: Orange #ff6836 · Black · White
   Fonts:   Geom Graphic (headings) · Lexia Mono (body)
   ============================================================ */

:root {
  --orange: #ff6836;
  --orange-dark: #e0521f;
  --black: #141210;
  --ink: #1c1916;
  --white: #fffdf7;
  --cream: #f4eee2;
  --cream-2: #efe7d6;
  --muted: #6f675c;
  --line: #1c1916;

  --head: "geom-graphic", "Arial Narrow", sans-serif;
  --body: "lexia-mono", "Courier New", monospace;

  --maxw: 1180px;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.02; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Halftone texture (applied only to specific decorative backgrounds) ---------- */
/* Reusable dotted halftone fill — layered behind content via ::before so text stays crisp */
.halftone-bg { position: relative; }
.halftone-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(currentColor 1px, transparent 1.6px);
  background-size: 6px 6px;
}
.halftone-bg > * { position: relative; z-index: 1; }

/* Per-surface halftone tuning */
.hero-frame.halftone-bg::before { color: var(--ink); opacity: 0.22; border-radius: var(--radius); }
.projects.halftone-bg::before { color: #ffffff; opacity: 0.14; }
.team.halftone-bg::before { color: var(--orange); opacity: 0.12; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 2px solid var(--ink);
  border-radius: 40px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 4px 6px 0 var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-orange { background: var(--orange); color: var(--white); border-color: var(--ink); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-block { width: 100%; justify-content: center; }
.play-dot { font-size: 0.7rem; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 238, 226, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; }
.brand-name {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.yt-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--orange);
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.9rem;
}
.yt-link:hover { color: var(--orange-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); transition: 0.25s; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
}
.hero-title .accent { color: var(--orange); }
.hero-title .circled {
  position: relative;
  display: inline-block;
}
.hero-title .circled::after {
  content: "";
  position: absolute;
  left: -8%; top: -12%;
  width: 116%; height: 128%;
  border: 3px solid var(--orange);
  border-radius: 50%;
  transform: rotate(-4deg);
  pointer-events: none;
}
.hero-sun { color: var(--orange); font-size: 0.5em; vertical-align: super; }

.hero-sub {
  font-size: 1.05rem;
  max-width: 480px;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-tags span {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 30px;
  background: var(--white);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-frame {
  position: relative;
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 10px 12px 0 var(--ink);
  width: 100%;
  max-width: 420px;
}
.hero-camera { width: 100%; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.3)); }

.reel {
  position: absolute;
  right: -30px; bottom: -30px;
  width: 116px; height: 116px;
  fill: var(--ink);
  transform-origin: 50% 50%;       /* square box + reel centred in square viewBox = spins around true centre */
  animation: spin 14s linear infinite;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.3));
}
@keyframes spin { to { transform: rotate(360deg); } }

/* corner brackets */
.bracket { position: absolute; width: 46px; height: 46px; z-index: 3; pointer-events: none; }
.br-tl { top: 26px; left: 26px; border-top: 3px solid var(--ink); border-left: 3px solid var(--ink); }
.br-br { bottom: 26px; right: 26px; border-bottom: 3px solid var(--ink); border-right: 3px solid var(--ink); }

/* Floating parallax elements */
.float-el { position: absolute; pointer-events: none; z-index: 1; will-change: transform; }
.float-clapper { width: 130px; top: 60px; left: 4%; transform: rotate(-12deg); opacity: 0.95; }
.float-mic { width: 150px; top: 30px; right: 6%; transform: rotate(25deg); }
.float-star { color: var(--orange); position: absolute; font-size: 1.6rem; z-index: 1; will-change: transform; }
.float-star-1 { top: 42%; left: 46%; font-size: 2rem; }
.float-star-2 { bottom: 16%; left: 8%; font-size: 1.3rem; }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--cream);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track { display: flex; width: max-content; animation: scrollx 28s linear infinite; }
.marquee-track span {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  padding-right: 28px;
  white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: var(--orange); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ============ SECTION HEADINGS ============ */
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.section-head.centered { justify-content: center; }
.section-no {
  font-family: var(--head);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.1rem;
  border: 2px solid var(--orange);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
}

/* ============ ABOUT ============ */
.about { padding: 90px 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; margin-bottom: 56px; }
.about-lead { font-size: 1.4rem; line-height: 1.4; }
.about-lead strong { color: var(--orange); }
.about-text { color: var(--muted); font-size: 1.02rem; align-self: center; }

.about-cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.about-card:hover { transform: translateY(-6px); box-shadow: 6px 8px 0 var(--orange); }
.card-icon { font-size: 2.4rem; display: block; margin-bottom: 14px; color: var(--orange); }

/* Masked icons */
.tdesign--film {
  display: inline-block;
  width: 1em;
  height: 1em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none'%3E%3Cpath d='M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12'/%3E%3Cpath d='M10 7a2 2 0 1 1 4 0a2 2 0 0 1-4 0m5 5a2 2 0 1 1 4 0a2 2 0 0 1-4 0M5 12a2 2 0 1 1 4 0a2 2 0 0 1-4 0m5 5a2 2 0 1 1 4 0a2 2 0 0 1-4 0'/%3E%3Cpath stroke='black' stroke-linecap='square' stroke-width='2' d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10a9.97 9.97 0 0 1-2.859 7A9.97 9.97 0 0 1 12 22Zm0 0h11'/%3E%3Cpath stroke='black' stroke-linecap='square' stroke-width='2' d='M10 7a2 2 0 1 1 4 0a2 2 0 0 1-4 0Zm5 5a2 2 0 1 1 4 0a2 2 0 0 1-4 0ZM5 12a2 2 0 1 1 4 0a2 2 0 0 1-4 0Zm5 5a2 2 0 1 1 4 0a2 2 0 0 1-4 0Z'/%3E%3C/g%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.tdesign--map-3d {
  display: inline-block;
  width: 1em;
  height: 1em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none'%3E%3Cpath d='m12 3l6 3.5v7L12 17l-6-3.5v-7z'/%3E%3Cpath stroke='black' stroke-linecap='square' stroke-width='2' d='M5.4 12.244C3.316 13.16 2 14.504 2 16c0 2.762 4.477 5 10 5s10-2.238 10-5c0-1.497-1.315-2.84-3.4-3.756'/%3E%3Cpath stroke='black' stroke-width='2' d='m12 10l5.667-3.15M12 10v6.65M12 10L6.333 6.85M12 3l6 3.5v7L12 17l-6-3.5v-7z'/%3E%3C/g%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.mdi--cast-tutorial {
  display: inline-block;
  width: 1em;
  height: 1em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21 3H3a2 2 0 0 0-2 2v3h2V5h18v14h-7v2h7a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2M1 18v3h3a3 3 0 0 0-3-3m0-4v2a5 5 0 0 1 5 5h2a7 7 0 0 0-7-7m0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11m10 1.09v2L14.5 15l3.5-1.91v-2L14.5 13zM14.5 6L9 9l5.5 3L20 9z'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.about-card h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 8px; }
.about-card p { color: var(--muted); font-size: 0.95rem; }

/* ============ TEAM ============ */
.team { padding: 90px 0; background: var(--ink); color: var(--cream); }
.team .section-title { color: var(--cream); }
.team .section-no { color: var(--orange); border-color: var(--orange); }
.team-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.team-photo-wrap { position: relative; }
.team-photo {
  width: 100%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.5));
}
.team-star { position: absolute; top: -10px; right: 10px; font-size: 2.2rem; }
.team-bio { margin-bottom: 16px; color: #d8d0c2; font-size: 1.02rem; }
.team-copy .btn { margin-top: 12px; background: var(--orange); color: var(--white); border-color: var(--orange); }
.team-copy .btn:hover { box-shadow: 4px 6px 0 var(--cream); }

/* ============ PROJECTS ============ */
.projects { padding: 90px 0; background: var(--orange); color: var(--white); position: relative; overflow: hidden; }
.projects .section-title { color: var(--white); }
.projects .section-no { color: var(--white); border-color: var(--white); }
.float-mic-2 { width: 140px; top: 40px; right: 6%; opacity: 0.55; transform: rotate(-10deg); }

.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cs-frame {
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 44px 48px;
  max-width: 540px;
  box-shadow: 12px 14px 0 rgba(20,18,16,0.55);
  text-align: center;
}
.cs-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  padding: 6px 16px;
  border-radius: 30px;
  border: 2px solid var(--ink);
  margin-bottom: 18px;
}
.cs-title { font-size: clamp(2.4rem, 5.5vw, 4rem); text-transform: uppercase; margin-bottom: 14px; max-width: 100%; overflow-wrap: break-word; }
.cs-text { color: var(--muted); margin-bottom: 26px; }
.cs-clapper { width: 220px; transform: rotate(8deg); filter: drop-shadow(0 16px 26px rgba(0,0,0,0.35)); }

/* ============ CONTACT ============ */
.contact { padding: 90px 0; background: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 22px; max-width: 380px; }
.contact-yt {
  font-family: var(--head);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.1rem;
}
.contact-yt:hover { color: var(--orange-dark); }

.contact-form {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 8px 10px 0 var(--ink);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 0.98rem;
  padding: 13px 15px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,104,54,0.2);
}
.form-status { margin-top: 14px; font-size: 0.92rem; min-height: 1.2em; }
.form-status.success { color: #1f7a3d; }
.form-status.error { color: #c0392b; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: var(--cream); padding: 50px 0 26px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { width: 42px; height: 42px; }
.footer-name { font-family: var(--head); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em;
  text-transform: uppercase; }
.footer-tag { color: #b9b1a3; font-size: 0.9rem; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--head); font-weight: 700; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #9a9285;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .team-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .float-clapper, .float-mic, .float-mic-2 { display: none; }
  .main-nav, .yt-link span { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    padding: 22px 28px;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .cs-frame { padding: 32px 24px; }
  .contact-form { padding: 24px; }
  .footer-bottom { flex-direction: column; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; scroll-behavior: auto; }
}
