:root {
  --bg: #f7f5f0;
  --bg-soft: #edf3ee;
  --bg-soft-2: #f3efe7;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #16201d;
  --muted: #566460;
  --line: rgba(22, 32, 29, 0.1);
  --accent: #2f7a58;
  --accent-deep: #204f40;
  --accent-soft: #dceee2;
  --gold: #9f8150;
  --shadow: 0 20px 50px rgba(19, 29, 26, 0.08);
  --shadow-soft: 0 14px 30px rgba(19, 29, 26, 0.06);
  --radius: 28px;
  --radius-sm: 20px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #faf8f3 0%, #f7f4ef 55%, #f3f5f0 100%);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.8; margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.container { width: var(--container); margin: 0 auto; position: relative; z-index: 2; }
.section { padding: 104px 0; position: relative; }
.section-soft {
  background:
    linear-gradient(180deg, rgba(220, 238, 226, 0.38), rgba(255,255,255,0.2)),
    linear-gradient(90deg, rgba(47,122,88,0.04), rgba(255,255,255,0));
}
.narrow { max-width: 780px; margin-bottom: 40px; }
.section-intro { margin-top: 16px; max-width: 56ch; }

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 340px; height: 340px; background: rgba(47, 122, 88, 0.22); top: 20px; right: -70px; }
.orb-2 { width: 300px; height: 300px; background: rgba(160, 129, 79, 0.13); bottom: 12%; left: -80px; }
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(22,32,29,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,32,29,0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}

.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(18px);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(250, 248, 243, 0.78);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(19,29,26,0.04);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 86px;
}
.brand {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.brand span { color: var(--accent); }
.nav-panel {
  display: flex; align-items: center; gap: 18px;
}
.nav {
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
}
.nav a {
  font-size: 0.94rem; color: var(--muted); position: relative; padding-bottom: 4px;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.lang-toggle {
  border: 1px solid rgba(22,32,29,0.08);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.lang-toggle .divider { opacity: 0.45; margin: 0 4px; }
.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.76);
  box-shadow: var(--shadow-soft);
  padding: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px; margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { padding-top: 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
}
.hero-copy { padding-right: 12px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47,122,88,0.18);
  background: rgba(220,238,226,0.62);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(3.5rem, 8vw, 6.2rem); margin-bottom: 18px; max-width: 10.5ch; }
.section-heading h2,
.badge-title,
.spotlight h2,
.statement-card h2,
.contact-card h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.lead { font-size: 1.05rem; max-width: 60ch; }
.hero-highlights {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.highlight-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(22,32,29,0.08);
  color: var(--text);
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
}
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #418462);
  color: white;
  box-shadow: 0 18px 34px rgba(47,122,88,0.2);
}
.btn-secondary {
  background: rgba(255,255,255,0.74); border: 1px solid var(--line); color: var(--text);
}

.hero-visual { position: relative; }
.portrait-wrap {
  position: relative;
  padding: 34px 24px 28px 46px;
}
.portrait-wrap::before {
  content: '';
  position: absolute;
  inset: 34px 0 0 70px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(47,122,88,0.16), rgba(255,255,255,0.35));
  border: 1px solid rgba(47,122,88,0.12);
}
.portrait-card {
  position: relative;
  max-width: 470px;
  margin-left: auto;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(24, 35, 31, 0.16);
}
.portrait-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.floating-note {
  position: absolute;
  z-index: 3;
  max-width: 240px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.floating-note-top { left: 0; top: 58px; }
.floating-note-bottom { left: 24px; bottom: 0; }
.note-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.note-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-deep);
  margin-bottom: 4px;
}

.hero-metrics {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}
.hero-card, .stat-card, .content-card, .info-card, .service-card, .statement-card, .contact-card, .spotlight {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.badge-card { padding: 30px; }
.badge-label { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.badge-title { margin: 12px 0 10px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat-card {
  padding: 22px 18px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.72));
}
.stat-number { display: block; font-size: 1.7rem; font-weight: 800; margin-bottom: 6px; }
.stat-label { color: var(--muted); font-size: .93rem; line-height: 1.45; }

.split-grid, .cards-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.profile-layout { align-items: center; }
.reverse { grid-template-columns: 1fr 1fr; }
.content-card, .info-card { padding: 34px; }
.content-card p + p, .info-card li + li { margin-top: 16px; }
.detail-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.85; }

.timeline {
  position: relative; display: grid; gap: 18px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 122px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(47,122,88,0.26), rgba(47,122,88,0.06));
}
.timeline-item {
  display: grid; grid-template-columns: 104px 1fr; gap: 24px; align-items: start;
}
.timeline-date {
  color: var(--gold); font-size: .9rem; font-weight: 700; padding-top: 18px;
}
.timeline-card {
  position: relative;
  padding: 26px 26px 26px 30px;
  background: var(--surface-strong);
  border: 1px solid rgba(22,32,29,0.06);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.timeline-card::before {
  content: '';
  position: absolute;
  left: -29px; top: 30px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(47,122,88,.12);
}
.timeline-card h3 { font-size: 1.7rem; margin-bottom: 8px; }
.role { color: var(--accent); font-weight: 700; margin-bottom: 8px; }

.spotlight {
  padding: 56px;
  text-align: center;
  background: linear-gradient(135deg, rgba(40,98,72,0.96), rgba(77,136,100,0.9));
  color: white;
}
.spotlight p { color: rgba(255,255,255,.9); max-width: 780px; margin: 0 auto; }
.spotlight-tag {
  display: inline-block; padding: 8px 14px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  margin-bottom: 14px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}

.service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.service-card {
  padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.68));
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 46px rgba(27,36,44,0.12); }
.service-card .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.9rem; }

