:root {
  --paper: #f8fbfd;
  --paper-strong: #edf4f7;
  --white: #ffffff;
  --wash: #eef6fa;
  --ink: #17191d;
  --charcoal: #252a31;
  --muted: #66707a;
  --line: rgba(23, 25, 29, 0.14);
  --line-strong: rgba(23, 25, 29, 0.24);
  --blue: #0f766e;
  --blue-soft: #dff3f1;
  --gold: #5f7d88;
  --clay: #526f7a;
  --green: #557b73;
  --shadow: 0 24px 70px rgba(23, 25, 29, 0.14);
  --shadow-soft: 0 12px 34px rgba(23, 25, 29, 0.1);
  --radius: 8px;
  --container: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper) 0%, #ffffff 46%, #f6fafc 100%);
  font-family: var(--sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  min-width: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: rgba(248, 251, 253, 0.86);
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .site-header:not(.is-scrolled) {
  background: rgba(248, 251, 253, 0.46);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(23, 25, 29, 0.06);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 750;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.current {
  background: var(--blue-soft);
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.2);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: clamp(42px, 6vw, 82px) 0 clamp(58px, 8vw, 104px);
}

.home-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
}

.hero-grid,
.split-section,
.service-hero-grid,
.work-intro,
.category-section,
.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.94;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.1rem, 4.5vw, 4.7rem);
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.14rem, 1.55vw, 1.45rem);
  line-height: 1.15;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 42rem;
  margin: 24px 0 0;
  color: var(--charcoal);
  font-size: clamp(1.08rem, 1.6vw, 1.26rem);
  line-height: 1.65;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-collage {
  position: relative;
  min-height: min(680px, 58vw);
}

.collage-frame {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.collage-frame img,
.work-card img,
.service-photo img,
.mini-gallery img,
.image-ribbon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-one {
  top: 7%;
  right: 2%;
  width: 68%;
  aspect-ratio: 0.9;
}

.frame-two {
  top: 0;
  left: 0;
  width: 42%;
  aspect-ratio: 0.78;
}

.frame-three {
  bottom: 4%;
  left: 8%;
  width: 42%;
  aspect-ratio: 1.1;
}

.frame-four {
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1.45;
}

.collage-note {
  position: absolute;
  left: 2%;
  bottom: 24%;
  max-width: 220px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--charcoal);
  font-weight: 750;
}

.section {
  padding: clamp(70px, 8vw, 118px) 0;
}

.section-wash {
  background: linear-gradient(135deg, var(--wash), #ffffff 68%);
}

.services-section {
  padding-top: clamp(50px, 6vw, 88px);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 64rem;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 46rem;
  margin: 0;
}

.service-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.service-tile {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 320px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: inherit;
  text-decoration: none;
}

.service-tile:nth-child(even) {
  background: rgba(239, 246, 249, 0.86);
}

.service-tile span,
.timeline span,
.feature-list span,
.tag {
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-tile p,
.timeline p,
.feature-list p,
.faq-item p,
.final-cta p {
  margin: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
}

.timeline li {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.portfolio-preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.portfolio-preview-head h2 {
  max-width: 11ch;
}

.text-link {
  color: var(--blue);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.portfolio-preview-grid,
.work-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-hero .service-summary {
  align-content: center;
}

.gallery-collection {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.gallery-card:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.42);
  outline-offset: 4px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 660px;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card.tall {
  grid-row: span 2;
  min-height: 660px;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow-soft);
}

.work-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 576px;
}

.work-card.wide {
  grid-column: span 2;
}

.final-section {
  padding-top: 0;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, var(--blue-soft));
  box-shadow: var(--shadow-soft);
}

.final-cta h2 {
  max-width: 16ch;
}

.service-hero {
  padding: clamp(52px, 7vw, 92px) 0 clamp(42px, 6vw, 70px);
}

.service-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 5.7vw, 5.8rem);
}

.service-summary {
  display: grid;
  gap: 18px;
  align-content: end;
  padding: 26px;
  border-left: 4px solid var(--blue);
  background: rgba(255, 255, 255, 0.86);
}

.price-note {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.service-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-list,
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.feature-list article,
.faq-item {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.options-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: var(--white);
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-gallery figure {
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow-soft);
}

.image-ribbon {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 0.9fr;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 52px);
}

.split-section > .image-ribbon {
  grid-column: 1 / -1;
}

.image-ribbon figure {
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow-soft);
}

