:root {
  --bg: #0d0d0f;
  --surface: #141417;
  --surface2: #1c1c21;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201,168,76,.15);
  --text: #f0ede8;
  --text-mid: #c4bfb8;
  --text-dim: #85817c;
  --accent: #2a6049;
  --border: rgba(201,168,76,.20);
  --danger: #9d463b;
}

html.light {
  --bg: #f3f1ec;
  --surface: #e9e6df;
  --surface2: #dedbd3;
  --gold: #8d6b19;
  --gold-light: #a8832b;
  --gold-dim: rgba(141,107,25,.10);
  --text: #171717;
  --text-mid: #44413c;
  --text-dim: #716d66;
  --accent: #24573f;
  --border: rgba(73,60,28,.20);
  --danger: #8b332b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 48px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid transparent;
  transition: .35s ease;
  background: linear-gradient(to bottom, rgba(13,13,15,.94), transparent);
}
html.light nav { background: linear-gradient(to bottom, rgba(243,241,236,.94), transparent); }
nav.scrolled {
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: .02em;
  color: var(--text);
}
.logo span, .footer-logo span { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-dropdown { position: relative; }
.lang-dropdown::after {
  content: ''; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px;
  border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.lang-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  height: 32px; padding: 0 30px 0 12px;
  border: 1px solid var(--border); background: var(--gold-dim); color: var(--gold);
  font-family: 'DM Mono', monospace; font-size: .64rem; letter-spacing: .08em;
  transition: .2s ease;
}
.lang-select:hover, .lang-select:focus-visible { border-color: var(--gold); outline: none; }
.lang-select option { background: var(--surface); color: var(--text); }
.theme-toggle {
  appearance: none; border: 0; cursor: pointer; color: var(--text-dim);
  background: transparent; font-family: 'DM Mono', monospace;
}
.theme-toggle {
  width: 32px; height: 32px; border: 1px solid var(--border);
  font-size: 1rem; transition: .2s ease;
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); }

.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: 50px; padding: 130px 7vw 70px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 75% 48%, rgba(201,168,76,.07), transparent 70%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(42,96,73,.08), transparent 65%);
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.hero-tag, .section-tag {
  font-family: 'DM Mono', monospace; font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
}
.hero-tag { display: flex; align-items: center; gap: 11px; margin-bottom: 30px; }
.hero-tag::before, .section-tag::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: 'Playfair Display', serif; }
h1 {
  font-weight: 900; font-size: clamp(3.5rem, 7vw, 7.2rem);
  line-height: .9; letter-spacing: -.035em; margin-bottom: 32px;
}
h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  max-width: 620px; color: var(--text-mid); font-size: 1.08rem;
  line-height: 1.75; margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; font-size: .9rem; letter-spacing: .035em;
  transition: .25s ease; cursor: pointer;
}
.btn-primary { background: var(--gold); color: #080808; border: 1px solid var(--gold); font-weight: 600; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(201,168,76,.24); background: var(--gold-light); }
.btn-ghost { border: 1px solid var(--border); color: var(--text-mid); }
.btn-ghost:hover { border-color: var(--gold); color: var(--text); }
.hero-meta {
  display: flex; gap: 24px; margin-top: 42px; flex-wrap: wrap;
  font-family: 'DM Mono', monospace; font-size: .61rem; color: var(--text-dim);
  letter-spacing: .11em;
}
.hero-visual { display: flex; justify-content: center; align-items: center; }
.portrait-frame {
  width: min(480px, 100%); aspect-ratio: 4/5; position: relative;
  border: 1px solid var(--border); background: linear-gradient(145deg, var(--surface), var(--surface2));
  display: flex; justify-content: center; align-items: flex-end; overflow: hidden;
}
.portrait-frame::before {
  content: ''; position: absolute; inset: 12px; border: 1px solid rgba(201,168,76,.10);
}
.portrait-frame::after {
  content: ''; position: absolute; width: 70%; height: 70%;
  right: -20%; bottom: -20%; border-radius: 50%;
  background: rgba(201,168,76,.08); filter: blur(30px);
}
.portrait { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; position: relative; z-index: 2; }
.portrait-fallback {
  display: none; width: 100%; height: 100%; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 8rem; font-weight: 900;
  color: var(--gold); position: relative; z-index: 2;
}
.visual-label {
  position: absolute; bottom: -25px; left: 8%; right: 8%; display: flex;
  justify-content: space-between; font-family: 'DM Mono', monospace; font-size: .6rem;
  letter-spacing: .14em; color: var(--text-dim);
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--surface);
}

