:root {
  --pom-ink: #0B0F19;
  --pom-slate-strong: #334155;
  --pom-slate: #475569;
  --pom-slate-soft: #64748B;
  --pom-slate-muted: #94A3B8;
  --pom-bg-primary: #FFFFFF;
  --pom-bg-secondary: #F8FAFC;
  --pom-bg-tertiary: #F1F5F9;
  --pom-border: #E2E8F0;
  --pom-border-strong: #CBD5E1;
  --pom-accent: #EA580C;
  --pom-accent-hover: #C2410C;
  --pom-accent-subtle: #FFF7ED;
  --pom-cyber-blue: #0284C7;
  --pom-success: #059669;
  --pom-caption: var(--pom-slate-soft);
  --pom-status-border: #FED7AA;
  --pom-selection-bg: #FFEDD5;
  --pom-selection-text: #0B0F19;
  --font-display: Georgia, 'Newsreader', 'Source Serif 4', 'Times New Roman', serif;
  --font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'Cascadia Code', monospace;
  color-scheme: light;
  font-family: var(--font-sans);
  color: var(--pom-slate);
  background: var(--pom-bg-primary);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:root[data-theme="dark"] {
  --pom-ink: #F8FAFC;
  --pom-slate-strong: #E2E8F0;
  --pom-slate: #94A3B8;
  --pom-slate-soft: #64748B;
  --pom-slate-muted: #475569;
  --pom-bg-primary: #0B0F19;
  --pom-bg-secondary: #111827;
  --pom-bg-tertiary: #1E293B;
  --pom-border: #1E293B;
  --pom-border-strong: #334155;
  --pom-accent: #F97316;
  --pom-accent-hover: #FB923C;
  --pom-accent-subtle: rgba(249, 115, 22, 0.12);
  --pom-caption: var(--pom-slate);
  --pom-status-border: rgba(249, 115, 22, 0.3);
  --pom-selection-bg: #7C2D12;
  --pom-selection-text: #F8FAFC;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
::selection { color: var(--pom-selection-text); background: var(--pom-selection-bg); }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pom-accent); outline-offset: 6px; border-radius: 1px; }
img, svg { max-width: 100%; display: block; }
p, h1, h2, h3 { margin: 0; }
p { font-size: 16px; line-height: 1.8; }
h1, h2 { color: var(--pom-ink); font-family: var(--font-display); font-weight: 400; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 3vw, 42px); line-height: 1.16; }
h3 { color: var(--pom-ink); font-size: 17px; line-height: 1.4; font-weight: 500; }
.container { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; line-height: 1.6; font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pom-caption); }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 12px 18px; background: var(--pom-bg-primary); color: var(--pom-ink); z-index: 10; border: 1px solid var(--pom-border); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--pom-border); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; padding: 10px; margin-left: -10px; }
.brand img { width: auto; height: 40px; }
.brand-dark { display: none; }
[data-theme="dark"] .brand-light { display: none; }
[data-theme="dark"] .brand-dark { display: block; }
.header-actions { display: flex; align-items: center; gap: 32px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--pom-border); border-radius: 50%; background: transparent; color: var(--pom-slate-strong); cursor: pointer; transition: background 150ms ease, border-color 150ms ease; }
.theme-toggle:hover { background: var(--pom-bg-secondary); border-color: var(--pom-border-strong); }
.theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
nav { display: flex; align-items: center; gap: 35px; }
nav a { color: var(--pom-slate-strong); font-size: 13px; line-height: 24px; padding-block: 10px; transition: color 150ms ease; }
nav a:hover { color: var(--pom-accent-hover); }
nav a span { margin-left: 7px; font-size: 15px; }
.hero { padding-block: 88px 80px; }
.hero-copy { display: grid; grid-template-columns: 1.18fr 1fr; gap: 28px 90px; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 12px; grid-column: 1 / -1; }
.signal { height: 6px; width: 6px; background: var(--pom-accent); display: inline-block; }
h1 { font-size: clamp(42px, 4.6vw, 64px); line-height: 1.12; }
.hero-intro { align-self: end; }
.hero-description { max-width: 480px; font-size: 17px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 25px; font-size: 13px; font-weight: 500; color: var(--pom-ink); border-bottom: 1px solid var(--pom-border-strong); padding-bottom: 9px; margin-top: 31px; transition: border-color 150ms ease; }
.text-link:hover { border-color: var(--pom-accent); }
.text-link span { color: var(--pom-accent-hover); font-size: 18px; transition: transform 150ms ease; }
.text-link:hover span { transform: translateY(3px); }
.section-rule { border-top: 1px solid var(--pom-border); }
.section-label { display: flex; align-items: center; gap: 16px; }
.section-number { color: var(--pom-accent-hover); font-size: 10px; font-family: var(--font-mono); }
.about { padding-block: 65px 68px; display: grid; grid-template-columns: 230px 1fr; gap: 36px; }
.about > .section-label { align-self: start; margin-top: 7px; }
.about-content > p { max-width: 680px; margin-top: 25px; font-size: 15px; line-height: 1.85; }
.project-section { background: var(--pom-bg-secondary); border-block: 1px solid var(--pom-border); }
.project-inner { padding-block: 72px 73px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; }
.project-heading h2 { font-size: 64px; line-height: 1.2; margin-top: 31px; }
.project-period { color: var(--pom-accent); }
.project-kind { font-size: 13px; margin-top: 7px; }
.project-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; line-height: 1.6; letter-spacing: 0.015em; padding: 5px 9px; margin-top: 24px; color: var(--pom-accent-hover); border: 1px solid var(--pom-status-border); background: var(--pom-accent-subtle); border-radius: 2px; }
.project-status > span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.project-content { align-self: center; }
.project-content > p { max-width: 490px; font-size: 17px; line-height: 1.85; }
.contact { padding-block: 52px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center; }
.contact h2 { font-size: 32px; }
.contact-content p { max-width: 390px; font-size: 14px; margin-bottom: 12px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: fit-content; min-height: 44px; font-size: 16px; line-height: 1.5; padding-bottom: 7px; border-bottom: 1px solid var(--pom-border-strong); color: var(--pom-ink); transition: border-color 150ms ease; }
.contact-email > span { color: var(--pom-accent-hover); }
.contact-email:hover { border-color: var(--pom-accent); }
.contact-content .contact-fallback { font-size: 13px; margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--pom-border); }
.footer-inner { min-height: 104px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { padding-block: 8px; }
.footer-brand img { width: 158px; height: auto; }
.footer-inner p { font-size: 11px; color: var(--pom-caption); }
.copyright { font-size: 10px; color: var(--pom-caption); }

@media (max-width: 1000px) {
  .container { width: calc(100% - 72px); }
  .hero { padding-block: 72px 64px; }
  .hero-copy { column-gap: 50px; }
  h1 { font-size: 48px; }
  .hero-description { font-size: 16px; }
  .about { grid-template-columns: 160px 1fr; gap: 26px; }
  .project-inner, .contact { gap: 50px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 84px; gap: 20px; }
  .header-actions { gap: 20px; }
  .brand img { height: 36px; }
  nav { gap: 23px; }
  nav a { font-size: 12px; }
  .hero { padding-block: 64px 48px; }
  .hero-copy { grid-template-columns: 1fr; gap: 23px; }
  h1 { font-size: clamp(42px, 7.8vw, 60px); }
  .hero-description { max-width: 480px; font-size: 16px; }
  .about { padding-block: 44px; grid-template-columns: 1fr; gap: 25px; }
  .about > .section-label { margin-top: 0; }
  h2 { font-size: 34px; }
  .about-content > p { margin-top: 20px; font-size: 14px; }
  .project-inner { padding-block: 49px; grid-template-columns: 1fr; gap: 37px; }
  .project-heading h2 { font-size: 56px; margin-top: 23px; }
  .project-status { margin-top: 18px; }
  .project-content > p { max-width: 580px; font-size: 15px; }
  .contact { padding-block: 40px; grid-template-columns: 1fr; gap: 20px; }
  .contact-content p { max-width: 440px; }
  .footer-inner { min-height: 116px; flex-wrap: wrap; padding-block: 24px; gap: 15px 24px; }
  .footer-inner p { display: none; }
}

@media (max-width: 479px) {
  .brand img { width: 36px; height: 36px; }
  .header-inner, .header-actions { gap: 8px; }
  nav { gap: 12px; }
  nav a span { display: none; }
  .hero { padding-top: 46px; }
  h1 { font-size: clamp(34px, 10vw, 46px); letter-spacing: -0.04em; }
  .hero-description { font-size: 15px; }
  .eyebrow { font-size: 10px; }
  .footer-inner { align-content: center; gap: 10px; }
  .footer-brand, .copyright { flex-basis: 100%; }
}

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