:root {
  --navy: #0d1b2a;
  --deep: #112233;
  --gold: #c9a84c;
  --gold-lt: #e8cc80;
  --cream: #f5f0e8;
  --muted: #8a9ab0;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}
main {
  flex: 1;
}

/* ── ACCESSIBILITY ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 999;
  background: var(--gold);
  color: var(--navy);
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip-link:focus { left: 1rem; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 5%;
  background: rgba(13,27,42,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  animation: fadeDown 0.8s ease both;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  min-width: 0;
}

.logo {
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  /* white-space: nowrap; */
  text-decoration: none;
  line-height: 1;
}

.logo span { color: var(--white); }

.brand-subtitle {
  /* color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
  max-width: 290px; */
  max-width: 270px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(138, 154, 176, 0.85);
  margin: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a,
.dropdown-toggle {
  text-decoration: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

.dropdown-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.dropdown-toggle:hover,
.dropdown-toggle:focus-visible { color: var(--gold); }

.nav-item { position: relative; }

.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 1rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  min-width: 250px;
  list-style: none;
  padding: 0.6rem;
  background: rgba(13,27,42,0.98);
  border: 1px solid rgba(201,168,76,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 0.85rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.84rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201,168,76,0.35);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 5% 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.02) 50%, transparent 70%);
  pointer-events: none;
}

.star-grid {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 28px;
  opacity: 0.18;
  animation: fadeIn 1.5s 0.6s ease both;
}

.star-grid span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-tag,
.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-tag { margin-bottom: 2rem; animation: fadeUp 0.8s 0.3s ease both; }
.section-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 1.8rem;
  animation: fadeUp 0.8s 0.5s ease both;
}

h1 em { font-style: normal; color: var(--gold); }

.hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3rem;
  animation: fadeUp 0.8s 0.7s ease both;
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.9s ease both;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.4rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-outline { border: 1px solid rgba(201,168,76,0.4); color: var(--gold); }
.btn-outline:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ── HOME CARDS ── */
.homepage-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5px;
  background: rgba(201,168,76,0.08);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.home-link-card {
  display: block;
  min-height: 260px;
  padding: 2.8rem 2.4rem;
  background: var(--deep);
  color: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.home-link-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.home-link-card:hover { background: #0f2035; }
.home-link-card:hover::after { width: 100%; }
.home-link-card span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  color: rgba(201,168,76,0.18);
}
.home-link-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 400;
  margin: 1rem 0 0.8rem;
}
.home-link-card p { color: var(--muted); line-height: 1.75; font-size: 0.9rem; }

.cta-strip {
  padding: 6rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(201,168,76,0.08);
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
}

/* ── INNER PAGES ── */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 10rem 5% 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -12%;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(201,168,76,0.08), transparent 70%);
}

.page-hero-content { position: relative; z-index: 2; max-width: 760px; }
.page-hero p { color: var(--muted); line-height: 1.8; max-width: 620px; margin-top: 1.2rem; }

.content-section { padding: 6rem 5%; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.content-card {
  background: var(--deep);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 2.2rem;
  scroll-margin-top: 7rem;
}

.content-card .meta {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.content-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.content-card p,
.text-page p,
.text-page li {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.95rem;
}

.expertise-card {
  scroll-margin-top: 8rem;
}

.expertise-title-link {
  color: inherit;
  text-decoration: none;
}

.expertise-title-link:hover,
.expertise-title-link:focus-visible {
  color: var(--gold);
}

.expertise-details {
  display: none;
  margin-top: 1rem;
}

.expertise-card:target .expertise-details {
  display: block;
}

.expertise-card:target {
  border-color: rgba(201, 168, 76, 0.35);
}

.approach-list {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(201, 168, 76, 0.14);
}

.approach-list h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.9rem;
}

.approach-list ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.approach-list li {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.approach-list strong {
  color: var(--gold);
  font-weight: 600;
}

.text-page { max-width: 850px; }
.text-page h2,
.text-page h3 { margin: 2rem 0 1rem; }
.text-page ul { padding-left: 1.2rem; margin-bottom: 1.5rem; }

.split-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: 4rem;
  align-items: start;
}

/* ── CONTACT ── */
.contact {
  padding: 7rem 5%;
  background: var(--deep);
  border-top: 1px solid rgba(201,168,76,0.1);
  text-align: center;
}

.page-contact { background: transparent; border-top: 0; }
.contact h2 { margin-bottom: 1rem; }
.contact p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: 0.93rem;
  line-height: 1.8;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(201,168,76,0.1);
}

