:root { color-scheme: light; --bg: #fff; --ink: #161616; --muted: #606060; --line: #dedede; --soft: #f5f5f5; --field: #fff; }
:root[data-theme="dark"] { color-scheme: dark; --bg: #171819; --ink: #f1f1ef; --muted: #b6b6b4; --line: #393a3b; --soft: #202223; --field: #222425; }
:root {
  --wash: #efefec;
  --icon-surface: linear-gradient(145deg, #fff, #eeefed);
  --icon-edge: #ffffff;
  --icon-shadow: 0 2px 3px #19191906, 0 8px 16px -10px #19191940;
  --row-hover: #f5f5f3;
}
:root[data-theme="dark"] {
  --wash: #292c2d;
  --icon-surface: linear-gradient(145deg, #343738, #222425);
  --icon-edge: #404344;
  --icon-shadow: 0 2px 3px #0002, 0 8px 16px -10px #000b;
  --row-hover: #242627;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.55; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }
button { border: 0; }
button:disabled { cursor: wait; opacity: .55; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
p, h1, h2, figure { margin: 0; }
.container { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px; background: var(--ink); color: var(--bg); z-index: 10; }
.skip-link:focus { top: 10px; }
.site-header { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark { font-size: 22px; font-weight: 700; letter-spacing: .17em; }
.studio-logo { display: inline-flex; flex-shrink: 0; padding-block: 5px; }
.studio-logo img { display: block; width: 63px; height: auto; }
:root[data-theme="dark"] .studio-logo img { filter: invert(1); }
.site-header nav { display: flex; gap: 34px; align-items: center; font-size: 14px; }
.nav-contact, .theme-toggle { background: transparent; padding: 10px 0; }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; }
.site-header a:hover, .nav-contact:hover { opacity: .65; }
.hero { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 48px; padding: 28px 0 68px; }
.eyebrow { font-size: 10px; letter-spacing: .14em; font-weight: 600; color: var(--muted); margin-bottom: 19px; }
h1 { font-size: clamp(48px, 5.4vw, 72px); letter-spacing: -.055em; line-height: 1.05; font-weight: 650; }
.hero-role { margin-top: 10px; font-size: clamp(23px, 2.7vw, 31px); line-height: 1.3; letter-spacing: -.025em; }
.hero-description { margin-top: 21px; color: var(--muted); font-size: 17px; max-width: 390px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 10px 22px; border: 1px solid var(--ink); border-radius: 5px; font-size: 14px; transition: opacity .2s; white-space: nowrap; }
.button:hover { opacity: .75; }
.button .icon { width: 18px; height: 18px; }
.button-primary { background: var(--ink); color: var(--bg); box-shadow: 0 5px 12px -6px #0007; }
.button-secondary { background: transparent; }
.hero-note { font-size: 12px; color: var(--muted); margin-top: 22px; max-width: 350px; }
.hero-image { position: relative; align-self: stretch; min-height: 365px; border-radius: 10px; overflow: hidden; background: #dedfdd; box-shadow: 0 18px 36px -20px #0005; }
.hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; position: absolute; }
.hero-image::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #0008); pointer-events: none; }
.hero-image figcaption { position: absolute; bottom: 16px; left: 20px; z-index: 1; color: #fff; font-size: 9px; letter-spacing: .16em; }
.split-section, .panel-row { display: grid; grid-template-columns: .6fr minmax(0, 1fr); gap: 38px; }
.split-section, .shared-panel { margin-bottom: 16px; padding: 36px 0 44px; border-top: 1px solid var(--line); }
.shared-panel { position: relative; isolation: isolate; }
.shared-panel::before { content: ""; position: absolute; inset: 0 -40px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 65% 50%, var(--wash), transparent 75%); }
.panel-row + .panel-row { margin-top: 42px; padding-top: 34px; border-top: 1px solid var(--line); }
.section-title { font-size: 25px; line-height: 1.3; letter-spacing: -.035em; font-weight: 650; }
.section-title::after { content: ""; display: block; width: 30px; height: 3px; background: var(--ink); margin-top: 16px; }
.about-copy { font-size: 16px; color: var(--muted); }
.about-copy p + p { margin-top: 14px; }
.skill-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; gap: 15px; }
.skill-list li, .interest { display: flex; flex-direction: column; align-items: center; gap: 13px; text-align: center; font-size: 12px; color: var(--muted); }
.skill-list .icon, .interest .icon { width: 33px; height: 33px; color: var(--ink); }
.skill-list .icon, .interest .icon { width: 56px; height: 56px; padding: 12px; background: var(--icon-surface); border: 1px solid var(--icon-edge); border-radius: 50%; box-shadow: var(--icon-shadow); }
.interest-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; }
.interest { background: transparent; padding: 4px; }
.interest .icon { transition: transform .2s; }
.interest:hover .icon, .interest:focus-visible .icon { transform: translateY(-4px); }
.connect-section { padding: 36px 0 0; margin-bottom: 60px; border-top: 1px solid var(--line); }
.connect-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 18px; }
.connect-heading > p { font-size: 13px; color: var(--muted); }
.reason-list { display: grid; }
.reason { width: 100%; display: grid; grid-template-columns: 30px 1fr 1.25fr 20px; gap: 18px; align-items: center; min-height: 76px; padding: 18px 8px; background: transparent; text-align: left; border-bottom: 1px solid var(--line); transition: background .2s; }
.reason:hover, .reason:focus-visible { background: var(--row-hover); }
.reason-number { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.reason-title { font-size: 14px; font-weight: 600; }
.reason-note { color: var(--muted); font-size: 12px; }
.reason .icon { width: 18px; height: 18px; transition: transform .2s; }
.reason:hover .icon, .reason:focus-visible .icon { transform: translateX(4px); }
.site-footer { background: var(--soft); padding: 34px 0; }
.footer-content { display: grid; grid-template-columns: 1fr .7fr; gap: 60px; }
.footer-content > div > p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.footer-content .footer-note { margin-top: 10px; }
.footer-personal h2 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -.035em; }
.footer-connect { border-left: 1px solid var(--line); padding-left: 55px; }
.footer-connect h2 { font-size: 16px; margin-bottom: 16px; }
.footer-contact { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 17px; background: transparent; font-size: 14px; }
.footer-connect > p { font-size: 11px !important; }
.contact-modal { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 35px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); box-shadow: 0 25px 100px #0003; overflow-y: auto; }
.contact-modal::backdrop { background: #0008; backdrop-filter: blur(5px); }
.modal-close { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; background: var(--soft); border-radius: 50%; }
.modal-close .icon { width: 18px; height: 18px; }
.contact-heading { margin-bottom: 24px; padding-right: 15px; }
.contact-heading .eyebrow { margin-bottom: 12px; }
.contact-heading h2 { font-size: 27px; letter-spacing: -.035em; }
.contact-heading > p:last-child { color: var(--muted); font-size: 13px; margin-top: 6px; }
#contact-form { display: grid; gap: 9px; }
#contact-form label { font-size: 12px; font-weight: 600; margin-top: 4px; }
#contact-form input, #contact-form select, #contact-form textarea { min-width: 0; width: 100%; padding: 11px 12px; background: var(--field); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; font-size: 16px; }
#contact-form input::placeholder, #contact-form textarea::placeholder { color: var(--muted); opacity: .7; }
#contact-form textarea { resize: vertical; min-height: 105px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 5px; }
.field { display: grid; gap: 9px; min-width: 0; }
#contact-form .botcheck { display: none; }
.form-submit-row { margin-top: 10px; display: flex; flex-direction: column-reverse; align-items: stretch; gap: 12px; }
.submit-button { padding: 12px 18px; min-height: 45px; background: var(--ink); color: var(--bg); border-radius: 5px; font-weight: 500; font-size: 14px; }
.submit-button span { margin-left: 12px; }
.form-status { font-size: 12px; color: var(--muted); }
.form-status.is-error { color: #b84636; }
.form-status.is-success { color: #54813e; }
@media (max-width: 900px) {
  .container { width: calc(100% - 56px); }
  .hero { gap: 28px; }
  .hero-image { min-height: 365px; }
  .hero-actions { gap: 9px; }
  .button { padding: 10px 14px; }
  .split-section, .panel-row { grid-template-columns: .45fr minmax(0, 1fr); gap: 25px; }
  .split-section, .shared-panel { padding: 32px 0 38px; }
  .shared-panel::before { inset-inline: -24px; }
  .connect-section { padding: 32px 0 0; }
  .interest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 76px; gap: 10px; }
  .wordmark { font-size: 18px; }
  .studio-logo img { width: 53px; }
  .site-header nav { gap: 17px; font-size: 12px; }
  .theme-toggle { width: 26px; }
  .theme-toggle .icon { width: 20px; }
  .hero { grid-template-columns: 1fr; padding: 28px 0 43px; gap: 27px; }
  h1 { font-size: clamp(48px, 12vw, 72px); }
  .hero-role { font-size: 26px; }
  .hero-description { font-size: 16px; max-width: 430px; }
  .hero-image { min-height: 0; aspect-ratio: 1.55; }
  .hero-note { max-width: none; }
  .split-section, .panel-row { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .split-section, .shared-panel { margin-bottom: 10px; padding: 28px 0 34px; }
  .shared-panel::before { inset-inline: -18px; }
  .panel-row + .panel-row { margin-top: 32px; padding-top: 28px; }
  .section-title { font-size: 23px; }
  .section-title::after { margin-top: 12px; }
  .about-copy { font-size: 15px; }
  .skill-list { gap: 10px; grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .skill-list li { font-size: 12px; }
  .interest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .connect-heading { display: block; }
  .connect-heading > p { margin-top: 12px; }
  .reason { grid-template-columns: 19px minmax(0, 1fr) 18px; gap: 5px 8px; padding: 16px 4px; }
  .reason-title { font-size: 13px; }
  .reason-note { grid-column: 2; grid-row: 2; font-size: 11px; }
  .reason > .icon { grid-column: 3; grid-row: 1 / 3; }
  .connect-section { padding: 28px 0 0; margin-bottom: 40px; }
  .footer-content { gap: 30px; grid-template-columns: 1fr; }
  .footer-connect { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .contact-modal { padding: 28px 22px 22px; }
  .contact-heading h2 { font-size: 24px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
