:root {
  --sky: #dcecf0;
  --ice: #eff7f8;
  --ink: #173747;
  --muted: #46616c;
  --blue: #245a9d;
  --peach: #f6bda5;
  --seam: #9ebdc5;
  --radius: 30px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sky);
  background-image: radial-gradient(#c4dbe0 0.9px, transparent 0.9px);
  background-size: 11px 11px;
  line-height: 1.5;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 10; padding: 10px 16px; background: white; }
.skip-link:focus { top: 16px; }
.page { max-width: 1600px; margin: auto; padding: 0 clamp(20px, 4vw, 64px); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font: 700 1.32rem 'Space Grotesk', sans-serif; letter-spacing: -.06em; text-decoration: none; }
.wordmark img { border-radius: 9px; }
.wordmark-dot { color: var(--blue); }
.site-nav { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 42px); font-size: .94rem; font-weight: 700; }
.site-nav a { text-decoration-thickness: 2px; text-underline-offset: 5px; }
.site-nav a:hover { color: var(--blue); }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 670px;
  padding: clamp(40px, 7vw, 105px) clamp(24px, 6vw, 92px) 64px;
  background: var(--ice);
  border: 3px solid var(--ink);
  border-radius: var(--radius) var(--radius) 95px var(--radius);
  box-shadow: 10px 12px 0 var(--seam);
}
.hero::before { content: ''; position: absolute; inset: 14px; border: 2px dashed var(--seam); border-radius: 18px 18px 80px 18px; pointer-events: none; }
.kicker { margin: 0; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.kicker span { margin: 0 .5em; color: var(--blue); }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.07em; }
.hero h1 { position: relative; z-index: 1; margin: 26px 0 22px; line-height: .92; }
.hero-big { display: block; font-size: clamp(6.5rem, 17.5vw, 17rem); font-weight: 700; letter-spacing: -.105em; }
.hero-small { display: block; font-size: clamp(2.5rem, 5.5vw, 6.5rem); font-weight: 500; line-height: 1.04; }
.hero-bottom { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 28px; max-width: 920px; margin-top: 60px; }
.hero-bottom p { max-width: 43ch; margin: 0; font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 12px 21px; border: 2px solid var(--ink); border-radius: 100px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 4px 0 var(--seam); }
.button-dark { background: var(--ink); color: white; }
.button-light { background: var(--ice); color: var(--ink); }
.thread-art { position: absolute; right: -25px; bottom: -45px; width: min(36%, 380px); transform: rotate(-17deg); opacity: .95; }
.thread-back { stroke: var(--ink); stroke-width: 27; stroke-linecap: round; stroke-linejoin: round; }
.thread-front { stroke: var(--peach); stroke-width: 20; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 15 4; }
.section { padding: clamp(100px, 12vw, 170px) 0 0; }
.section-intro { display: grid; grid-template-columns: .55fr 1.4fr .9fr; align-items: start; gap: 30px; margin-bottom: 56px; }
.section-intro h2, .contact h2 { margin: 0; font-size: clamp(3rem, 6vw, 6.2rem); line-height: .98; }
.section-intro > p:last-child { max-width: 31ch; margin: 7px 0 0; font-size: 1.05rem; color: var(--muted); }
.work-list { border-top: 3px solid var(--ink); }
.work-item { display: grid; grid-template-columns: minmax(110px, .45fr) minmax(0, 2fr) 44px; align-items: center; gap: 25px; padding: 28px clamp(12px, 3vw, 35px); border-bottom: 3px solid var(--ink); text-decoration: none; transition: background .2s, padding-left .2s; }
.work-item:hover, .work-item:focus-visible { background: var(--ice); padding-left: clamp(20px, 3.7vw, 47px); }
.work-type { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.work-main { display: flex; align-items: baseline; gap: clamp(20px, 4vw, 60px); }
.work-main strong { min-width: 190px; font: 600 clamp(1.6rem, 3vw, 2.8rem) 'Space Grotesk', sans-serif; letter-spacing: -.055em; }
.work-main span { max-width: 40ch; color: var(--muted); }
.work-arrow { font-size: 2rem; line-height: 1; text-align: right; }
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(48px, 9vw, 140px); align-items: start; margin-top: clamp(90px, 12vw, 180px); padding: clamp(46px, 6vw, 90px); color: white; background: var(--blue); border: 3px solid var(--ink); border-radius: 90px var(--radius) var(--radius) var(--radius); box-shadow: 10px 12px 0 var(--seam); }
.contact .kicker { margin-bottom: 28px; }
.contact h2 { margin-bottom: 27px; }
.contact-lede { max-width: 36ch; margin-bottom: 32px; color: #e2eef7; font-size: 1.1rem; }
.contact-facts { margin: 0; padding-top: 5px; }
.contact-facts > div { padding: 15px 0 20px; border-bottom: 2px dashed #a7c8e4; }
.contact-facts dt { margin-bottom: 5px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #d2e4f3; }
.contact-facts dd { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-facts a { text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact a:focus-visible { outline-color: white; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 46px 0 36px; font-size: .85rem; font-weight: 700; }
.not-found { min-height: 100vh; padding-top: 32px; }
.not-found h1 { max-width: 10ch; margin: 15vh 0 24px; font-size: clamp(3rem, 10vw, 7rem); line-height: 1; }
.not-found p { max-width: 36ch; color: var(--muted); }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-bottom { align-items: start; flex-direction: column; max-width: 520px; margin-top: 44px; }
  .thread-art { width: 38%; opacity: .55; }
  .section-intro { grid-template-columns: 1fr 2fr; }
  .section-intro > p:last-child { grid-column: 2; }
  .work-main { display: block; }
  .work-main strong { display: block; margin-bottom: 4px; }
}
@media (max-width: 640px) {
  .site-header { align-items: start; padding: 22px 0; }
  .site-nav { gap: 16px; padding-top: 8px; font-size: .82rem; }
  .hero { padding: 45px 23px 60px; border-radius: 24px 24px 65px 24px; box-shadow: 6px 7px 0 var(--seam); }
  .hero::before { inset: 10px; border-radius: 15px 15px 54px 15px; }
  .hero-big { font-size: clamp(4.6rem, 19vw, 7rem); }
  .hero-small { font-size: clamp(2.4rem, 9vw, 4rem); }
  .hero-bottom { margin-top: 35px; }
  .thread-art { width: 65%; right: -25px; bottom: -65px; opacity: .28; }
  .section-intro { display: block; margin-bottom: 35px; }
  .section-intro .kicker { margin-bottom: 20px; }
  .section-intro > p:last-child { margin-top: 20px; }
  .work-item { grid-template-columns: 1fr 36px; gap: 5px 12px; padding: 22px 9px; }
  .work-type { grid-column: 1 / -1; margin-bottom: 7px; }
  .work-main strong { font-size: 1.65rem; }
  .work-main span { font-size: .92rem; }
  .contact { display: block; margin-top: 96px; padding: 45px 27px; border-radius: 65px 24px 24px 24px; box-shadow: 6px 7px 0 var(--seam); }
  .contact-facts { margin-top: 40px; }
  .site-footer { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .work-item { transition: none; }
}
