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

:root {
  --serif: 'Cardo', Georgia, serif;
  --body: 'Cardo', Georgia, serif;
  --black: #111;
  --grey: #666;
  --light-grey: #e4e4e4;
  --bg: #fff;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--black);
  background: var(--bg);
  line-height: 1.6;
}

/* ── Desktop: two-column + bottom strip ── */

@media (min-width: 768px) {
  html, body {
    height: 100%;
    overflow: hidden;
  }

  .page {
    height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .top {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .hero {
    border-right: 1px solid var(--light-grey);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
    padding: 56px 52px 32px;
    overflow: hidden;
  }

  .work {
    display: flex;
    align-items: flex-start;
    padding: 56px 52px 56px;
    overflow-y: auto;
  }

  .clients {
    border-top: 1px solid var(--light-grey);
    padding: 24px 0 12px;
  }

  .cta {
    display: none;
  }

  .hero .btn--hero {
    align-self: center;
  }
}

/* ── Profile photo ── */

.profile {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.2rem;
  filter: grayscale(20%);
}

/* ── Hero ── */

.hero-inner,
.work-inner {
  width: 100%;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}

.hero-body {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  margin-bottom: 0.7rem;
}

.hero-note {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  color: var(--grey);
}

/* ── Work ── */

.work h2 {
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
  margin-bottom: 0.9rem;
}

.work p {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  margin-bottom: 0.9rem;
}

.work ul {
  list-style: none;
  padding: 0;
}

.work ul li {
  font-size: clamp(0.825rem, 1vw, 0.95rem);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-grey);
  line-height: 1.6;
}

.work ul li:first-child {
  border-top: 1px solid var(--light-grey);
}

/* ── Clients marquee ── */

.clients {
  overflow: hidden;
  width: 100%;
}

.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}

.clients-placeholder {
  font-size: 0.75rem;
  color: var(--light-grey);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

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

/* ── CTA ── */

.btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border: 1.5px solid var(--black);
  color: var(--black);
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
  align-self: flex-start;
  transition: background 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--black);
  color: #fff;
}

/* ── Mobile: natural single column ── */

@media (max-width: 767px) {
  .hero {
    padding: 60px 24px 0;
  }

  .work {
    padding: 40px 24px;
  }

  .clients {
    padding: 32px 0;
    border-top: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
  }

  .btn--hero {
    display: none;
  }

  .cta {
    padding: 40px 24px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
  }

  .cta .btn--cta {
    align-self: center;
  }
}