.ticker-inner {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.ticker-item {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  padding-right: 60px;
  white-space: nowrap;
  font-family: 'DM Mono', monospace;
  font-size: .64rem;
  color: var(--text-dim);
  letter-spacing: .12em;
}
.ticker-item span:first-child { color: var(--gold); }

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

section { padding: 110px 7vw; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 55px; }
.section-tag { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
h2 { font-size: clamp(2.5rem, 4.8vw, 4.4rem); line-height: 1.03; letter-spacing: -.025em; }
.section-desc { max-width: 540px; color: var(--text-mid); line-height: 1.75; font-size: .98rem; }

.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.experience-card {
  min-height: 330px; background: var(--surface); padding: 38px; position: relative;
  display: flex; flex-direction: column; justify-content: space-between; transition: .3s ease;
}
.experience-card:hover { background: var(--surface2); transform: translateY(-3px); }
.card-number { font-family: 'DM Mono', monospace; font-size: .65rem; color: var(--gold); letter-spacing: .12em; }
.card-icon { font-size: 2rem; color: var(--gold); margin-bottom: 20px; }
.card-kicker { font-family: 'DM Mono', monospace; font-size: .61rem; color: var(--gold); letter-spacing: .15em; margin-bottom: 9px; }
.experience-card h3, .swot-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.experience-card p, .swot-card p { color: var(--text-dim); font-size: .88rem; line-height: 1.7; }
.accent-card { background: linear-gradient(145deg, var(--surface), rgba(42,96,73,.16)); }

.metrics-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 27px 7vw;
}
.metric { padding: 0 28px; border-right: 1px solid var(--border); }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.metric-num { font-family: 'Playfair Display', serif; font-size: 2.1rem; font-weight: 700; color: var(--gold); }
.metric-label { font-family: 'DM Mono', monospace; font-size: .6rem; color: var(--text-dim); letter-spacing: .12em; margin-top: 3px; }

.swot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.swot-card {
  display: grid; grid-template-columns: 60px 1fr; gap: 25px;
  border: 1px solid var(--border); padding: 34px; background: var(--surface);
  transition: .25s ease;
}
.swot-card:hover { border-color: rgba(201,168,76,.42); transform: translateY(-2px); }
.swot-letter { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--gold); }
.swot-card.weakness .swot-letter { color: var(--text-dim); }
.swot-card.threat .swot-letter { color: var(--danger); }

.expectation { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.expectation-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.expectation-copy .lead { font-family: 'Playfair Display', serif; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.35; margin-bottom: 40px; }
.expectation-list { border-top: 1px solid var(--border); }
.expectation-item { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--border); }
.expectation-item > span { font-family: 'DM Mono', monospace; font-size: .65rem; color: var(--gold); padding-top: 5px; }
.expectation-item h3 { font-size: 1.15rem; margin-bottom: 5px; }
.expectation-item p { color: var(--text-dim); font-size: .86rem; line-height: 1.65; }

.cta-section { text-align: center; padding: 130px 7vw; }
.cta-inner { max-width: 700px; margin: 0 auto; }
.cta-section .section-tag { justify-content: center; }
.cta-section h2 { margin-bottom: 22px; }
.cta-section p { color: var(--text-mid); line-height: 1.7; margin: 0 auto 24px; max-width: 520px; }
.email-link {
  display: inline-block; color: var(--gold); font-family: 'DM Mono', monospace;
  font-size: .9rem; letter-spacing: .04em; border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.email-link:hover { color: var(--gold-light); }

footer {
  padding: 42px 7vw 30px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 30px;
}
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--border);
  font-family: 'DM Mono', monospace; font-size: .61rem; letter-spacing: .08em; color: var(--text-dim);
}
.social-links { display: flex; gap: 22px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
.social-links a:hover { color: var(--gold); }
.footer-logo { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; }
.footer-note { text-align: right; font-family: 'DM Mono', monospace; font-size: .61rem; color: var(--text-dim); letter-spacing: .08em; line-height: 1.8; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-visual { order: -1; justify-content: flex-start; }
  .portrait-frame { width: min(360px, 85vw); }
  .section-heading, .expectation-grid { grid-template-columns: 1fr; gap: 25px; }
  .experience-grid { grid-template-columns: 1fr; }
  .metrics-bar { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(3) { padding-left: 0; }
}
@media (max-width: 650px) {
  nav { padding: 18px 22px; }
  .lang-select { padding: 0 26px 0 9px; font-size: .58rem; }
  section { padding: 75px 24px; }
  .hero { padding: 105px 24px 65px; gap: 55px; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-sub { font-size: .96rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { width: 100%; }
  .hero-meta { gap: 10px 18px; }
  .section-heading { margin-bottom: 38px; }
  .swot-grid { grid-template-columns: 1fr; }
  .swot-card { grid-template-columns: 45px 1fr; padding: 25px; }
  .metrics-bar { padding: 25px 24px; }
  .metric { padding: 0 18px; }
  .metric:nth-child(3) { padding-left: 0; }
  .metric-num { font-size: 1.7rem; }
  footer { padding: 32px 24px 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
  .visual-label { bottom: -20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
