:root { color-scheme: light dark; --background: #f4f5f0; --surface: #fbfcf8; --ink: #142019; --muted: #58645b; --line: #d2d9d1; --green: #176443; --green-pale: #dcece0; --serif: Iowan Old Style, Baskerville, Georgia, serif; --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --frame: 76rem; }
@media (prefers-color-scheme: dark) { :root { --background: #121814; --surface: #19211b; --ink: #eff4ed; --muted: #b2bdb4; --line: #364238; --green: #8bc8a0; --green-pale: #1c3927; } }
:root[data-theme="light"] { color-scheme: light; --background: #f4f5f0; --surface: #fbfcf8; --ink: #142019; --muted: #58645b; --line: #d2d9d1; --green: #176443; --green-pale: #dcece0; }
:root[data-theme="dark"] { color-scheme: dark; --background: #121814; --surface: #19211b; --ink: #eff4ed; --muted: #b2bdb4; --line: #364238; --green: #8bc8a0; --green-pale: #1c3927; }
* { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--background); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.55; } a { color: inherit; text-underline-offset: 0.18em; } a:hover { color: var(--green); } a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; } img { display: block; max-width: 100%; } h1, h2, h3, p { margin-top: 0; } h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0; line-height: 1.03; } .frame { width: min(calc(100% - 4rem), var(--frame)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 0.75rem; left: 0.75rem; transform: translateY(-200%); padding: 0.55rem 0.75rem; background: var(--ink); color: var(--background); text-decoration: none; } .skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); } .nav-frame { display: flex; min-height: 4.6rem; align-items: center; justify-content: space-between; gap: 1rem; } .wordmark { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; } nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.5rem); font-size: 0.88rem; } nav a { text-decoration: none; } .theme-toggle { width: 2.1rem; height: 2.1rem; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.75fr); align-items: center; gap: clamp(3rem, 10vw, 10rem); min-height: min(42rem, calc(100vh - 4.6rem)); padding-block: clamp(4rem, 9vw, 7rem); } .kicker, .project-index { color: var(--green); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; } .kicker { margin-bottom: 1rem; } h1 { margin-bottom: 1.2rem; font-size: clamp(4rem, 8.4vw, 7.5rem); } .positioning { max-width: 38rem; margin-bottom: 1.3rem; font-family: var(--serif); font-size: clamp(1.55rem, 2.7vw, 2.4rem); line-height: 1.2; } .intro { max-width: 38rem; margin-bottom: 2rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); } .hero-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.35rem; font-size: 0.94rem; font-weight: 700; } .hero-links a { color: var(--green); } .portrait { position: relative; width: min(100%, 28rem); margin: 0 0 0 auto; } .portrait::before { position: absolute; z-index: -1; top: 2rem; right: 2rem; width: 100%; height: 100%; background: var(--green-pale); content: ""; } .portrait img { width: 100%; height: auto; border: 1px solid var(--line); }
.work { padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(4rem, 8vw, 6.5rem); border-top: 1px solid var(--line); } .work-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; } .work-heading .kicker { margin: 0; } h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); } .projects { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); } .project { display: flex; min-height: 15.5rem; flex-direction: column; padding: clamp(1.4rem, 3vw, 2.35rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); } .project:hover { background: var(--green-pale); } .project-index { margin-bottom: auto; } .project h3 { margin: 1.5rem 0 0.65rem; font-size: clamp(1.65rem, 2.8vw, 2.4rem); } .project > p:not(.project-index):not(.project-links):not(.project-tag) { max-width: 33rem; margin-bottom: 1.25rem; color: var(--muted); } .project-links { display: flex; flex-wrap: wrap; gap: 1.15rem; margin: auto 0 0; font-size: 0.88rem; font-weight: 750; } .project-links a { color: var(--green); } .project-featured { grid-column: span 2; display: grid; grid-template-columns: minmax(12rem, 0.7fr) 1.3fr; gap: 2rem; min-height: 18rem; background: var(--green-pale); } .project-featured .project-index { margin: 0; } .project-featured h3 { margin-top: 1.2rem; font-size: clamp(2.25rem, 5vw, 4rem); } .project-detail { display: flex; flex-direction: column; } .project-detail > p:first-child { max-width: 45rem; margin: 0 0 1.3rem; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.38; } .project-tag { margin: 0; color: var(--muted); font-size: 0.82rem; font-weight: 650; letter-spacing: 0.03em; }
.site-footer { border-top: 1px solid var(--line); } .footer-frame { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.86rem; } .footer-frame p { margin: 0; } .footer-frame div { display: flex; gap: 1rem; }
@media (max-width: 48rem) { .frame { width: min(calc(100% - 2.5rem), var(--frame)); } .hero { grid-template-columns: 1fr; gap: 3rem; min-height: 0; padding-block: 4rem; } .portrait { width: min(100%, 24rem); margin: 0; } .portrait::before { top: 1.2rem; right: 1.2rem; } .projects { grid-template-columns: 1fr; } .project-featured { grid-column: span 1; grid-template-columns: 1fr; gap: 0.4rem; } }
@media (max-width: 31rem) { .frame { width: min(calc(100% - 2rem), var(--frame)); } .wordmark span { display: none; } nav { gap: 0.7rem; font-size: 0.82rem; } h1 { font-size: clamp(3.5rem, 18vw, 5.2rem); } .work-heading { display: block; } .work-heading .kicker { margin-bottom: 0.55rem; } .footer-frame { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0.4rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }