@charset "UTF-8";

:root {
  color-scheme: light;
  --page: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #edf0e9;
  --ink: #192c27;
  --muted: #62716a;
  --line: #dce2d8;
  --accent: #32735b;
  --accent-hover: #245540;
  --accent-light: #e7efe5;
  --orange: #cf744a;
  --header: rgba(247, 248, 244, 0.92);
  --shadow: 0 20px 60px rgba(24, 48, 38, 0.08);
  --font-body: "Be Vietnam Pro", sans-serif;
  --font-display: "Manrope", "Be Vietnam Pro", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

[data-theme="dark"] {
  color-scheme: dark;
  --page: #111c18;
  --surface: #17251f;
  --surface-soft: #1c2d25;
  --ink: #ecf1e9;
  --muted: #a3b5a8;
  --line: #304339;
  --accent: #a6d5b5;
  --accent-hover: #c6e8c6;
  --accent-light: #243b2e;
  --orange: #e8a17c;
  --header: rgba(17, 28, 24, 0.94);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font-body); font-size: 14px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { color: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); }
::selection { background: #c3d8b7; color: #172a23; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
[hidden] { display: none !important; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.mono, .eyebrow { font-family: var(--font-mono); }
.eyebrow { font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: 1.4px; }
.muted-text { color: var(--muted); }
.accent-text { color: var(--accent); }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--page); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--header); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; background: var(--ink); color: var(--page); font-family: var(--font-display); font-size: 25px; font-weight: 800; letter-spacing: -2px; line-height: 1; border-radius: 12px; padding: 0 3px 4px 0; }
.brand-mark > span { color: #b8d99c; }
.brand-name { font-weight: 600; font-size: 14px; letter-spacing: -0.3px; }
.site-nav { display: flex; align-items: center; gap: 33px; margin-left: auto; }
.site-nav > a { position: relative; font-size: 12px; font-weight: 500; transition: color 180ms ease; }
.site-nav > a:hover, .site-nav > a.is-active { color: var(--accent); }
.site-nav > a:not(.nav-contact)::after { content: ""; position: absolute; bottom: -7px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.site-nav > a:hover::after, .site-nav > a.is-active::after { transform: scaleX(1); }
.site-nav .nav-contact { display: flex; align-items: center; gap: 13px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 6px; }
.nav-contact .icon { width: 16px; height: 16px; }
.header-actions { display: flex; gap: 8px; }
.icon-button { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; transition: background 160ms ease; }
.icon-button:hover { background: var(--surface-soft); }
.theme-toggle { border: 0; }
.theme-sun, .menu-toggle { display: none; }
html:not(.js) .theme-toggle, html:not(.js) .projects-toolbar { display: none; }
[data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }

.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding-top: 72px; padding-bottom: 60px; min-height: 690px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 8px 12px; border-radius: 5px; font-size: 10px; letter-spacing: 1px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-light); flex-shrink: 0; }
.hero-greeting { margin-top: 28px; margin-bottom: 12px; color: var(--muted); font-size: 14px; }
h1 { font-size: clamp(60px, 6.8vw, 96px); line-height: 1.07; letter-spacing: -5px; font-weight: 800; }
.name-last { color: var(--accent); }
.name-dot { color: var(--orange); }
.hero-role { margin-top: 24px; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.7px; }
.hero-role > span { color: var(--accent); }
.hero-description { max-width: 490px; margin-top: 15px; font-size: 13px; line-height: 1.95; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 49px; padding: 12px 20px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; font-weight: 600; transition: background 180ms, transform 180ms; }
.button .icon { width: 18px; height: 18px; }
.button-primary { background: var(--accent); color: var(--page); }
.button-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.button-text { padding-inline: 0; gap: 10px; }
.button-text:hover { color: var(--accent); }
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; margin-top: 42px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.1px; }
.scroll-line { height: 31px; width: 1px; background: var(--line); position: relative; }
.scroll-line::after { content: ""; position: absolute; left: -2px; bottom: 0; width: 5px; height: 5px; border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); }
.hero-visual { position: relative; width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.visual-grid { position: absolute; inset: -20px; z-index: -2; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 34px 34px; opacity: 0.35; mask-image: radial-gradient(ellipse, #000 35%, transparent 72%); }
.hero-visual::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, var(--accent-light), transparent 68%); z-index: -1; }
.hero-board { width: 112%; max-width: none; transform: rotate(-10deg); filter: drop-shadow(12px 24px 20px rgba(19, 52, 36, 0.19)); animation: board-enter 1000ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.orbit { position: absolute; inset: 4%; border: 1px solid var(--line); border-radius: 50%; z-index: -1; }
.orbit-two { inset: 14%; border-style: dashed; opacity: 0.65; }
.visual-cross { position: absolute; color: var(--muted); font-family: var(--font-mono); font-size: 21px; line-height: 1; }
.cross-one { left: 3%; top: 14%; }
.cross-two { right: 4%; bottom: 14%; }
.visual-caption { position: absolute; top: 4%; right: 2%; font-family: var(--font-mono); font-size: 8px; letter-spacing: 1.1px; color: var(--muted); }
.visual-coordinate { position: absolute; bottom: 3%; left: 6%; font-family: var(--font-mono); font-size: 8px; letter-spacing: 1px; color: var(--muted); }
.floating-label { position: absolute; z-index: 2; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); box-shadow: var(--shadow); }
.label-top { top: 15%; right: 0; display: flex; align-items: center; gap: 9px; padding: 12px 15px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.8px; }
.label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.label-bottom { left: -5%; bottom: 14%; display: flex; align-items: center; gap: 12px; padding: 16px 21px; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.label-bottom > .icon { width: 33px; height: 33px; padding: 6px; border-radius: 7px; background: var(--accent-light); color: var(--accent); }
.label-bottom span { display: block; margin-top: 4px; font-family: var(--font-mono); color: var(--muted); font-size: 8px; font-weight: 400; letter-spacing: 0.5px; }
.domain-strip { border-block: 1px solid var(--line); }
.domain-list { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; white-space: nowrap; font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.domain-list > i { color: var(--orange); font-size: 21px; font-style: normal; }

.section-label { color: var(--muted); margin-bottom: 22px; }
.section-label > span { margin-right: 11px; color: var(--accent); }
h2 { font-size: clamp(28px, 3.1vw, 40px); font-weight: 600; line-height: 1.35; letter-spacing: -1.7px; }
.about-section { padding-block: 105px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; }
.about-copy { padding-top: 38px; color: var(--muted); font-size: 13px; line-height: 2; }
.about-copy p + p { margin-top: 15px; }
.about-copy strong { color: var(--ink); font-weight: 500; }
.inline-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 20px; color: var(--accent); font-size: 12px; font-weight: 600; }
.inline-link .icon { width: 17px; height: 17px; transition: transform 150ms; }
.inline-link:hover .icon { transform: translateX(4px); }
.expertise-section { padding-block: 80px 88px; background: var(--surface-soft); border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.section-heading .section-label { margin-bottom: 14px; }
.section-heading > p { color: var(--muted); font-size: 12px; line-height: 1.85; padding-bottom: 4px; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.expertise-card { display: flex; flex-direction: column; padding: 25px 22px 24px; background: var(--page); border: 1px solid var(--line); border-radius: 9px; transition: border-color 180ms, transform 180ms; }
.expertise-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.expertise-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.expertise-icon { display: inline-flex; justify-content: center; align-items: center; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 10px; color: var(--accent); }
.expertise-icon .icon { width: 23px; height: 23px; }
.card-index { color: var(--muted); font-size: 10px; }
.expertise-card h3 { font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: -0.5px; }
.expertise-card > p { color: var(--muted); font-size: 11px; line-height: 1.95; margin-top: 10px; margin-bottom: 25px; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.expertise-tags > span { font-family: var(--font-mono); font-size: 8px; line-height: 1.7; padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }

.projects-section { padding-block: 94px; }
.projects-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 9px 17px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 500; min-height: 40px; transition: background 160ms; }
.filter-button:hover { background: var(--surface-soft); }
.filter-button.active { background: var(--ink); color: var(--page); }
.project-count { color: var(--muted); font-size: 10px; letter-spacing: 0.6px; white-space: nowrap; }
.demo-note { display: flex; align-items: flex-start; flex-wrap: wrap; column-gap: 4px; padding-block: 17px 25px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.demo-note strong { font-weight: 600; }
.note-mark { display: inline-flex; align-items: center; justify-content: center; margin: 2px 4px 0 0; width: 14px; height: 14px; border: 1px solid var(--muted); border-radius: 50%; font-size: 9px; line-height: 1; }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px 28px; }
.project-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); transition: border-color 180ms, transform 180ms, box-shadow 180ms; }
.project-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.project-image-wrap { position: relative; aspect-ratio: 1.85; overflow: hidden; background: var(--surface-soft); border-bottom: 1px solid var(--line); }
.project-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.project-card:hover .project-image-wrap img { transform: scale(1.035); }
.project-number { position: absolute; top: 17px; left: 20px; display: inline-block; font-family: var(--font-mono); font-size: 10px; color: #eef7ef; padding: 3px 8px; background: rgba(19, 45, 35, 0.8); border: 1px solid rgba(220, 238, 220, 0.24); border-radius: 4px; }
.concept-badge { display: inline-flex; align-items: center; white-space: nowrap; background: var(--surface-soft); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 4px 7px; font-size: 9px; font-weight: 400; letter-spacing: 0; }
.project-image-wrap .concept-badge { position: absolute; top: 17px; right: 18px; background: #f1f4ea; color: #394c3e; border: 1px solid #d8e2ce; }
.project-body { padding: 25px 27px 26px; }
.project-category { font-size: 9px; letter-spacing: 0.9px; color: var(--accent); margin-bottom: 11px; }
.project-title-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; font-family: var(--font-display); font-size: 24px; line-height: 1.4; font-weight: 600; letter-spacing: -1px; }
.project-title-button::after { content: ""; position: absolute; inset: 0; border-radius: 9px; }
.project-title-button:focus-visible { outline: none; }
.project-title-button:focus-visible::after { outline: 3px solid var(--orange); outline-offset: -4px; }
.project-title-button .icon { width: 33px; height: 33px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; transition: background 180ms; }
.project-card:hover .project-title-button .icon { background: var(--accent); color: var(--page); border-color: var(--accent); }
.project-summary { color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 12px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.project-tags span { border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; color: var(--muted); font-family: var(--font-mono); font-size: 8px; }
.empty-projects, .noscript-note { grid-column: 1 / -1; padding: 30px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); }

.perspective-section { padding-block: 78px 88px; border-top: 1px solid var(--line); }
.perspective-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.perspective-intro { margin-top: 23px; color: var(--muted); max-width: 340px; font-size: 12px; }
.principle { display: flex; gap: 24px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.principle:first-child { padding-top: 6px; }
.principle > span { color: var(--accent); font-size: 10px; margin-top: 4px; }
.principle h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.3px; }
.principle p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.9; }

.contact-section { padding-block: 0 70px; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; position: relative; isolation: isolate; overflow: hidden; border-radius: 12px; padding: 62px 66px; background: #1c3b2f; color: #f1f5ec; }
.contact-grid-pattern { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(220, 239, 210, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 239, 210, 0.055) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent, #000); }
.contact-content { max-width: 650px; }
.contact-eyebrow { display: flex; gap: 10px; align-items: center; color: #c4d7b9; font-size: 10px; margin-bottom: 24px; }
.contact-eyebrow .status-dot { background: #bad793; box-shadow: 0 0 0 4px rgba(186, 215, 147, 0.1); }
.contact-panel h2 { font-size: clamp(34px, 4vw, 51px); font-weight: 500; line-height: 1.24; letter-spacing: -2px; }
.contact-panel h2 span { color: #bdd89c; }
.contact-content > p:not(.eyebrow) { color: #c4d3c6; font-size: 12px; max-width: 380px; margin-top: 20px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; align-items: center; }
.contact-placeholder { padding: 11px 14px; border: 1px solid #526d5b; border-radius: 5px; font-size: 11px; color: #d0decd; }
.contact-button { background: #bdd89c; color: #1c3b2f; border: 0; }
.contact-button:hover { background: #cde4b4; }
.copy-email { border: 1px solid #526d5b; color: #e9f1e4; background: transparent; }
.copy-email:hover { background: #2d4e3d; }
.social-links { display: flex; gap: 20px; margin-top: 22px; font-size: 11px; }
.social-links a { display: inline-flex; align-items: center; gap: 7px; color: #d0decd; }
.social-links a:hover { color: #ffffff; }
.social-links .icon { width: 14px; height: 14px; }
.contact-emblem { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 220px; height: 220px; border: 1px solid #44614a; border-radius: 50%; position: relative; margin-left: 25px; flex-shrink: 0; }
.contact-emblem::before { content: ""; position: absolute; inset: 10px; border: 1px dashed #44614a; border-radius: 50%; }
.contact-emblem > span { color: #edf5e7; font-family: var(--font-display); font-size: 96px; font-weight: 700; letter-spacing: -10px; line-height: 1; padding-bottom: 8px; }
.emblem-dot { color: #b8d58f; }
.contact-emblem > div { text-align: center; color: #b9cfb8; font-family: var(--font-mono); font-size: 8px; line-height: 1.8; letter-spacing: 1px; margin-top: 12px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 100px; }
.footer-brand { font-size: 12px; font-weight: 500; }
.footer-brand .brand-mark { width: 33px; height: 33px; font-size: 20px; border-radius: 9px; }
.footer-inner > p { color: var(--muted); font-family: var(--font-mono); font-size: 9px; }
.back-to-top { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); }
.back-to-top .icon { width: 15px; height: 15px; }

.project-dialog { width: min(740px, calc(100% - 40px)); max-height: calc(100dvh - 60px); padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.25); }
.project-dialog::backdrop { background: rgba(12, 25, 19, 0.68); backdrop-filter: blur(6px); }
.dialog-shell { position: relative; }
.dialog-close { position: absolute; z-index: 2; top: 16px; right: 16px; background: var(--surface); box-shadow: var(--shadow); }
.dialog-image { width: 100%; height: 250px; object-fit: cover; }
.dialog-body { padding: 32px 38px; }
.dialog-eyebrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.dialog-eyebrow .eyebrow { font-size: 9px; color: var(--accent); letter-spacing: 1px; }
.dialog-body h2 { font-size: 34px; }
.dialog-subtitle { margin-top: 6px; color: var(--accent); font-size: 13px; }
#dialog-summary { margin-top: 21px; color: var(--muted); font-size: 12px; line-height: 2; }
.dialog-body h3 { font-size: 16px; margin-top: 24px; }
#dialog-scope { padding-left: 18px; margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
#dialog-scope li + li { margin-top: 8px; }
.dialog-links { display: flex; flex-wrap: wrap; gap: 20px; }
.dialog-links .inline-link { margin-top: 22px; }
.dialog-disclaimer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.9; }
.toast { position: fixed; z-index: 60; bottom: 24px; left: 50%; max-width: calc(100% - 40px); transform: translate(-50%, 15px); background: var(--ink); color: var(--page); border-radius: 7px; padding: 12px 20px; font-size: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: transform 180ms, opacity 180ms; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.reveal.is-visible { animation: reveal-enter 650ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes reveal-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes board-enter { from { opacity: 0; transform: rotate(-6deg) translateY(16px); } to { opacity: 1; transform: rotate(-10deg) translateY(0); } }

@media (min-width: 1600px) { .hero-grid { padding-top: 85px; padding-bottom: 75px; } }
@media (max-width: 1160px) {
  .container { width: calc(100% - 80px); }
  .hero-grid { gap: 25px; padding-top: 54px; padding-bottom: 50px; min-height: 650px; }
  h1 { font-size: clamp(60px, 7vw, 84px); letter-spacing: -4px; }
  .hero-role { font-size: 19px; }
  .hero-description { font-size: 12px; }
  .hero-actions { gap: 18px; }
  .button { padding-inline: 17px; gap: 15px; font-size: 11px; }
  .button-text { padding-inline: 0; gap: 8px; }
  .domain-list { font-size: 12px; gap: 14px; }
  .about-grid { gap: 45px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .expertise-card { padding: 25px; }
  .expertise-card > p { font-size: 12px; }
  .expertise-tags > span { font-size: 9px; }
  .project-title-button { font-size: 22px; }
  .perspective-grid { gap: 60px; }
  .contact-panel { padding: 50px; }
  .contact-emblem { width: 185px; height: 185px; }
  .contact-emblem > span { font-size: 80px; }
}

@media (max-width: 860px) {
  .container { width: calc(100% - 48px); }
  .header-inner { height: 74px; gap: 16px; }
  .brand-mark { width: 38px; height: 38px; font-size: 23px; }
  .brand-name { font-size: 13px; }
  .header-actions { margin-left: auto; }
  .js .menu-toggle { display: flex; flex-direction: column; gap: 5px; border: 0; border-radius: 8px; }
  .menu-toggle span { width: 20px; height: 1.5px; background: var(--ink); transition: transform 180ms; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .js .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 18px 24px 24px; background: var(--page); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(20, 40, 30, 0.06); }
  .js .site-nav[data-open="true"] { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .site-nav > a { padding: 13px 4px; font-size: 13px; }
  .site-nav > a:not(.nav-contact)::after { display: none; }
  .site-nav .nav-contact { justify-content: space-between; margin-top: 8px; padding: 12px; }
  html:not(.js) .header-inner { height: auto; min-height: 74px; flex-wrap: wrap; padding-block: 16px; }
  html:not(.js) .site-nav { order: 3; width: 100%; gap: 18px; flex-wrap: wrap; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 16px; min-height: 590px; padding-block: 42px; }
  h1 { font-size: 64px; letter-spacing: -3.7px; }
  .hero-greeting { margin-top: 23px; }
  .hero-role { font-size: 16px; letter-spacing: -0.4px; }
  .hero-description { font-size: 11px; }
  .hero-actions { gap: 13px; flex-wrap: wrap; margin-top: 22px; }
  .hero-scroll { margin-top: 27px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: 0.7px; }
  .label-top { font-size: 7px; padding: 9px; top: 7%; right: -2%; }
  .label-bottom { font-size: 11px; padding: 11px; left: -10%; bottom: 7%; }
  .label-bottom span { font-size: 6px; }
  .visual-caption, .visual-coordinate { font-size: 6px; }
  .domain-list { width: 100%; padding-inline: 24px; min-height: 66px; justify-content: flex-start; gap: 24px; overflow-x: auto; scrollbar-width: none; }
  .domain-list::-webkit-scrollbar { display: none; }
  .about-section { padding-block: 75px; }
  .about-grid { gap: 28px; }
  h2 { font-size: 30px; letter-spacing: -1.25px; }
  .about-copy { font-size: 11px; padding-top: 34px; }
  .section-heading > p { font-size: 10px; }
  .expertise-section { padding-block: 62px; }
  .projects-section { padding-block: 70px; }
  .projects-grid { gap: 23px 18px; }
  .project-body { padding: 21px; }
  .project-title-button { font-size: 18px; letter-spacing: -0.6px; gap: 12px; }
  .project-category { font-size: 8px; }
  .project-summary { font-size: 10px; }
  .project-tags { gap: 5px; }
  .project-tags span { font-size: 7px; }
  .perspective-section { padding-block: 60px; }
  .perspective-grid { gap: 40px; }
  .contact-panel { padding: 42px; }
  .contact-panel h2 { font-size: 39px; }
  .contact-emblem { width: 145px; height: 145px; margin-left: 16px; }
  .contact-emblem > span { font-size: 64px; letter-spacing: -6px; }
  .contact-emblem > div { font-size: 6px; margin-top: 6px; }
  .contact-section { padding-bottom: 50px; }
  .footer-inner { flex-wrap: wrap; padding-block: 24px; gap: 16px; }
  .footer-inner > p { font-size: 8px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 94px; }
  .container { width: calc(100% - 40px); }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding-top: 35px; padding-bottom: 20px; }
  .hero-eyebrow { font-size: 8px; padding: 7px 10px; }
  .hero-greeting { margin-top: 23px; margin-bottom: 13px; font-size: 12px; }
  h1 { font-size: clamp(48px, 14.6vw, 84px); line-height: 1.08; letter-spacing: -3.5px; }
  .hero-role { margin-top: 20px; font-size: 18px; }
  .hero-description { margin-top: 13px; font-size: 12px; max-width: 440px; }
  .hero-actions { gap: 22px; margin-top: 23px; }
  .button { min-height: 47px; padding: 11px 17px; font-size: 11px; gap: 13px; }
  .button-text { padding-inline: 0; gap: 7px; }
  .hero-scroll { display: none; }
  .hero-visual { align-self: center; width: min(440px, 100%); margin-top: 21px; }
  .hero-board { width: 103%; }
  .orbit-one { inset: 5%; }
  .visual-grid { inset: -5px; }
  .label-top { font-size: 8px; top: 14%; right: 0; padding: 10px 12px; }
  .label-bottom { left: 0; bottom: 12%; font-size: 12px; padding: 12px 14px; }
  .label-bottom span { font-size: 7px; }
  .visual-caption { top: 2%; font-size: 7px; }
  .visual-coordinate { bottom: 1%; font-size: 7px; }
  .domain-list { padding-inline: 20px; font-size: 12px; gap: 22px; min-height: 62px; }
  .domain-list > i { font-size: 18px; }
  .about-section { padding-block: 58px; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .section-label { font-size: 9px; margin-bottom: 18px; letter-spacing: 1.1px; }
  h2 { font-size: 29px; letter-spacing: -1.2px; }
  .about-copy { padding-top: 0; font-size: 12px; }
  .inline-link { font-size: 11px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 27px; }
  .section-heading > p { font-size: 11px; }
  .section-heading > p br { display: none; }
  .expertise-section { padding-block: 53px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 13px; }
  .expertise-card { padding: 24px; }
  .expertise-top { margin-bottom: 17px; }
  .expertise-card h3 { font-size: 19px; }
  .expertise-card > p { margin-bottom: 20px; font-size: 12px; }
  .expertise-tags > span { font-size: 9px; }
  .projects-section { padding-block: 58px; }
  .projects-toolbar { gap: 12px; padding-bottom: 17px; align-items: flex-start; flex-direction: column; }
  .project-filters { gap: 5px; width: 100%; }
  .filter-button { padding: 9px 12px; font-size: 10px; }
  .project-count { font-size: 9px; }
  .demo-note { display: block; font-size: 10px; padding-block: 17px 23px; }
  .note-mark { vertical-align: middle; margin-top: 0; }
  .projects-grid { grid-template-columns: 1fr; gap: 23px; }
  .project-body { padding: 23px; }
  .project-title-button { font-size: 23px; }
  .project-category { font-size: 8px; }
  .project-summary { font-size: 11px; }
  .project-tags span { font-size: 8px; }
  .perspective-section { padding-block: 53px; }
  .perspective-grid { grid-template-columns: 1fr; gap: 28px; }
  .perspective-intro { margin-top: 18px; font-size: 12px; }
  .principle { gap: 20px; padding-block: 22px; }
  .principle p { font-size: 12px; }
  .contact-section { padding-bottom: 35px; }
  .contact-panel { padding: 35px 27px; border-radius: 9px; }
  .contact-panel h2 { font-size: 35px; letter-spacing: -1.5px; }
  .contact-content > p:not(.eyebrow) { font-size: 11px; }
  .contact-emblem { display: none; }
  .contact-eyebrow { font-size: 9px; margin-bottom: 23px; }
  .contact-placeholder { font-size: 10px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding-block: 24px; }
  .footer-brand { font-size: 10px; gap: 10px; }
  .footer-inner > p { grid-row: 2; grid-column: 1 / -1; font-size: 8px; }
  .back-to-top { font-size: 9px; gap: 4px; }
  .project-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 28px); }
  .dialog-image { height: 190px; }
  .dialog-body { padding: 24px; }
  .dialog-body h2 { font-size: 29px; }
  .dialog-subtitle { font-size: 11px; }
  #dialog-summary, #dialog-scope { font-size: 11px; }
}

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