:root {
  --cream: #fbf7ee;
  --paper: #ffffff;
  --ink: #0b3440;
  --ink-soft: #285766;
  --teal: #064d5c;
  --teal-deep: #053844;
  --orange: #f59a18;
  --orange-soft: #ffe1a8;
  --muted: #6b7b80;
  --line: rgba(6, 77, 92, 0.14);
  --shadow: 0 30px 80px rgba(5, 56, 68, 0.13);
  --radius: 30px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(245, 154, 24, 0.16), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(6, 77, 92, 0.10), transparent 32%),
    linear-gradient(180deg, var(--cream) 0%, #ffffff 45%, var(--cream) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(251, 247, 238, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.22rem;
}

.mark {
  width: 146px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 650;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--orange);
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(245, 154, 24, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  background: #e88809;
  color: #fff;
  box-shadow: 0 22px 50px rgba(245, 154, 24, 0.32);
}

.button.secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(6, 77, 92, 0.06);
  color: var(--teal);
  box-shadow: none;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 148px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 22px rgba(245, 154, 24, 0.8);
}

h1 {
  max-width: 940px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

h1 span {
  color: var(--orange);
}

.hero-copy {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(1.14rem, 1.45vw, 1.34rem);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-art {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: min(76vw, 1120px);
  pointer-events: none;
}

.hero-image {
  width: 100%;
  max-width: none;
  height: 100%;
  margin-right: 0;
  object-fit: cover;
  object-position: right center;
  filter: drop-shadow(0 34px 70px rgba(5, 56, 68, 0.12));
}

section {
  padding: 105px 0;
}

.section-head {
  max-width: 990px;
  margin-bottom: 44px;
}

.kicker {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 720px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 55px rgba(5, 56, 68, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::after {
  content: none;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(6, 77, 92, 0.06);
}

.card-copy {
  padding: 28px 30px 32px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.card h3 {
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin-top: auto;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 20%, rgba(245, 154, 24, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 55px rgba(5, 56, 68, 0.08);
}

.section-cta strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.section-cta span {
  display: block;
  color: var(--muted);
  max-width: 720px;
}

.mission {
  border-radius: 42px;
  background:
    radial-gradient(circle at 8% 12%, rgba(245, 154, 24, 0.22), transparent 28%),
    linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  padding: 58px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.mission::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 300px;
  height: 420px;
  border-radius: 180px;
  border: 56px solid rgba(245, 154, 24, 0.2);
  transform: rotate(28deg);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.mission .kicker {
  color: var(--orange-soft);
}

.mission h2 {
  color: #fff;
  max-width: 760px;
  font-size: 4rem;
}

.mission p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 650px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(245, 154, 24, 0.18);
  color: var(--orange-soft);
  font-weight: 900;
}

.step h3 {
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.step p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
}

.possibilities {
  display: grid;
  grid-template-columns: 0.95fr 0.5fr;
  gap: 28px;
  align-items: stretch;
}

.possibility-copy {
  padding: 42px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.experience-card {
  min-height: 430px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 42%, rgba(245, 154, 24, 0.28), transparent 28%),
    linear-gradient(135deg, #ffffff, #f7eee0);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.experience-card::before,
.experience-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(6, 77, 92, 0.16);
}

.experience-card::before {
  inset: 72px;
}

.experience-card::after {
  inset: 132px;
  background: var(--orange);
  box-shadow: 0 0 90px rgba(245, 154, 24, 0.38);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(6, 77, 92, 0.05);
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 700;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 14px;
  row-gap: 26px;
}

.client-logo {
  min-height: 92px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease;
}

.client-logo img {
  width: min(100%, 230px);
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.88);
  opacity: 0.72;
  transition: filter 180ms ease, opacity 180ms ease;
}

.client-logo:hover {
  transform: translateY(-2px);
}

.client-logo:hover img {
  filter: grayscale(0%) contrast(0.96);
  opacity: 1;
}

.cta {
  text-align: center;
  padding: 92px 34px;
  border-radius: 46px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 154, 24, 0.42), transparent 32%),
    linear-gradient(135deg, var(--teal), var(--teal-deep));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(245, 154, 24, 0.22);
}

.cta .kicker {
  color: var(--orange-soft);
}

.cta h2,
.cta p,
.cta a {
  position: relative;
  z-index: 1;
}

.cta h2 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  font-size: 4rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1.12rem;
}

.agency-panel {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  padding: 58px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(251,247,238,0.9)),
    radial-gradient(circle at 80% 20%, rgba(245,154,24,0.18), transparent 30%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.agency-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(245,154,24,0.16);
}

.agency-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.agency-copy h2 {
  max-width: 800px;
  font-size: 4rem;
}

.agency-copy p {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 800px;
  margin-bottom: 18px;
}

.agency-list {
  display: grid;
  gap: 14px;
}

.agency-item {
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 18px 40px rgba(5,56,68,0.14);
}

.agency-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.agency-item span {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}

.page-hero {
  padding: 158px 0 82px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.48fr;
  gap: 56px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(3.1rem, 7vw, 6.4rem);
}

.page-hero-panel {
  min-height: 430px;
  border-radius: 42px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 154, 24, 0.28), transparent 25%),
    linear-gradient(135deg, #ffffff, #f4eadc);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.page-hero-panel span {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(6, 77, 92, 0.18);
}

.page-hero-panel span:nth-child(1) {
  inset: 44px;
}

.page-hero-panel span:nth-child(2) {
  inset: 112px;
  background: linear-gradient(135deg, var(--orange), #ffc15a);
  box-shadow: 0 0 80px rgba(245, 154, 24, 0.38);
}

.page-hero-panel span:nth-child(3) {
  width: 180px;
  height: 280px;
  left: -28px;
  bottom: -58px;
  background: linear-gradient(180deg, var(--teal), var(--teal-deep));
}

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

.work-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 55px rgba(5, 56, 68, 0.08);
  scroll-margin-top: 110px;
}

.work-card-link {
  display: block;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.work-card-link:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 154, 24, 0.34);
  box-shadow: 0 26px 64px rgba(5, 56, 68, 0.12);
}

.work-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
}

