:root {
  --navy-deep: #0a1f3b;
  --navy-med: #122a4d;
  --navy-line: rgba(198, 161, 91, 0.18);
  --cream: #f7f4ec;
  --cream-2: #efeadc;
  --gold: #c6a15b;
  --gold-light: #e4cd94;
  --ink: #1c2230;
  --ink-soft: #565f72;
  --white: #ffffff;
  --radius: 2px;
  --maxw: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-deep);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--navy-deep);
}
.btn-ghost-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(10, 31, 59, 0);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}
header.scrolled {
  background: rgba(10, 31, 59, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.hero-watermark {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: -6%;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(180px, 26vw, 420px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198, 160, 91, 0.315);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 720px) {
  .hero-watermark {
    display: none;
  }
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.05;
}
.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
}
.logo-text em {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 38px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 2px;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.burger span {
  width: 24px;
  height: 1px;
  background: var(--white);
  display: block;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  background:
    radial-gradient(
      1100px 620px at 82% -10%,
      rgba(198, 161, 91, 0.14),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      var(--navy-deep) 0%,
      #0d2545 60%,
      var(--navy-med) 100%
    );
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("img/building.jpg") center 30% / cover no-repeat;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  filter: grayscale(0.35) contrast(1.05);
  pointer-events: none;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--navy-deep) 0%,
    rgba(10, 31, 59, 0.55) 30%,
    rgba(10, 31, 59, 0.75) 70%,
    var(--navy-med) 100%
  );
}
.hero::before {
  z-index: 1;
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198, 161, 91, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 161, 91, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(
    180deg,
    transparent,
    rgba(0, 0, 0, 0.9) 40%,
    transparent 90%
  );
  pointer-events: none;
}
.hero-pillar {
  position: absolute;
  right: 6%;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent,
    var(--gold) 20%,
    var(--gold) 80%,
    transparent
  );
  opacity: 0.35;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 140px 0 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center; /* bukan 'end' */
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.15s;
}
.hero-kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.3s;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16.5px;
  max-width: 460px;
  margin-top: 26px;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.45s;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 42px;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.6s;
}
.hero-motto {
  border-left: 1px solid var(--navy-line);
  padding-left: 32px;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.75s;
}
.hero-motto p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 23px;
  color: var(--gold-light);
  line-height: 1.4;
}
.hero-motto span {
  display: block;
  margin-top: 14px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--navy-med);
  border-top: 1px solid var(--navy-line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 38px 32px;
  text-align: center;
  border-right: 1px solid var(--navy-line);
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  color: var(--gold-light);
  font-weight: 600;
}
.stat-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

section {
  padding: 120px 0;
}
.section-cream {
  background: var(--cream);
}
.section-white {
  background: var(--white);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.about-frame {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(150deg, var(--navy-deep), var(--navy-med));
  border: 1px solid var(--gold);
  padding: 2px;
}
.about-frame-inner {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(198, 161, 91, 0.25),
      transparent 55%
    ),
    linear-gradient(160deg, #0a1f3b, #16305a);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-frame-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 120px;
  color: rgba(198, 161, 91, 0.35);
  font-style: italic;
  font-weight: 500;
}
.about-frame-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 26px;
  background: rgba(10, 31, 59, 0.55);
  border-top: 1px solid var(--navy-line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.about-copy h2 {
  font-size: 40px;
  margin-bottom: 22px;
}
.about-copy p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin-bottom: 18px;
  max-width: 560px;
}
.about-copy p:last-of-type {
  margin-bottom: 32px;
}

/* ===== WHY CHOOSE ===== */
.why-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.why-head h2 {
  font-size: 40px;
}
.why-head p {
  color: var(--ink-soft);
  margin-top: 16px;
  font-size: 15.5px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(10, 31, 59, 0.1);
  border-left: 1px solid rgba(10, 31, 59, 0.1);
}
.why-card {
  padding: 40px 34px;
  border-right: 1px solid rgba(10, 31, 59, 0.1);
  border-bottom: 1px solid rgba(10, 31, 59, 0.1);
  transition: background 0.3s ease;
}
.why-card:hover {
  background: var(--navy-deep);
}
.why-card:hover h3,
.why-card:hover p {
  color: var(--white);
}
.why-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}
.why-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 16px;
  display: block;
}
.why-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}
.why-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  transition: color 0.3s ease;
}

