/* ============================================================
   photvidz — Direction A · "The Studio"
   Dark, warm, cinematic. Chosen by Jacob, Oct 17, 2026.
   Palette / type / components from the Direction A mockup.
   Polish pass (Oct 17, 2026): aperture logo mark, textured
   (never flat) backgrounds, macro-photography sample tiles.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  color: #f4ecdc;
  -webkit-font-smoothing: antialiased;
  background-color: #16120d;
  /* Layered, textured backdrop: warm glow up top, ember glow low,
     a vignette for depth, over a near-black warm base gradient. */
  background-image:
    radial-gradient(120% 90% at 50% -10%, rgba(226, 164, 88, 0.08), transparent 55%),
    radial-gradient(90% 70% at 88% 108%, rgba(122, 66, 20, 0.12), transparent 60%),
    radial-gradient(150% 130% at 50% 42%, transparent 52%, rgba(0, 0, 0, 0.55)),
    linear-gradient(180deg, #1b160f 0%, #16120d 34%, #110d07 100%);
  background-attachment: fixed, fixed, fixed, fixed;
}
/* Film grain over the whole page — texture, never flat.
   Fixed, click-through, sits under all content. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("assets/grain.svg"); background-size: 240px 240px;
  opacity: 0.06; mix-blend-mode: overlay;
}
.site-head, main, .site-foot { position: relative; z-index: 1; }

:root {
  --bg: #16120d;
  --panel: #221b14;
  --ink: #f4ecdc;
  --muted: #b3a58c;
  --accent: #e2a458;
  --line: #3b2f21;
  color-scheme: dark;
}

button { font: inherit; cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-head {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(226, 164, 88, 0.06), transparent 75%),
    repeating-linear-gradient(0deg, rgba(244, 236, 220, 0.016) 0 1px, transparent 1px 3px),
    #0f0c08;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 22px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}

/* ---------- Logo — aperture mark + serif wordmark ----------
   The wordmark is real text (spelling always exact); the mark
   is inline SVG: eight aperture blades spiralling to a pupil,
   inside a lens ring. Blades ease open on hover. */
.logo {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink);
}
.logo-mark { width: 40px; height: 40px; flex: none; display: block; }
.logo-mark .blades {
  transform-origin: 24px 24px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo:hover .logo-mark .blades,
.logo:focus-visible .logo-mark .blades { transform: rotate(28deg); }
.logo-word {
  font-family: "Cormorant Garamond", serif; font-size: 32px; font-weight: 600;
  letter-spacing: 0.015em; line-height: 1; display: inline-flex; align-items: baseline;
}
.logo-word em { color: var(--accent); font-style: normal; }
.logo-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  margin-left: 5px; align-self: center; box-shadow: 0 0 7px rgba(226, 164, 88, 0.9);
}
.site-foot .logo-mark { width: 34px; height: 34px; }
.site-foot .logo-word { font-size: 28px; }
@media (prefers-reduced-motion: reduce) {
  .logo-mark .blades { transition: none; }
}

.nav-inner nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.nav-inner nav a { text-decoration: none; font-size: 14px; color: var(--muted); font-weight: 500; }
.nav-inner nav a:hover { color: var(--ink); }
.nav-inner nav a[aria-current="page"] { color: var(--accent); }

