:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #60717d;
  --line: #dedede;
  --panel: #ffffff;
  --wash: #f7f7f7;
  --deep: #091114;
  --teal: #087d82;
  --teal-dark: #075e64;
  --amber: #c9821e;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(8, 24, 30, 0.12);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #e6e6e6;
  line-height: 1.75;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid #e2e2e2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
  max-width: 48vw;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: #31414a;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100svh - 24px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
  color: #f3fbfb;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(9, 17, 20, 0.92), rgba(9, 17, 20, 0.7) 42%, rgba(9, 17, 20, 0.16) 78%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 92px 0 132px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #dce8e8;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #f7ffff;
}

.band,
.section,
.contact-section {
  padding: 84px clamp(18px, 6vw, 76px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #ffffff;
}

.intro-copy p {
  max-width: 850px;
  margin: 0;
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: 750;
  line-height: 1.6;
}

.quick-facts {
  display: grid;
  gap: 14px;
  margin: 0;
}

.quick-facts div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.quick-facts dt {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  font-weight: 700;
}

.section {
  background: var(--wash);
}

.section:nth-of-type(odd) {
  background: #ffffff;
}

.section-heading {
  display: block;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  margin-bottom: 6px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(8, 24, 30, 0.05);
}

.icon {
  display: inline-grid;
  min-width: 48px;
  height: 34px;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #e3f1f1;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.service-card h3,
.portfolio-card h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.service-card p,
.portfolio-card p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.service-links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.service-link {
  color: var(--teal-dark);
  font-weight: 900;
}

.works-section {
  background: #fff;
}

.works-section .section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
}

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

.portfolio-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 24, 30, 0.06);
}

.portfolio-card.featured {
  grid-column: span 2;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  grid-template-rows: auto;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #dfe8e9;
}

.portfolio-card > div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
}

.portfolio-card h3 {
  margin-top: 0;
}

.portfolio-card a {
  width: fit-content;
  margin-top: 4px;
  color: var(--teal-dark);
  font-weight: 900;
}

.portfolio-card.text-only {
  grid-template-rows: auto;
  min-height: 260px;
  background: #fff;
}

.portfolio-card.archive-only {
  background: #fff;
}

.tagline {
  color: var(--amber) !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.media-showcase {
  margin-top: 56px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

.media-heading {
  display: block;
  margin-bottom: 26px;
}

.media-heading .eyebrow {
  margin-bottom: 6px;
}

.media-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.video-grid article {
  min-width: 0;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #101b20;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-load {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #101b20;
  cursor: pointer;
}

.video-load img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity 160ms ease, transform 160ms ease;
}

.video-load span {
  position: absolute;
  inset: 50% auto auto 50%;
  display: inline-grid;
  min-width: 64px;
  min-height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.video-load:hover img {
  opacity: 0.96;
  transform: scale(1.02);
}

.video-grid h4 {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.detail-gallery figure {
  min-width: 0;
  margin: 0;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.detail-gallery figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.case-hero {
  padding: 92px clamp(18px, 6vw, 76px) 70px;
  background: #ffffff;
}

.case-hero.archive-case {
  background: #f7f7f7;
}

.case-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.case-hero p:not(.eyebrow) {
  max-width: 900px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.case-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(28px, 6vw, 72px);
  padding: 74px clamp(18px, 6vw, 76px) 92px;
  background: var(--wash);
}

.case-main {
  min-width: 0;
}

.case-main h2,
.case-side h2 {
  margin: 42px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}

.case-main h2:first-child,
.case-side h2:first-child {
  margin-top: 0;
}

.case-main p,
.case-note p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
}

.case-media,
.case-gallery figure {
  margin: 0;
}

.case-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(8, 24, 30, 0.06);
}

.case-media + h2 {
  margin-top: 48px;
}

.case-media img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.case-media figcaption,
.case-gallery figcaption {
  padding: 10px 14px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.case-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.case-note {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.case-note strong {
  display: block;
  margin-bottom: 8px;
}

.case-side {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(8, 24, 30, 0.06);
}

.case-side ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 750;
}

.case-side li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.source-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 900;
}

.process-section {
  background: #ffffff;
  color: var(--ink);
}

.process-section .section-heading h2 {
  color: var(--ink);
  font-weight: 800;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f7f7;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 14px;
  color: #f4c079;
  font-size: 22px;
}

.process-list span {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(30px, 7vw, 84px);
  align-items: start;
  background: #ffffff;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-copy .eyebrow {
  color: var(--amber);
}

.contact-copy p:last-child {
  margin-top: 22px;
  font-size: 17px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f7f7;
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #27363d;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d7db;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 0 13px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
  padding: 12px 13px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(8, 125, 130, 0.18);
  border-color: var(--teal);
}

.contact-form .button {
  width: fit-content;
  min-width: 180px;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.form-status.error {
  color: #a33c20;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 76px);
  background: var(--deep);
  color: #dce8e8;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #f4c079;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .case-side {
    position: static;
  }

  .portfolio-grid,
  .video-grid,
  .detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 240px 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(9, 17, 20, 0.96), rgba(9, 17, 20, 0.74) 52%, rgba(9, 17, 20, 0.42));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 72px 0 110px;
  }

  .intro,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .portfolio-grid,
  .media-heading,
  .video-grid,
  .detail-gallery,
  .case-gallery,
  .process-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-list li {
    min-height: auto;
  }

  .band,
  .section,
  .contact-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 14px;
  }

  .quick-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