/* ===== PRACTICE AREAS ===== */
.practice-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.practice-head h2 {
  font-size: 40px;
  max-width: 520px;
}
.practice-head p {
  color: var(--ink-soft);
  max-width: 340px;
  font-size: 14.5px;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(10, 31, 59, 0.1);
}
.practice-item {
  background: var(--white);
  padding: 32px 30px;
  transition:
    background 0.3s ease,
    padding-left 0.3s ease;
  position: relative;
}
.practice-item:hover {
  background: var(--cream-2);
  padding-left: 38px;
}
.practice-item:hover::before {
  opacity: 1;
}
.practice-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.practice-item h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.practice-item p {
  color: var(--ink-soft);
  font-size: 13.5px;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--gold);
}
.service-card {
  padding: 60px 56px;
  background: var(--navy-deep);
  color: var(--white);
}
.service-card.alt {
  background: var(--navy-med);
}
.service-tag {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}
.service-card h3 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 16px;
}
.service-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  margin-bottom: 30px;
  max-width: 400px;
}

/* ===== PROCESS ===== */
.process-list {
  max-width: 840px;
  margin: 0 auto;
}
.process-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(10, 31, 59, 0.12);
  align-items: baseline;
}
.process-row:first-child {
  border-top: 1px solid rgba(10, 31, 59, 0.12);
}
.process-tag {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--gold);
}
.process-row h3 {
  font-size: 23px;
  margin-bottom: 6px;
}
.process-row p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(10, 31, 59, 0.12);
}
.team-item {
  background: var(--cream);
  padding: 38px 16px;
  text-align: center;
}
.team-mark {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--gold);
  font-size: 17px;
}
.team-item p {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--navy-deep);
  font-weight: 600;
}

/* ===== MATTERS ===== */
.matters-wrap {
  background: var(--navy-deep);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.matters-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px 400px at 90% 10%,
    rgba(198, 161, 91, 0.12),
    transparent 60%
  );
}
.matters-head {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-bottom: 56px;
}
.matters-head .eyebrow {
  color: var(--gold-light);
}
.matters-head .eyebrow::before {
  background: var(--gold-light);
}
.matters-head h2 {
  color: var(--white);
  font-size: 38px;
}
.matters-head p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 14px;
  font-size: 14.5px;
}
.matters-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 60px;
}
.matter-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--navy-line);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}
.matter-row .mk {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}

/* ===== INSIGHTS ===== */
.insights-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 24px;
}
.insights-head h2 {
  font-size: 38px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-pill {
  font-size: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(10, 31, 59, 0.2);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: all 0.25s ease;
  cursor: default;
}
.tag-pill:hover {
  border-color: var(--gold);
  color: var(--navy-deep);
  background: var(--cream-2);
}

/* ===== TESTIMONIALS ===== */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(10, 31, 59, 0.1);
}
.testi-card {
  background: var(--white);
  padding: 50px 44px;
}
.testi-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 56px;
  color: var(--gold);
  line-height: 0.5;
  display: block;
  margin-bottom: 18px;
}
.testi-card p {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-style: italic;
  color: var(--navy-deep);
  line-height: 1.5;
  margin-bottom: 22px;
}
.testi-src {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 500px at 15% 90%,
    rgba(198, 161, 91, 0.12),
    transparent 60%
  );
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.contact-info h2 {
  color: var(--white);
  font-size: 40px;
  margin-bottom: 20px;
}
.contact-info p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  margin-bottom: 36px;
  max-width: 400px;
}
.info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--navy-line);
}
.info-row:last-child {
  border-bottom: 1px solid var(--navy-line);
}
.info-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  width: 110px;
  flex-shrink: 0;
  padding-top: 2px;
}
.info-val {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
}

.form-panel {
  background: var(--cream);
  padding: 46px 42px;
  border-top: 3px solid var(--gold);
}
.form-panel h3 {
  font-size: 24px;
  margin-bottom: 26px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  border: none;
  border-bottom: 1px solid rgba(10, 31, 59, 0.25);
  background: transparent;
  padding: 10px 2px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.25s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field textarea {
  resize: vertical;
  min-height: 80px;
}
.form-panel .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ===== FOOTER ===== */
footer {
  background: #081527;
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-line);
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13.5px;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
}
.footer-bottom .flinks {
  display: flex;
  gap: 24px;
}
.footer-bottom .flinks a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
}
.footer-bottom .flinks a:hover {
  color: var(--gold-light);
}

