/*
Theme Name: Rodeno
Theme URI: https://www.rodeno.com
Author: Rodeno
Description: Cinematic editorial theme for Rodeno.
Version: 2.0.2
Text Domain: rodeno
*/

:root {
  --void: #0c0b09;
  --void-2: #161411;
  --ivory: #f4efe6;
  --ink: #141311;
  --mute: #8a8378;
  --line: rgba(244, 239, 230, 0.16);
  --gold: #c4a574;
  --gold-deep: #b08d57;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.wrap {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.kicker.dark { color: var(--gold-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border: 1px solid var(--ivory);
  background: var(--ivory);
  color: var(--void);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.btn.ghost {
  background: transparent;
  color: var(--ivory);
}
.btn:hover,
.btn.ghost:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--void);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--ivory);
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(12, 11, 9, 0.92);
  backdrop-filter: blur(16px);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}
.mark { width: 28px; height: 28px; }
.nav {
  display: flex;
  gap: 26px;
  font-size: 13px;
  color: rgba(244, 239, 230, 0.78);
}
.nav a:hover { color: var(--ivory); }
.header-cta {
  border: 1px solid var(--gold);
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.header-cta:hover { background: var(--gold); color: var(--void); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  position: relative;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ivory);
  margin: 6px auto;
  transition: transform 0.25s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: var(--void) var(--hero) center/cover no-repeat;
  padding: 0 0 88px;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,11,9,0.28) 0%, rgba(12,11,9,0.18) 35%, rgba(12,11,9,0.82) 100%),
    linear-gradient(90deg, rgba(12,11,9,0.55) 0%, rgba(12,11,9,0.12) 55%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 12px;
  max-width: 18ch;
}
.hero h1 {
  font-size: clamp(56px, 9vw, 108px);
  margin: 0 0 24px;
  text-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.lede {
  font-size: 19px;
  font-weight: 300;
  max-width: 36ch;
  color: rgba(244, 239, 230, 0.82);
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute;
  right: 6vw;
  bottom: 40px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--void-2);
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
}
.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;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.intro {
  background: var(--ivory);
  color: var(--ink);
  padding: 110px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.intro h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin: 0 0 24px;
}
.intro p { color: #5c574f; }
.intro-photo figcaption,
.spread figcaption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.intro-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: saturate(0.92);
}

.spread {
  background: var(--ivory);
  color: var(--ink);
  padding: 0 0 110px;
}
.spread-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px 36px;
  align-items: start;
}
.spread img {
  width: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.spread-a img { height: 420px; }
.spread-b img { height: 280px; }
.spread-c {
  grid-column: 1 / -1;
}
.spread-c img { height: 380px; }
.spread-quote {
  margin: 48px 0 0;
  padding: 0;
  border: 0;
}
.spread-quote p {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  margin: 0 0 16px;
  font-style: italic;
}
.spread-quote cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.work {
  background: #ebe4d8;
  color: var(--ink);
  padding: 110px 0;
}
.work h2,
.process h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin: 0 0 16px;
}
.section-intro {
  max-width: 48ch;
  color: #5c574f;
  margin: 0 0 48px;
  font-weight: 300;
}
.section-intro.light { color: rgba(244, 239, 230, 0.7); }
.stories {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.story {
  background: var(--ivory);
}
.story.featured { margin-top: -28px; }
.story-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.story.featured .story-img { height: 320px; }
.story:hover .story-img { transform: scale(1.03); }
.story-img { overflow: hidden; }
.story h3, .story p, .story-tag { padding-left: 22px; padding-right: 22px; }
.story-tag {
  margin: 22px 0 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.story h3 {
  font-size: 28px;
  margin: 0 0 10px;
}
.story p {
  padding-bottom: 28px;
  color: #5c574f;
  font-size: 15px;
}

.packages-band {
  background: var(--void);
  color: var(--ivory);
  padding: 110px 0;
}
.packages-band h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin: 0 0 16px;
}
.pkg-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pkg-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
}
.pkg-row .name {
  display: block;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 6px;
}
.pkg-row p { margin: 0; color: rgba(244, 239, 230, 0.62); font-size: 15px; }
.pkg-row b {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
}
.pkg-row.featured {
  background: rgba(196, 165, 116, 0.08);
  margin: 0 -8px;
  padding-left: 16px;
  padding-right: 16px;
}

.process {
  background: var(--ivory);
  color: var(--ink);
  padding: 110px 0;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.steps span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.steps h3 { margin: 0 0 8px; font-size: 24px; }
.steps p { margin: 0; color: #5c574f; font-size: 15px; }

.contact {
  background: var(--void-2);
  padding: 110px 0 120px;
}
.contact h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin: 0 0 16px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.mail-link {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}
form {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 32px;
}
label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
input, select, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ivory);
  padding: 12px 0;
  border-radius: 0;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 13px; color: var(--mute); }
