:root {
  --amber: #e49a18;
  --amber-deep: #c47e05;
  --ink: #080808;
  --charcoal: #161512;
  --cream: #f6f1e9;
  --paper: #fbfaf6;
  --sand: #ebe1d4;
  --moss: #4d4b3e;
  --muted: #6f685f;
  --line: rgba(8,8,8,.13);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --sans: "Archivo", Inter, system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(251,250,246,.88);
  border-bottom: 1px solid rgba(8,8,8,.06);
  backdrop-filter: blur(18px);
}
.brand-mark {
  width: fit-content;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .9;
  text-transform: uppercase;
}
.brand-mark span { display: block; font-size: 18px; }
.brand-mark small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .36em; }
.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--amber-deep); }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.header-cta span,
.pill-button span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.hero-section {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 56px) 70px;
  border-bottom-left-radius: 50% 6%;
  border-bottom-right-radius: 50% 6%;
  background:
    radial-gradient(circle at 82% 16%, rgba(228,154,24,.22), transparent 28%),
    linear-gradient(180deg, #fbfaf6 0%, #f4eee5 100%);
}
.eyebrow {
  color: var(--amber-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-copy h1,
.section-heading h2,
.about-strip h2,
.about-card h2,
.contact-banner h2,
.case-hero h1,
.success-page h1 {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
em {
  font-family: var(--serif);
  color: var(--amber);
  font-weight: 500;
  letter-spacing: -.05em;
  text-transform: none;
}
.hero-intro {
  max-width: 560px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}
.round-arrow {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--amber);
  font-size: 22px;
  font-weight: 900;
}
.text-link {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 7px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-showcase {
  position: relative;
  min-height: min(640px, 62vw);
  display: grid;
  place-items: center;
}
.project-orbit {
  position: relative;
  width: min(620px, 100%);
  height: min(620px, 68vw);
}
.hero-card {
  position: absolute;
  inset: 6% 4% 10%;
  opacity: 0;
  transform: translateX(34px) rotate(4deg) scale(.94);
  transition: opacity .7s ease, transform .7s ease;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(8,8,8,.20);
  background: var(--sand);
}
.hero-card.active { opacity: 1; transform: translateX(0) rotate(0) scale(1); z-index: 3; }
.hero-card.next {
  opacity: .78;
  transform: translateX(54px) translateY(20px) rotate(-3deg) scale(.88);
  z-index: 2;
  filter: grayscale(.2) brightness(.8);
}
.hero-card.far {
  opacity: .45;
  transform: translateX(102px) translateY(44px) rotate(2deg) scale(.78);
  z-index: 1;
  filter: grayscale(.5) brightness(.65);
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(251,250,246,.86);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.slide-count {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 8px;
  align-items: start;
  font-family: var(--serif);
  font-size: 44px;
}
.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8,8,8,.16);
  border-radius: 999px;
  background: rgba(251,250,246,.92);
  color: var(--ink);
  font-size: 20px;
  box-shadow: 0 12px 36px rgba(8,8,8,.12);
  transform: translateY(-50%);
  cursor: pointer;
}
.hero-nav-prev { left: -8px; }
.hero-nav-next { right: -8px; }
.hero-nav:hover { background: var(--amber); }

.about-strip {
  margin: -28px clamp(18px, 4vw, 56px) 0;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  background: rgba(251,250,246,.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 70px rgba(8,8,8,.07);
}
.portrait-badge {
  position: relative;
}
.portrait-badge img {
  width: 128px;
  height: 128px;
  border-radius: 999px;
  object-fit: cover;
}
.portrait-badge span {
  position: absolute;
  right: -8px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
}
.about-strip h2 {
  max-width: 760px;
  font-size: clamp(28px, 4vw, 58px);
  line-height: .98;
}
.about-strip p:last-child {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
}
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 11px 12px 11px 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.pill-button.dark { background: var(--ink); color: #fff; }
.pill-button.dark span { background: #fff; color: var(--ink); }
.pill-button.outline { border: 1px solid var(--line); background: #fff; }

.work-section,
.services-section,
.about-section,
.contact-section {
  padding: clamp(74px, 10vw, 132px) clamp(18px, 4vw, 56px);
}
.section-heading {
  max-width: 880px;
  margin-bottom: 42px;
}
.section-heading.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.section-heading h2,
.contact-banner h2 {
  font-size: clamp(42px, 7vw, 88px);
}
.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.work-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--sand);
  color: #fff;
  isolation: isolate;
}
.work-card:nth-child(4),
.work-card:nth-child(10) { grid-column: span 2; }
.work-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.work-card:hover img { transform: scale(1.05); }
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8,8,8,.28), rgba(8,8,8,.08) 38%, rgba(8,8,8,.74));
}
.work-card-top,
.work-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}
.work-card .number,
.work-card .tag {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.work-card h3 {
  max-width: 470px;
  font-size: clamp(28px, 3.2vw, 58px);
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.card-arrow {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: var(--ink);
}

.logo-line {
  padding: 26px clamp(18px, 4vw, 56px);
  display: flex;
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  overflow-x: auto;
  background: var(--cream);
  border-block: 1px solid var(--line);
  white-space: nowrap;
}
.logo-line span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.logo-line strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.services-section { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.services-grid article {
  min-height: 280px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
}
.services-grid span {
  color: var(--amber-deep);
  font-size: 11px;
  font-weight: 900;
}
.services-grid h3 {
  margin-top: 50px;
  font-size: 25px;
  letter-spacing: -.04em;
}
.services-grid p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 78px);
  align-items: center;
}
.about-image {
  overflow: hidden;
  border-radius: 46% 46% 36px 36px;
  background: var(--amber);
}
.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-card {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
}
.about-card h2 { font-size: clamp(38px, 5.5vw, 78px); }
.about-card p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
}