/* ---------- Sample tiles (macro sample imagery) ---------- */
.tile {
  position: relative; overflow: hidden; border-radius: 10px; isolation: isolate;
  background: #0c0906;
  box-shadow: inset 0 0 0 1px rgba(244, 236, 220, 0.06), inset 0 -30px 50px -30px rgba(0, 0, 0, 0.8);
}
.tile .tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Shared film grain over every photo, so samples sit in the same world. */
.tile .tile-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("assets/grain.svg"); background-size: 240px 240px;
  opacity: 0.14; mix-blend-mode: overlay;
}
.tile .tile-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 7, 3, 0.14), transparent 42%, rgba(0, 0, 0, 0.58)); }
.tile .tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.04em;
  background: rgba(10, 10, 10, 0.66); color: #fff; padding: 4px 8px; border-radius: 5px;
  display: inline-flex; align-items: center; gap: 6px;
}
.tile .dur {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  background: rgba(10, 10, 10, 0.66); color: #fff; padding: 4px 8px; border-radius: 5px;
}
.tile .playmark { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.tile .playmark span {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(12, 12, 12, 0.55); border: 1.5px solid rgba(255, 255, 255, 0.85);
}
.tile .playmark svg { width: 17px; height: 17px; fill: #fff; margin-left: 2px; }
.tile .photomark {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(12, 12, 12, 0.45);
}
.tile .photomark svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.7; }

/* ---------- Hero ---------- */
.hero { padding: 34px 0 10px; max-width: 800px; position: relative; }
/* Faint giant aperture watermark — depth behind the headline. */
.hero::after {
  content: ""; position: absolute; top: -26px; right: -30px; z-index: -1;
  width: 380px; height: 380px; pointer-events: none;
  background: url("assets/aperture-watermark.svg") center / contain no-repeat;
}
.hero h1 {
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; margin: 0 0 18px; letter-spacing: -0.01em;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 0 24px; max-width: 560px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-solid {
  background: linear-gradient(180deg, #f0bd72, var(--accent) 55%, #cf8f3d);
  color: #1c1305; border: 0; border-radius: 8px;
  padding: 13px 22px; font-weight: 700; text-decoration: none; display: inline-block;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 12px rgba(0, 0, 0, 0.35);
}
.btn-solid:hover { opacity: 0.92; }
.btn-ghost {
  background: rgba(244, 236, 220, 0.03); color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
  padding: 13px 22px; font-weight: 600; text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--muted); }

/* ---------- Hero reel ---------- */
.reel { margin: 34px 0 0; }
.reel-stage { aspect-ratio: 16 / 8.2; min-height: 240px; border-radius: 14px; }
.reel-stage .tag { left: auto; right: 10px; bottom: 10px; top: auto; }
.reel-stage .stage-meta { position: absolute; left: 20px; bottom: 18px; z-index: 2; }
.reel-stage .stage-meta .sm-title { font-family: "Cormorant Garamond", serif; font-size: clamp(22px, 3.4vw, 34px); font-weight: 600; }
.reel-stage .stage-meta .sm-sub { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: #e8dcc2; opacity: 0.85; margin-top: 4px; }
.reel-stage .playmark span { width: 68px; height: 68px; }
.reel-stage .playmark svg { width: 24px; height: 24px; }
.reel-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
@media (max-width: 640px) { .reel-strip { grid-template-columns: repeat(2, 1fr); } }
.reel-thumb { border: 2px solid transparent; border-radius: 10px; padding: 0; background: none; text-align: left; }
.reel-thumb .tile { aspect-ratio: 16 / 9; border-radius: 8px; }
.reel-thumb .rt-title { display: block; margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.reel-thumb[aria-pressed="true"] { border-color: transparent; }
.reel-thumb[aria-pressed="true"] .tile { outline: 2px solid var(--accent); outline-offset: 2px; }
.reel-thumb[aria-pressed="true"] .rt-title { color: var(--accent); }

/* ---------- Sections ---------- */
.sec-block { padding: 56px 0 4px; }
h2.sec {
  font-family: "Cormorant Garamond", serif; font-size: clamp(28px, 4vw, 40px); font-weight: 600; margin: 0 0 6px;
}
.sec-sub { color: var(--muted); margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; max-width: 600px; }
.more-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Work grids ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .work-grid { grid-template-columns: 1fr; } }
.work-grid .tile { aspect-ratio: 4 / 3; }
.work-cap { margin-top: 9px; font-size: 14px; font-weight: 600; }
.work-cap span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- Inside the studio ---------- */
.space-split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 820px) { .space-split { grid-template-columns: 1fr; } }
.space-split .tile { aspect-ratio: 4 / 3; }
.space-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.space-list li { padding: 15px 2px; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.space-list li:first-child { padding-top: 2px; }
.space-list .sl-n { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--accent); }
.space-list .sl-t { font-weight: 700; font-size: 16px; }
.space-list .sl-d { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 3px; }

/* ---------- Outro / page heads ---------- */
.outro {
  padding: 62px 0 10px; margin-top: 10px;
  background: radial-gradient(60% 90% at 18% 0%, rgba(226, 164, 88, 0.06), transparent 65%);
}
.outro .big {
  font-family: "Cormorant Garamond", serif; font-size: clamp(30px, 5vw, 50px); font-weight: 500;
  line-height: 1.12; margin: 0 0 14px; max-width: 640px;
}
.outro p { color: var(--muted); margin: 0 0 22px; font-size: 15.5px; }
.page-head { padding: 44px 0 6px; max-width: 720px; }
.page-head h1 {
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(38px, 5.6vw, 60px); line-height: 1.04; margin: 0 0 14px; letter-spacing: -0.01em;
}
.page-head h1 em { color: var(--accent); font-style: normal; }
.page-head p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 0; }

/* ---------- Panels (services / info) ---------- */
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .panel-grid { grid-template-columns: 1fr; } }
.panel {
  border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px;
  background:
    radial-gradient(130% 110% at 18% 0%, rgba(226, 164, 88, 0.07), transparent 55%),
    repeating-linear-gradient(90deg, rgba(244, 236, 220, 0.014) 0 1px, transparent 1px 4px),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(244, 236, 220, 0.05), 0 10px 24px -18px rgba(0, 0, 0, 0.9);
}
.panel h3 { font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 600; margin: 0 0 8px; }
.panel p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
.panel .sl-n { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--accent); display: block; margin-bottom: 10px; }
.placeholder-note {
  border: 1.5px dashed var(--line); border-radius: 12px; padding: 20px 22px;
  color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 22px;
  background: rgba(244, 236, 220, 0.02);
}
.placeholder-note b { color: var(--ink); }

