:root {
    --bg: #0b0b0c;
    --bg-alt: #121214;
    --card: #17171a;
    --line: #26262b;
    --text: #f2f0eb;
    --muted: #9b9a97;
    --accent: #c8a45c;
    --accent-dark: #a8873f;
    --radius: 14px;
    --max: 1180px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 110px; }
  body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  .container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  section { padding: 96px 0; }
  h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; }
  .eyebrow {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
  }
  .section-head { max-width: 640px; margin-bottom: 52px; }
  .section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
  .section-head p { color: var(--muted); }

  /* Buttons */
  .btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 500;
    font-size: .95rem;
    border: 1px solid var(--accent);
    transition: .25s ease;
    cursor: pointer;
    font-family: inherit;
  }
  .btn-primary { background: var(--accent); color: #111; }
  .btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
  .btn-ghost { background: transparent; color: var(--text); }
  .btn-ghost:hover { background: rgba(200,164,92,.12); }

  /* Header / navigation */
  header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    background: rgba(11,11,12,.82);

    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; letter-spacing: .04em; }
  .logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
  .nav-links a { font-size: .9rem; color: var(--muted); transition: color .2s; }
  .nav-links a:hover { color: var(--text); }
  .nav-links .btn { padding: 10px 22px; }
  .nav-links .btn-primary, .nav-links .btn-primary:hover { color: #111; }
  .burger { display: none; }

  /* Hero */
  .hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 120px;
    background:
      radial-gradient(900px 500px at 80% 10%, rgba(200,164,92,.16), transparent 60%),
      radial-gradient(700px 500px at 5% 90%, rgba(90,110,160,.14), transparent 60%),
      var(--bg);
  }
  .hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 14ch; margin-bottom: 24px; }
  .hero h1 em { color: var(--accent); font-style: italic; }
  .hero p { color: var(--muted); max-width: 560px; font-size: 1.1rem; margin-bottom: 38px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

  /* Services */
  .services { background: var(--bg-alt); }
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .service {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    transition: transform .25s ease, border-color .25s ease;
  }
  .service:hover { transform: translateY(-5px); border-color: var(--accent); }
  .service .icon {
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(200,164,92,.12);
    color: var(--accent); font-size: 1.3rem;
    margin-bottom: 20px;
  }
  .service h3 { font-size: 1.35rem; margin-bottom: 10px; }
  .service p { color: var(--muted); font-size: .95rem; }

  /* Portfolio */
  .filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
  .filters a {
    font-size: .82rem; padding: 8px 18px; border-radius: 999px;
    border: 1px solid var(--line); color: var(--muted);
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
  }
  .tile {
    position: relative; overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #2a2a30, #151518);
    display: flex; align-items: flex-end;
  }
  .tile::before {
    content: ""; position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform .6s ease;
  }
  .tile:hover::before { transform: scale(1.07); }
  .tile::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.78), transparent 55%);
  }
  .tile .label { position: relative; z-index: 2; padding: 20px; }
  .tile .label h3 { font-size: 1.1rem; margin-top: 2px; }
  .tile.wide { grid-column: span 2; }
  .tile.tall { grid-row: span 2; }
  /* Replace these gradients with your photos:
     .t1::before { background-image: url('images/your-photo.jpg'); } */
  .t2::before { background-image: linear-gradient(135deg, #1f2c3d, #0d1119); }
  .t3::before { background-image: linear-gradient(135deg, #3d2230, #150b11); }
  .t4::before { background-image: linear-gradient(135deg, #20382f, #0c1511); }
  .t5::before { background-image: linear-gradient(135deg, #3a2a1c, #140e08); }
  .t6::before { background-image: linear-gradient(135deg, #2b2540, #100d19); }

  .tile.automotive::before { background-image: linear-gradient(135deg, #39444d, #14191e); }
  .tile.couple::before { background-image: linear-gradient(135deg, #5a3541, #23131a); }
  .tile.london::before { background-image: linear-gradient(135deg, #31424c, #10181f); }

  /* Process */
  .process { background: var(--bg-alt); }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
  .step { counter-increment: step; padding-top: 24px; border-top: 1px solid var(--line); }
  .step::before {
    content: "0" counter(step);
    font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--accent);
    display: block; margin-bottom: 10px;
  }
  .step h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .step p { color: var(--muted); font-size: .93rem; }

  /* About */
  .about-grid { display: block; max-width: 760px; }
  .about-text h2 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 20px; }
  .about-text p { color: var(--muted); margin-bottom: 18px; }
  .ticks { list-style: none; margin: 24px 0 32px; display: grid; gap: 10px; }
  .ticks li::before { content: "✦"; color: var(--accent); margin-right: 12px; }

  /* Contact */
  .contact { background: var(--bg-alt); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
  .contact-grid > *, .row > * { min-width: 0; }
  .contact-info h2 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 18px; }
  .contact-info p { color: var(--muted); margin-bottom: 28px; }
  .contact-info ul { list-style: none; display: grid; gap: 14px; }
  .contact-info li span { display: block; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
  form { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); padding: 34px; border-radius: var(--radius); }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  label { font-size: .82rem; color: var(--muted); display: grid; gap: 6px; }
  input, select, textarea {
    min-width: 0; width: 100%;
    background: var(--bg); border: 1px solid var(--line); color: var(--text);
    padding: 13px 14px; border-radius: 10px; font: inherit; font-size: .95rem;
  }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
  textarea { min-height: 120px; resize: vertical; }

  /* Footer */
  footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
  .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

  /* ===== Hover & transition effects ===== */

  /* Logo + nav links: gold underline slides in */
  .logo { transition: color .2s ease; }
  .logo:hover { color: var(--accent); }
  .nav-links a:not(:last-child) { position: relative; padding-bottom: 4px; }
  .nav-links a:not(:last-child)::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: right;
    transition: transform .35s ease;
  }
  .nav-links a:not(:last-child):hover::after { transform: scaleX(1); transform-origin: left; }

  /* Buttons: lift, glow and press */
  .btn { transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
  .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(200,164,92,.28); }
  .btn:active { transform: translateY(-1px) scale(.98); }
  .btn-ghost:hover { border-color: var(--text); }

  /* Hero: staggered entrance on page load */
  @keyframes fadeUp {
    from { opacity: 0; translate: 0 12px; }
    to   { opacity: 1; translate: 0 0; }
  }
  .hero .eyebrow, .hero h1, .hero p, .hero-actions {
    animation: fadeUp .35s cubic-bezier(.2,.7,.2,1) both;
  }
  .hero h1 { animation-delay: .04s; }
  .hero p { animation-delay: .08s; }
  .hero-actions { animation-delay: .12s; }

  /* Service cards: lift, glow, icon spin */
  .service {
    transition: transform .2s ease, border-color .2s ease;
  }
  .service:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(200,164,92,.25);
    background: linear-gradient(180deg, #1c1b1a, var(--card));
  }
  .service .icon { transition: transform .4s ease, background .3s ease, color .3s ease; }
  .service:hover .icon { transform: rotate(-8deg) scale(1.12); background: var(--accent); color: #111; }
  .service h3 { transition: color .3s ease; }
  .service:hover h3 { color: var(--accent); }

  /* Portfolio tiles: zoom, brighten, label slides up, arrow appears */
  .tile { transition: box-shadow .4s ease, transform .4s ease; }
  .tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
  .tile::before { transition: transform .2s ease; }
  .tile .label { transition: transform .4s ease; transform: translateY(8px); }
  .tile:hover .label { transform: translateY(0); }
  .tile .label h3::after {
    content: " →"; display: inline-block; color: var(--accent);
    opacity: 0; transform: translateX(-8px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .tile:hover .label h3::after { opacity: 1; transform: translateX(0); }

  /* Filters */
  .filters a { transition: all .25s ease; cursor: pointer; }
  .filters a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

  /* Process steps */
  .step { transition: transform .3s ease, border-color .3s ease; }
  .step:hover { transform: translateY(-6px); border-top-color: var(--accent); }
  .step::before { transition: transform .3s ease; }
  .step:hover::before { transform: translateX(6px); }

  /* About list */
  .ticks li { transition: transform .25s ease, color .25s ease; }
  .ticks li:hover { transform: translateX(8px); color: var(--accent); }

  /* Contact info + form fields */
  .contact-info li { transition: transform .25s ease; }
  .contact-info li:hover { transform: translateX(6px); }
  input, select, textarea { transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
  input:hover, select:hover, textarea:hover { border-color: #3a3a41; }
  input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(200,164,92,.18);
  }
  form { transition: border-color .35s ease, box-shadow .35s ease; }
  form:hover { border-color: #34343a; box-shadow: 0 20px 50px rgba(0,0,0,.35); }

  /* Footer text */
  .foot span { transition: color .25s ease; }
  .foot span:hover { color: var(--accent); }

  /* ===== Hero background slideshow (display only) ===== */
  .hero { position: relative; overflow: hidden; }
  .hero > .container { position: relative; z-index: 2; }
  .hero-slides {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;      /* not clickable */
    user-select: none;
  }
  /* dark layer so the text stays readable over your photos */
  .hero-slides::after {
    content: ""; position: absolute; inset: 0; z-index: 2;
    background:
      linear-gradient(90deg, rgba(11,11,12,.88) 0%, rgba(11,11,12,.55) 55%, rgba(11,11,12,.35) 100%),
      linear-gradient(to top, var(--bg) 0%, transparent 28%);
  }
  .slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    /* 5 slides x 6s each = 30s loop. If you change the slide count,
       change 30s below to (number of slides x 6s) and update the delays. */
    animation: slideFade 30s infinite;
  }
  .s1 { animation-delay: 0s; }
  .s2 { animation-delay: 6s; }
  .s3 { animation-delay: 12s; }
  .s4 { animation-delay: 18s; }
  .s5 { animation-delay: 24s; }
  @keyframes slideFade {
    0%   { opacity: 0; }
    4%   { opacity: 1; }
    20%  { opacity: 1; }
    24%  { opacity: 0; }
    100% { opacity: 0; }
  }
  /* Use gradients until hero photographs are uploaded. To enable a slot, replace
     its gradient with url("../../images/backgrounds/hero/hero-01.webp"), etc. */
  .s1 { background-image: linear-gradient(135deg, #1f2c3d, #0d1119); }
  .s2 { background-image: linear-gradient(135deg, #3d2230, #150b11); }
  .s3 { background-image: linear-gradient(135deg, #20382f, #0c1511); }
  .s4 { background-image: linear-gradient(135deg, #3a2a1c, #140e08); }
  .s5 { background-image: linear-gradient(135deg, #2b2540, #100d19); }

  /* Use existing assets; other categories retain their gradient until a cover is uploaded. */
  .t2::before { background-image: url("../media/46102429349d8f12-960.webp"); }
  .t4::before { background-image: url("../media/211af1f6bd09bd97-960.webp"); }

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

  @media (prefers-reduced-motion: reduce) {
    .slide.s1 { opacity: 1; }
  }

  /* Responsive */
  @media (max-width: 960px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  }
  @media (max-width: 720px) {
    section { padding: 72px 0; }
    .burger { display: block; cursor: pointer; font-size: 1.6rem; }
    .nav-links {
      position: absolute; top: 72px; left: 0; right: 0;
      flex-direction: column; gap: 0;
      background: var(--bg); border-bottom: 1px solid var(--line);
      max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s ease;
    }
    .nav-links a { width: 100%; padding: 14px 24px; border-top: 1px solid var(--line); }
    .nav-links .btn { width: auto; margin: 14px 24px; }
    .nav-links.is-open { max-height: 420px; visibility: visible; }
    .grid-3, .steps, .row { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .tile.wide { grid-column: auto; }
    .tile.tall { grid-row: auto; }
  }


/* =====================================================
   RJV STUDIOS — GLASSMORPHISM REDESIGN
   Frosted navigation, floating glass cards and soft light.
   ===================================================== */
:root {
  --glass-bg: rgba(255,255,255,.055);
  --glass-border: rgba(255,255,255,.13);
  --glass-shadow: 0 18px 55px rgba(0,0,0,.28);
}
body {
  background:
    radial-gradient(ellipse at 12% 8%, rgba(200,164,92,.13), transparent 34rem),
    radial-gradient(ellipse at 88% 34%, rgba(115,129,164,.10), transparent 32rem),
    radial-gradient(ellipse at 50% 92%, rgba(200,164,92,.07), transparent 38rem),
    var(--bg);

}
header {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin: 14px auto 0;
  width: min(calc(100% - 32px), var(--max));
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: rgba(17,17,20,.92);


  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}
header .nav { min-height: 70px; }
.nav-links a { transition: color .25s ease, opacity .25s ease; }
.nav-links a:hover { color: #f0d69e; }
.btn, button, input[type="submit"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(220,190,130,.48);
  background: rgba(200,164,92,.12);


  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 26px rgba(0,0,0,.18);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 52%);
  opacity: .65;
  pointer-events: none;
}
.btn:hover, button:hover, input[type="submit"]:hover {
  background: rgba(200,164,92,.25);
  border-color: rgba(240,214,158,.75);
  box-shadow: 0 12px 32px rgba(200,164,92,.14), inset 0 1px 0 rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.tile {
  border: 1px solid var(--glass-border);
  background-color: var(--glass-bg);


  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.08);
}
.tile { overflow: hidden; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0,0,0,.78), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.11), transparent 38%, rgba(200,164,92,.06));
  opacity: 1;
}
form {
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));


  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.10);
}
input, select, textarea {
  background: rgba(5,5,7,.42);
  border-color: rgba(255,255,255,.15);


}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(200,164,92,.75);
  box-shadow: 0 0 0 3px rgba(200,164,92,.12);
}
section { position: relative; }
section::before {
  content: "";
  position: absolute;
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  border-radius: 50%;
  top: 8%;
  right: 0;
  background: radial-gradient(circle, rgba(200,164,92,.075), transparent 68%);

  pointer-events: none;
  z-index: -1;
}
@media (max-width: 760px) {
  header { top: 8px; margin-top: 8px; width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Keep primary actions legible over the glass panels. */
.btn.btn-primary { background: var(--accent); color: #111; }
.btn.btn-primary:hover { background: var(--accent-dark); color: #111; }
.burger { color: var(--text); padding: 0 10px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Keep frosted glass to one small surface instead of every card and control. */
header {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (max-width: 760px) {
  header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .slide { animation: none; }
  .slide.s1 { opacity: 1; }
}