.statement-card {
  padding: 46px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(235,244,238,0.88));
}
.statement-card p { max-width: 840px; margin: 0 auto; }

.contact-card {
  padding: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.contact-details { display: grid; gap: 12px; font-weight: 700; min-width: min(100%, 340px); }
.contact-details a {
  padding: 15px 18px;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color .2s ease, transform .2s ease;
}
.contact-details a:hover { border-color: rgba(47,122,88,.28); transform: translateY(-1px); }

.back-to-top {
  position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(22,32,29,.9); color: white; box-shadow: var(--shadow); z-index: 30;
}
.site-footer { padding: 28px 0 44px; }
.footer-wrap { display: flex; justify-content: center; color: var(--muted); }

.reveal {
  opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: 26px;
    align-items: start;
  }
  .hero-copy {
    padding-right: 0;
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(3.1rem, 6.8vw, 4.9rem);
    max-width: 7.2ch;
  }
  .hero-visual {
    max-width: none;
    width: 100%;
    margin: 0;
    align-self: start;
  }
  .portrait-wrap {
    padding: 24px 12px 24px 30px;
  }
  .portrait-wrap::before {
    inset: 26px 0 0 34px;
  }
  .floating-note {
    max-width: min(210px, 32vw);
  }
  .floating-note-top { left: -4px; top: 18px; }
  .floating-note-bottom { left: 10px; bottom: 8px; }
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 980px) {
  .section { padding: 92px 0; }
  .hero { padding-top: 40px; }
  .nav-wrap {
    min-height: 78px;
    gap: 12px;
  }
  .brand {
    max-width: min(72vw, 320px);
    line-height: 1.1;
  }
  .menu-toggle { display: inline-block; }
  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(250,248,243,0.97);
    border: 1px solid rgba(22,32,29,0.08);
    box-shadow: 0 22px 44px rgba(19, 29, 26, 0.12);
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav {
    display: grid;
    gap: 6px;
  }
  .nav a {
    font-size: 1rem;
    padding: 10px 2px;
  }
  .lang-toggle {
    width: fit-content;
  }
  .split-grid, .cards-2, .reverse {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .profile-layout {
    gap: 24px;
  }
  .contact-card {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline {
    gap: 14px;
  }
  .timeline::before { display: none; }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .timeline-date {
    padding-top: 0;
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(220,238,226,0.72);
    border: 1px solid rgba(47,122,88,0.12);
  }
  .timeline-card::before { display: none; }
  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (min-width: 981px) {
  .nav-panel { position: static; opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto !important; }
}

@media (max-width: 820px) {
  .hero-grid {
    gap: 28px;
  }
  .hero-copy {
    text-align: left;
  }
  .hero-highlights {
    gap: 8px;
  }
  .highlight-pill {
    font-size: 0.88rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .portrait-wrap {
    padding: 18px 8px 82px;
  }
  .portrait-wrap::before {
    inset: 24px 8px 34px 8px;
  }
  .portrait-card {
    max-width: min(100%, 560px);
    margin-inline: auto;
  }
  .floating-note {
    max-width: min(240px, 45vw);
  }
  .floating-note-top { left: 0; top: 0; }
  .floating-note-bottom { left: 16px; bottom: 18px; }
  .statement-card,
  .spotlight {
    padding: 36px 28px;
  }
}


@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-visual {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
  }
  .hero-copy {
    order: 1;
  }
  .hero h1 {
    max-width: 10.5ch;
  }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .hero { padding-top: 34px; }
  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
    max-width: 11ch;
  }
  .section-heading h2,
  .badge-title,
  .spotlight h2,
  .statement-card h2,
  .contact-card h2 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .btn {
    width: 100%;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .content-card, .info-card, .service-card, .statement-card, .contact-card, .spotlight, .badge-card {
    padding: 24px;
  }
  .contact-details {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .nav-wrap {
    min-height: 72px;
  }
  .brand {
    font-size: 0.92rem;
    max-width: calc(100% - 64px);
  }
  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    padding: 8px 12px;
  }
  .lead,
  p,
  .stat-label,
  .highlight-pill {
    font-size: 0.96rem;
  }
  .hero-highlights {
    display: grid;
    grid-template-columns: 1fr;
  }
  .highlight-pill {
    width: 100%;
    text-align: center;
  }
  .portrait-wrap {
    padding: 8px 0 0;
  }
  .portrait-wrap::before {
    inset: 12px 0 0;
    border-radius: 24px;
  }
  .floating-note {
    position: static;
    margin-top: 14px;
    max-width: none;
  }
  .floating-note-bottom {
    margin-top: 10px;
  }
  .hero-metrics {
    margin-top: 28px;
  }
  .badge-title {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 3.8rem);
    max-width: none;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .nav-panel {
    left: 12px;
    right: 12px;
    padding: 16px;
    border-radius: 18px;
  }
  .section-heading h2,
  .badge-title,
  .spotlight h2,
  .statement-card h2,
  .contact-card h2 {
    font-size: clamp(1.95rem, 10vw, 2.55rem);
  }
  .portrait-card {
    border-radius: 22px;
  }
  .content-card,
  .info-card,
  .service-card,
  .statement-card,
  .contact-card,
  .spotlight,
  .badge-card,
  .timeline-card {
    padding: 20px;
  }
  .back-to-top {
    width: 44px;
    height: 44px;
  }
}
