:root {
  --black: #000;
  --ink: #0a0a0a;
  --white: #fff;
  --muted: #737373;
  --eyebrow: #8a8a8a;
  --blurb: #b8b8b8;
  --name: #f2f2f2;
  --tile: #1c1c1e;
  --blue: #1e4bff;
  --pad: 48px;
  --max: 1200px;
  --font: "Inter Tight", system-ui, sans-serif;
  --display: "Gasoek One", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-header {
  width: 100%;
  background: var(--black);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

.logo {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.nav a:hover {
  color: var(--white);
}

.profile {
  width: 100%;
  background: var(--black);
}

.profile__shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 96px;
  min-height: 880px;
}

.portrait-frame {
  flex: 0 0 auto;
  width: min(560px, 46vw);
  aspect-ratio: 560 / 720;
  overflow: hidden;
  background: #111;
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  flex: 1 1 0;
  max-width: 496px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 720px;
  justify-content: flex-end;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.blurb {
  margin: 0;
  font-size: 15px;
  color: var(--blurb);
}

.name-lockup {
  margin: 0;
  max-width: 329px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--name);
}

.name-line {
  display: block;
  white-space: nowrap;
}

.works {
  width: 100%;
  background: var(--black);
}

.works__shell {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.works-rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.marquee {
  overflow: hidden;
  width: 100%;
  height: 240px;
}

.marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  height: 100%;
  animation: marquee-left 48s linear infinite;
}

.marquee--top .marquee__track {
  animation-duration: 42s;
}

.marquee--bottom .marquee__track {
  animation-duration: 56s;
  animation-delay: -18s;
}

.tile {
  flex: 0 0 auto;
  width: 240px;
  height: 240px;
  background: var(--tile);
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

.works-footer {
  display: flex;
  justify-content: flex-end;
}

.view-all {
  font-size: 13px;
  color: var(--muted);
}

.view-all:hover {
  color: var(--white);
}

.contact {
  width: 100%;
  background: var(--blue);
  color: var(--ink);
}

.contact__shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: 532px;
}

.contact-left,
.contact-form {
  width: min(520px, 100%);
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-heading {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.contact-mail {
  font-size: 16px;
  color: var(--ink);
}

.contact-mail:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 13px;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.field input {
  height: 40px;
  padding: 0 14px;
  line-height: 40px;
}

.field textarea {
  min-height: 120px;
  padding: 12px 14px;
  line-height: 1.4;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink);
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.send {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 112px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.send:hover {
  opacity: 0.92;
}

.send:disabled {
  opacity: 0.6;
  cursor: wait;
}

.send-icon {
  display: block;
}

.thank-you-page {
  min-height: 100vh;
  background: var(--black);
}

.thank-you {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px;
}

.thank-you__sent {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
}

.thank-you__back {
  font-size: 13px;
  color: var(--muted);
}

.thank-you__back:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  :root { --pad: 24px; }

  .profile__shell,
  .contact__shell {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .portrait-frame {
    width: 100%;
    max-width: 560px;
  }

  .hero-copy {
    min-height: 0;
    max-width: none;
  }

  .name-lockup {
    margin: 0;
  }

  .marquee {
    height: 160px;
  }

  .tile {
    width: 160px;
    height: 160px;
  }
}
