/* Nick UGC — custom site
   Layout: editorial portfolio. White pages, warm-ivory bands, one dark
   contact section; Georgia headlines with gold italic accents, Lato text. */
:root {
  --gold: #b8860b;          /* brand gold */
  --gold-lt: #d9b45a;       /* gold on dark */
  --gold-tint: #f8f3e6;     /* warm ivory band */
  --ink: #141414;           /* headlines */
  --text: #2a2824;          /* body text, warm */
  --muted: #4f4a42;         /* captions, darkened for readability */
  --line: #e7dfcc;          /* hairlines */
  --bg: #ffffff;
  --dark: #121110;          /* contact section */
  --dark-2: #1d1b18;
  --serif: Georgia, "Gelasio", "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --script: "Arizonia", "Brush Script MT", cursive;   /* medium-weight brush script */
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(56px, 7vw, 96px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-block: var(--section); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 900; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px;
}
.script-h {   /* script section headings: black; "Meet Nick" alone in gold */
  font-family: var(--script); font-weight: 400; color: var(--ink);
  font-size: clamp(3rem, 5.6vw, 4.4rem); line-height: 1.05; letter-spacing: 0; padding-bottom: .05em;
}
.script-gold { color: var(--gold); }
.serif-h { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.18; letter-spacing: -.01em; }
.serif-h em { color: var(--gold); }
.serif-sub { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); color: var(--ink); line-height: 1.35; margin: 4px 0 20px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; margin: 14px 0 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head-sub { margin-top: clamp(56px, 7vw, 84px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 900; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding: 16px 30px; border-radius: 3px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn-gold { background: var(--gold); color: #fff; border: 2px solid var(--gold); box-shadow: 0 6px 18px rgba(184,134,11,.25); }
.btn-gold:hover { background: #a2760a; border-color: #a2760a; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(184,134,11,.3); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95);
  backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { order: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 38px); }
.site-nav a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--gold); border-color: var(--gold); }
.site-nav .nav-cta { border: 2px solid var(--gold); color: var(--gold); padding: 9px 18px; border-radius: 3px; letter-spacing: .04em; }
.site-nav .nav-cta:hover, .site-nav .nav-cta.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.nav-toggle { display: none; }
.header-ig { order: 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); transition: color .2s, background .2s; }
.header-ig svg { width: 22px; height: 22px; }
.header-ig:hover { color: #fff; background: var(--gold); }
.site-nav { order: 2; margin-left: auto; }
.nav-toggle { order: 4; }

@media (max-width: 780px) {
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
  .nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 28px rgba(0,0,0,.07); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .site-nav.open { max-height: 340px; }
  .site-nav a { padding: 16px var(--gutter); border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a:hover, .site-nav a.active { border-color: var(--line); }
  .site-nav .nav-cta { margin: 14px var(--gutter) 18px; text-align: center; border: 2px solid var(--gold); }
}

/* ---------- Hero (cinematic) ---------- */
.hero { position: relative; background: var(--dark); color: #e6dfd2; overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 78% 8%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 10%, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 10%, #000 24%);
}
.hero-inner { position: relative; z-index: 1; min-height: clamp(560px, 47vw, 680px); display: flex; align-items: center; padding-block: 56px; }
.hero-copy { max-width: 500px; }
.hero-name { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(3rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -.02em; }
.hero-name em { display: block; color: var(--gold-lt); font-style: italic; }
.hero-role { font-family: var(--sans); font-weight: 900; font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 22px 0 0; padding-top: 16px; border-top: 3px solid var(--gold); display: inline-block; }
.hero-tag { font-size: 1.1rem; color: #ddd6c9; max-width: 36ch; margin: 16px 0 30px; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 500px; }
.hero-actions .btn { width: 100%; padding: 17px 16px; font-size: .84rem; letter-spacing: .09em; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.85); }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); }

.logo-band { background: var(--dark-2); border-top: 1px solid #2c2924; padding-block: clamp(22px, 2.8vw, 32px) clamp(26px, 3.2vw, 38px); overflow: hidden; }
.logo-label { margin: 0 0 18px; text-align: center; font-family: var(--sans); font-weight: 900; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-lt); }
.marquee { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-set { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(56px, 6vw, 88px); padding-right: clamp(56px, 6vw, 88px); }
.logo-set img { height: var(--h); width: auto; max-width: none; opacity: .92; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .logo-set { flex-wrap: wrap; justify-content: center; row-gap: 28px; padding-inline: var(--gutter); }
  .logo-set[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) { .logo-set img { height: calc(var(--h) * .72); } .marquee-track { animation-duration: 30s; } }

@media (max-width: 1024px) {
  .hero-media { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .hero-media img { object-position: 72% 0%;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hero-inner { min-height: 0; padding-block: 8px 48px; margin-top: -24px; }
}
@media (max-width: 600px) {
  .hero-media { aspect-ratio: 4 / 3.6; }
  .hero-media img { object-position: 70% 0%; }
  .hero-actions { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about { background: var(--gold-tint); }
.about-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(32px, 4.6vw, 64px); align-items: stretch; }
.about-left { display: grid; align-content: start; }
.about-right { display: flex; flex-direction: column; gap: 30px; }   /* photos stretch so they end level with the video */
.about-copy p { max-width: 62ch; }
.about-photos { flex: 1 1 0; min-height: 260px; contain: size; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 16px; }
.about-photos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 4px; box-shadow: 0 12px 28px rgba(20,20,20,.12); }
.about-photos img:first-child { object-position: 50% 62%; }
.about-photos img:last-child { object-position: 50% 88%; }
.traits { list-style: none; padding: clamp(32px, 4vw, 44px) 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px clamp(16px, 3vw, 40px); }
.traits li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1.08rem; line-height: 1.3; color: var(--ink); }
.t-ico { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(184,134,11,.25); }
.t-ico svg { width: 24px; height: 24px; fill: #fff; }

.niches { list-style: none; padding: 0; margin: clamp(44px, 5.5vw, 68px) 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.niches li { padding: 4px 20px; border-left: 1px solid rgba(184,134,11,.45); }
.niches li:first-child { border-left: 0; padding-left: 0; }
.niches h3 { font-family: var(--sans); font-size: .8rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; }
.niches p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.5; }

@media (max-width: 1000px) {
  .about-grid { display: flex; flex-direction: column; gap: 30px; }
  .about-left, .about-right { display: contents; }
  .about-video { order: 1; max-width: 400px; width: 100%; margin: 0 auto; }
  .about-copy { order: 2; }
  .about-photos { order: 3; flex: none; min-height: 0; contain: none; }
  .about-photos img { aspect-ratio: 3 / 4; height: auto; }
  .traits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .niches { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .niches li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .niches li:last-child { grid-column: 1 / -1; }
}

/* ---------- Video player ---------- */
.player { position: relative; width: 100%; max-width: 100%; aspect-ratio: 9 / 16; background: #111; overflow: hidden; border-radius: 6px; box-shadow: 0 16px 36px rgba(20,20,20,.14); }
.player video, .player .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player video { background: #111; }
.player .poster { z-index: 2; transition: opacity .35s ease; }
.player.is-playing .poster { opacity: 0; pointer-events: none; }
.player .play {
  position: absolute; z-index: 3; left: 50%; top: 58%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.42); border: 1px solid rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  display: grid; place-items: center; transition: transform .2s, opacity .25s, background .2s;
}
.player .play:hover { transform: translate(-50%, -50%) scale(1.08); background: rgba(255,255,255,.6); }
.player .play svg { width: 20px; height: 20px; margin-left: 3px; fill: #111; }
.player.is-started .play { opacity: 0; pointer-events: none; }
.player .spinner { position: absolute; z-index: 4; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; opacity: 0; animation: spin .8s linear infinite; pointer-events: none; transition: opacity .2s; }
.player.is-loading .spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Portfolio ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(16px, 2.4vw, 32px); }
.video-grid figure { margin: 0; }
.video-grid figcaption { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; font-size: .95rem; color: var(--muted); }
.video-grid figcaption strong { color: var(--ink); font-weight: 900; letter-spacing: .04em; }
.video-grid figcaption strong::after { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--gold); vertical-align: middle; margin-left: 10px; }

.photo-rows { display: grid; gap: clamp(12px, 1.6vw, 18px); }
.prow { display: flex; gap: clamp(12px, 1.6vw, 18px); }
.prow img { flex: var(--r) 1 0; min-width: 0; width: 100%; aspect-ratio: var(--r); height: auto; object-fit: cover; border-radius: 4px; }

@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .video-grid figcaption { flex-direction: column; gap: 0; font-size: .85rem; }
  .video-grid figcaption strong::after { display: none; }
  .player .play { width: 46px; height: 46px; }
  .player .play svg { width: 17px; height: 17px; }
  .prow { flex-direction: column; }
  .prow img { flex: none; }
}

/* ---------- Services ---------- */
.services { background: var(--gold-tint); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 44px) clamp(28px, 4vw, 60px); }
.service { display: grid; grid-template-columns: clamp(150px, 16vw, 200px) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 28px); align-items: start; }
.service img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 26px rgba(20,20,20,.12); }
.service-body { padding-top: 6px; }
.service h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.4rem); margin-bottom: 10px; }
.service p { margin: 0; color: var(--text); font-size: 1rem; }
.service-body::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 18px; }

