/* Edit these tokens to change the palette throughout the homepage. */
:root {
  --paper: #fff8f3;
  --ink: #382635;
  --muted: #716374;
  --line: #ddd5eb;
  --accent: #f8c8ad;
  --lavender: #eae4f2;
  --pink: #f7c6d3;
  --link: #382635;
  --link-hover: #563a51;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Open Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; }
a { color: var(--link); text-decoration: none; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 6px; }
a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -70px; padding: 12px; background: white; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; }
.wordmark img { display: block; width: 42px; height: auto; }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
nav a { padding-block: 12px; }
.intro {
  position: relative;
  isolation: isolate;
  padding: 78px 0 40px;
}
.hero-content { position: relative; }
.intro-description { color: var(--ink); }
.eyebrow, .small-label { font-size: 12px; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }
.eyebrow { margin: 0 0 30px; }
.intro .eyebrow { text-transform: none; font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: 20px; line-height: 1.5; letter-spacing: .04em; margin-bottom: 24px; }
.intro h1 { font-family: 'Albert Sans', Arial, sans-serif; max-width: 1000px; margin: 0; font-size: clamp(42px, 5.2vw, 64px); line-height: 1.12; font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
.keep-together { white-space: nowrap; }
.intro h1 strong { font-weight: 700; }
.intro h1 em { font-style: italic; }
.hero-experience { max-width: 880px; margin: 30px 0 0; font-size: 23px; line-height: 1.5; font-weight: 400; color: var(--ink); }
.intro-bottom { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: 34px; }
.intro-description { max-width: 515px; margin: 0; font-size: 20px; line-height: 1.6; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 22px; font-size: 14px; white-space: nowrap; padding-block: 8px; }
.text-link span { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; background: var(--accent); transition: transform .2s; }
.text-link:hover span { transform: translateY(3px); }
.work { position: relative; isolation: isolate; padding-top: 0; padding-bottom: 90px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: 21px; font-weight: 500; letter-spacing: -.6px; }
.small-label { color: var(--muted); border: 1px solid var(--line); padding: 7px 12px; border-radius: 30px; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px 32px; }
.project { min-width: 0; }
.project-wide { grid-column: 1 / -1; }
.project-image { isolation: isolate; position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; aspect-ratio: 1.5; border-radius: 18px; overflow: hidden; }
.project-wide .project-image { aspect-ratio: 2.8; }
.image-system { background: #fdf0ff; color: var(--ink); }
.image-system img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.image-orgvue { background: #fadac7; color: var(--ink); }
.image-trussle { background: var(--pink); color: var(--ink); }
.image-number { position: absolute; top: 23px; left: 25px; font-size: 12px; }
.image-caption { position: absolute; bottom: 23px; left: 25px; font-size: 12px; }
.placeholder-label { display: flex; flex-direction: column; align-items: center; gap: 15px; font-size: 12px; letter-spacing: .2px; border: 1px dashed currentColor; border-radius: 10px; padding: 25px 32px; background: rgb(255 255 255 / 30%); }
.placeholder-icon { display: grid; place-items: center; width: 40px; height: 40px; background: var(--paper); border-radius: 11px; font-size: 25px; line-height: 1; transform: rotate(-7deg); }
.project-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 22px; }
.project-heading h3 { font-size: 24px; font-weight: 500; letter-spacing: -.7px; margin: 0; }
.project-number { font-size: 11px; color: var(--muted); }
.project-description { max-width: 535px; margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact { background: var(--lavender); padding: 56px 0 26px; border-radius: 32px 32px 0 0; }
.contact .eyebrow { margin-bottom: 20px; }
.contact h2 { margin: 0; font-size: clamp(60px, 7vw, 88px); line-height: 1.1; letter-spacing: -4px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; }
.contact h2 span { display: grid; place-items: center; font-size: 42px; width: 76px; height: 76px; background: var(--accent); border: 1px solid var(--ink); border-radius: 50%; transform: rotate(8deg); }
.contact-placeholder { color: var(--muted); line-height: 1.6; font-size: 14px; margin-top: 22px; }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid #cfc3d9; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 20px; gap: 14px; flex-wrap: wrap; }
  .wordmark img { width: 36px; }
  nav { gap: 20px; font-size: 13px; }
  .intro { padding: 54px 0 32px; }
  .intro .eyebrow { font-size: 18px; margin-bottom: 20px; }
  .intro h1 { font-size: clamp(34px, 7.5vw, 48px); line-height: 1.14; }
  .hero-experience { font-size: 18px; margin-top: 28px; }
  .eyebrow { font-size: 10px; margin-bottom: 28px; }
  .intro-bottom { flex-direction: column; align-items: start; margin-top: 26px; gap: 18px; }
  .intro-description { font-size: 18px; max-width: 420px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .project-wide { grid-column: auto; }
  .project-image, .project-wide .project-image { min-height: 265px; aspect-ratio: 1.3; border-radius: 14px; }
  .placeholder-label { padding: 22px; }
  .project-heading { margin-top: 18px; }
  .project-heading h3 { font-size: 22px; }
  .work { padding-bottom: 58px; }
  .contact { padding-top: 42px; border-radius: 24px 24px 0 0; }
  .contact h2 { letter-spacing: -3px; }
  .contact h2 span { width: 56px; height: 56px; font-size: 30px; flex-shrink: 0; }
  .footer-bottom { margin-top: 40px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