.contact-section {
  background: var(--amber);
  border-top-left-radius: 50% 9%;
  border-top-right-radius: 50% 9%;
}
.contact-banner {
  max-width: 960px;
  margin-bottom: 34px;
}
.contact-banner .eyebrow { color: rgba(8,8,8,.62); }
.contact-banner em { color: #fff; }
.contact-banner p:last-child {
  max-width: 560px;
  margin-top: 12px;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(18px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background: var(--paper);
}
.hidden-field { display: none; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.contact-form .full,
.submit-button { grid-column: 1 / -1; }
.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.form-status.error { color: #9f2f21; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font: 500 16px var(--sans);
  padding: 16px;
  outline: none;
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--amber-deep); }
.submit-button:disabled {
  cursor: wait;
  opacity: .62;
}
.submit-button {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 900 12px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-footer {
  min-height: 120px;
  padding: 28px clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  background: var(--ink);
  color: #fff;
}
.site-footer img {
  width: 180px;
}
.site-footer nav {
  display: flex;
  gap: 26px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-links {
  display: grid;
  gap: 14px;
  justify-items: center;
}
.site-footer .footer-socials {
  color: var(--amber);
  font-size: 9px;
}
.site-footer a:hover { color: var(--amber); }
.site-footer p {
  justify-self: end;
  color: rgba(255,255,255,.58);
  font-size: 12px;
}

.case-page { background: var(--cream); }
.case-hero {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.case-hero h1 { font-size: clamp(48px, 8vw, 104px); }
.case-meta {
  margin-top: 28px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.case-hero-image {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--sand);
  display: grid;
  place-items: center;
  box-shadow: 0 28px 90px rgba(8,8,8,.16);
}
.case-hero-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(620px, 72vh);
  object-fit: contain;
}
.case-intro,
.case-gallery,
.case-next {
  padding: 0 clamp(18px, 4vw, 56px) clamp(64px, 8vw, 110px);
}
.case-intro {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(24px, 5vw, 80px);
}
.case-intro p {
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 28px);
}
.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.case-gallery figure {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: clamp(10px, 1.2vw, 18px);
}
.case-gallery figure:first-child,
.case-gallery figure:nth-child(4) {
  grid-column: 1 / -1;
  min-height: clamp(420px, 58vw, 780px);
}
.case-gallery img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(820px, 92vh);
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 12px);
}
.case-gallery figure:first-child img,
.case-gallery figure:nth-child(4) img {
  max-height: min(780px, 90vh);
}
.case-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.case-next h2 {
  font-size: clamp(34px, 5vw, 74px);
  line-height: .95;
  letter-spacing: -.05em;
}
.success-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  background: var(--amber);
}
.success-page img { width: min(360px, 80vw); }
.success-page h1 {
  max-width: 820px;
  font-size: clamp(42px, 8vw, 96px);
}
.success-page p:not(.eyebrow) { max-width: 520px; color: rgba(8,8,8,.68); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-section,
  .case-hero,
  .about-section,
  .case-intro {
    grid-template-columns: 1fr;
  }
  .hero-showcase { min-height: 520px; }
  .about-strip {
    grid-template-columns: 100px 1fr;
    border-radius: var(--radius-xl);
  }
  .about-strip .pill-button { grid-column: 1 / -1; width: fit-content; }
  .work-grid,
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card:nth-child(4),
  .work-card:nth-child(10) { grid-column: span 1; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; }
  .site-footer p { justify-self: start; }
}

@media (max-width: 640px) {
  .site-header { height: 66px; }
  .header-cta {
    display: inline-flex;
    gap: 8px;
    padding: 8px 10px 8px 14px;
    font-size: 0;
  }
  .header-cta::before {
    content: "Let’s talk";
    font-size: 10px;
  }
  .header-cta span { width: 24px; height: 24px; }
  .brand-mark span { font-size: 16px; }
  .hero-section {
    min-height: auto;
    padding-top: 52px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .hero-copy h1 {
    font-size: clamp(48px, 17vw, 68px);
  }
  .hero-showcase { min-height: 360px; }
  .project-orbit {
    height: 360px;
    overflow: hidden;
    border-radius: 30px;
  }
  .hero-card { inset: 0 0 12%; }
  .hero-card.next {
    transform: translateY(16px) rotate(-2deg) scale(.9);
  }
  .hero-card.far {
    transform: translateY(28px) rotate(2deg) scale(.82);
  }
  .hero-card:not(.active):not(.next):not(.far) {
    transform: translateY(12px) scale(.9);
  }
  .slide-count {
    font-size: 28px;
    right: 8px;
  }
  .about-strip {
    margin-top: 0;
    grid-template-columns: 1fr;
    text-align: left;
  }
  .work-section,
  .services-section,
  .about-section,
  .contact-section { padding-block: 70px; }
  .section-heading.split { display: block; }
  .section-heading.split .pill-button { margin-top: 20px; }
  .work-grid,
  .services-grid,
  .contact-form,
  .case-gallery {
    grid-template-columns: 1fr;
  }
  .work-card {
    min-height: 360px;
    border-radius: 26px;
  }
  .work-card h3 { font-size: 34px; }
  .contact-section {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .case-gallery figure:first-child,
  .case-gallery figure:nth-child(4) {
    grid-column: auto;
    min-height: auto;
  }
  .case-gallery figure {
    min-height: auto;
    padding: 10px;
  }
  .case-hero-image img {
    height: auto;
    max-height: 420px;
  }
  .case-next {
    align-items: stretch;
    flex-direction: column;
  }
  .site-footer nav {
    flex-wrap: wrap;
  }
}
