@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Familjen+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --black: #000;
  --white: #fff;
  --soft: #f4f4f4;
  --line: #d8d8d8;
  --display: "Atkinson Hyperlegible", Arial, Helvetica, sans-serif;
  --utility: "Familjen Grotesk", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--display);
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; color: var(--black); background: var(--white); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 218px;
  padding: 24px clamp(32px, 4vw, 64px);
  color: var(--white);
  background: var(--black);
}
.brand { grid-column: 2; grid-row: 1; justify-self: center; }
.brand img { width: clamp(290px, 29vw, 390px); height: auto; }
.nav { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav a { color: var(--white); text-decoration: none; font-family: var(--utility); font-size: 14px; font-weight: 400; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.nav .portal-link { border: 0; padding: 0; }
.menu-toggle { display: none; grid-column: 3; grid-row: 1; justify-self: end; border: 0; background: transparent; padding: .6rem; color: var(--white); }
.menu-toggle span { display: block; width: 27px; height: 2px; margin: 6px 0; background: currentColor; }

.hero { position: relative; min-height: min(72vh, 760px); overflow: hidden; color: var(--white); background: #111; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(72vh, 760px);
  padding: 48px 24px;
  text-align: center;
  text-shadow: 0 1px 16px rgba(0,0,0,.5);
}
.hero h1, .hero h2 { margin: 0; color: var(--white); font-weight: 400; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.hero h1 { font-size: clamp(31px, 3.95vw, 55.8px); }
.hero h2 { max-width: none; font-size: clamp(24px, 2.87vw, 40.5px); }
@media (min-width: 701px) {
  .hero h1, .hero h2 { white-space: nowrap; }
}
.home-intro { padding: clamp(56px, 5.6vw, 80px) clamp(28px, 10.5vw, 150px); background: var(--white); }
.home-statement { width: min(100%, 1160px); }
.home-statement p { margin: 0 0 clamp(22px, 2vw, 30px); font-size: clamp(20px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.02em; text-transform: uppercase; }
.home-statement p:first-child { font-weight: 700; }
.home-statement strong { font-weight: 700; }

.featured-work { padding: 0 clamp(28px, 7vw, 98px) clamp(90px, 11vw, 160px); background: var(--white); }
.featured-work-header { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 34px; padding-top: 46px; border-top: 1px solid var(--black); }
.featured-work-header h2 { margin: 0; font-size: clamp(29px, 3.2vw, 45px); line-height: 1; text-transform: uppercase; }
.text-link { display: inline-flex; width: fit-content; font-family: var(--utility); font-size: 14px; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.text-link:hover { border-bottom-color: transparent; }
.featured-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.featured-project { display: grid; align-content: start; }
.featured-project-image { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.featured-project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.featured-project-image:hover img { transform: scale(1.025); }
.featured-project-copy { padding-top: 18px; }
.featured-project-copy .project-number { margin: 0 0 24px; font-family: var(--utility); font-size: 13px; }
.featured-project-copy h3 { margin: 0 0 12px; font-size: clamp(24px, 2.1vw, 32px); font-weight: 400; line-height: 1.05; text-transform: uppercase; }
.featured-project-copy > p:not(.project-number) { min-height: 5.7em; margin: 0 0 18px; font-size: 17px; line-height: 1.42; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 27px; border: 1px solid var(--black); border-radius: 999px; color: var(--black); background: transparent; font-family: var(--utility); text-decoration: none; font-size: 14px; text-transform: uppercase; transition: .2s ease; }
.button:hover { color: var(--white); background: var(--black); }
.button.light { border-color: var(--white); color: var(--white); }
.button.light:hover { color: var(--black); background: var(--white); }
.button.solid { color: var(--white); background: var(--black); }
.button.solid:hover { color: var(--black); background: var(--white); }

.work-page { padding: 24px clamp(22px, 7vw, 98px) 110px; }
.project { padding: 0 0 clamp(85px, 10vw, 150px); }
.project + .project { padding-top: 20px; }
.project-title { margin: 0 0 34px; font-size: clamp(25px, 2.7vw, 39px); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.gallery figure { grid-column: span 6; margin: 0; overflow: hidden; background: var(--soft); }
.gallery figure.wide, .gallery figure:first-child { grid-column: 1 / -1; }
.gallery img {
  width: 100%;
  height: 100%;
  max-height: 900px;
  object-fit: cover;
  filter: brightness(1.035) contrast(1.045) saturate(.94);
}
.project-description { max-width: 930px; margin: 28px 0 0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; }

.about-original { padding: 48px clamp(28px, 7vw, 98px) 105px; overflow: auto; }
.about-original img { float: right; width: 45%; margin: 0 0 28px 16px; }
.about-original h1, .about-original p { margin: 0; font-size: clamp(24px, 2.5vw, 35.2px); font-weight: 400; line-height: 1.142; letter-spacing: -.02em; text-transform: uppercase; }
.about-original h1 { padding-top: 18px; }
.about-original p { margin-top: 32px; }
.about-original h1 + p { margin-top: 0; }
.about-original h1 + p + p { margin-top: 40px; }
.about-original strong { font-weight: 700; }

.services-page { padding: clamp(80px, 9vw, 135px) clamp(28px, 10.5vw, 150px) 110px; }
.services-intro { max-width: 1100px; margin: 0 auto clamp(90px, 10vw, 145px); text-align: center; font-size: clamp(27px, 3.05vw, 43px); line-height: 1.2; letter-spacing: -.02em; text-transform: uppercase; }
.services-block { width: min(100%, 1120px); margin: 0 auto 80px; }
.section-title { margin: 0 0 35px; font-size: clamp(29px, 3.2vw, 45px); font-weight: 700; text-transform: uppercase; }
.service-line { margin: 0 0 23px; font-size: clamp(19px, 2.05vw, 29px); line-height: 1.27; text-transform: uppercase; }
.service-line strong { font-weight: 700; }
.process-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 7vw, 100px); align-items: start; margin-bottom: 48px; }
.process-heading .section-title { margin: 0; }
.process-heading > p { max-width: 710px; margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; text-transform: uppercase; }
.process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 7vw, 92px) clamp(22px, 3vw, 44px); }
.process-step { margin: 0; text-transform: none; }
.process-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; background: var(--soft); }
.process-number { margin: 0 0 20px; font-family: var(--utility); font-size: 13px; }
.process-step h3 { margin: 0 0 12px; font-size: clamp(24px, 2.3vw, 34px); font-weight: 400; line-height: 1.05; text-transform: uppercase; }
.process-step p:last-child { margin: 0; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; }
.case-study { margin-top: clamp(110px, 12vw, 170px); padding-top: clamp(56px, 7vw, 90px); border-top: 1px solid var(--black); }
.case-study-header { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 7vw, 100px); align-items: start; margin-bottom: 52px; }
.case-study-kicker { margin: 10px 0 0; font-family: var(--utility); font-size: 13px; letter-spacing: .02em; text-transform: uppercase; }
.case-study-header .section-title { margin: 0 0 22px; }
.case-study-header > div > p { max-width: 760px; margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; text-transform: uppercase; }
.case-study-sequence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 7vw, 96px) clamp(22px, 3vw, 44px); }
.case-study-stage { display: flex; flex-direction: column; min-width: 0; }
.case-study-media { display: block; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 18px; background: var(--soft); object-fit: cover; }
model-viewer.case-study-media { height: auto; min-height: 0; --poster-color: var(--soft); }
.case-study-stage h3 { margin: 0 0 12px; font-size: clamp(24px, 2.3vw, 34px); font-weight: 400; line-height: 1.05; text-transform: uppercase; }
.case-study-stage > p:not(.process-number):not(.model-hint) { margin: 0; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; }
.case-study-stage .model-hint { margin: 14px 0 0; font-family: var(--utility); font-size: 12px; letter-spacing: .03em; text-transform: uppercase; }
.case-study-link { margin-top: 20px; }
.guarantee { max-width: 1020px; margin: 95px auto 0; padding-top: 55px; border-top: 1px solid var(--black); text-align: center; text-transform: uppercase; }
.guarantee h2 { font-size: clamp(26px, 3vw, 42px); }
.guarantee p { margin: 0 auto 34px; font-size: clamp(18px, 1.7vw, 24px); }