/* ---------- Booking form ---------- */
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 820px) { .form-split { grid-template-columns: 1fr; } }
form.big {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px;
  background:
    radial-gradient(130% 110% at 18% 0%, rgba(226, 164, 88, 0.07), transparent 55%),
    repeating-linear-gradient(90deg, rgba(244, 236, 220, 0.014) 0 1px, transparent 1px 4px),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(244, 236, 220, 0.05), 0 10px 24px -18px rgba(0, 0, 0, 0.9);
}
form.big label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 16px 0 6px; }
form.big label:first-child { margin-top: 0; }
form.big input, form.big select, form.big textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  background: #171208; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45);
}
form.big input:focus, form.big select:focus, form.big textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
form.big textarea { resize: vertical; }
form.big button[type="submit"] {
  margin-top: 20px; width: 100%; color: #1c1305; border: 0;
  border-radius: 8px; padding: 14px 22px; font-weight: 700; font-size: 15.5px;
  background: linear-gradient(180deg, #f0bd72, var(--accent) 55%, #cf8f3d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 12px rgba(0, 0, 0, 0.35);
}
form.big button[type="submit"]:hover { opacity: 0.92; }
.bmsg { margin-top: 14px; font-size: 14.5px; color: var(--accent); min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-foot {
  border-top: 1px solid var(--line); margin-top: 64px;
  background:
    linear-gradient(0deg, rgba(226, 164, 88, 0.05), transparent 75%),
    repeating-linear-gradient(0deg, rgba(244, 236, 220, 0.016) 0 1px, transparent 1px 3px),
    #0f0c08;
}
.foot-inner {
  max-width: 1120px; margin: 0 auto; padding: 30px 22px 38px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start;
}
.foot-inner .f-note { color: var(--muted); font-size: 13.5px; max-width: 420px; line-height: 1.55; margin: 8px 0 0; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.foot-links a:hover { color: var(--ink); }