.alert { padding: 8px 0; }
.alert.ok { color: var(--gold); }
.alert.err { color: #e8b4a8; }

.site-footer {
  background: var(--void);
  color: rgba(244, 239, 230, 0.58);
  padding: 48px 0 28px;
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.site-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ivory);
  margin: 0 0 8px;
}
.site-footer-inner a {
  display: block;
  color: var(--gold);
  margin: 0 0 8px;
}
.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav, .header-cta {
    display: none;
  }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--void);
    padding: 110px 32px 40px;
    gap: 22px;
    font-size: 22px;
    z-index: 1;
  }
  body.nav-open .header-cta {
    display: inline-flex;
    position: fixed;
    left: 32px;
    bottom: 36px;
    z-index: 2;
  }
  body.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .intro-grid, .spread-grid, .stories, .steps, .contact-grid, .pkg-row, .site-footer-inner {
    grid-template-columns: 1fr;
  }
  .story.featured { margin-top: 0; }
  .hero { min-height: 92vh; padding-bottom: 56px; }
  .hero h1 { font-size: 56px; }
  .intro-photo img, .spread-a img, .spread-b img, .spread-c img { height: 280px; }
  .intro, .work, .packages-band, .process, .contact, .spread { padding: 72px 0; }
  .scroll-cue { display: none; }
  .pkg-row .btn { justify-self: start; }
}

/* ============================================================
   MOTION & CRAFT LAYER — appended 2026-08-30 (v2.0.2)
   Transform/opacity only. Every rule respects reduced motion.
   ============================================================ */

/* --- Baseline polish --- */
body { -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--void); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --- No-JS safety: never hide content when scripts fail --- */
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

/* --- Reveal: stronger curve, faster, more responsive --- */
.reveal {
  transition:
    opacity 0.55s ease-out,
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- Hero entrance (staggered, one-time, JS-gated) --- */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
html.js .hero-copy .kicker      { animation: rise 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.05s backwards; }
html.js .hero-copy h1           { animation: rise 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.18s backwards; }
html.js .hero-copy .lede        { animation: rise 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.34s backwards; }
html.js .hero-copy .hero-actions { animation: rise 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.5s backwards; }

/* --- Scroll cue: fade in late, then breathe --- */
@keyframes cue-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes cue-breathe {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
html.js .scroll-cue {
  animation:
    cue-in 0.8s ease-out 1.15s backwards,
    cue-breathe 2.8s ease-in-out 2.1s infinite;
}

/* --- Nav links: gold underline sweep --- */
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

/* --- Buttons: smooth hover, press feedback --- */
.btn,
.header-cta {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.16s ease-out;
}
.btn:active,
.header-cta:active { transform: scale(0.97); }

/* --- Story cards: lift + depth, faster image zoom --- */
.story {
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s ease;
}
.story:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20, 19, 17, 0.14);
}
.story-img { transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); }

/* --- Spread imagery: develops like a print, top to bottom --- */
html.js .spread figure img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
html.js .spread figure.is-in img { clip-path: inset(0 0 0 0); }

/* --- Retainer rows: quiet gold response --- */
.pkg-row { transition: background-color 0.25s ease; }
.pkg-row:hover { background: rgba(196, 165, 116, 0.06); }
.pkg-row.featured:hover { background: rgba(196, 165, 116, 0.1); }

/* --- Process steps: lift + gold number --- */
.steps li {
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.steps li:hover { transform: translateY(-4px); }
.steps span { transition: color 0.2s ease; }
.steps li:hover span { color: var(--gold); }

/* --- Staggered entrances (one-shot reveals; delays are safe) --- */
html.js .stories .story.is-in:nth-child(2) { transition-delay: 0.12s; }
html.js .stories .story.is-in:nth-child(3) { transition-delay: 0.24s; }
html.js .steps li.is-in:nth-child(2) { transition-delay: 0.08s; }
html.js .steps li.is-in:nth-child(3) { transition-delay: 0.16s; }
html.js .steps li.is-in:nth-child(4) { transition-delay: 0.24s; }
html.js .steps li.is-in:nth-child(5) { transition-delay: 0.32s; }

/* --- Reduced motion: everything static, everything visible --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal,
  .hero-copy .kicker,
  .hero-copy h1,
  .hero-copy .lede,
  .hero-actions,
  .scroll-cue {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  html.js .spread figure img {
    clip-path: none !important;
    transition: none !important;
  }
  .story:hover,
  .steps li:hover,
  .btn:active,
  .header-cta:active { transform: none; }
}
