:root {
  --navy: #0c1020;
  --navy-2: #131a31;
  --paper: #f3efe8;
  --paper-2: #e8e2d8;
  --ink: #14151a;
  --muted: #686b74;
  --line: rgba(20,21,26,.16);
  --accent: #d7a94c;
  --accent-soft: #f3dfae;
  --white: #fff;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
html[dir="rtl"] body { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 99; top: 10px; inset-inline-start: 10px; padding: 10px 14px; background: var(--accent); color: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 40; inset: 0 0 auto 0; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(12,16,32,.84); backdrop-filter: blur(18px); }
.site-header.scrolled { background: rgba(12,16,32,.97); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.nav-shell { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; color: white; }
.monogram { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(215,169,76,.72); color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: -.04em; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font-size: 14px; letter-spacing: .01em; }
.brand-copy small { color: rgba(255,255,255,.48); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
html[dir="rtl"] .brand-copy small { text-transform: none; letter-spacing: 0; font-size: 10px; }
.site-nav { display: flex; align-items: center; gap: 23px; color: rgba(255,255,255,.66); font-size: 12px; font-weight: 650; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--accent); }
.language-link { border-inline-start: 1px solid rgba(255,255,255,.15); padding-inline-start: 18px; color: var(--accent) !important; font-weight: 800; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 8px; border: 0; background: transparent; }
.nav-toggle span { height: 2px; background: white; display: block; margin: 5px 0; transition: .2s ease; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 20px; border: 1px solid var(--accent); background: transparent; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
html[dir="rtl"] .button { letter-spacing: 0; text-transform: none; font-size: 13px; }
.button:hover { transform: translateY(-2px); background: var(--accent); color: var(--navy); }
.button-ghost { border-color: rgba(255,255,255,.24); color: white; }
.button-ghost:hover { background: white; color: var(--navy); border-color: white; }
.button-accent { background: var(--accent); color: var(--navy); }

.hero { min-height: 100vh; padding-top: 78px; background: var(--navy); color: white; position: relative; overflow: hidden; }
.hero-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.hero::after { content: ""; position: absolute; width: 680px; height: 680px; right: -310px; top: 100px; border: 1px solid rgba(215,169,76,.15); border-radius: 50%; box-shadow: 0 0 0 120px rgba(215,169,76,.025), 0 0 0 240px rgba(215,169,76,.015); }
html[dir="rtl"] .hero::after { right: auto; left: -310px; }
.hero-grid { min-height: calc(100vh - 170px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; padding-block: 70px 35px; position: relative; z-index: 2; }
.eyebrow { color: var(--accent); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .18em; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 12px; }
.hero h1 { margin: 24px 0; font-size: clamp(54px, 7.1vw, 104px); line-height: .91; letter-spacing: -.063em; font-weight: 350; max-width: 900px; }
html[dir="rtl"] .hero h1 { line-height: 1.07; letter-spacing: -.035em; }
.hero h1 strong { display: block; font-weight: 780; color: var(--accent-soft); }
.hero-copy > p { max-width: 760px; color: rgba(255,255,255,.63); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.72; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-identity { min-height: 570px; align-self: stretch; border: 1px solid rgba(255,255,255,.13); position: relative; display: grid; grid-template-rows: auto 1fr auto; background: linear-gradient(155deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); overflow: hidden; }
.identity-top { display: flex; justify-content: space-between; padding: 16px 18px; font-size: 9px; letter-spacing: .16em; color: rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.1); }
.identity-top i { color: var(--accent); font-style: normal; }
.identity-monogram { align-self: center; justify-self: center; font-size: clamp(120px, 14vw, 210px); line-height: .8; font-weight: 900; letter-spacing: -.11em; color: rgba(255,255,255,.95); z-index: 2; }
.identity-monogram span { color: var(--accent); font-weight: 300; }
.identity-axis { position: absolute; inset: 70px 18px 65px; }
.identity-axis span { position: absolute; background: rgba(215,169,76,.16); }
.identity-axis span:nth-child(1), .identity-axis span:nth-child(2) { width: 1px; top: 0; bottom: 0; }
.identity-axis span:nth-child(1) { left: 33%; }
.identity-axis span:nth-child(2) { right: 33%; }
.identity-axis span:nth-child(3), .identity-axis span:nth-child(4) { height: 1px; left: 0; right: 0; }
.identity-axis span:nth-child(3) { top: 33%; }
.identity-axis span:nth-child(4) { bottom: 33%; }
.identity-footer { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.1); }
.identity-footer b { padding: 15px 8px; text-align: center; color: rgba(255,255,255,.52); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; border-inline-end: 1px solid rgba(255,255,255,.08); }
.identity-footer b:last-child { border-inline-end: 0; }
html[dir="rtl"] .identity-footer b { letter-spacing: 0; text-transform: none; font-size: 10px; }
.hero-baseline { position: relative; z-index: 2; min-height: 90px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.43); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
html[dir="rtl"] .hero-baseline { letter-spacing: 0; text-transform: none; font-size: 11px; }

.section { padding: 118px 0; }
.section-label { display: flex; align-items: center; gap: 12px; color: #77746d; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
html[dir="rtl"] .section-label { text-transform: none; letter-spacing: 0; font-size: 11px; }
.section-label span { width: 28px; height: 28px; border: 1px solid currentColor; display: grid; place-items: center; border-radius: 50%; font-size: 8px; }
.section-label.light { color: rgba(255,255,255,.5); }
.profile-section { background: var(--paper); }
.profile-grid { display: grid; grid-template-columns: 130px 1.25fr .75fr; gap: 54px; align-items: start; }
.profile-main h2, .section-head h2, .work-heading h2, .principles-heading h2, .contact-copy h2 { margin: 0 0 34px; font-size: clamp(40px, 5vw, 74px); line-height: 1.02; letter-spacing: -.048em; }
html[dir="rtl"] .profile-main h2, html[dir="rtl"] .section-head h2, html[dir="rtl"] .work-heading h2, html[dir="rtl"] .principles-heading h2, html[dir="rtl"] .contact-copy h2 { line-height: 1.18; letter-spacing: -.025em; }
.profile-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.profile-copy p { margin: 0; color: #62636a; font-size: 15px; line-height: 1.8; }
.focus-panel { border-top: 1px solid var(--ink); padding-top: 18px; }
.focus-panel > span { font-size: 9px; color: #797a80; text-transform: uppercase; letter-spacing: .12em; }
.focus-panel ol { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: focus; }
.focus-panel li { counter-increment: focus; border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 13px; line-height: 1.45; display: grid; grid-template-columns: 32px 1fr; gap: 8px; }
.focus-panel li::before { content: "0" counter(focus); color: var(--accent); font-size: 9px; padding-top: 3px; }

.expertise-section { background: var(--navy); color: white; }
.section-head { display: grid; grid-template-columns: 160px 1fr; gap: 40px; margin-bottom: 58px; }
.section-head h2 { max-width: 900px; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); border-inline-start: 1px solid rgba(255,255,255,.12); }
.expertise-card { min-height: 275px; padding: 24px; border-inline-end: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); transition: background .2s ease; }
.expertise-card:hover { background: rgba(215,169,76,.07); }
.expertise-card > span { color: var(--accent); font-size: 9px; }
.expertise-card h3 { margin: 58px 0 13px; font-size: 18px; letter-spacing: -.02em; }
.expertise-card p { margin: 0; color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.65; }

.work-section { background: var(--paper-2); }
.work-heading { display: grid; grid-template-columns: 160px 1fr; gap: 40px; margin-bottom: 58px; }
.work-heading h2 { max-width: 940px; }
.work-list { border-top: 1px solid var(--line); }
.work-list article { min-height: 150px; display: grid; grid-template-columns: 90px 1fr 50px; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.work-list article:hover { background: rgba(255,255,255,.55); padding-inline: 18px; }
.work-number { color: #8c8c8f; font-size: 10px; }
.work-list h3 { margin: 0 0 9px; font-size: clamp(23px, 2.5vw, 34px); letter-spacing: -.03em; }
.work-list p { margin: 0; max-width: 800px; color: #686970; font-size: 13px; line-height: 1.62; }
.work-list i { font-style: normal; font-size: 22px; color: var(--accent); }

.principles-section { background: #171d34; color: white; }
.principles-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.principles-heading h2 { margin-top: 30px; }
.principle-stack { border-top: 1px solid rgba(255,255,255,.14); }
.principle-stack article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.principle-stack > article > span { color: var(--accent); font-size: 9px; }
.principle-stack h3 { margin: 0; font-size: 21px; }
.principle-stack p { margin: 9px 0 0; color: rgba(255,255,255,.52); font-size: 13px; line-height: 1.65; max-width: 650px; }

.credentials-section { background: var(--paper); }
.credentials-grid .section-head { margin-bottom: 42px; }
.credential-cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.credential-cards > div { min-height: 190px; padding: 24px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.credential-cards strong { font-size: 42px; letter-spacing: -.05em; color: var(--navy); }
.credential-cards span { color: #666870; font-size: 12px; line-height: 1.5; }

.contact-section { background: var(--navy); color: white; position: relative; overflow: hidden; }
.contact-section::after { content: "K/E"; position: absolute; right: -30px; bottom: -90px; font-size: 260px; font-weight: 900; letter-spacing: -.1em; color: rgba(255,255,255,.025); }
html[dir="rtl"] .contact-section::after { right: auto; left: -30px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; position: relative; z-index: 2; }
.contact-copy h2 { margin-top: 28px; }
.contact-copy > p { max-width: 600px; color: rgba(255,255,255,.55); line-height: 1.75; }
.contact-domain { display: inline-block; margin-top: 65px; color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .17em; }
.contact-panel { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.025); padding: 32px; min-height: 480px; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label span { color: rgba(255,255,255,.5); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
html[dir="rtl"] .contact-form label span { text-transform: none; letter-spacing: 0; font-size: 11px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: white; outline: none; padding: 13px 14px; border-radius: 0; transition: border-color .2s ease, background .2s ease; }
.contact-form input { height: 48px; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); background: rgba(255,255,255,.055); }
.contact-form button { justify-self: start; }
.validation-summary { color: #ffd5d5; font-size: 12px; }
.validation-summary:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.success-panel { min-height: 400px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.success-panel > span { width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-size: 26px; }
.success-panel h3 { margin: 0; font-size: 28px; }
.success-panel b { color: var(--accent); font-size: 10px; letter-spacing: .08em; }

.site-footer { background: #080b15; color: rgba(255,255,255,.52); padding: 54px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 50px; }
.footer-monogram { display: grid; margin-bottom: 18px; }
.site-footer p { max-width: 420px; font-size: 12px; line-height: 1.6; }
.footer-links, .footer-meta { display: grid; gap: 12px; font-size: 11px; }
.footer-links a:hover { color: var(--accent); }
.footer-meta { text-align: end; }

.simple-page { min-height: 72vh; padding: 160px 0 105px; background: var(--paper); }
.simple-page article { max-width: 760px; }
.simple-page h1 { margin: 25px 0 28px; font-size: clamp(48px, 7vw, 92px); letter-spacing: -.055em; }
.simple-page p { color: #62636a; font-size: 17px; line-height: 1.8; }
.simple-page .button { color: var(--navy); margin-top: 22px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .72s ease, transform .72s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  :root { --shell: min(100% - 36px, 920px); }
  .site-nav { gap: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-identity { min-height: 500px; }
  .profile-grid { grid-template-columns: 110px 1fr; }
  .focus-panel { grid-column: 2; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid, .contact-grid { grid-template-columns: 1fr; }
  .credential-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: start; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 28px); }
  .nav-shell { min-height: 68px; }
  .brand-copy small { display: none; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 15px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .language-link { border-inline-start: 0; padding-inline-start: 14px; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 68px; }
  .hero-grid { padding-block: 60px 28px; min-height: auto; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-identity { min-height: 420px; }
  .identity-monogram { font-size: 130px; }
  .identity-footer { grid-template-columns: 1fr 1fr; }
  .hero-baseline { min-height: 100px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 8px; }
  .section { padding: 82px 0; }
  .profile-grid, .section-head, .work-heading { grid-template-columns: 1fr; gap: 25px; }
  .focus-panel { grid-column: auto; }
  .profile-copy { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 240px; }
  .work-list article { grid-template-columns: 42px 1fr 24px; gap: 10px; padding: 22px 0; }
  .work-list p { font-size: 12px; }
  .credential-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-panel { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { grid-column: auto; }
}
