:root {
  --nav-h: 86px;
  --bg: #faf8f4;
  --bg-alt: #f3efe7;
  --ink: #1a1d2e;
  --ink-soft: #3d4259;
  --muted: #6b6f82;
  --line: #d8d3c7;
  --line-soft: #e8e3d6;
  --navy: #232969;
  --navy-deep: #1a1f55;
  --brass: #a4824a;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--navy-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--navy);
}

a.link:hover {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

/* ------- LAYOUT ------- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* ------- NAV ------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.brand-mark {
  height: 42px;
  width: auto;
}
.brand-word {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--navy-deep);
  font-weight: 500;
}
.brand-word em {
  font-style: normal;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--brass);
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-weight: 400;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  cursor: pointer;
}
.nav-links a.active {
  color: var(--navy-deep);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--brass);
}
.nav-lang {
  display: flex;
  gap: 2px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.nav-lang span {
  cursor: pointer;
  padding: 2px 6px;
}
.nav-lang span.on {
  color: var(--navy-deep);
  font-weight: 500;
}

.nav-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.icon-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.icon-btn svg {
  width: 15px;
  height: 15px;
}

/* nav over hero – light mode */
.nav--hero {
  background: transparent;
  /* backdrop-filter: none;
  -webkit-backdrop-filter: none; */
  border-bottom: 1px solid var(--line);
}
.nav--hero .brand-word {
  color: #fff;
}
.nav--hero .brand-word em {
  color: rgba(255, 255, 255, 0.7);
}
.nav--hero .nav-links {
  color: rgba(255, 255, 255, 0.75);
}
.nav--hero .nav-links a:hover {
  color: #fff;
}
.nav--hero .nav-links a.active {
  color: #fff;
}
.nav--hero .nav-lang {
  color: rgba(255, 255, 255, 0.5);
  border-left-color: rgba(255, 255, 255, 0.2);
}
.nav--hero .nav-lang span.on {
  color: #fff;
}
.nav--hero .icon-btn {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.3);
}
.nav--hero .icon-btn:hover {
  color: #fff;
  border-color: #fff;
}

/* ------- HERO ------- */
.hero {
  margin-top: calc(-1 * var(--nav-h));
  padding-top: var(--nav-h);
  min-height: 100vh;
  background: linear-gradient(90deg,rgba(32, 39, 105, 1) 0%, rgba(26, 31, 85, 1) 33%, rgba(26, 31, 85, 1) 66%, rgba(20, 25, 66, 1) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero .container {
  /* max-width: 820px; */
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
.hero-text {
  flex: 1 1 auto;
  min-width: 0;
}
.hero-logo {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}
.hero-logo img {
  width: clamp(180px, 22vw, 300px);
  height: auto;
  opacity: 0.92;
}
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 40px;
  }
  .hero-logo img {
    width: clamp(140px, 38vw, 220px);
  }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}
.hero h1 {
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.90);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  font-family: "Inter", sans-serif;
}
.btn-primary {
  background: var(--navy-deep);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy);
  color: #fff;
}
.btn-ghost {
  background: rgba(0, 0, 0, 0.2);
  color: var(--navy-deep);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.btn:hover svg {
  transform: translateX(3px);
}
.hero .btn-primary {
  background: #fff;
  color: var(--navy-deep);
}
.hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
}
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.about-portrait {
  width: 100%;
  overflow: hidden;
  margin-bottom: 28px;
}
.about-portrait img {
  width: 50%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(15%) contrast(1.02);
}

/* marquee / ticker */
.ticker {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0;
  overflow: hidden;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-inner {
  display: flex;
  gap: 48px;
  animation: tick 45s linear infinite;
}
.ticker-inner > span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker-inner > span::after {
  content: "◆";
  color: var(--brass);
  font-size: 8px;
}
@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ------- SECTIONS ------- */
section.block {
  padding: 100px 0;
}
section.block-alt {
  background: var(--bg-alt);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "§";
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: var(--navy);
  font-style: italic;
}
.section-title {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1;
  max-width: 720px;
}
.section-title em {
  font-style: italic;
  color: var(--navy);
}
.section-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.service {
  padding: 48px 40px 48px 0;
  border-bottom: 1px solid var(--line);
}
.service:nth-child(even) {
  padding-left: 40px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}
.service h3 {
  font-size: 28px;
  margin-bottom: 16px;
}
.service-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-style: italic;
  color: var(--brass);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.service p {
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-size: 15.5px;
}
.service ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service ul li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.service ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 1px;
  background: var(--brass);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-meta {
  position: sticky;
  top: 120px;
}
.about-meta h3 {
  font-size: 40px;
  margin-bottom: 8px;
}
.about-meta .role {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 32px;
}
.about-meta dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  font-size: 14px;
  margin-top: 28px;
}
.about-meta dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-top: 3px;
}
.about-meta dd {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.about-body p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  line-height: 1.7;
}
.about-body p:first-child::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-size: 68px;
  font-weight: 400;
  float: left;
  line-height: 0.9;
  margin: 6px 12px 0 0;
  color: var(--navy);
}