/* ===== REVEAL ===== */
:root {
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-smooth),
    transform 0.9s var(--ease-smooth);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LOAD CURTAIN ===== */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 1.1s var(--ease-smooth),
    opacity 0.5s ease 0.4s;
  will-change: transform;
}
.curtain-mark {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: curtainMark 1.2s var(--ease-smooth) forwards 0.2s;
}
@keyframes curtainMark {
  from {
    opacity: 0;
    letter-spacing: 0.5em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.3em;
  }
}
body.loaded .curtain {
  transform: translateY(-100%);
  opacity: 1;
  pointer-events: none;
}
body:not(.loaded) {
  overflow: hidden;
}

/* ===== HOVER LIFT ===== */
.why-card,
.practice-item,
.testi-card,
.team-item,
.service-card,
.about-frame {
  transition:
    opacity 0.9s var(--ease-smooth),
    transform 0.5s var(--ease-smooth),
    box-shadow 0.5s var(--ease-smooth),
    background 0.4s var(--ease-smooth);
  transition-delay: calc(var(--i, 0) * 90ms), 0s, 0s, 0s;
  will-change: transform;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 31, 59, 0.18);
  z-index: 2;
}
.practice-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 31, 59, 0.1);
  z-index: 2;
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 31, 59, 0.12);
}
.team-item {
  transition:
    transform 0.5s var(--ease-smooth),
    background 0.4s var(--ease-smooth);
}
.team-item:hover {
  transform: translateY(-5px);
  background: var(--white);
}
.team-item:hover .team-mark {
  background: var(--gold);
  color: var(--navy-deep);
  transform: scale(1.08);
}
.team-mark {
  transition:
    transform 0.5s var(--ease-smooth),
    background 0.4s var(--ease-smooth),
    color 0.4s var(--ease-smooth);
}
.service-card:hover {
  transform: translateY(-4px);
}
.about-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10, 31, 59, 0.22);
}
.about-frame-mark {
  transition: transform 0.7s var(--ease-smooth);
}
.about-frame:hover .about-frame-mark {
  transform: scale(1.06) rotate(-1deg);
}

.btn {
  transition:
    transform 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth),
    background-color 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth),
    color 0.35s var(--ease-smooth);
  will-change: transform;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(198, 161, 91, 0.3);
}
.btn-ghost:hover,
.btn-ghost-dark:hover {
  transform: translateY(-2px);
}

.matter-row {
  transition:
    padding-left 0.4s var(--ease-smooth),
    border-color 0.4s var(--ease-smooth);
}
.matter-row:hover {
  padding-left: 14px;
  border-color: var(--gold);
}
.matter-row:hover .mk {
  color: var(--gold-light);
}

.tag-pill {
  transition:
    transform 0.4s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth),
    background-color 0.35s var(--ease-smooth),
    color 0.35s var(--ease-smooth);
}
.tag-pill:hover {
  transform: translateY(-3px);
}

.stat-item {
  transition: background 0.4s var(--ease-smooth);
}
.stat-item:hover {
  background: rgba(198, 161, 91, 0.06);
}
.stat-num {
  transition: transform 0.4s var(--ease-smooth);
}
.stat-item:hover .stat-num {
  transform: scale(1.08);
}

.hero-inner {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .curtain {
    display: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .why-grid,
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-motto {
    border-left: none;
    border-top: 1px solid var(--navy-line);
    padding-left: 0;
    padding-top: 28px;
    margin-top: 10px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .matters-list {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
}
@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }
  .nav {
    padding: 18px 20px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .burger {
    display: flex;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
  section {
    padding: 80px 0;
  }
  .why-grid,
  .practice-grid,
  .services-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .practice-head,
  .insights-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 0px 12px;
  }
  .logo-text {
    display: none;
  }
  .logo-img {
    height: 60px;
  }
  .nav-cta .btn-gold {
    display: none;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .hero-kicker,
  .hero h1,
  .hero-sub,
  .hero-actions,
  .hero-motto,
  .hero-tags {
    opacity: 1;
    transform: none;
  }
  .curtain {
    display: none;
  }
}
