:root {
  --ink: #071b2c;
  --ink-2: #102f45;
  --muted: #65727d;
  --paper: #f7f4ec;
  --surface: #ffffff;
  --surface-soft: #eee7d8;
  --line: #d8d6cf;
  --accent: #c79a2e;
  --accent-dark: #9b741d;
  --green: #123428;
  --green-2: #1f4f3b;
  --shadow: 0 20px 54px rgba(7, 27, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.dialog-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 960px;
  font-size: clamp(3rem, 7vw, 6rem);
}

h2 {
  font-size: clamp(2.15rem, 4.6vw, 4rem);
}

h3 {
  font-size: 1.17rem;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 76px);
  background: rgba(247, 244, 236, 0.97);
  border-bottom: 1px solid rgba(7, 27, 44, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(7, 27, 44, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a {
  padding: 12px 13px;
  border-radius: 8px;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(7, 27, 44, 0.07);
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--ink);
  background: var(--accent);
}

.site-nav .nav-cta:hover {
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(780px, calc(100svh - 76px));
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 76px) clamp(54px, 7vw, 90px);
  color: #fff;
}

.hero-stage,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-stage {
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  object-fit: cover;
}

.hero-after {
  z-index: 1;
  transform: scale(1.01);
}

.hero-before {
  z-index: 2;
  clip-path: inset(0 0 0 0);
  animation: heroReveal 1500ms cubic-bezier(0.22, 1, 0.36, 1) 480ms forwards;
}

.hero-divider {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #f2c45a;
  box-shadow: 0 0 22px rgba(242, 196, 90, 0.68);
  opacity: 0;
  transform: translateX(0);
  animation: dividerMove 1500ms cubic-bezier(0.22, 1, 0.36, 1) 480ms forwards;
}

.stage-label {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 5vw, 76px);
  bottom: 30px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(7, 27, 44, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.before-label {
  animation: labelOut 420ms ease 980ms forwards;
}

.after-label {
  opacity: 0;
  transform: translateY(8px);
  animation: labelIn 420ms ease 1560ms forwards;
}

.hero-overlay {
  z-index: 5;
  background:
    linear-gradient(90deg, rgba(7, 27, 44, 0.96) 0%, rgba(7, 27, 44, 0.78) 46%, rgba(7, 27, 44, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 27, 44, 0.32), rgba(7, 27, 44, 0.05));
}

.hero-content {
  position: relative;
  z-index: 6;
  width: min(100%, 1320px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c45a;
}

.hero-lead {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--accent);
}

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

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 760px);
  margin: 42px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
}

.hero-proof div {
  padding: 17px;
  background: rgba(7, 27, 44, 0.72);
}

.hero-proof dt,
.hero-proof dd {
  margin: 0;
}

.hero-proof dt {
  color: #f2c45a;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-proof dd {
  margin-top: 4px;
  font-weight: 900;
}

.proof-strip {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1240px;
  margin: -42px auto 0;
  padding: 0 clamp(18px, 5vw, 32px);
}

.proof-strip article {
  min-height: 150px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.proof-strip span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-weight: 900;
}

.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.proof-strip p,
.intro > p,
.section-heading p,
.service-card p,
.trust-grid p,
.method-grid p,
.zone-copy p,
.faq-list p,
.contact-copy > p,
.gallery-card small {
  color: var(--muted);
  font-size: 1.02rem;
}