.image-ribbon figure:nth-child(1) {
  min-height: 360px;
}

.image-ribbon figure:nth-child(2),
.image-ribbon figure:nth-child(4) {
  transform: translateY(32px);
}

.work-intro {
  align-items: end;
}

.category-section {
  align-items: start;
}

.work-band {
  padding-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
}

.category-copy {
  position: sticky;
  top: 110px;
}

.category-copy p {
  max-width: 35rem;
}

.about-panel {
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  padding: 42px 0 92px;
  background: var(--paper-strong);
}

.footer-shell {
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto) auto;
  align-items: start;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.footer-shell p {
  max-width: 34rem;
}

.footer-shell nav,
.footer-contact {
  display: grid;
  gap: 9px;
}

.footer-shell a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 750;
}

.footer-shell a:hover,
.footer-shell a:focus-visible {
  color: var(--blue);
}

.mobile-start {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 75;
  display: none;
}

.mobile-start .button {
  width: 100%;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

.gallery-lightbox.is-open {
  display: grid;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 13, 16, 0.88);
  cursor: zoom-out;
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: min(96vw, 1500px);
  max-height: 92vh;
  gap: 12px;
}

.gallery-lightbox img {
  max-width: min(96vw, 1500px);
  max-height: 86vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-close {
  justify-self: end;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 29, 0.62);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
  padding: 0 13px;
  cursor: pointer;
}

.modal-step {
  display: none;
}

.modal-step-active {
  display: block;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.choice-grid button,
.back-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.choice-grid button {
  min-height: 110px;
  padding: 16px;
  text-align: left;
}

.choice-grid button:hover,
.choice-grid button:focus-visible {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.form-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.back-button {
  min-height: 38px;
  padding: 0 12px;
}

.selected-category {
  margin: 0;
  color: var(--blue);
  font-weight: 900;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 850;
}

.form-grid,
.category-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.category-fields {
  display: none;
  margin-top: 14px;
}

.category-fields.is-active {
  display: grid;
}

.full,
.details-label {
  grid-column: 1 / -1;
}

.details-label {
  margin-top: 14px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
}

.lead-form textarea {
  resize: vertical;
}

.direct-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.direct-contact a {
  color: var(--blue);
  font-weight: 850;
}

.form-status {
  min-height: 24px;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 800;
}

.form-status.is-error {
  color: #9b2f24;
}

.privacy-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.28);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .header-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
    min-height: 46px;
  }

  .hero-grid,
  .split-section,
  .service-hero-grid,
  .work-intro,
  .category-section,
  .footer-shell,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-collage {
    min-height: 580px;
  }

  .service-editorial-grid,
  .portfolio-preview-grid,
  .work-gallery,
  .gallery-collection,
  .image-ribbon,
  .feature-list,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-copy {
    position: static;
  }

  .choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .header-shell {
    min-height: 66px;
  }

  .brand span {
    max-width: 140px;
    line-height: 1.08;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .action-row,
  .portfolio-preview-head,
  .form-topline {
    align-items: stretch;
    flex-direction: column;
  }

  .action-row .button,
  .final-cta .button {
    width: 100%;
  }

  .hero-collage {
    min-height: 430px;
  }

  .frame-one {
    width: 76%;
  }

  .frame-two {
    width: 45%;
  }

  .frame-three {
    bottom: 2%;
    width: 46%;
  }

  .frame-four {
    width: 54%;
  }

  .collage-note {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: none;
    margin-top: 16px;
  }

  .service-editorial-grid,
  .timeline,
  .portfolio-preview-grid,
  .work-gallery,
  .feature-list,
  .faq-list,
  .mini-gallery,
  .image-ribbon,
  .form-grid,
  .category-fields,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .image-ribbon figure,
  .image-ribbon figure:nth-child(1) {
    min-height: 300px;
  }

  .image-ribbon figure:nth-child(2),
  .image-ribbon figure:nth-child(4) {
    transform: none;
  }

  .service-tile,
  .timeline li,
  .feature-list article,
  .faq-item {
    min-height: auto;
  }

  .work-card,
  .work-card.large,
  .work-card.wide,
  .gallery-card,
  .gallery-feature,
  .gallery-card.wide,
  .gallery-card.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 330px;
  }

  .service-photo {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    max-height: 92vh;
  }

  .mobile-start {
    display: block;
  }

  .site-footer {
    padding-bottom: 104px;
  }
}
