:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #141819;
  --muted: #414b50;
  --blue: #d3e4e3;
  --deep-blue: #2d505b;
  --gray: #efeff0;
  --line: #b7bfc2;
  --display: "DIN Condensed", Oswald, "Arial Narrow", sans-serif;
  --body: Raleway, "Avenir Next", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #1c6076; outline-offset: 5px; }
.shell { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 3; padding: .5rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; border-bottom: 1px solid var(--line); }
nav, .contact-links { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 3vw, 2rem); }
nav a { text-decoration: none; font-size: .95rem; font-weight: 650; }
nav a:hover, .contact-links a:hover { text-decoration: underline; text-underline-offset: .24em; }
.intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; margin-block: clamp(2rem, 5vw, 4.2rem); }
.intro > div:first-child { border-left: clamp(.8rem, 2.1vw, 1.75rem) solid var(--blue); padding: clamp(1.7rem, 4vw, 3.15rem) clamp(1.1rem, 3.2vw, 2.8rem); }
.intro h1 { font: 700 clamp(3rem, 7.2vw, 7rem)/1 var(--display); letter-spacing: .045em; }
.role { margin-top: .65rem; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 600; }
.intro-copy { display: grid; place-items: center; text-align: center; background: var(--blue); padding: clamp(1.3rem, 3.3vw, 2.8rem); }
.intro-copy p { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.45; }
.work, .about { border-top: 1px solid var(--line); padding-block: clamp(1.8rem, 4vw, 2.7rem) clamp(2.7rem, 6vw, 4.7rem); scroll-margin-top: 1rem; }
h2 { font: 700 clamp(1.25rem, 2.35vw, 1.75rem)/1.25 var(--body); letter-spacing: .15em; text-transform: uppercase; }
.work h2, .about h2 { display: flex; align-items: baseline; gap: .75rem; }
.work h2::before, .about h2::before { content: ""; width: .85rem; height: .65rem; flex: none; background: linear-gradient(to bottom, var(--deep-blue) 0 15%, transparent 15% 42%, var(--deep-blue) 42% 57%, transparent 57% 85%, var(--deep-blue) 85%); }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.7vw, 2.2rem); margin-top: 1.4rem; }
.project { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.art { display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--blue); }
.art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.art:hover img { transform: scale(1.035); }
.art.campaign { background: #b9ace8; }
.art.campaign img { clip-path: inset(6% 0); }
.art-poster { background: #202627; }
.art-poster img { object-fit: contain; }
.project-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: auto; }
h3 { font: 700 clamp(1.2rem, 2.05vw, 1.55rem)/1.25 var(--body); margin: 1rem 0 .55rem; }
.project p { color: var(--muted); margin-bottom: .8rem; }
.text-link { margin-top: auto; font-size: .94rem; font-weight: 700; text-underline-offset: .25em; }
.text-link:hover { color: var(--deep-blue); }
.about { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(1.4rem, 4vw, 3.6rem); padding-inline: clamp(1.15rem, 3.3vw, 2.8rem); background: var(--gray); }
.about p { max-width: 43rem; color: var(--muted); }
.about a { color: var(--deep-blue); text-underline-offset: .2em; }
.about .about-lead { color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.5; margin-bottom: 1rem; }
.contact { background: var(--blue); padding-block: 2.2rem; margin-top: clamp(1.6rem, 4vw, 3rem); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.contact-links a { font-weight: 700; text-underline-offset: .23em; }
@media (max-width: 48rem) {
  .shell { width: calc(100% - 2.5rem); }
  .intro { grid-template-columns: 1fr; }
  .intro h1 { font-size: clamp(2.6rem, 10.5vw, 5.3rem); }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .about { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 34rem) {
  .projects { grid-template-columns: 1fr; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