.contact-item { text-align: center; }
.contact-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-item .value { font-size: 0.9rem; color: var(--muted); }

/* ── FOOTER ── */
footer {
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
footer .logo { font-size: 1.2rem; }
footer p {
  font-size: 0.75rem;
  color: rgba(138,154,176,0.6);
  letter-spacing: 0.05em;
}
.footer-link {
  color: rgba(138,154,176,0.6);
  font-size: 0.75rem;
  text-decoration: none;
}
.footer-link:hover { color: var(--gold); }

.cta-tag::before {
  display: none;
}

.cta-tag {
  margin-bottom: 1.5rem;
}

.cta-text {
  margin-bottom: 1.5rem;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.18; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .site-nav { align-items: flex-start; }
  .brand-lockup { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .brand-subtitle { max-width: 240px; }
  .nav-links { gap: 1rem; }
}

@media (max-width: 900px) {
  .site-nav { align-items: center; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(13,27,42,0.98);
    border-bottom: 1px solid rgba(201,168,76,0.15);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links > li { border-top: 1px solid rgba(255,255,255,0.05); }
  .nav-links a,
  .dropdown-toggle {
    display: flex;
    width: 100%;
    padding: 1rem 5%;
    text-align: left;
  }
  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    box-shadow: none;
    background: rgba(17,34,51,0.72);
    padding: 0;
  }
  .has-dropdown.is-open .dropdown-menu { display: block; }
  .dropdown-menu a { padding-left: 9%; }
  .hero { padding-top: 8rem; }
  .hero-cta a { width: 100%; text-align: center; }
  .star-grid { display: none; }
  .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info { gap: 2rem; }
  footer { align-items: flex-start; flex-direction: column; }
  .page-hero { min-height: 42vh; padding-top: 8rem; }
}

@media (max-width: 560px) {
  /* .brand-subtitle { display: none; } */
  .logo { font-size: 1.55rem; }
  .hero { min-height: 88vh; }
  .content-section, .contact, .cta-strip { padding-left: 1.25rem; padding-right: 1.25rem; }
}

.work-form {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.work-form fieldset {
  border: 1px solid rgba(201, 168, 76, 0.16);
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
}

.work-form legend {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--cream);
  padding-right: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

.form-field label,
.field-label,
.checkbox-grid label,
.radio-group label,
.consent-field {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.form-field label span,
.consent-field strong {
  color: var(--gold);
}

.optional {
  color: rgba(245, 240, 232, 0.55);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(201, 168, 76, 0.18);
  background: rgba(13, 27, 42, 0.72);
  color: var(--cream);
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 0;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.checkbox-grid,
.radio-group {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.8rem;
  margin-bottom: 1.2rem;
}

.checkbox-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkbox-grid input,
.radio-group input,
.consent-field input {
  accent-color: var(--gold);
  margin-right: 1rem;
  width: auto;
  height: auto;
}

.consent-field {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.form-actions {
  margin-top: 0.5rem;
}

@media (max-width: 720px) {
  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .work-form fieldset {
    padding: 1.4rem;
  }
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  font-size: 0.95rem;
}

.form-status.is-success {
  color: #26734d;
}

.form-status.is-error {
  color: #b42318;
}

.btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.is-invalid {
    border-color: #b42318 !important;
    outline: none;
}

.is-invalid:focus {
    border-color: #b42318 !important;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15);
}

.has-error {
    position: relative;
}

fieldset.has-error {
  border-color: #b42318;
}

fieldset.has-error legend {
  color: #b42318;
  font-weight: 600;
}

fieldset.has-error .consent-field {
  color: #b42318;
}

.language-switcher a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  color: var(--gold-lt);
  opacity: 1;
}

.language-switcher a[aria-current="page"] {
  color: var(--cream);
  opacity: 1;
  font-weight: 600;
}

.language-switcher span {
  color: var(--muted);
  opacity: 0.7;
}

/* .policy-preview-link{
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.5rem 0.9rem;
  background: #F5F0E8;
  border: 1px solid #C9A84C;
  border-radius: 6px;
  color: #0D1B2A;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.policy-preview-link:hover{
  background: #0D1B2A;
  color: #E8CC80;
  border-color: #E8CC80;
} */

.policy-preview-link{
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.5rem 0.9rem;
  background: #0D1B2A;
  border: 1px solid #C9A84C;
  border-radius: 6px;
  color: #E8CC80;
  border-color: #E8CC80;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.policy-preview-link:hover{
  background: #ab9c71;
  color: #E8CC80;
  border-color: #E8CC80;
}