/* BY Hukuk — Editorial Law Firm
   Palette: Deep navy + antique gold + ivory
   Type: Cormorant Garamond (display) + Manrope (UI) */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0A1628;
  --navy-2: #0F1D34;
  --navy-3: #16263F;
  --ivory: #F5F1E8;
  --ivory-2: #EAE4D4;
  --paper: #FBF9F4;
  --gold: #B8924A;
  --gold-bright: #C9A961;
  --gold-dim: #8A7038;
  --slate: #6B7A8F;
  --slate-2: #8A96A8;
  --line: rgba(184, 146, 74, 0.28);
  --line-strong: rgba(184, 146, 74, 0.55);
  --line-ivory: rgba(245, 241, 232, 0.14);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

::selection { background: var(--gold); color: var(--navy); }

/* ----- Type scale ----- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow-num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.018em;
}
.display-l {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.015em;
}
.display-m {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.display-s {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.italic { font-style: italic; font-weight: 300; }

.body-lg {
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-2);
  font-weight: 400;
}
.body { font-size: 15px; line-height: 1.65; color: var(--navy-2); }
.meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}

/* ----- Layout helpers ----- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .grid-12 { grid-template-columns: repeat(6, 1fr); gap: 16px; }
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section-divider {
  height: 1px;
  background: var(--line);
  margin: 0 var(--gutter);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: all 220ms cubic-bezier(.2,.7,.2,1);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--ivory);
}
.btn-ghost-light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245, 241, 232, 0.4);
}
.btn-ghost-light:hover {
  background: var(--ivory);
  color: var(--navy);
  border-color: var(--ivory);
}
.btn .arrow {
  display: inline-block;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  transition: all 220ms ease;
}
.link-arrow:hover {
  border-bottom-color: var(--navy);
  color: var(--gold-dim);
}
.link-arrow .arrow { transition: transform 220ms ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ----- Reveal animation ----- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ----- Nav ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 320ms ease, border-color 320ms ease, padding 320ms ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-ivory);
  padding: 14px var(--gutter);
}
.nav.light {
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 14px var(--gutter);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ivory);
  white-space: nowrap;
}
.nav-logo .sub { white-space: nowrap; }
@media (max-width: 720px) {
  .nav-logo .sub { display: none; }
}
.nav.light .nav-logo { color: var(--navy); }
.nav-logo .dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-4px);
}
.nav-logo .sub {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.85);
  transition: color 200ms ease;
  position: relative;
}
.nav.light .nav-link { color: var(--navy-2); }
.nav-link:hover { color: var(--gold-bright); }
.nav.light .nav-link:hover { color: var(--gold-dim); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-switch {
  display: flex;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border: 1px solid rgba(245, 241, 232, 0.25);
  border-radius: 999px;
  overflow: hidden;
}
.nav.light .lang-switch { border-color: rgba(10, 22, 40, 0.2); }
.lang-switch button {
  padding: 6px 12px;
  color: rgba(245, 241, 232, 0.7);
  transition: all 200ms ease;
}
.nav.light .lang-switch button { color: var(--slate); }
.lang-switch button.active {
  background: var(--gold);
  color: var(--navy);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  transition: all 220ms ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }
.nav.light .nav-cta { color: var(--gold-dim); }
.nav.light .nav-cta:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  color: var(--ivory);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
}

/* Ken Burns slideshow — feels like cinematic video, no hot-link risk */
.hero-kenburns {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: kbCycle 24s ease-in-out infinite;
}
.hero-kenburns img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: saturate(0.55) contrast(1.08) brightness(0.85);
  animation: kbZoom 12s ease-in-out infinite;
}
.hero-kenburns-2 { animation-delay: 8s; }
.hero-kenburns-2 img { animation-direction: reverse; transform-origin: 70% 30%; }
.hero-kenburns-3 { animation-delay: 16s; }
.hero-kenburns-3 img { transform-origin: 30% 70%; }

