:root {
  --ink: #191919;
  --paper: #f2eee7;
  --orange: #ef4b25;
  --line: rgba(25, 25, 25, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
h1, h2, h3 { overflow-wrap: anywhere; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-header {
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 231, 0.94);
  position: relative;
  z-index: 20;
}
.brand img { width: 260px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: var(--orange); }
.nav-contact { border: 1px solid var(--ink); border-radius: 999px; padding: 12px 18px; }
.menu-toggle { display: none; border: 0; background: none; }

.hero {
  min-height: calc(100vh - 118px);
  height: 760px;
  max-height: 860px;
  display: grid;
  grid-template-columns: 58% 42%;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-content {
  padding: clamp(70px, 9vw, 130px) clamp(24px, 7vw, 110px);
  align-self: center;
  position: relative;
  z-index: 3;
}
.eyebrow, .section-number {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
}
.hero h1 {
  margin: 22px 0 28px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(82px, 9vw, 150px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 520px; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; gap: 24px; text-decoration: none; }
.portfolio-more[hidden] { display: none; }
.button-primary { background: var(--ink); color: white; padding: 17px 22px; }
.text-link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-weight: 600; }
.hero-portrait { position: relative; background: #d2cabd; height: 100%; overflow: hidden; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, transparent 45%, rgba(239,75,37,.58)); mix-blend-mode: multiply; }
.portrait-label { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; color: white; display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.hero-orbit { position: absolute; border: 1px solid rgba(25,25,25,.12); border-radius: 50%; z-index: 1; }
.orbit-one { width: 520px; height: 520px; right: 31%; top: 90px; }
.orbit-two { width: 300px; height: 300px; right: 38%; bottom: -130px; }

.manifesto {
  display: grid;
  grid-template-columns: 24% 76%;
  padding: clamp(80px, 10vw, 150px) clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}
.manifesto-copy h2 {
  margin: 0 0 38px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(50px, 6vw, 92px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.035em;
}
.manifesto-copy h2 span { color: var(--orange); }
.manifesto-copy p { max-width: 700px; font-size: 21px; line-height: 1.65; }
.manifesto-copy .text-link { display: inline-block; margin-top: 18px; }

.services { padding: clamp(80px, 8vw, 130px) clamp(24px, 5vw, 76px); background: var(--ink); color: white; }
.section-heading { display: grid; grid-template-columns: 24% 76%; align-items: end; margin-bottom: 55px; }
.section-heading h2 { margin: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(50px, 6vw, 88px); text-transform: uppercase; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.service-card { min-width: 0; border: 1px solid rgba(255,255,255,.18); color: inherit; text-decoration: none; transition: background-color .25s, border-color .25s, transform .25s, box-shadow .25s; }
.service-card:hover, .service-card:focus-visible { background: #3b3734; border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.24); }
.service-card:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.service-card img { width: 100%; height: 260px; object-fit: cover; filter: grayscale(100%) contrast(1.1); transition: .35s ease; }
.service-card:hover img { filter: grayscale(0%) contrast(1.05); }
.service-copy { padding: 18px; min-height: 190px; }
.service-copy span { color: var(--orange); font-size: 12px; }
.service-copy h3 { margin: 46px 0 10px; font-family: Impact, "Arial Narrow", sans-serif; text-transform: uppercase; font-size: 26px; }
.service-copy p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.45; }

.service-page { max-width: 1440px; margin: 0 auto; padding: clamp(44px, 7vw, 100px) clamp(24px, 5vw, 76px); }
.service-page-back { display: inline-block; margin-bottom: 48px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-weight: 600; }
.service-page-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.service-page-copy h1 { margin: 22px 0 26px; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(64px, 9vw, 120px); line-height: .9; letter-spacing: -.035em; text-transform: uppercase; }
.workshop-page .service-page-copy h1 { font-size: clamp(48px, 6.4vw, 92px); }
.service-page-intro { max-width: 800px; margin: 0 0 42px; font-size: clamp(21px, 2.5vw, 30px); line-height: 1.4; }
.service-page-copy h2 { margin: 42px 0 14px; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(28px, 3vw, 40px); line-height: 1; text-transform: uppercase; }
.service-page-copy h3 { margin: 30px 0 10px; font-size: 20px; }
.service-page-copy p, .service-page-copy li { max-width: 780px; font-size: 18px; line-height: 1.7; }
.service-page-copy ul { padding-left: 22px; }
.service-page-copy img, .service-page-copy video, .service-page-copy iframe { max-width: 100%; }
.service-page-copy img { height: auto; margin: 20px 0; }
.service-page-aside { position: sticky; top: 24px; }
.service-page-aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(100%) contrast(1.05); }
.workshop-page .service-page-aside img { height: auto; aspect-ratio: auto; object-fit: contain; }
.service-page-aside p { margin: 18px 0 24px; line-height: 1.6; }
.service-page-aside .button { margin-bottom: 10px; }

.workshop-offers { margin-top: 64px; }
.workshop-offers h2, .workshop-audience h2 { margin: 0 0 24px; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(32px, 4vw, 52px); line-height: 1; text-transform: uppercase; }
.workshop-offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.workshop-offer { padding: 22px; border: 1px solid var(--line); }
.workshop-offer h3 { margin: 0 0 12px; font-family: Impact, "Arial Narrow", sans-serif; font-size: 26px; line-height: 1; text-transform: uppercase; }
.workshop-offer p { line-height: 1.55; }
.workshop-offer-meta { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; }
.workshop-audience { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.workshop-audience p { max-width: 850px; font-size: 18px; line-height: 1.7; }

.studio { border-bottom: 1px solid var(--line); }
.studio-copy { max-width: 1200px; margin: 0 auto; padding: clamp(60px, 8vw, 120px) clamp(24px, 6vw, 90px); }
.studio-copy h2 { margin: 45px 0 28px; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(55px, 6vw, 82px); line-height: .98; text-transform: uppercase; }
.studio-copy p:not(.section-number) { font-size: 18px; line-height: 1.65; }
.studio-copy ul { list-style: none; padding: 20px 0 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.studio-copy li { padding: 10px 0; border-bottom: 1px solid var(--line); }

.work { padding: clamp(80px, 8vw, 130px) clamp(24px, 5vw, 76px); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.portfolio-card { display: flex; min-width: 0; padding: 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: inherit; text-align: left; cursor: pointer; flex-direction: column; transition: .2s; }
.portfolio-card:hover { border-color: var(--orange); color: var(--orange); }
.portfolio-card img { width: 100%; aspect-ratio: 300 / 159; object-fit: cover; background: #ddd; }
.portfolio-card-copy { display: grid; grid-template-columns: 1fr auto; gap: 12px; width: 100%; padding: 18px 0 22px; }
.portfolio-card strong { font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; text-transform: uppercase; }
.portfolio-card time { font-size: 12px; }
.portfolio-more { margin: 42px auto 0; }
.client-carousel { margin-top: 76px; padding-top: 42px; border-top: 1px solid var(--line); }
.client-carousel-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.client-carousel-heading h2 { margin: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(32px, 4vw, 52px); line-height: 1; text-transform: uppercase; }
.client-carousel-controls { display: flex; align-items: center; gap: 10px; }
.client-carousel-control { min-width: 44px; min-height: 44px; padding: 8px 13px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.client-carousel-control:hover, .client-carousel-control:focus-visible { border-color: var(--ink); background: var(--ink); color: white; }
.client-carousel-control:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.client-carousel-viewport { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.client-carousel-viewport.is-animating { scroll-snap-type: none; }
.client-carousel-viewport::-webkit-scrollbar { display: none; }
.client-carousel-track { display: flex; gap: 13px; width: max-content; padding: 0; margin: 0; list-style: none; }
.client-logo-slide { flex: 0 0 clamp(150px, 17vw, 190px); height: 94px; scroll-snap-align: start; }
.client-logo-slide a { display: grid; width: 100%; height: 100%; place-items: center; padding: 8px 20px; background: transparent; }
.client-logo-slide img { display: block; width: auto; height: auto; max-width: 100%; max-height: 72px; object-fit: contain; mix-blend-mode: multiply; }
.work-list { border-top: 1px solid var(--ink); }
.work-list .work-item { width: 100%; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--ink); display: grid; grid-template-columns: 12% 35% 1fr 30px; align-items: center; min-height: 112px; text-align: left; font: inherit; cursor: pointer; transition: .2s; }
.work-list .work-item:hover { background: var(--orange); color: white; padding: 0 20px; }
.work-list strong { font-family: Impact, "Arial Narrow", sans-serif; font-size: 32px; text-transform: uppercase; }
.work-list b { font-size: 22px; }
.project-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 32px); border: 0; padding: 0; color: var(--ink); background: var(--paper); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.project-dialog::backdrop { background: rgba(25,25,25,.82); }
.dialog-close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 30px; cursor: pointer; }
.dialog-content { padding: clamp(48px, 8vw, 90px); }
.dialog-content h2 { margin: 28px 0 12px; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(52px, 9vw, 96px); line-height: .92; text-transform: uppercase; }
.dialog-category { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dialog-content > p:not(.section-number):not(.dialog-category) { max-width: 560px; margin: 30px 0 38px; font-size: 19px; line-height: 1.65; }

.contact { background: var(--orange); color: white; min-height: 360px; padding: clamp(48px, 5vw, 72px) clamp(24px, 5vw, 76px); position: relative; }
.contact h2 { max-width: 720px; margin: 28px 0 18px; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(46px, 5.5vw, 75px); line-height: .92; text-transform: uppercase; }
.contact-link { font-size: clamp(24px, 3vw, 42px); text-decoration: none; border-bottom: 2px solid white; }
.contact-link span { margin-left: 12px; }
.contact-details { position: absolute; right: clamp(24px, 5vw, 76px); bottom: 42px; text-align: right; }
.contact-details p { margin-top: 0; }
.contact-details a { text-decoration: none; }

footer { height: 110px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 76px); background: var(--ink); color: white; position: relative; }
.brand-footer img { width: 190px; filter: brightness(0) invert(1); }
footer p, footer a { font-size: 13px; }
footer p { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
footer a { text-decoration: none; }
.footer-mail { margin-right: 72px; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(25, 25, 25, .16);
  text-decoration: none;
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, visibility .2s, transform .2s, background .2s, color .2s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--ink);
  color: white;
}

.hero h1,
.manifesto-copy h2,
.section-heading h2,
.service-copy h3,
.service-page-copy h1,
.service-page-copy h2,
.studio-copy h2,
.portfolio-card strong,
.work-list strong,
.dialog-content h2,
.contact h2 {
  letter-spacing: 0.01em;
}

@media (max-width: 960px) {
  .site-header { height: 86px; }
  .brand img { width: 190px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; position: relative; }
  .menu-toggle span:not(.sr-only) { display: block; flex: none; width: 24px; height: 2px; margin: 0; background: var(--ink); }
  .main-nav { display: none; position: absolute; top: 86px; left: 0; right: 0; background: var(--paper); padding: 28px 24px; border-bottom: 1px solid var(--ink); flex-direction: column; align-items: flex-start; }
  .main-nav.open { display: flex; }
  .nav-contact { margin-top: 8px; }
  .hero { height: auto; min-height: 760px; grid-template-columns: 1fr; }
  .hero-content { padding: 70px 24px 50px; }
  .hero-portrait { height: 420px; }
  .hero h1 { font-size: clamp(68px, 17vw, 110px); }
  .orbit-one { right: -250px; top: 260px; }
  .manifesto, .section-heading { grid-template-columns: 1fr; }
  .manifesto-copy { margin-top: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child { grid-column: span 2; }
  .studio-copy { min-width: 0; }
  .service-page-layout { grid-template-columns: 1fr; }
  .workshop-page .service-page-copy h1 { font-size: clamp(32px, 10.5vw, 70px); }
  .service-page-aside { position: static; max-width: 520px; }
  .workshop-offer-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo-slide { flex-basis: 160px; }
  .work-list .work-item { grid-template-columns: 70px 1fr 30px; }
  .work-list .work-item > span:nth-of-type(2) { display: none; }
  .contact-details { position: static; text-align: left; margin-top: 65px; }
}

@media (max-width: 560px) {
  .hero { min-height: 700px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-portrait { height: 360px; }
  .portrait-label {
    bottom: 80px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 5px;
  }
  .hero h1 { font-size: clamp(48px, 15vw, 64px); }
  .manifesto-copy h2 { font-size: clamp(38px, 11vw, 46px); }
  .section-heading h2 { font-size: clamp(36px, 11vw, 48px); }
  .studio-copy h2 { font-size: clamp(34px, 10vw, 44px); }
  .service-page-copy h1 { font-size: clamp(36px, 10vw, 56px); }
  .workshop-page .service-page-copy h1 { font-size: clamp(34px, 10vw, 54px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .service-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: stretch; }
  .service-card img { height: 150px; }
  .service-copy { min-height: 150px; padding: 14px 16px; }
  .service-copy h3 { margin: 18px 0 6px; font-size: 21px; }
  .service-copy p { font-size: 14px; line-height: 1.4; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .client-carousel-heading { align-items: flex-start; flex-direction: column; }
  .client-logo-slide { flex-basis: 145px; height: 80px; }
  .client-logo-slide img { max-height: 60px; }
  .work-list .work-item { min-height: 96px; grid-template-columns: 55px 1fr 20px; }
  .work-list strong { font-size: 24px; }
  .contact { min-height: 360px; }
  .contact h2 { font-size: clamp(36px, 10vw, 46px); }
  .dialog-content h2 { font-size: clamp(28px, 9vw, 40px); }
  footer { height: auto; min-height: 110px; flex-wrap: wrap; align-items: center; flex-direction: row; justify-content: space-between; gap: 12px; padding: 0 clamp(24px, 5vw, 76px); padding-top: 18px; padding-bottom: 18px; }
  .brand-footer img { width: 150px; }
  footer p { position: static; flex: 1 1 100%; margin: 0; text-align: center; transform: none; }
}
