@font-face {
  font-family: Outfit;
  src: url("/assets/outfit-800.27147c0353ec.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --berry: #ce2853;
  --berry-dark: #ad1f43;
  --ink: #20292d;
  --muted: #637077;
  --line: #dce2e5;
  --paper: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; image-rendering: pixelated; }
svg { flex-shrink: 0; }
p { margin: 0; }
h1 { font-family: Outfit, sans-serif; font-weight: 800; }
h2, h3 { font-weight: 700; }
h1, h2, h3 { margin: 0; }
h2 { font-size: clamp(1.625rem, 2.5vw, 2rem); line-height: 1.25; letter-spacing: -.035em; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 5px; }
::selection { color: #fff; background: var(--berry-dark); }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 5; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 5px; }
.skip-link:focus { top: 12px; }

.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 96px; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Outfit, sans-serif; font-weight: 800; font-size: 1.375rem; letter-spacing: -.035em; white-space: nowrap; }
.brand img { flex-shrink: 0; }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: .875rem; font-weight: 600; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav a:hover { color: var(--berry-dark); }

.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); align-items: center; gap: 64px; padding-block: 100px 104px; }
.hero h1 { color: var(--berry); font-size: clamp(2.5rem, 5.1vw, 4.5rem); line-height: 1.08; letter-spacing: -.035em; }
.hero-intro { max-width: 390px; }
.hero-copy { font-size: 1.375rem; line-height: 1.45; letter-spacing: -.02em; text-wrap: pretty; }
.hero-detail { margin-top: 18px; font-size: .9375rem; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 26px; padding: 12px 22px; border-radius: 4px; background: var(--berry); color: #fff; font-size: .875rem; line-height: 1.5; font-weight: 650; text-align: center; }
.button:hover { background: var(--berry-dark); }

.projects { padding-top: 34px; padding-bottom: 88px; border-top: 1px solid var(--line); }
.section-intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 30px; }
.section-intro > p { max-width: 360px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.project { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 132px; align-items: center; gap: 36px; min-height: 126px; padding-block: 26px; border-top: 1px solid var(--line); }
.project:last-child { border-bottom: 1px solid var(--line); }
.project-name h3 { font-size: clamp(1.375rem, 2.25vw, 1.625rem); line-height: 1.25; letter-spacing: -.03em; overflow-wrap: anywhere; }
.project-name > p { margin-top: 7px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.project-description { max-width: 390px; font-size: .9375rem; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.project-link { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 44px; color: var(--berry-dark); font-size: .875rem; font-weight: 600; white-space: nowrap; }
.project-link:hover span { text-decoration: underline; text-underline-offset: 5px; }

.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 70px; align-items: start; padding-bottom: 88px; }
.company h2 { max-width: 390px; }
.company-copy { max-width: 470px; color: var(--muted); font-size: .9375rem; line-height: 1.8; text-wrap: pretty; }
.company-copy p + p { margin-top: 16px; }

.site-footer { padding-block: 28px 26px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { font-size: 1.125rem; }
.footer-top > p { color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.disclaimer { margin-top: 18px; max-width: 75ch; color: var(--muted); font-size: .75rem; line-height: 1.6; }

@media (max-width: 960px) {
  .hero { gap: 36px; padding-block: 78px 82px; }
  .hero-copy { font-size: 1.25rem; }
  .project { gap: 26px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 120px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 62px 66px; }
  .hero h1 { font-size: clamp(2.75rem, 6.6vw, 3.5rem); }
  .hero-intro { max-width: 470px; }
  .hero-copy { max-width: 350px; }
  .hero-detail { margin-top: 14px; }
  .section-intro { align-items: flex-start; flex-direction: column; gap: 10px; padding-bottom: 24px; }
  .projects { padding-bottom: 60px; }
  .project { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 24px; }
  .project-link { justify-self: start; grid-column: 2; justify-content: flex-start; }
  .company { gap: 32px; padding-bottom: 60px; }
}

@media (max-width: 520px) {
  .site-header { min-height: 80px; gap: 12px; }
  .brand { font-size: 1.125rem; gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .site-header nav { gap: 18px; font-size: .75rem; }
  .site-header nav a { text-align: center; }
  .hero { padding-block: 46px 52px; gap: 24px; }
  .hero h1 { font-size: clamp(2rem, 8.2vw, 2.65rem); }
  .hero-copy { font-size: 1.1875rem; }
  .hero-detail { font-size: .875rem; }
  .button { margin-top: 22px; }
  .projects { padding-top: 28px; padding-bottom: 50px; }
  .project { display: block; padding-block: 24px; min-height: 0; }
  .project-description { margin-top: 14px; font-size: .875rem; }
  .project-link { margin-top: 12px; }
  .company { display: block; padding-bottom: 50px; }
  .company-copy { margin-top: 20px; font-size: .875rem; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 16px; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 16px 8px; }
  .site-header nav { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
