/* =========================================================
   STYLE SETTINGS — change the look of the whole site here.
   Every colour, font, size and spacing value lives in this file.
   css/site.css only refers to these names, so you never need
   to edit it for a tweak.

   Units: rem = relative to the visitor's text size (1rem = 16px
   by default). clamp(min, preferred, max) = scales smoothly with
   the screen between a minimum and maximum. svh = % of the
   visible screen height.
   ========================================================= */

:root {
  /* ---------- Brand colours ---------- */
  --color-accent: #e06a5f;          /* light Persian red: labels, taglines, email, highlights */
  --color-cta: #b3362d;             /* call-to-action buttons (Contact, What I do, Send): Persian red from the Radio Teheran poster */
  --color-cta-text: #fff;           /* text on call-to-action buttons */
  --cta-hover-brightness: 1.1;      /* how much buttons light up on hover */

  /* ---------- Background colours ---------- */
  --color-bg: #08080a;              /* page background */
  --color-black: #000;              /* hero background, letterbox bars */
  --surface-1: rgba(11, 11, 13, .78);   /* What I Do, Radio Teheran, Funding */
  --surface-2: rgba(9, 9, 11, .82);     /* About, Bob, Photography */
  --surface-3: rgba(8, 8, 10, .62);     /* Why I make films */
  --surface-4: rgba(8, 8, 10, .55);     /* Contact and footer */
  --surface-input: rgba(255, 255, 255, .04);
  --surface-input-focus: rgba(255, 255, 255, .06);
  --surface-hover: rgba(255, 255, 255, .02);
  --nav-bg-color: 8, 8, 10;         /* nav background once you scroll (r, g, b) */
  --nav-bg-opacity: .82;

  /* ---------- Text colours ---------- */
  --color-heading: #fff;
  --color-text: #ededf0;            /* default text */
  --color-text-lead: #e6e6ea;       /* synopses, intro lines */
  --color-text-hero: #c4c4c8;       /* line under the big hero title */
  --color-text-soft: #b4b4b8;       /* paragraphs */
  --color-text-muted: #aaa;         /* service descriptions */
  --color-text-dim: #85858a;        /* small labels, captions, copyright */
  --color-link: #cfcfcf;            /* nav and footer links */
  --color-credit: #cfcfd3;          /* names in film credits */
  --color-chip: #d4d4d8;            /* theme tags */
  --color-form-label: #8a8a8f;
  --color-placeholder: #77777c;
  --color-scroll-cue: #8a8a8a;

  /* ---------- Lines ---------- */
  --line-faint: rgba(255, 255, 255, .06);    /* top of each section */
  --line: rgba(255, 255, 255, .1);
  --line-frame: rgba(255, 255, 255, .07);    /* around photos */
  --line-strong: rgba(255, 255, 255, .12);   /* around posters */
  --line-input: rgba(255, 255, 255, .16);
  --line-button: rgba(255, 255, 255, .28);
  --border-width: 1px;                        /* hairlines stay 1 pixel */

  /* ---------- Fonts ---------- */
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --font-serif: Georgia, 'Times New Roman', serif;

  /* ---------- Text sizes ---------- */
  --fs-hero: clamp(2.875rem, 1rem + 8vw, 9.25rem);       /* "Cultural stories…" */
  --fs-contact: clamp(2.5rem, 1rem + 6.5vw, 7.375rem);   /* "Let's get started." */
  --fs-h2: clamp(2.125rem, 1rem + 4vw, 4.5rem);          /* section titles */
  --fs-h2-alt: clamp(1.75rem, 1rem + 2.4vw, 2.875rem);   /* About / Why titles */
  --fs-h3: clamp(1.375rem, 1rem + 1.4vw, 2.125rem);      /* Screenwriting, Directing… */
  --fs-email: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  --fs-synopsis: clamp(1.125rem, .8rem + 1.1vw, 1.6875rem);
  --fs-stat: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);     /* 128%, €9.860, 42 */
  --fs-lead: clamp(1rem, .8rem + .6vw, 1.3125rem);
  --fs-tagline: clamp(.9375rem, .7rem + .9vw, 1.3125rem);
  --fs-photo-intro: clamp(.9375rem, .8rem + .55vw, 1.1875rem);
  --fs-body: clamp(.9375rem, .8rem + .5vw, 1.125rem);
  --fs-small: clamp(.9375rem, .85rem + .3vw, 1.0625rem);
  --fs-credit: clamp(.9375rem, .85rem + .2vw, 1rem);
  --fs-input: clamp(1rem, .95rem + .2vw, 1.0625rem);     /* keep ≥ 1rem: stops iPhone zooming in */
  --fs-brand: .9375rem;             /* KAYVAN KERSBERGEN in the nav */
  --fs-button: .8125rem;
  --fs-nav: .75rem;
  --fs-eyebrow: .8125rem;           /* 01, 02, ABOUT … */
  --fs-chip: .8125rem;
  --fs-meta: .75rem;
  --fs-label: .6875rem;
  --fs-scroll: .625rem;

  /* ---------- Letter spacing ---------- */
  --track-brand: .22em;
  --track-nav: .18em;
  --track-button: .14em;
  --track-eyebrow: .3em;
  --track-label: .16em;

  /* ---------- Layout and spacing ---------- */
  --page-max: 68.75rem;                          /* max width of hero text and Why section */
  --text-max: 35rem;                             /* max width of paragraphs */
  --gutter: clamp(1.25rem, 5vw, 4.5rem);         /* space left and right of the page */
  --nav-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-pad: clamp(4rem, 12svh, 8.75rem);    /* space above and below each section */
  --head-gap: clamp(2.25rem, 6svh, 4rem);        /* space under section titles */
  --column-gap: clamp(1.75rem, 5vw, 4.5rem);     /* between text and image columns */
  --tile-gap: 1.125rem;                          /* between photos */
  --tile-gap-mobile: .75rem;
  --button-pad: .9375rem 1.75rem;
  --button-pad-small: .875rem 1.25rem;
  --nav-cta-pad: .5625rem 1rem;

  /* ---------- Hero ---------- */
  --bar: clamp(3rem, 6svh, 4.5rem);   /* black letterbox bars; the nav is the same height */
  --overlay: .55;                     /* darkness over the hero video (0–1) */
  --grain: .13;                       /* film grain strength (0–1) */
  --hero-filter: saturate(.85) contrast(1.05);

  /* ---------- Shadows ---------- */
  --shadow-poster: 0 1.5rem 4.375rem rgba(0, 0, 0, .55);
  --shadow-figure: 0 1.125rem 3.125rem rgba(0, 0, 0, .5);

  /* ---------- Breakpoints (for reference: CSS can't use variables in
     media queries, so these are written out in site.css) ----------
     56em ≈ 896px  tablet: columns stack
     48em ≈ 768px  nav shows only the Contact button
     36em ≈ 576px  phone: photos in one or two columns          */
}
