/* EDIT: Colours and type settings for the whole site. No external fonts needed. */
:root {
  color-scheme: light;
  --paper: #f5f3eb;
  --card: #faf9f4;
  --ink: #223c35;
  --muted: #5f685f;
  --accent: #b44127;
  --line: #d5d8cc;
  --soft: #e8eadd;
  --art: #ececdf;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #17251f;
  --card: #1d2d25;
  --ink: #f0eee3;
  --muted: #b6bdae;
  --accent: #f69b7b;
  --line: #405046;
  --soft: #273a2e;
  --art: #23362b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 10px 18px; background: var(--ink); color: var(--paper); z-index: 5; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; gap: 28px; min-height: 108px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: baseline; font-size: 26px; font-weight: 700; letter-spacing: -1.4px; line-height: 1; }
.wordmark > span:first-child { font-weight: 400; }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 5px; }
.site-header nav { margin-left: auto; display: flex; gap: 32px; font-size: 14px; }
.site-header nav a { padding-block: 12px; }
.site-header nav a:hover, .back-top:hover { color: var(--accent); }
.theme-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; }
.theme-toggle:hover { background: var(--soft); }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; column-gap: 55px; padding-top: 85px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; letter-spacing: 1.65px; line-height: 1.7; text-transform: uppercase; margin: 0 0 30px; }
.small-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(46px, 5.6vw, 77px); line-height: 1.1; letter-spacing: -4.5px; font-weight: 500; margin-bottom: 16px; }
.accent { color: var(--accent); }
.hero-statement { font-family: var(--serif); font-size: clamp(35px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -2.2px; margin-bottom: 26px; }
em { font-family: var(--serif); font-weight: 400; color: var(--accent); }
.hero-description { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 30px; }
.button { display: inline-flex; gap: 32px; align-items: center; padding: 13px 20px; background: var(--ink); color: var(--paper); font-size: 13px; border-radius: 3px; transition: transform .18s ease; }
.button:hover { transform: translateY(-3px); }
.button span { font-size: 21px; line-height: 1; }
.hero-art { background: var(--art); border: 1px solid var(--line); border-radius: 3px; padding: 22px 24px; align-self: start; transform: rotate(2deg); margin: 7px 8px 0 0; }
.art-topline, .art-caption { display: flex; justify-content: space-between; gap: 10px; font-family: monospace; font-size: 8px; letter-spacing: 1.2px; }
.orbit-art { display: block; width: 100%; height: auto; margin-block: 2px; }
.orbit-center, .orbit-dot { fill: var(--accent); }
.orbit-letter { fill: var(--paper); font: italic 86px var(--serif); letter-spacing: -8px; }
.orbit-star { stroke: var(--accent); }
.art-caption { align-items: center; padding-top: 13px; border-top: 1px solid var(--line); }
.handwritten { font: italic 14px var(--serif); letter-spacing: -.2px; }
.hero-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding-bottom: 26px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.hero-foot > a { font-size: 9px; letter-spacing: 1.5px; }
.hero-foot > a span { display: inline-block; margin-left: 15px; font-size: 16px; }
.section-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding-block: 95px; }
.section-label { padding-top: 9px; align-self: start; }
.section-number { color: var(--accent); padding-right: 8px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.16; letter-spacing: -1.5px; margin-bottom: 27px; }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.about-copy p { margin-bottom: 22px; }
.interest-list { display: flex; flex-wrap: wrap; gap: 9px; }
.interest-list span { font-size: 10px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 2px; }
.projects-section { border-top: 1px solid var(--line); padding-top: 65px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 20px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.project-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: start; }
.project-card { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--card); }
.project-visual { position: relative; display: grid; place-items: center; padding: 34px 45px; background: #d9dfcd; height: 290px; overflow: hidden; }
.mini-browser { width: 100%; max-width: 370px; background: #f9f7f0; color: #223c35; transform: rotate(-4deg) translateY(7px); border-radius: 5px; border: 1px solid #bac3ae; box-shadow: 9px 16px 0 #bec7b5; }
.browser-bar { display: flex; gap: 4px; align-items: center; padding: 9px 10px; border-bottom: 1px solid #d5d8cc; }
.browser-bar i { width: 4px; height: 4px; background: #96a48f; border-radius: 50%; }
.browser-bar > span { margin: 0 auto; font: 7px monospace; padding-right: 17px; }
.browser-page { padding: 22px 26px; }
.browser-page > span:first-child { font: 6px monospace; letter-spacing: 1px; }
.browser-page strong { display: block; font: 26px/1.12 var(--serif); letter-spacing: -.7px; margin: 12px 0; }
.browser-page strong span { color: #b44127; }
.mini-line { width: 75%; height: 3px; background: #d5d8cc; margin-top: 5px; }
.mini-line.short { width: 51%; }
.mini-button { display: inline-block; background: #223c35; color: #f9f7f0; margin-top: 17px; padding: 6px 9px; font-size: 5px; letter-spacing: .5px; }
.visual-index { position: absolute; bottom: 13px; right: 18px; font: 8px monospace; color: #43573c; }
.project-body { padding: 27px 28px; }
.project-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 8px; letter-spacing: 1.2px; color: var(--muted); margin-bottom: 14px; }
.status { background: var(--soft); color: var(--ink); padding: 3px 7px; letter-spacing: 0; font-size: 9px; }
h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.3; letter-spacing: -.65px; margin-bottom: 11px; }
.project-body > p { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.project-details { font-size: 12px; border-top: 1px solid var(--line); }
.project-details summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; padding-top: 16px; font-weight: 600; }
.project-details summary::-webkit-details-marker { display: none; }
.details-icon { font-size: 20px; font-weight: 400; line-height: 1; }
.project-details[open] .details-icon { transform: rotate(45deg); }
.project-details p { color: var(--muted); padding-top: 16px; margin: 0; }
.upcoming-project { background: transparent; }
.upcoming-art { height: 290px; display: grid; place-items: center; position: relative; background: var(--soft); }
.upcoming-art > span { font-family: var(--serif); color: var(--accent); font-size: 135px; line-height: 1; transform: rotate(-12deg); }
.dashed-orbit { position: absolute; width: 200px; height: 200px; border: 1px dashed var(--muted); border-radius: 50%; opacity: .45; }
.quiet-label { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.now-section { padding-block: 95px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 60px; }
.now-note { position: relative; border: 1px solid var(--line); background: var(--card); padding: 40px; }
.now-note::before { content: ''; position: absolute; width: 85px; height: 25px; left: calc(50% - 42px); top: -13px; background: var(--soft); opacity: .9; transform: rotate(-4deg); }
.now-note .eyebrow { margin-bottom: 20px; }
.now-note > p:not(.eyebrow) { color: var(--muted); font-size: 14px; max-width: 390px; }
.note-signature { display: block; font-size: 12px; margin-top: 24px; }
.note-signature > span { display: inline-block; font: italic 29px var(--serif); padding-top: 3px; }
.now-aside { text-align: center; }
.asterisk { color: var(--accent); font-size: 47px; line-height: 1; display: block; margin-bottom: 28px; }
.now-aside > p { font: 33px/1.3 var(--serif); letter-spacing: -.8px; margin-bottom: 24px; }
.now-aside .eyebrow { display: block; color: var(--muted); font-size: 8px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 30px; border-top: 1px solid var(--line); }
.site-footer .wordmark { font-size: 21px; }
.site-footer p, .back-top { font-size: 10px; color: var(--muted); margin: 0; }
.back-top span { margin-left: 12px; }
.error-page { min-height: 100vh; display: flex; flex-direction: column; }
.error-main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 70px; }
.error-main h1 { max-width: 700px; }
.error-main > p:not(.eyebrow) { max-width: 430px; color: var(--muted); margin-block: 20px 30px; }
@media (min-width: 1400px) { .hero { padding-top: 100px; } }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .hero { column-gap: 35px; padding-top: 60px; }
  h1 { letter-spacing: -3px; }
  .hero-statement { letter-spacing: -1.5px; }
  .hero-art { padding: 18px; margin-top: 20px; }
  .art-topline, .art-caption { font-size: 6px; }
  .handwritten { font-size: 11px; }
  .section-grid { grid-template-columns: 1fr 2.5fr; gap: 25px; }
  .section-label { font-size: 8px; letter-spacing: 1px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 15px; }
  .project-visual { padding-inline: 30px; }
  .project-body { padding: 23px; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 83px; gap: 14px; flex-wrap: wrap; padding-block: 16px; }
  .wordmark { font-size: 23px; }
  .site-header nav { gap: 17px; font-size: 12px; }
  .theme-toggle { width: 34px; height: 34px; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 25px; }
  h1 { font-size: clamp(47px, 10vw, 72px); }
  .hero-statement { font-size: clamp(41px, 8vw, 59px); }
  .hero-description { font-size: 14px; }
  .hero-art { margin: 44px 10px 0; padding: 20px 25px; max-width: 400px; width: calc(100% - 20px); justify-self: center; }
  .art-topline, .art-caption { font-size: 7px; }
  .handwritten { font-size: 12px; }
  .hero-foot { margin-top: 42px; font-size: 9px; gap: 15px; align-items: center; }
  .hero-foot > a { font-size: 7px; letter-spacing: .7px; flex-shrink: 0; }
  .hero-foot > a span { margin-left: 4px; }
  .section-grid { grid-template-columns: 1fr; padding-block: 55px; gap: 0; }
  .section-label { padding-top: 0; margin-bottom: 23px; }
  h2 { font-size: 37px; }
  .about-copy { grid-template-columns: 1fr; gap: 0; }
  .about-copy p { margin-bottom: 17px; }
  .interest-list { margin-top: 8px; }
  .projects-section { padding-top: 45px; }
  .project-grid { grid-template-columns: 1fr; gap: 22px; }
  .project-visual, .upcoming-art { height: 270px; }
  .project-body { padding: 24px; }
  .now-section { grid-template-columns: 1fr; padding-block: 65px 40px; gap: 50px; }
  .now-note { padding: 30px; }
  .now-aside > p { font-size: 28px; }
  .asterisk { margin-bottom: 20px; }
  .site-footer { flex-wrap: wrap; padding-block: 25px; row-gap: 18px; }
  .site-footer p { order: 3; flex-basis: 100%; }
}
@media (max-width: 370px) {
  .site-header { gap: 8px; }
  .site-header nav { gap: 12px; }
  .wordmark { font-size: 21px; }
  .theme-toggle { width: 30px; height: 30px; }
  .desktop-break { display: none; }
  .hero-foot { align-items: flex-start; }
  .hero-foot > span { max-width: 125px; }
  .art-caption { flex-direction: column; align-items: start; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
