/* ==========================================================================
   Law Uncut Advocates & Solicitors — stylesheet
   Palette: Deep Black, Gold/Amber, Off-White, Charcoal
   ========================================================================== */

:root {
  --black: #0a1130;
  --charcoal: #1c1a17;
  --charcoal-2: #262320;
  --gold: #c9a24a;
  --gold-light: #e4c878;
  --gold-dim: #8a6f2e;
  --off-white: #f6f1e7;
  --off-white-dim: #d8d0bd;
  --line: rgba(201, 162, 74, 0.25);
  --shadow: rgba(0, 0, 0, 0.45);
  --radius: 6px;
  --maxw: 1180px;
  --serif: 'Playfair Display', 'Georgia', serif;
  --sans: 'Jost', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--off-white);
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: 0.3px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 16px; color: var(--off-white-dim); }

a { color: var(--gold); text-decoration: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section {
  padding: 100px 0;
  position: relative;
}
.section-charcoal { background: var(--charcoal); }
.section-black { background: var(--black); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }
.section-head .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.divider-orn {
  width: 60px;
  height: 22px;
  margin: 0 auto 22px;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
}
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(10, 17, 48, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(10, 17, 48, 0.92);
  border-color: var(--line);
  padding: 8px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--off-white);
}
.brand img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--off-white);
  white-space: nowrap;
  text-shadow: 0 0 22px rgba(201, 162, 74, 0.35);
}
.brand-text span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--off-white-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: none;
}
@media (min-width: 1140px) {
  .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--gold);
  display: block;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: right 0.35s ease;
    border-left: 1px solid var(--line);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 78% 30%, #17204a 0%, var(--black) 55%);
  overflow: hidden;
  padding-top: 110px;
}
.hero-figure {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: min(52vw, 720px);
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(201,162,74,0.12));
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--gold) 1px, transparent 1.4px);
  background-size: 46px 46px;
  opacity: 0.05;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
}
.hero-content { max-width: 660px; }
.hero-content p.lead {
  font-size: 1.1rem;
  color: var(--off-white-dim);
  max-width: 560px;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 54px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.hero-stats .stat {
  flex: 1 1 160px;
  padding-right: 24px;
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--gold);
}
.hero-stats .stat span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--off-white-dim);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold-dim);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

/* ---------------- Principal Partner ---------------- */
.partner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 860px) {
  .partner { grid-template-columns: 1fr; gap: 46px; }
}
.partner-photo {
  position: relative;
}
.partner-photo .frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 4px;
}
.partner-photo img {
  width: 100%;
  border-radius: 2px;
  filter: saturate(0.92) contrast(1.03);
}
.partner-photo .tag {
  position: absolute;
  bottom: -22px;
  right: -18px;
  background: var(--gold);
  color: var(--black);
  padding: 16px 22px;
  border-radius: 4px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 14px 30px var(--shadow);
  max-width: 200px;
  line-height: 1.3;
}
.partner-name {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 4px;
}
.partner-role {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 22px;
  display: block;
}
.partner-quote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--off-white);
}
.perk-list {
  list-style: none;
  margin: 26px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
@media (max-width: 560px) { .perk-list { grid-template-columns: 1fr; } }
.perk-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--off-white-dim);
  font-size: 0.94rem;
}
.perk-list li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  margin-top: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.bio-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.bio-more.open { max-height: 900px; }
.bio-toggle {
  background: none;
  border: none;
  color: var(--gold);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bio-toggle svg { transition: transform 0.3s ease; width: 12px; }
.bio-toggle.open svg { transform: rotate(180deg); }

/* ---------------- Banner divider ---------------- */
.banner {
  position: relative;
  height: 340px;
  background-size: cover;
  background-position: center;
}
.banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,17,48,0.94) 20%, rgba(10,17,48,0.55) 60%, rgba(10,17,48,0.85));
}
.banner-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
}
.banner-inner .eyebrow { margin-bottom: 12px; }
.banner-inner h2 { margin-bottom: 0; }

/* ---------------- Practice Areas ---------------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.practice-card {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 30px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.practice-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: #2c2820;
}
.practice-num {
  font-family: var(--serif);
  color: var(--gold-dim);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}
.practice-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.practice-card p { margin: 0; font-size: 0.94rem; }
.practice-icon {
  width: 46px; height: 46px;
  margin-bottom: 20px;
  color: var(--gold);
}

/* ---------------- Team ---------------- */
.team-lead {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.team-card {
  text-align: center;
  border: 1px solid var(--line);
  padding: 40px 24px;
  border-radius: 6px;
  background: var(--black);
}
.team-card .icon-ring {
  width: 70px; height: 70px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
}
.team-card .icon-ring svg { width: 30px; height: 30px; }
.team-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.team-card p { font-size: 0.9rem; }

/* ---------------- Video showcase ---------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.video-grid .video-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.video-grid .video-card:nth-child(4) { grid-column: span 2; }
@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid .video-card:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .video-grid .video-card:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-grid .video-card:nth-child(1),
  .video-grid .video-card:nth-child(4) { grid-column: span 1; }
}
.video-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--charcoal-2);
  min-height: 220px;
}
.video-card video {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.video-card .v-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(10,17,48,0.92), transparent);
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--off-white);
  pointer-events: none;
}
.video-card .v-mute {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(10,17,48,0.6);
  border: 1px solid var(--line);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}
.video-card .v-mute svg { width: 16px; height: 16px; }

/* ---------------- Book ---------------- */
.book {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .book { grid-template-columns: 1fr; gap: 40px; }
}
.book-cover {
  position: relative;
}
.book-cover img {
  border-radius: 4px;
  box-shadow: 0 30px 60px var(--shadow);
  border: 1px solid var(--line);
}
.book-meta {
  display: flex;
  gap: 20px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.book-meta div {
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}
.book-meta strong {
  display: block;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.95rem;
}
.book-meta span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--off-white-dim);
}
.book-author-box {
  margin-top: 30px;
  padding: 24px;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.book-author-box h4 { margin-bottom: 10px; font-size: 1rem; color: var(--gold); }
.book-author-box p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------------- Contact ---------------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 860px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 46px; }
}
.contact-info h2 { margin-bottom: 10px; }
.contact-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-list .c-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-list .c-icon svg { width: 20px; height: 20px; }
.contact-list strong {
  display: block;
  color: var(--off-white);
  font-family: var(--serif);
  font-size: 1rem;
  margin-bottom: 3px;
}
.contact-list a, .contact-list span.addr {
  color: var(--off-white-dim);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
}
.contact-form .field {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--line);
  color: var(--off-white);
  padding: 13px 14px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button { width: 100%; justify-content: center; }
.form-note {
  font-size: 0.78rem;
  color: var(--off-white-dim);
  margin-top: 12px;
  text-align: center;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 60px 0 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand strong { font-family: var(--serif); color: var(--off-white); font-size: 1.05rem; display: block; }
.footer-brand span { color: var(--gold); font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; }
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--off-white-dim); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: var(--off-white-dim);
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.socials svg { width: 16px; height: 16px; }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