.contact-page { padding: clamp(80px, 10vw, 145px) clamp(28px, 10.5vw, 150px); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 10vw, 150px); align-items: start; max-width: 1200px; margin: auto; }
.contact-quote { margin: 30px 0 24px; font-size: clamp(24px, 2.2vw, 33px); line-height: 1.55; }
.contact-details { display: grid; gap: 26px; font-size: clamp(17px, 1.35vw, 20px); }
.contact-details strong { display: block; margin-bottom: 3px; }
.contact-details a { text-underline-offset: 4px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 32px 28px; color: var(--white); background: var(--black); }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; }
.field input, .field textarea { width: 100%; border: 1px solid #777; border-radius: 9px; padding: 11px 12px; color: var(--white); background: var(--black); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--white); outline-offset: 2px; }
.contact-form .button { grid-column: 1 / -1; margin-top: 4px; }

.site-footer { padding: 52px clamp(28px, 5vw, 70px) 28px; color: var(--white); background: var(--black); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .8fr; gap: 38px; max-width: 1280px; margin: auto; }
.footer-logo { width: 220px; margin-bottom: 16px; }
.site-footer h3 { margin: 0 0 14px; font-family: var(--utility); font-size: 14px; text-transform: uppercase; }
.site-footer p, .site-footer a { font-family: var(--utility); font-size: 14px; }
.site-footer a { display: block; width: fit-content; margin: 7px 0; color: #ddd; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; max-width: 1280px; margin: 42px auto 0; padding-top: 20px; border-top: 1px solid #333; color: #aaa; font-family: var(--utility); font-size: 13px; }
.utility-page { min-height: 100vh; display: grid; place-items: center; padding: 40px; text-align: center; }
.utility-page.dark { color: var(--white); background: var(--black); }
.utility-page h1 { margin: 0 0 20px; font-size: clamp(42px, 7vw, 90px); text-transform: uppercase; }
.utility-page p { font-size: 20px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto 1fr auto; min-height: 150px; padding-inline: 28px; }
  .brand { grid-column: 1; justify-self: start; }
  .brand img { width: 245px; }
  .menu-toggle { display: block; }
  .nav { position: absolute; inset: 150px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 24px 28px 30px; background: var(--black); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; font-size: 16px; }
  .contact-layout { grid-template-columns: 1fr; }
  .featured-projects { grid-template-columns: 1fr 1fr; }
  .featured-project:last-child { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 24px; }
  .featured-project:last-child .featured-project-copy { padding-top: 0; }
}

@media (max-width: 700px) {
  .site-header { min-height: 112px; }
  .brand img { width: 190px; }
  .nav { inset-block-start: 112px; }
  .hero, .hero-content { min-height: 64vh; }
  .home-intro { padding-inline: 24px; }
  .featured-work { padding-inline: 24px; }
  .featured-work-header { align-items: flex-start; flex-direction: column; }
  .featured-projects { grid-template-columns: 1fr; gap: 58px; }
  .featured-project:last-child { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .featured-project:last-child .featured-project-copy { padding-top: 18px; }
  .featured-project-copy > p:not(.project-number) { min-height: 0; }
  .about-original { padding-top: 28px; }
  .about-original img { float: none; width: 100%; margin: 0 0 28px; }
  .about-original h1 { padding-top: 0; }
  .gallery figure, .gallery figure.wide, .gallery figure:first-child { grid-column: 1 / -1; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .field { grid-column: 1 / -1; }
  .process-heading, .process-grid, .case-study-header, .case-study-sequence { grid-template-columns: 1fr; }
  .process-heading { gap: 20px; }
  .case-study-header { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