.section {
  padding: clamp(70px, 9vw, 116px) clamp(18px, 5vw, 76px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  max-width: 1320px;
  margin: 0 auto;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading p {
  margin-top: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1320px;
  margin: 0 auto;
}

.service-card {
  min-height: 286px;
  padding: 24px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  margin: 0 auto 18px;
  color: #fff;
  background: var(--ink);
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(7, 27, 44, 0.16);
}

.service-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 12px;
}

.trust {
  background: var(--surface-soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1320px;
  margin: 0 auto;
}

.trust-grid article {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-grid h3 {
  margin-bottom: 12px;
}

.portfolio {
  background: #fffaf3;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 28px;
}

.filter-button {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1320px;
  margin: 0 auto;
}

.gallery-card {
  position: relative;
  display: grid;
  min-height: 306px;
  overflow: hidden;
  padding: 0;
  color: #fff;
  text-align: left;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-card.featured {
  grid-column: span 2;
  min-height: 430px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 420ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 44, 0.04), rgba(7, 27, 44, 0.86));
}

.gallery-card span,
.gallery-card strong,
.gallery-card small {
  position: absolute;
  right: 20px;
  left: 20px;
  z-index: 1;
}

.gallery-card span {
  bottom: 86px;
  color: #f2c45a;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-card strong {
  bottom: 50px;
  font-size: 1.32rem;
}

.gallery-card small {
  bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.method {
  color: #fff;
  background: var(--ink);
}

.method .eyebrow {
  color: #f2c45a;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.method-grid article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.method-grid span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  font-weight: 900;
}

.method-grid h3 {
  margin-bottom: 12px;
}

.method-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.zone {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--surface-soft);
}

.zone-copy {
  max-width: 760px;
}

.zone-copy p {
  margin-top: 18px;
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zone-list span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 15px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-weight: 800;
}

.faq {
  background: var(--surface);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-list details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq-list summary {
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin-top: 12px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

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

.contact-copy > p {
  margin-top: 18px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-details p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-details strong {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.contact-details span {
  color: var(--muted);
  text-align: right;
}

.contact-details a {
  font-weight: 900;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--accent-dark);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid rgba(199, 154, 46, 0.36);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid #c9d0d2;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.site-footer strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.site-footer a {
  flex: 0 0 auto;
  font-weight: 900;
  text-decoration: none;
}

.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 50;
  display: none;
  gap: 8px;
  padding: 8px;
  background: rgba(7, 27, 44, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(7, 27, 44, 0.28);
}

.mobile-cta a {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.mobile-cta a:first-child {
  color: #fff;
  background: var(--green);
}

.lightbox {
  width: min(1180px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #07131d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.lightbox::backdrop {
  background: rgba(7, 27, 44, 0.72);
}

.lightbox figure {
  display: grid;
  gap: 0;
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  background: #07131d;
}

.lightbox figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  background: var(--ink);
}

.lightbox figcaption span {
  color: rgba(255, 255, 255, 0.72);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 38px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(7, 27, 44, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.lightbox-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 0 22px 20px;
  background: var(--ink);
}

.lightbox-actions button {
  min-height: 42px;
  padding: 9px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.motion-item {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 480ms ease,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay, 0ms);
}

.motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes heroReveal {
  to {
    clip-path: inset(0 100% 0 0);
  }
}

@keyframes dividerMove {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  8% {
    opacity: 1;
    transform: translateX(0);
  }
  92% {
    opacity: 1;
    transform: translateX(100vw);
  }
  100% {
    opacity: 0;
    transform: translateX(100vw);
  }
}

@keyframes labelOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes labelIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .hero-before {
    clip-path: inset(0 50% 0 0);
  }
}

@media (max-width: 1120px) {
  .intro,
  .zone,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-cta {
    margin: 0;
    padding: 14px;
    color: var(--ink);
    background: transparent;
  }

  .site-nav a:hover,
  .site-nav .nav-cta:hover {
    background: rgba(23, 33, 39, 0.07);
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 27, 44, 0.9), rgba(7, 27, 44, 0.58));
  }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 0;
  }

  .proof-strip article {
    min-height: 0;
    border-right: 0;
    border-left: 0;
  }

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

  .stage-label {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 80px;
  }

  .site-header {
    min-height: 68px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand small {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 640px;
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .form-row,
  .service-grid,
  .trust-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-proof div {
    padding: 13px 10px;
  }

  .hero-proof dt {
    font-size: 0.66rem;
  }

  .hero-proof dd {
    font-size: 0.88rem;
  }

  .gallery-card.featured {
    grid-column: auto;
    min-height: 360px;
  }

  .gallery-card {
    min-height: 320px;
  }

  .stage-label {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .contact-details p {
    display: grid;
    gap: 4px;
  }

  .contact-details span {
    text-align: left;
  }

  .site-footer {
    display: grid;
  }

  .mobile-cta {
    display: flex;
  }

  .lightbox {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .lightbox img {
    max-height: calc(100vh - 210px);
  }

  .lightbox-actions {
    justify-content: stretch;
  }

  .lightbox-actions button {
    flex: 1;
  }
}