.options { margin-top: clamp(56px, 7vw, 84px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.options-intro .script-h { font-size: clamp(2.8rem, 4.2vw, 3.5rem); white-space: nowrap; }
.options-intro p { font-size: 1.05rem; color: var(--ink); margin-top: 14px; }
.options-intro i { color: var(--gold); font-style: normal; padding: 0 .25em; }
.option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); }
.option { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; }
.badge { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.badge svg { width: 22px; height: 22px; fill: #fff; }
.option h3 { font-family: var(--sans); font-weight: 900; font-size: 1rem; letter-spacing: .02em; margin: 4px 0 4px; }
.option p { margin: 0; font-size: .96rem; }

@media (max-width: 960px) {
  .options { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; gap: 26px; }
  .service { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
  .service h3 { margin-bottom: 6px; }
  .service p { font-size: .95rem; }
  .service-body::after { margin-top: 12px; width: 44px; }
  .option-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: #ddd6c9; }
.contact .eyebrow { color: var(--gold-lt); }
.contact .serif-h { color: #fff; }
.contact .serif-h em { color: var(--gold-lt); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-photo { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: 50% 18%; border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.contact-links { display: grid; gap: 18px; margin-top: 30px; }
.contact-links a { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.4rem); white-space: nowrap; border-radius: 6px; }
.contact-links a:hover { color: var(--gold-lt); }
.contact-links svg { width: 52px; height: 52px; flex: none; padding: 12px; border-radius: 50%; background: var(--gold); color: #fff; fill: #fff; }
.reply-note { margin: 2px 0 0; font-size: 1rem; color: #cfc8ba; }
.contact-pitch { margin: 16px 0 28px; max-width: 58ch; }

.contact-form { background: #fff; color: var(--text); border-radius: 8px; padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 4px solid var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink);
  width: 100%; padding: 10px 12px; border: 1px solid #c9bfa9; border-radius: 4px; background: #fdfcf9; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 104px; }
.contact-form ::placeholder { color: #8a8478; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,11,.18); background: #fff; }
.contact-form .invalid { border-color: #b3261e; }
.contact-form button { justify-self: start; margin-top: 4px; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 700; min-height: 1.4em; }
.form-status:empty { display: none; }
.form-status.ok { color: #2e6b2e; }
.form-status.err { color: #b3261e; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 22px; align-items: center; order: 2; }
  .contact-links { margin-top: 0; }
  .contact-main { order: 1; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-form button { justify-self: stretch; }
  .contact-side { grid-template-columns: 1fr; }
  .contact-photo { aspect-ratio: 4 / 3.6; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); border-top: 1px solid #2c2924; color: #c9c1b3; padding-block: 26px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; font-size: .88rem; }
.footer-inner p { margin: 0; }
.brand-foot img { width: 28px; height: 28px; }
.brand-foot span { color: #fff; font-size: 1rem; }
.to-top { color: var(--gold-lt); text-decoration: none; font-weight: 700; }

@media (max-width: 480px) { .traits { grid-template-columns: 1fr; gap: 14px; } .t-ico { width: 44px; height: 44px; } }

@media (max-width: 560px) { .contact-links a { font-size: 1rem; } .contact-links svg { width: 44px; height: 44px; padding: 10px; } }

@media (max-width: 780px) { .header-ig { margin-left: auto; } .nav-toggle { margin-left: -6px; } }