@keyframes kbCycle {
  0%      { opacity: 0; }
  4%, 33% { opacity: 1; }
  37%     { opacity: 0; }
  100%    { opacity: 0; }
}
@keyframes kbZoom {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.15) translate(-3%, -2%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,22,40,0.55) 0%, rgba(10,22,40,0.4) 35%, rgba(10,22,40,0.85) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(184,146,74,0.10), transparent 60%);
  z-index: 1;
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none; opacity: 0.10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(120px, 16vh, 180px) var(--gutter) clamp(48px, 8vw, 96px);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  max-width: 14ch;
  margin-bottom: 32px;
}
.hero-title .gold-italic {
  color: var(--gold-bright);
  font-style: italic;
  font-weight: 300;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 241, 232, 0.18);
  max-width: 720px;
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 8px;
}
.hero-meta-item .num .plus { color: var(--gold-bright); font-style: italic; }
.hero-meta-item .lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.7);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-bottom {
  position: absolute;
  bottom: 24px;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.6);
}
.hero-bottom .scroll {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-bottom .scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Hero typography variant */
.hero.typo .hero-media { display: none; }
.hero.typo {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(184,146,74,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(184,146,74,0.08), transparent 50%);
}
.hero.typo::before {
  content: "BY";
  position: absolute;
  top: 12%; right: -2%;
  font-family: var(--font-display);
  font-size: clamp(280px, 50vw, 720px);
  line-height: 0.8;
  font-weight: 300;
  color: rgba(184, 146, 74, 0.06);
  z-index: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
}

/* Hero photo variant */
.hero.photo .hero-media {
  background: var(--navy);
}
.hero.photo .hero-portrait {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  width: 42%;
  max-width: 580px;
  height: 88vh;
  background:
    linear-gradient(180deg, transparent 60%, var(--navy) 100%),
    url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=1200&q=80') center/cover;
  filter: grayscale(0.3) contrast(1.05);
}

/* ----- Marquee ----- */
.marquee {
  background: var(--navy);
  color: var(--ivory);
  padding: 36px 0;
  border-top: 1px solid var(--line-ivory);
  border-bottom: 1px solid var(--line-ivory);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  align-items: center;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: rgba(245, 241, 232, 0.65);
  font-style: italic;
}
.marquee-item .sep {
  display: inline-block;
  margin-left: 80px;
  color: var(--gold);
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Section header ----- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
  align-items: end;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
}
.section-head .lead {
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-2);
}
.section-head .eyebrow { margin-bottom: 24px; }

/* ----- About ----- */
.about {
  background: var(--ivory);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}
.about-image {
  position: relative;
  aspect-ratio: 4/5;
  background:
    linear-gradient(180deg, transparent 60%, rgba(10,22,40,0.4) 100%),
    url('https://images.unsplash.com/photo-1589994965851-a8f479c573a9?w=1000&q=80') center/cover;
  filter: grayscale(0.2) contrast(1.05) saturate(0.85);
}
.about-image::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(245, 241, 232, 0.4);
  pointer-events: none;
}
.about-image-cap {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  color: var(--ivory);
  z-index: 2;
}
.about-image-cap .name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
}
.about-image-cap .role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 4px;
}
.about-text h2 { margin-bottom: 32px; }
.about-text p { margin-bottom: 20px; }
.about-text .pull {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.3;
  font-style: italic;
  font-weight: 300;
  color: var(--navy);
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  margin: 32px 0;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-stat .num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--navy);
}
.about-stat .num .gold { color: var(--gold); font-style: italic; }
.about-stat .lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 8px;
}

/* ----- Practice areas ----- */
.practice {
  background: var(--paper);
}
.practice-list {
  border-top: 1px solid var(--line);
}
.practice-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 2fr 200px 30px;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding 280ms cubic-bezier(.2,.7,.2,1), background 280ms ease;
  position: relative;
}
.practice-row:hover {
  padding-left: 16px;
  padding-right: 16px;
}
.practice-row:hover .practice-arrow {
  transform: translateX(8px);
  color: var(--gold);
}
.practice-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 100%;
  background: var(--gold);
  transition: width 280ms cubic-bezier(.2,.7,.2,1);
}
.practice-row:hover::before { width: 3px; }
.practice-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  font-style: italic;
}
.practice-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy);
}
.practice-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
}
.practice-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.practice-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  color: var(--slate);
}
.practice-arrow {
  font-size: 18px;
  color: var(--navy);
  transition: transform 280ms ease, color 280ms ease;
}

@media (max-width: 1000px) {
  .practice-row {
    grid-template-columns: 40px 1fr 30px;
    gap: 16px;
  }
  .practice-desc, .practice-tags { display: none; }
}

/* ----- Cases ----- */
.cases {
  background: var(--navy);
  color: var(--ivory);
}
.cases .section-head .lead { color: rgba(245, 241, 232, 0.75); }
.cases .section-head h2 { color: var(--ivory); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}
.case-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}
.case-card:hover { transform: translateY(-4px); }
.case-card.feat { grid-column: span 7; }
.case-card.std { grid-column: span 5; }
.case-card:nth-child(3) { grid-column: span 5; }
.case-card:nth-child(4) { grid-column: span 7; }
@media (max-width: 900px) {
  .case-card, .case-card.feat, .case-card.std { grid-column: span 12; }
}
.case-img {
  aspect-ratio: 16/10;
  background: var(--navy-3);
  position: relative;
  overflow: hidden;
}
.case-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.3) 100%);
}
.case-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
}
.case-card:hover .case-img img { transform: scale(1.04); }
.case-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  gap: 12px;
}
.case-tag .year { color: rgba(245, 241, 232, 0.5); }
.case-tag .dot { width: 3px; height: 3px; background: rgba(245,241,232,0.4); border-radius: 50%; }
.case-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ivory);
  max-width: 24ch;
}
.case-card.feat .case-title { font-size: 38px; }
.case-meta {
  font-size: 13px;
  color: rgba(245, 241, 232, 0.6);
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ----- Team ----- */
.team {
  background: var(--ivory);
}
.team-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.team-filter {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid transparent;
  color: var(--slate);
  transition: all 200ms ease;
}
.team-filter:hover { color: var(--navy); }
.team-filter.active {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  cursor: pointer;
  transition: opacity 320ms ease;
}
.team-card.dim { opacity: 0.25; }
.team-photo {
  aspect-ratio: 3/4;
  background: var(--ivory-2);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
  transition: filter 600ms ease, transform 800ms cubic-bezier(.2,.7,.2,1);
}
.team-card:hover .team-photo img {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.03);
}
.team-photo .overlay-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 480ms cubic-bezier(.2,.7,.2,1);
}
.team-card:hover .overlay-line { width: 100%; }
.team-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-role {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.team-spec {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-dim);
}

