:root {
  --ink: #18211e;
  --muted: #626b66;
  --paper: #f8faf9;
  --white: #ffffff;
  --line: #dce2dd;
  --accent: #c5ef77;
  --green: #386c40;
  --container: min(1280px, calc(100% - 96px));
  --radius: 6px;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body:has(.photo-viewer[open]) { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.6; }
:focus-visible { outline: 3px solid #488428; outline-offset: 5px; }
::selection { background: var(--accent); color: var(--ink); }
.section-frame, .site-footer { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; padding: 14px; background: var(--accent); }
.skip-link:focus { top: 12px; }

/* Navigation stays independent of image and content transitions. */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 82px;
  padding: 12px max(24px, calc((100% - 1280px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 249, 0.96);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: white; border-radius: 50%; font-size: 12px; font-weight: 750; }
.brand-text { display: grid; gap: 4px; }
.brand-text strong { font-size: 14px; font-weight: 650; }
.brand-text small { font-size: 10px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { position: relative; padding-block: 12px; font-size: 13px; color: var(--muted); }
.site-nav a::after { position: absolute; content: ""; bottom: 4px; left: 0; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 180ms; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.header-action { display: flex; align-items: center; gap: 20px; padding-block: 12px; font-size: 13px; font-weight: 650; }
.nav-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; }
.nav-toggle span { width: 20px; height: 1.5px; background: var(--ink); transition: transform 180ms, opacity 180ms; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; height: min(680px, calc(100svh - 156px)); min-height: 510px; color: white; background: #25312c; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(6, 15, 11, 0.44), transparent 30%, rgba(6, 15, 11, 0.2) 46%, rgba(6, 15, 11, 0.87)); }
.hero-content { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-block: 30px 42px; }
.hero-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; }
.availability { display: flex; gap: 10px; align-items: center; margin: 0; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero-role { margin: 0 0 18px; font-size: 13px; }
.hero h1 { margin: 0; font-size: 88px; font-weight: 550; line-height: 0.99; }
.name-period, .text-accent { color: #639740; }
.hero .name-period { color: var(--accent); }
.hero-summary { width: 280px; flex-shrink: 0; padding-bottom: 4px; }
.hero-summary p { margin: 0 0 16px; font-size: 27px; font-weight: 450; line-height: 1.2; }
.hero-summary > span { display: block; font-size: 12px; color: #e1e7e3; margin-bottom: 24px; line-height: 1.6; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; font-weight: 650; transition: background 180ms, transform 180ms; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; border-color: var(--ink); }
.hero .button-primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.button-secondary, .button-outline { background: transparent; color: var(--ink); }
.intro-band { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; padding-block: 76px; }
.eyebrow, .rail-label { margin: 0 0 22px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.eyebrow::before { content: "/"; margin-right: 10px; color: var(--green); }
.intro-statement { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 500; }
em { font-style: normal; color: var(--muted); }
.intro-description { max-width: 600px; margin: 24px 0; font-size: 16px; line-height: 1.8; color: var(--muted); }
.social-links { display: flex; flex-wrap: wrap; gap: 30px; }
.social-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; padding-block: 8px; }
.social-links a:hover { color: var(--green); }
.logo-rail { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 50px; padding-block: 26px; border-block: 1px solid var(--line); }
.rail-label { max-width: 200px; margin: 0; }
.rail-caption { display: flex; align-items: center; gap: 18px; }
.logo-pause { flex-shrink: 0; }
.logo-track.is-paused { animation-play-state: paused; }
.logo-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.logo-track { display: flex; width: max-content; align-items: center; gap: 44px; animation: marquee 50s linear infinite; padding-inline: 22px; }
.logo-track img { width: 90px; height: 36px; object-fit: contain; filter: grayscale(1); opacity: 0.65; }
.logo-viewport:hover .logo-track { animation-play-state: paused; }
.logo-viewport:focus-within .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding-block: 96px; scroll-margin-top: 20px; }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading h2, .contact h2 { margin: 0; font-size: 54px; font-weight: 500; line-height: 1.08; }
.section-intro { margin: 24px 0 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.featured-projects { border-bottom: 1px solid var(--line); }
.case-study { display: grid; grid-template-columns: 140px minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 44px; padding-block: 42px; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.case-index { grid-column: 1; grid-row: 1 / 6; display: flex; flex-direction: column; gap: 15px; font-size: 10px; line-height: 1.6; color: var(--muted); }
.project-status { color: var(--green); }
.case-study:nth-child(2) .project-status { color: #b1503b; }
.case-study:nth-child(3) .project-status { color: #426cb4; }
.case-study h3 { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 12px; font-size: 38px; line-height: 1.12; font-weight: 550; }
.case-symbol { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e4ebdf; flex-shrink: 0; }
.case-symbol svg { width: 24px; height: 24px; }
.case-study:nth-child(2) .case-symbol { background: #fae8e2; }
.case-study:nth-child(3) .case-symbol { background: #e3edf8; }
.case-study > p { grid-column: 3; grid-row: 1 / 3; margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
.case-study .case-subtitle { grid-column: 2; grid-row: 2; color: var(--ink); font-size: 14px; }
.case-study .case-stack { grid-column: 2; grid-row: 3; margin-top: 24px; max-width: 330px; font-size: 11px; }
.case-study .project-link { grid-column: 2; grid-row: 4; margin-top: 24px; align-self: start; }
.project-link { display: inline-flex; gap: 12px; align-items: center; width: fit-content; font-size: 12px; line-height: 1.6; font-weight: 650; color: var(--green); }
.project-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.case-details { grid-column: 3; grid-row: 3 / 6; margin-top: 24px; }
.case-details summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; border-block: 1px solid var(--line); font-size: 12px; font-weight: 650; cursor: pointer; list-style: none; }
.case-details summary::-webkit-details-marker { display: none; }
.case-details[open] summary svg { transform: rotate(45deg); }
.case-details dl { margin: 8px 0 0; }
.case-details dl > div { padding-top: 20px; }
.case-details dt { margin-bottom: 6px; font-size: 11px; font-weight: 650; }
.case-details dd { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }

.inline-link { text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.venture-section { padding-block: 80px; margin-bottom: 96px; background: #edf2f8; border-block: 1px solid #dce4ef; scroll-margin-top: 20px; }
.venture-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px; }
.venture-logo { width: 150px; height: 150px; object-fit: contain; mix-blend-mode: multiply; margin-block: 24px; }
.venture-identity h2 { margin: 0; max-width: 10ch; font-size: 48px; font-weight: 550; line-height: 1.08; }
.venture-role { margin-top: 20px; font-size: 13px; color: var(--muted); }
.venture-copy h3 { margin: 0 0 26px; font-size: 32px; line-height: 1.2; font-weight: 500; }
.venture-copy > p { margin: 0 0 20px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.venture-recognition { display: flex; align-items: center; gap: 16px; margin-block: 28px; padding-block: 20px; border-block: 1px solid #cbd7e5; font-size: 12px; line-height: 1.7; }
.venture-recognition span { flex: 1; }
.venture-recognition small { color: var(--muted); font-size: 11px; }
.venture-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.venture-actions .button-primary { background: #173e64; border-color: #173e64; }
.venture-actions .button-primary:hover { background: #245785; }
.more-work { padding-top: 0; }
.carousel-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.carousel-heading .section-heading { margin-bottom: 0; }
.more-work h2, .gallery-section h2 { font-size: 38px; }
.carousel-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.carousel-button, .icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); transition: background 150ms; }
.carousel-button:hover, .icon-button:hover { background: var(--accent); }
.carousel-button:disabled { opacity: 0.3; cursor: default; background: transparent; }
.carousel-viewport { overflow: hidden; padding: 6px; margin: -6px; }
.carousel-track { display: flex; align-items: stretch; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c5cec7 transparent; padding: 4px 0 24px; }
.carousel-track::-webkit-scrollbar { height: 3px; }
.carousel-track::-webkit-scrollbar-thumb { background: #c5cec7; }
.carousel-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
.project-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.project-media { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 30px; background: #f0f3f0; border-radius: var(--radius); font-weight: 550; }
.project-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card-topline { display: grid; gap: 5px; font-size: 10px; line-height: 1.6; color: var(--muted); }
.card-topline span:first-child { color: var(--green); }
.project-card h3 { margin: 18px 0 0; font-size: 22px; font-weight: 550; line-height: 1.2; }
.project-card p { margin: 16px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.tag-row span { font-size: 10px; color: var(--muted); }
.project-card .project-link { margin-top: 22px; }

.experience-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 80px; border-top: 1px solid var(--line); }
.experience-section > .section-heading { position: sticky; top: 120px; align-self: start; }
.timeline-item { padding: 28px 0; border-top: 1px solid var(--line); }
.timeline-item:first-child { padding-top: 0; border-top: 0; }
.timeline-date { margin-bottom: 14px; font-size: 11px; color: var(--muted); }
.timeline-item h3 { margin: 0; font-size: 22px; font-weight: 550; line-height: 1.3; }
.timeline-item p { color: var(--muted); font-size: 14px; line-height: 1.8; }
#skills { width: 100%; padding: 84px max(48px, calc((100% - 1280px) / 2)); background: #14291f; color: #f1f5ee; }
#skills .eyebrow, #skills em { color: #acbfb0; }
#skills .eyebrow::before { color: var(--accent); }
.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.skill-card { padding-top: 24px; border-top: 1px solid #405047; }
.skill-card h3 { margin: 0 0 16px; font-size: 17px; font-weight: 500; }
.skill-card p { margin: 0; font-size: 13px; line-height: 1.8; color: #b8c8bc; }

.recognition-card { flex: 0 0 calc((100% - 24px) / 2); min-width: 0; padding-bottom: 22px; scroll-snap-align: start; }
.recognition-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #edf0ec; border-radius: var(--radius); }
.recognition-card > span { display: block; margin-top: 24px; font-size: 11px; color: var(--green); }
.recognition-card strong { display: block; margin-top: 12px; font-size: 25px; font-weight: 550; line-height: 1.2; }
.recognition-card p { max-width: 56ch; margin: 16px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.recognition-card[id] { scroll-margin-top: 24px; }
.award-source { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--green); line-height: 1.6; }
.award-source:hover { text-decoration: underline; text-underline-offset: 4px; }
.gallery-section { padding-top: 0; }
.gallery-card { flex: 0 0 calc((100% - 48px) / 3); margin: 0; min-width: 0; scroll-snap-align: start; }
.gallery-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #e9ede7; border-radius: var(--radius); }
.photo-trigger { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; border-radius: var(--radius); }
.photo-trigger::after { content: "+"; position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; background: var(--white); border-radius: 50%; font-size: 20px; opacity: 0; transition: opacity 180ms; }
.photo-trigger:hover::after, .photo-trigger:focus-visible::after { opacity: 1; }
.photo-viewer { width: min(1100px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 16px; border: 1px solid #435048; border-radius: var(--radius); background: #14201a; color: white; }
.photo-viewer::backdrop { background: rgba(5, 13, 9, 0.9); }
.viewer-toolbar, .viewer-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.viewer-count { font-size: 12px; color: #c3d0c7; }
.viewer-image { width: 100%; height: min(68svh, 700px); object-fit: contain; margin-block: 14px; }
.photo-viewer .icon-button { color: white; border-color: #4a5e51; flex-shrink: 0; }
.photo-viewer .icon-button:hover { color: var(--ink); }
.viewer-caption { margin: 0; font-size: 12px; line-height: 1.5; text-align: center; }

.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; padding-block: 80px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.contact h2 { font-size: 48px; }
.contact-copy > p:not(.eyebrow) { max-width: 440px; margin-block: 28px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.contact-email { display: inline-flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.contact-form input[name="_honey"] { position: absolute; left: -9999px; }
.form-field { min-width: 0; display: grid; gap: 12px; }
.form-field-full, .form-submit, .contact-links { grid-column: 1 / -1; }
.form-field label { font-size: 11px; font-weight: 550; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #9ca99e; border-radius: 0; background: transparent; color: var(--ink); font-size: 16px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); outline-offset: 4px; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-submit { justify-content: space-between; width: 100%; }
.contact-links { display: flex; flex-wrap: wrap; gap: 20px; }
.contact-links .button { border: 0; padding: 4px 0; min-height: 32px; font-size: 11px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 40px; border-top: 1px solid var(--line); }
.footer-name { font-size: 28px; font-weight: 600; }
.site-footer > span { font-size: 11px; line-height: 1.8; color: var(--muted); }
.back-to-top { display: flex; align-items: center; gap: 18px; font-size: 11px; }
.thank-you-shell { min-height: 100svh; display: grid; align-content: center; gap: 60px; padding-block: 48px; }
.thank-you-card { max-width: 720px; }
.thank-you-card h1 { font-size: 64px; font-weight: 500; margin: 0; }
.thank-you-card p:not(.eyebrow) { font-size: 17px; color: var(--muted); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Content remains readable if animations or JavaScript are unavailable. */
.js [data-reveal] { transition: opacity 500ms, transform 500ms; }
.js [data-reveal].will-reveal { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (min-width: 1680px) {
  .hero h1 { font-size: 104px; }
}
@media (max-width: 1100px) {
  :root { --container: calc(100% - 64px); }
  .site-header { gap: 18px; padding-inline: 32px; }
  .brand-text small { display: none; }
  .site-nav { gap: 16px; }
  .hero h1 { font-size: 72px; }
  .case-study { grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; }
  .case-study h3 { font-size: 30px; }
  .case-symbol { width: 40px; height: 40px; }
  .experience-section, .contact { gap: 40px; }
  .section-heading h2, .contact h2 { font-size: 44px; }
  .carousel-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 900px) {
  .venture-inner { gap: 40px; }
  .venture-identity h2 { font-size: 40px; }
  .venture-copy h3 { font-size: 28px; }
  .site-header { min-height: 72px; }
  .nav-toggle { display: flex; }
  .header-action { display: none; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 0; padding: 16px 32px 24px; background: var(--paper); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 180ms, transform 180ms; }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .site-nav a { font-size: 20px; padding: 14px 0; }
  .site-nav a::after { display: none; }
  .hero h1 { font-size: 62px; }
  .hero-summary { width: 220px; }
  .hero-summary p { font-size: 23px; }
  .hero-bottom { gap: 24px; }
  .intro-band, .logo-rail { grid-template-columns: 1fr; gap: 24px; }
  .intro-band > .eyebrow { margin-bottom: 0; }
  .logo-rail { grid-template-columns: 160px minmax(0, 1fr); }
  .case-study { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 30px; }
  .case-index { grid-column: 1 / -1; grid-row: 1; flex-direction: row; justify-content: space-between; margin-bottom: 26px; }
  .case-study h3 { grid-column: 1; grid-row: 2; }
  .case-study .case-subtitle { grid-column: 1; grid-row: 3; }
  .case-study > p { grid-column: 2; grid-row: 2 / 4; }
  .case-study .case-stack { grid-column: 1; grid-row: 4; }
  .case-study .project-link { grid-column: 1; grid-row: 5; }
  .case-details { grid-column: 2; grid-row: 4 / 7; }
  .experience-section { grid-template-columns: 1fr; gap: 20px; }
  .experience-section > .section-heading { position: static; }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #skills { padding-inline: 32px; }
  .recognition-card strong { font-size: 22px; }
  .gallery-card { flex-basis: calc((100% - 24px) / 2); }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .venture-section { padding-block: 48px; margin-bottom: 64px; }
  .venture-inner { grid-template-columns: 1fr; gap: 28px; }
  .venture-logo { width: 112px; height: 112px; margin-block: 20px; }
  .venture-identity h2 { max-width: 100%; font-size: 36px; }
  .venture-copy h3 { font-size: 26px; }
  .venture-copy > p { font-size: 14px; }
  .venture-actions { gap: 20px; }
  :root { --container: calc(100% - 40px); }
  html { scroll-padding-top: 76px; }
  .site-header { padding: 10px 20px; min-height: 66px; }
  .brand-text strong { font-size: 13px; }
  .hero { height: min(640px, calc(100svh - 132px)); min-height: 510px; }
  .hero-photo { object-position: 49% 30%; }
  .hero-content { padding-block: 20px 26px; }
  .hero-topline { font-size: 10px; }
  .hero-topline > span { max-width: 110px; text-align: right; line-height: 1.6; }
  .hero-bottom { display: block; }
  .hero-role { font-size: 11px; margin-bottom: 12px; }
  .hero h1 { font-size: 50px; line-height: 1; }
  .hero-summary { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 0; }
  .hero-summary p { display: none; }
  .hero-summary > span { margin: 0; max-width: 145px; font-size: 11px; }
  .hero-summary .button { font-size: 11px; padding-inline: 14px; gap: 8px; white-space: nowrap; }
  .intro-band { padding-block: 40px; }
  .intro-statement { font-size: 32px; }
  .intro-description { font-size: 14px; margin-block: 20px; }
  .social-links { gap: 24px; }
  .logo-rail { grid-template-columns: 1fr; gap: 18px; }
  .rail-label { max-width: none; font-size: 9px; }
  .logo-track { gap: 28px; }
  .logo-track img { width: 78px; height: 30px; }
  .section { padding-block: 64px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .contact h2 { font-size: 36px; }
  .section-intro { font-size: 13px; margin-top: 18px; }
  .case-study { display: flex; flex-direction: column; padding-block: 32px; }
  .case-index { font-size: 10px; margin-bottom: 22px; }
  .case-study h3 { font-size: 34px; margin-bottom: 14px; }
  .case-study .case-subtitle { margin-bottom: 20px; font-size: 13px; }
  .case-study > p { font-size: 14px; }
  .case-study .case-stack { margin-top: 20px; }
  .case-study .project-link { margin-top: 20px; }
  .case-details { width: 100%; margin-top: 22px; }
  .case-details dd { font-size: 13px; }
  .more-work, .gallery-section { padding-top: 0; }
  .more-work h2, .gallery-section h2 { font-size: 30px; }
  .carousel-heading { gap: 18px; align-items: flex-end; margin-bottom: 28px; }
  .carousel-controls { gap: 6px; }
  .carousel-button { width: 38px; height: 38px; }
  .carousel-track { gap: 16px; }
  .carousel-card, .recognition-card, .gallery-card { flex-basis: 100%; }
  .project-card { padding: 24px; }
  .timeline-item h3 { font-size: 20px; }
  #skills { padding: 60px 20px; }
  .skills-grid { gap: 30px 20px; }
  .skill-card h3 { font-size: 15px; }
  .skill-card p { font-size: 12px; }
  .recognition-card strong { font-size: 22px; }
  .contact { padding-block: 60px; }
  .contact-email { font-size: 14px; gap: 12px; }
  .contact-form { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { align-items: flex-start; gap: 24px; }
  .footer-name { font-size: 26px; flex-basis: 100%; }
  .thank-you-card h1 { font-size: 42px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 42px; }
  .hero-summary { gap: 12px; }
  .hero-summary > span { font-size: 10px; }
  .section-heading h2, .contact h2 { font-size: 31px; }
  .more-work h2, .gallery-section h2 { font-size: 26px; }
  .case-study h3 { font-size: 30px; }
  .skills-grid { grid-template-columns: 1fr; }
}
@media (max-height: 640px) {
  .hero { height: calc(100svh - 124px); min-height: 240px; }
  .hero-content { padding-block: 14px 20px; }
  .hero h1 { font-size: 42px; }
  .hero-role { font-size: 10px; margin-bottom: 10px; }
  .hero-summary p { font-size: 20px; }
  .hero-summary > span { margin-bottom: 12px; }
}
@media (max-width: 900px) {
  html:not(.js) .site-header { flex-wrap: wrap; }
  html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; transform: none; display: flex; flex-wrap: wrap; width: 100%; padding: 0; }
  html:not(.js) .site-nav a { font-size: 13px; padding: 10px; }
  html:not(.js) .nav-toggle { display: none; }
}
html:not(.js) .carousel-controls { display: none; }
html:not(.js) .logo-pause { display: none; }
html:not(.js) .logo-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-track { animation: none; }
  .logo-pause { display: none; }
  *, *::before, *::after { transition: none !important; }
}