.timeline {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.timeline h4 {
  font-size: 22px;
  margin-bottom: 20px;
}
.timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.timeline-row:last-child {
  border-bottom: none;
}
.timeline-year {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--navy);
}
.timeline-desc {
  color: var(--ink-soft);
}

/* Quote */
.quote-block {
  text-align: center;
  padding: 120px 0;
  background: linear-gradient(90deg,rgba(32, 39, 105, 1) 0%, rgba(26, 31, 85, 1) 33%, rgba(26, 31, 85, 1) 66%, rgba(20, 25, 66, 1) 100%);
  color: #f1ece1;
  position: relative;
}
.quote-block::before {
  content: '"';
  font-family: "Cormorant Garamond", serif;
  font-size: 240px;
  color: var(--brass);
  opacity: 0.25;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}
.quote-block blockquote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3.2vw, 44px);
  font-style: italic;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  font-weight: 300;
  position: relative;
}
.quote-block cite {
  display: block;
  margin-top: 36px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Insights / articles strip */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.insight {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  /* cursor: pointer; */
  transition: background 0.25s;
}
.insight:last-child {
  border-right: none;
}
.insight:hover {
  background: var(--bg-alt);
}
.insight-cat {
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
  font-weight: 500;
}
.insight h4 {
  font-size: 22px;
  line-height: 1.2;
  /* margin-bottom: 18px;
  min-height: 80px; */
}
.insight-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.insight-meta::after {
  content: "→";
  margin-left: auto;
  color: var(--navy);
  font-size: 16px;
  transition: transform 0.2s;
}
.insight:hover .insight-meta::after {
  transform: translateX(4px);
}

/* ProBono */
.probono {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.probono-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.probono-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: center;
}
.probono-card .num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 44px;
  color: var(--navy);
  line-height: 1;
}
.probono-card h4 {
  font-size: 20px;
  margin-bottom: 6px;
}
.probono-card p {
  font-size: 14px;
  color: var(--muted);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info {
  padding: 20px 0;
}
.contact-info .label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-info .val {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: var(--navy-deep);
  margin-bottom: 28px;
  line-height: 1.3;
}
.contact-info .val a:hover {
  color: var(--brass);
}

.form-wrap {
  background: #fff;
  padding: 48px;
  border: 1px solid var(--line);
}
.form-wrap h3 {
  font-size: 28px;
  margin-bottom: 24px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  font-weight: 300;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--navy);
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--navy);
}
.checkbox-row a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
}
.form-status.is-visible {
  display: block;
}
.form-status.is-ok {
  border-color: rgba(35, 41, 105, 0.35);
  color: var(--navy-deep);
  background: rgba(35, 41, 105, 0.05);
}
.form-status.is-err {
  border-color: rgba(164, 74, 74, 0.35);
  color: #7a2f2f;
  background: rgba(164, 74, 74, 0.06);
}
.form-wrap button:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* Footer */
footer {
  background: linear-gradient(90deg,rgba(32, 39, 105, 1) 0%, rgba(26, 31, 85, 1) 33%, rgba(26, 31, 85, 1) 66%, rgba(20, 25, 66, 1) 100%);
  color: #b9bcd1;
  /* padding: 80px 0 30px; */
  padding: 80px 0 10px;
  font-size: 13.5px;
}
footer a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand-word {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  display: block;
}
footer h5 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7a7f99;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a {
  margin-left: 18px;
}

/* Sub-pages */
.subpage-hero {
  padding: 80px 0 40px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 60px;
}
.subpage-hero .breadcrumb {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.subpage-hero .breadcrumb a {
  cursor: pointer;
}
.subpage-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
}
.subpage-content {
  padding-bottom: 120px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.subpage-content h2 {
  font-size: 28px;
  margin: 48px 0 18px;
  color: var(--navy-deep);
}
.subpage-content h2:first-child {
  margin-top: 0;
}
.subpage-content h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--navy-deep);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.subpage-content p {
  margin-bottom: 16px;
}
.subpage-content ul {
  margin: 0 0 18px 20px;
}
.subpage-content li {
  margin-bottom: 8px;
}
.subpage-content .num {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--brass);
  margin-right: 12px;
}
.callout {
  background: var(--bg-alt);
  border-left: 2px solid var(--brass);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* responsive */
@media (max-width: 960px) {
  .about-meta {
    position: static;
  }
  .nav-links {
    display: none;
  }
  .about-grid,
  .contact,
  .probono {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
  .insight:nth-child(2) {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .about-portrait {
    max-width: 420px;
    margin: 0 auto 28px;
  }
  .form-wrap {
    padding: 28px;
  }
}

@media (max-width: 576px) {
  .nav-icons {
    gap: 8px;
  }
  .nav-icons .nav-lang span {
    padding: 2px;
  }
}


@media (max-width: 480px) {
  .nav-icons .nav-lang {
    padding-left: 8px;
  }
  .nav-icons .nav-lang .slash {
    display: none;
  }
  .nav-icons .nav-lang .on {
    display: none;
  }
}


/* Page transitions */
.page-enter {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
