/*
Theme Name: Caw Caw Films
Theme URI: https://cawcawfilms.co.uk
Author: Caw Caw Films
Description: Street-meets-cinema theme for Caw Caw Films. Chrome headlines, night palette and the Caw Caw crow. Prices, contact details and the contact form are set in Appearance > Customize > Caw Caw Films.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: All rights reserved
Text Domain: caw-caw-films
*/

/* =========================================================
   Caw Caw Films: shared stylesheet
   Every page links to this one file, so a change here
   updates the whole site.
   ========================================================= */

/* ---------- Brand colours and fonts ---------- */
:root {
  --night: #0B0B0C;
  --panel: #141416;
  --line: #2A2724;
  --line-strong: #3A3631;
  --bone: #EDE8DF;
  --text-soft: #D9D3C8;
  --muted: #C9C2B6;
  --faint: #A39B8E;
  --amber: #E8A33D;
  --amber-light: #F5C77A;
  --pink: #E0457B;

  --font-chrome: 'Bungee', 'Arial Black', sans-serif;
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --chrome: linear-gradient(180deg, #FFFFFF 0%, #D5D9DE 36%, #6E747B 50%, #E6E9EC 62%, #9AA0A6 100%);
  --max: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); }
a:hover { color: var(--amber-light); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 900; }
h2 { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); line-height: 0.95; letter-spacing: 1px; }
h3 { font-family: var(--font-display); font-size: 32px; line-height: 1; letter-spacing: 1px; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.muted { color: var(--muted); }
.small { font-size: 15px; color: var(--faint); }
.label { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.amber { color: var(--amber); }
.pink { color: var(--pink); }

.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: 16px; top: -60px; background: var(--amber); color: var(--night); padding: 10px 16px; z-index: 20; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Chrome lettering, like the Bless Up end card */
.chrome {
  font-family: var(--font-chrome);
  font-weight: 400;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 0 #2B2E32) drop-shadow(0 14px 22px rgba(0, 0, 0, 0.6));
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.align-center { align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font: inherit; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--night); border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-light); color: var(--night); }
.btn-outline { background: transparent; color: var(--bone); border-color: var(--bone); }
.btn-outline:hover { background: var(--bone); color: var(--night); }
.btn-dark { background: var(--night); color: var(--bone); }
.btn-dark:hover { color: var(--amber); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--bone); text-decoration: none; }
.brand span { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: 3px; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.nav-menu a:not(.btn) { color: var(--bone); text-decoration: none; }
.nav-menu a:not(.btn):hover, .nav-menu a[aria-current="page"] { color: var(--amber); }
.nav-toggle { display: none; background: none; border: 0; color: var(--bone); width: 48px; height: 48px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,12,0.97) 0%, rgba(11,11,12,0.6) 38%, rgba(11,11,12,0.05) 70%); }
.hero-content { position: relative; padding-bottom: 64px; display: flex; flex-direction: column; gap: 22px; }
.kicker { font-size: 14px; letter-spacing: 5px; text-transform: uppercase; color: var(--amber); font-weight: 700; }
.hero-title { font-size: clamp(46px, 8vw, 116px); line-height: 0.95; }
.lead { max-width: 640px; font-size: 20px; color: var(--text-soft); }

/* ---------- Founding clients banner ---------- */
.banner { background: var(--pink); color: var(--night); }
.banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-weight: 600; }
.banner-title { font-family: var(--font-chrome); font-weight: 400; font-size: 24px; margin-right: 12px; }

/* ---------- Section heading ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.section-head p { max-width: 460px; color: var(--muted); }

/* ---------- Cards ---------- */
.card { background: var(--panel); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.card h3 { font-size: 34px; }
.card p { color: var(--muted); font-size: 16px; }
.card-num { font-family: var(--font-chrome); font-size: 15px; }
.card-link { margin-top: auto; font-weight: 700; }

/* ---------- Two moods ---------- */
.mood { position: relative; margin: 0; min-height: 460px; overflow: hidden; border: 1px solid var(--line); }
.mood img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mood:hover img { transform: scale(1.04); }
.mood::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,12,0.92) 0%, rgba(11,11,12,0) 55%); }
.mood figcaption { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.mood h3 { font-size: 40px; }
.mood p { color: var(--text-soft); }
.tag { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; font-weight: 700; }
.note { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border: 1px dashed var(--line-strong); }
.note p { color: var(--muted); max-width: 760px; }
.note strong { color: var(--bone); }
.note a { font-weight: 700; }

/* ---------- Steps ---------- */
.band h2 { margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--amber); padding-top: 18px; }
.steps h3 { font-size: 30px; }
.steps p { color: var(--muted); font-size: 16px; }
.step-num { font-family: var(--font-chrome); font-size: 40px; color: var(--amber); line-height: 1; }