.work-visual {
  min-height: 310px;
  background: #f2eadf;
  position: relative;
  overflow: hidden;
}

.featured .work-visual {
  min-height: 460px;
}

.work-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.work-card-copy {
  padding: 32px;
}

.featured .work-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.work-meta {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.work-card h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
}

.work-card h3 {
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.work-card p {
  color: var(--muted);
}

.split-panel {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 52px;
  align-items: start;
  padding: 52px;
  border-radius: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.split-panel p {
  color: var(--muted);
  font-size: 1.12rem;
}

.case-hero {
  padding: 150px 0 56px;
}

.back-link {
  display: inline-flex;
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 34px;
}

.back-link:hover {
  color: var(--orange);
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: end;
}

.case-hero h1 {
  max-width: 980px;
  font-size: clamp(3.1rem, 7.8vw, 7rem);
}

.case-meta {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 55px rgba(5, 56, 68, 0.08);
}

.case-meta div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.case-meta div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.case-meta span {
  display: block;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.case-meta strong {
  display: block;
  color: var(--ink);
  line-height: 1.25;
}

.case-media-section {
  padding-top: 34px;
}

.case-main-image {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.case-main-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-content {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: start;
}

.case-intro h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.8rem);
}

.case-copy {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 1.15rem;
}

.case-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-breakdown article {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 55px rgba(5, 56, 68, 0.08);
}

.case-breakdown .num {
  margin-bottom: 34px;
  color: var(--orange);
  background: rgba(245, 154, 24, 0.12);
}

.case-breakdown h3 {
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.case-breakdown p {
  color: var(--muted);
}

.case-template-note {
  margin-top: 8px;
}

footer {
  padding: 44px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  nav {
    display: none;
  }

  .mission-grid,
  .possibilities,
  .agency-grid,
  .page-hero-grid,
  .work-card.featured,
  .split-panel,
  .case-hero-grid,
  .case-content {
    grid-template-columns: 1fr;
  }

  .hero-art {
    inset: 0 0 0 auto;
    width: min(86vw, 820px);
    overflow: hidden;
  }

  .hero-image {
    width: 100%;
    height: 100%;
  }

  .cards,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-breakdown {
    grid-template-columns: 1fr;
  }

  .work-card.featured {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    min-height: 880px;
    padding-top: 128px;
    align-items: start;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  h2,
  .mission h2,
  .agency-copy h2,
  .cta h2 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .hero-art {
    top: auto;
    right: -155px;
    bottom: 0;
    width: 680px;
    height: 620px;
  }

  .hero-image {
    transform: none;
  }

  section {
    padding: 74px 0;
  }

  .cards,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 20px;
  }

  .client-logo {
    min-height: 82px;
  }

  .client-logo img {
    max-height: 62px;
  }

  .mission,
  .possibility-copy,
  .cta,
  .agency-panel,
  .split-panel,
  .section-cta {
    padding: 34px 24px;
  }

  .section-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 128px;
  }

  .case-hero {
    padding-top: 128px;
  }

  .case-meta,
  .case-breakdown article {
    padding: 24px;
  }

  .page-hero-panel {
    min-height: 320px;
  }

  .work-visual,
  .featured .work-visual {
    min-height: 260px;
  }

  .work-card-copy,
  .featured .work-card-copy {
    padding: 26px;
  }
}
