:root {
  color-scheme: dark;
  --ink: #151117;
  --ink-soft: #211a22;
  --paper: #fff8fb;
  --pink: #ff4f9a;
  --pink-light: #ff9fc7;
  --yellow: #ffd76a;
  --muted: #b9adb9;
  --line: rgba(255, 255, 255, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 79, 154, 0.18), transparent 28rem),
    var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
}

nav {
  display: flex;
  gap: 1.75rem;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--paper);
}

main,
footer {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.hero {
  min-height: 39rem;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.7fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: 6.5rem 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.25rem;
  color: var(--pink-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.8rem;
  font-size: clamp(3.5rem, 7vw, 6.75rem);
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 37rem;
  margin-bottom: 2.25rem;
  color: #d8cdd7;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.primary-link {
  display: inline-flex;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--pink);
  border-radius: 999px;
  color: var(--paper);
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: var(--pink);
  color: var(--ink);
  transform: translateY(-2px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.hero-panel::after {
  content: "PC";
  position: absolute;
  right: -0.25rem;
  bottom: -2.4rem;
  color: rgba(255, 79, 154, 0.14);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  line-height: 1;
}

.panel-label {
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-panel p {
  margin-bottom: 0.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.panel-rule {
  display: block;
  width: 4rem;
  height: 0.25rem;
  margin-top: 3rem;
  background: var(--pink);
}

.company,
.portfolio,
.contact {
  border-top: 1px solid var(--line);
}

.company {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 6rem 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
}

.company > p {
  margin: 2.7rem 0 0;
  color: #d8cdd7;
  font-size: 1.15rem;
}

.portfolio {
  padding: 6rem 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 3.25rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  min-height: 30rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1.4rem;
  color: var(--ink);
}

.project-card--grit {
  background: var(--pink);
}

.project-card--dugout {
  background: var(--yellow);
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-index {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.project-status {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(21, 17, 23, 0.4);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

.project-card p {
  max-width: 30rem;
  color: rgba(21, 17, 23, 0.78);
  font-size: 1.05rem;
}

.project-card a {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
  text-decoration: none;
}

.contact {
  padding: 6rem 0 7rem;
}

.contact h2 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.contact > p:last-child {
  max-width: 42rem;
  color: #d8cdd7;
  font-size: 1.1rem;
}

footer {
  padding: 1.75rem 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

:focus-visible {
  outline: 3px solid var(--pink-light);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 2rem), var(--max));
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 0 4rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-panel {
    padding: 1.75rem;
  }

  .company,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .company,
  .portfolio,
  .contact {
    padding: 4rem 0;
  }

  .company > p {
    margin-top: 0;
  }

  .project-card {
    min-height: 25rem;
  }

  footer {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