/* ---------- Packages ---------- */
.package { background: var(--panel); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.package-featured { border: 2px solid var(--amber); }
.package h3 { font-size: 36px; }
.package ul { margin: 0 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 16px; }
.package .btn { margin-top: auto; }
.flag { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; color: var(--amber); min-height: 18px; }
.price { color: var(--faint); font-size: 15px; }
.price strong { font-size: 30px; color: var(--bone); }
#packages .small { margin-top: 22px; }

/* ---------- Why Caw Caw ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M3 11.5 L9 17 L19 5' fill='none' stroke='%23E8A33D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line-strong); padding: 10px 16px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 1px; }

/* ---------- Contact form ---------- */
#contact h2 { font-size: clamp(40px, 5vw, 64px); line-height: 0.95; }
.contact-lines { font-weight: 600; line-height: 2; }
.contact-lines a { color: var(--bone); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; align-content: start; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  background: var(--panel); border: 1px solid var(--line-strong); color: var(--bone);
  padding: 12px; font: inherit; font-size: 16px; min-height: 48px; border-radius: 0;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--amber); outline: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 24px; }
.brand-block { display: flex; align-items: center; gap: 14px; }
.brand-block > div { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: 3px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer-links a { color: var(--bone); }
.bless { font-family: var(--font-chrome); font-size: 22px; color: var(--pink); }
.copyright { padding-bottom: 32px; font-size: 13px; color: var(--faint); }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: 14px; width: 100%; }
  .brand span { font-size: 20px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .mood { min-height: 380px; }
}

/* Respect people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* =========================================================
   WordPress extras
   ========================================================= */

/* Keep the sticky header below the admin bar when you're logged in */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

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

/* Menu: WordPress marks the current page */
.nav-menu .current-menu-item > a:not(.btn) { color: var(--amber); }

/* ---------- Inner pages ---------- */
.page-hero { padding-top: 96px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(44px, 7vw, 96px); line-height: 0.95; text-transform: uppercase; }
.entry-content { padding-top: 56px; padding-bottom: 96px; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content p, .entry-content li { color: var(--muted); max-width: 72ch; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; height: auto; }
.entry-content blockquote { margin-left: 0; border-left: 4px solid var(--pink); padding: 6px 0 6px 24px; font-size: 21px; font-weight: 600; color: var(--bone); }
.entry-content .wp-block-button__link { background: var(--amber); color: var(--night); border-radius: 0; font-weight: 700; padding: 13px 24px; }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--bone); border: 2px solid var(--bone); }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); }
.entry-content .wp-block-cover { min-height: 420px; }
.entry-content .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.alignwide { max-width: 1240px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption.wp-element-caption { font-size: 14px; color: var(--faint); }

/* News listing */
.post-grid .card img { width: 100%; height: 200px; object-fit: cover; margin: -28px -28px 8px; width: calc(100% + 56px); max-width: none; }
.post-title { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.post-title a { color: var(--bone); text-decoration: none; }
.pagination { margin-top: 40px; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-strong); margin-right: 6px; color: var(--bone); text-decoration: none; }
.pagination .page-numbers.current { background: var(--amber); color: var(--night); border-color: var(--amber); }

/* ---------- Form plugins (WPForms, Contact Form 7) take on the brand look ---------- */
.form-plugin input[type="text"], .form-plugin input[type="email"], .form-plugin input[type="tel"],
.form-plugin input[type="url"], .form-plugin select, .form-plugin textarea {
  width: 100%; background: var(--panel) !important; border: 1px solid var(--line-strong) !important;
  color: var(--bone) !important; padding: 12px !important; font: inherit; font-size: 16px; min-height: 48px; border-radius: 0 !important;
}
.form-plugin label, .form-plugin .wpforms-field-label { color: var(--bone) !important; font-weight: 600; font-size: 14px; }
.form-plugin input[type="submit"], .form-plugin button[type="submit"] {
  background: var(--amber) !important; color: var(--night) !important; border: 0 !important; border-radius: 0 !important;
  font: inherit; font-weight: 700; font-size: 17px; padding: 15px 28px !important; min-height: 52px; cursor: pointer;
}
.form-plugin input:focus, .form-plugin select:focus, .form-plugin textarea:focus { border-color: var(--amber) !important; outline: none; }
.form-missing p { color: var(--muted); border: 1px dashed var(--line-strong); padding: 18px; }