/* ----- Insights ----- */
.insights { background: var(--paper); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr; } }
.insight-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  transition: border-color 240ms ease;
}
.insight-card:hover { border-top-color: var(--navy); }
.insight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.insight-meta .cat { color: var(--gold-dim); font-weight: 600; }
.insight-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ivory-2);
}
.insight-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
}
.insight-card:hover .insight-img img { transform: scale(1.04); }
.insight-title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--navy);
}
.insight-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
}
.insight-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ----- Contact ----- */
.contact {
  background: var(--navy);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "BY";
  position: absolute;
  bottom: -8%; right: -4%;
  font-family: var(--font-display);
  font-size: clamp(280px, 40vw, 560px);
  line-height: 0.8;
  font-weight: 300;
  color: rgba(184, 146, 74, 0.05);
  pointer-events: none;
  letter-spacing: -0.04em;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact h2 { color: var(--ivory); margin-bottom: 32px; }
.contact .lead { color: rgba(245, 241, 232, 0.75); margin-bottom: 40px; max-width: 44ch; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-ivory);
}
.contact-info-row .lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-info-row .val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ivory);
}
.contact-info-row .sub {
  font-size: 13px;
  color: rgba(245, 241, 232, 0.6);
  margin-top: 4px;
}

/* Form */
.form {
  background: var(--navy-2);
  border: 1px solid var(--line-ivory);
  padding: 48px;
}
.form-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.6);
}
.form-progress {
  flex: 1;
  height: 1px;
  background: rgba(245, 241, 232, 0.15);
  margin-left: 24px;
  position: relative;
}
.form-progress::after {
  content: "";
  position: absolute;
  left: 0; top: 0; height: 100%;
  background: var(--gold);
  transition: width 480ms cubic-bezier(.2,.7,.2,1);
}
.form h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 32px;
  line-height: 1.2;
}
.form-field {
  margin-bottom: 24px;
  position: relative;
}
.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
  font-weight: 500;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 241, 232, 0.2);
  padding: 12px 0;
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 15px;
  outline: none;
  transition: border-color 200ms ease;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-bottom-color: var(--gold);
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(245, 241, 232, 0.35); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--navy); color: var(--ivory); }

.form-radios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.form-radio {
  padding: 14px 16px;
  border: 1px solid rgba(245, 241, 232, 0.2);
  font-size: 13px;
  text-align: left;
  color: rgba(245, 241, 232, 0.8);
  transition: all 200ms ease;
  cursor: pointer;
}
.form-radio:hover { border-color: var(--gold); color: var(--ivory); }
.form-radio.selected {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 600;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-ivory);
}
.form-back {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.6);
  font-weight: 600;
  transition: color 200ms ease;
}
.form-back:hover { color: var(--ivory); }
.form-back.hidden { visibility: hidden; }

.form-success {
  text-align: center;
  padding: 24px 0;
}
.form-success .check {
  width: 60px; height: 60px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
  font-size: 22px;
}
.form-success h3 { margin-bottom: 16px; }
.form-success p { color: rgba(245, 241, 232, 0.7); max-width: 36ch; margin: 0 auto; }

.form-error {
  font-size: 12px;
  color: #d97757;
  margin-top: 6px;
}

/* ----- FAQ ----- */
.faq { background: var(--ivory); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 48px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.faq-q-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
  flex: 1;
}
.faq-q-icon {
  font-size: 20px;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 300;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 480ms cubic-bezier(.2,.7,.2,1), padding-top 320ms ease;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.65;
  padding-right: 48px;
}
.faq-item.open .faq-a {
  max-height: 320px;
  padding-top: 16px;
}

/* ----- Footer ----- */
.footer {
  background: #060f1c;
  color: rgba(245, 241, 232, 0.6);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line-ivory);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-ivory);
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  font-size: 14px;
  color: rgba(245, 241, 232, 0.7);
  transition: color 200ms ease;
}
.footer ul a:hover { color: var(--gold-bright); }
.footer-brand {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 16px;
}
.footer-brand .dot { color: var(--gold); }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: rgba(245, 241, 232, 0.6);
  max-width: 32ch;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245, 241, 232, 0.4);
  flex-wrap: wrap;
  gap: 16px;
}

/* ----- Tweaks panel overrides ----- */
.tweaks-trigger {
  background: var(--navy) !important;
  color: var(--ivory) !important;
}
