:root {
  --white: #f8f8f6;
  --soft-white: #efefec;
  --silver: #c8c8c3;
  --concrete: #777873;
  --charcoal: #171817;
  --ink: #252624;
  --line: rgba(37, 38, 36, 0.13);
  --dark-line: rgba(248, 248, 246, 0.18);
  --green: #697b67;
  --terracotta: #9b6046;
  --font-sans: "Inter", "Segoe UI", Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

body.menu-open,
body.loading,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  overflow: hidden;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-grid,
.blueprint-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 248, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 248, 246, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
}

.loader-grid::after,
.blueprint-lines::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, rgba(23, 24, 23, 0.16) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: scanLine 2.5s ease-in-out infinite;
}

.loader-mark {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  color: var(--white);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.loader-mark img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 0;
  filter: brightness(0) invert(1);
  animation: loaderPulse 2.4s ease-in-out infinite;
}

.loader-line {
  position: absolute;
  width: min(320px, 72vw);
  height: 1px;
  left: 50%;
  top: calc(50% + 110px);
  transform: translateX(-50%);
  background: rgba(248, 248, 246, 0.15);
  overflow: hidden;
}

.loader-line::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: var(--charcoal);
  animation: loaderDraw 1.5s ease-in-out infinite;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px 42px;
  color: var(--white);
  transition: background 260ms ease, color 260ms ease, border-color 260ms ease, padding 260ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--charcoal);
  background: rgba(248, 248, 246, 0.9);
  border-bottom-color: rgba(37, 38, 36, 0.1);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.brand img {
  width: 68px;
  height: 68px;
  margin-right: -11px;
  object-fit: contain;
  border-radius: 0;
  filter: brightness(0) invert(1);
  transform: scale(1.12);
  transform-origin: center;
  transition: filter 260ms ease;
}

/* When header scrolls, flip logo to dark */
.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  filter: brightness(0);
}

.brand-text {
  display: grid;
  line-height: 0.96;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.68rem;
  font-weight: 600;
}

.brand small {
  margin-top: 3px;
  font-size: 0.76rem;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.72;
}

.brand-service {
  margin-top: 5px;
  color: currentColor;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.46;
}

.main-nav {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  font-size: 1rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  opacity: 0.85;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.primary-btn,
.ghost-btn,
.circle-btn,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
}

.header-cta {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 240ms ease, color 240ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: currentColor;
}

.header-cta:hover span,
.header-cta:focus-visible span {
  color: var(--charcoal);
}

.header-cta:hover svg,
.header-cta:focus-visible svg {
  color: var(--charcoal);
}

.site-header.is-scrolled .header-cta:hover span,
.site-header.is-scrolled .header-cta:focus-visible span,
.site-header.is-open .header-cta:hover span,
.site-header.is-open .header-cta:focus-visible span {
  color: var(--white);
}

.site-header.is-scrolled .header-cta:hover svg,
.site-header.is-scrolled .header-cta:focus-visible svg,
.site-header.is-open .header-cta:hover svg,
.site-header.is-open .header-cta:focus-visible svg {
  color: var(--white);
}

.header-cta svg,
.primary-btn svg,
.ghost-btn svg,
.circle-btn svg,
.text-link svg,
.contact-list svg,
.social-links svg,
.menu-toggle svg,
.service-card svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.65;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 0 42px 88px;
  color: var(--white);
  overflow: hidden;
  background: var(--charcoal);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1200ms ease, transform 4200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22) 56%, rgba(0, 0, 0, 0.32)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 42%);
}

.blueprint-lines {
  opacity: 0.34;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--terracotta);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero .eyebrow {
  color: var(--soft-white);
  opacity: 0.84;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 0.94;
  font-weight: 600;
}

.hero-tagline {
  margin-bottom: 30px;
  max-width: 620px;
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(248, 248, 246, 0.86);
}

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

.primary-btn,
.ghost-btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.primary-btn {
  color: var(--white);
  background: var(--charcoal);
}

.hero .primary-btn {
  color: var(--charcoal);
  background: var(--white);
}

.ghost-btn {
  color: var(--white);
  background: rgba(248, 248, 246, 0.08);
  border: 1px solid rgba(248, 248, 246, 0.44);
  backdrop-filter: blur(8px);
}

.primary-btn:hover,
.primary-btn:focus-visible,
.ghost-btn:hover,
.ghost-btn:focus-visible {
  transform: translateY(-2px);
}

.hero-progress {
  position: absolute;
  z-index: 2;
  right: 42px;
  bottom: 52px;
  display: flex;
  gap: 10px;
}

.slide-dot {
  width: 40px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(248, 248, 246, 0.38);
}

.slide-dot.is-active {
  background: var(--white);
}

.section {
  position: relative;
  padding: 104px 42px;
}

.section-inner {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.wide {
  max-width: 920px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 600;
  color: var(--charcoal);
}

/* ── Services section ── */
.services-section {
  background: var(--charcoal);
  padding-top: 100px;
  padding-bottom: 100px;
}

.services-section .section-heading h2 {
  color: var(--white);
}

.services-section .eyebrow {
  color: rgba(248,248,246,0.52);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: 8px;
  overflow: hidden;
}

/* ── Service card image slideshow ── */
.service-card {
  position: relative;
  height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  cursor: default;
}

.svc-slideshow {
  position: absolute;
  inset: 0;
}

.svc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.svc-slide.is-active {
  opacity: 1;
}

.svc-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 4.5s ease;
}

.svc-slide.is-active img {
  transform: scale(1);
}

/* Slide label — shown centred at the top of each active slide */
.svc-slide-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 28px 24px 60px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
  background: linear-gradient(
    to bottom,
    rgba(23,24,23,0.72) 0%,
    rgba(23,24,23,0) 100%
  );
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
  z-index: 2;
}

.svc-slide.is-active .svc-slide-label {
  opacity: 1;
  transform: translateY(0);
}

.svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23,24,23,0.08) 0%,
    rgba(23,24,23,0.18) 40%,
    rgba(23,24,23,0.72) 70%,
    rgba(23,24,23,0.93) 100%
  );
  transition: background 0.5s ease;
}

.service-card:hover .svc-overlay {
  background: linear-gradient(
    to bottom,
    rgba(23,24,23,0.06) 0%,
    rgba(23,24,23,0.14) 30%,
    rgba(23,24,23,0.68) 65%,
    rgba(23,24,23,0.96) 100%
  );
}

.svc-dots {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}

.svc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(248,248,246,0.35);
  transition: background 0.4s ease, transform 0.4s ease;
}

.svc-dot.is-active {
  background: rgba(248,248,246,0.95);
  transform: scale(1.35);
}

.svc-content {
  position: relative;
  z-index: 2;
  padding: 20px 30px 32px;
  transform: translateY(10px);
  transition: transform 380ms ease;
}

.service-card:hover .svc-content {
  transform: translateY(0);
}

.svc-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(248,248,246,0.3);
  border-radius: 50%;
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
  background: rgba(248,248,246,0.1);
}

.svc-tag svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.service-card p {
  margin: 0 0 14px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(248,248,246,0.72);
}

.projects-section {
  background: var(--white);
}

.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-button {
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.tab-button.is-active,
.tab-button:hover,
.tab-button:focus-visible {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.project-card {
  position: relative;
  grid-column: span 4;
  min-height: 360px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--charcoal);
  transition: transform 260ms ease, opacity 260ms ease;
  cursor: zoom-in;
}

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

.project-card.large {
  grid-column: span 8;
  min-height: 530px;
}

.project-card.wide-card {
  grid-column: span 8;
}

.project-card.tall {
  min-height: 530px;
}

.project-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 560ms ease, filter 560ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 62%);
  opacity: 0.84;
  transition: opacity 260ms ease;
}

.project-info {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white);
  transform: translateY(12px);
  transition: transform 260ms ease;
}

.project-info span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(248, 248, 246, 0.72);
}

.project-info h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.project-info p {
  margin-bottom: 0;
  max-width: 420px;
  line-height: 1.6;
  color: rgba(248, 248, 246, 0.74);
  opacity: 0;
  transition: opacity 260ms ease;
}

.project-card:hover,
.project-card:focus-within,
.project-card:focus-visible {
  transform: translateY(-4px);
}

.project-card:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
}

.project-card:hover img,
.project-card:focus-within img {
  transform: scale(1.05);
  filter: grayscale(0.18) contrast(1.04);
}

.project-card:hover .project-info,
.project-card:focus-within .project-info {
  transform: translateY(0);
}

.project-card:hover .project-info p,
.project-card:focus-within .project-info p {
  opacity: 1;
}

.about-section {
  color: var(--white);
  background: var(--charcoal);
}

.about-layout {
  display: block;
}

.about-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: 42px;
  border: 1px solid rgba(248, 248, 246, 0.14);
  border-radius: 8px;
  background: rgba(248, 248, 246, 0.055);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.about-copy h2,
.about-copy .eyebrow {
  color: var(--white);
}

.about-copy > p {
  max-width: 860px;
  line-height: 1.85;
  color: rgba(248, 248, 246, 0.78);
}

.about-copy > p:first-of-type {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(248, 248, 246, 0.44);
  color: var(--white);
  font-weight: 700;
}

.process-section {
  background: var(--soft-white);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(37, 38, 36, 0.2);
}

.process-timeline article {
  position: relative;
  padding: 30px 28px 0 0;
}

.process-timeline article::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--charcoal);
}

.process-timeline span {
  display: block;
  margin-bottom: 38px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--concrete);
}

.process-timeline h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.process-timeline p {
  margin-bottom: 0;
  line-height: 1.7;
  color: rgba(37, 38, 36, 0.68);
}

.testimonials-section {
  background: var(--white);
}

.testimonial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.testimonial-slider {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-top: 1px solid rgba(37, 38, 36, 0.16);
  border-bottom: 1px solid rgba(37, 38, 36, 0.16);
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.testimonial-card.is-active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-card p {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.24;
  color: var(--charcoal);
}

.testimonial-card span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--concrete);
}

.testimonial-controls {
  position: absolute;
  right: 0;
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--charcoal);
  background: transparent;
  border: 1px solid rgba(37, 38, 36, 0.22);
}

.circle-btn:hover,
.circle-btn:focus-visible {
  color: var(--white);
  background: var(--charcoal);
}

.contact-section {
  background: var(--soft-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-copy {
  padding-right: 20px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 22px;
}

.contact-list a,
.contact-list p {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  margin: 0;
  color: rgba(37, 38, 36, 0.76);
}

.contact-list svg {
  color: var(--charcoal);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(37, 38, 36, 0.18);
  border-radius: 999px;
  background: rgba(248, 248, 246, 0.72);
  color: rgba(37, 38, 36, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
  transition: background 220ms ease, color 220ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--white);
  background: var(--charcoal);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(37, 38, 36, 0.12);
  border-radius: 6px;
  background: rgba(248, 248, 246, 0.86);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(37, 38, 36, 0.16);
  border-radius: 4px;
  background: var(--white);
  color: var(--charcoal);
  padding: 12px 13px;
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--charcoal);
}

.form-submit {
  width: fit-content;
  margin-top: 4px;
}

.form-note {
  min-height: 22px;
  margin-bottom: 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
}

.map-panel {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(37, 38, 36, 0.12);
  min-height: 360px;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.map-link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(23, 24, 23, 0.86);
  border: 1px solid rgba(248, 248, 246, 0.22);
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.map-link svg {
  width: 17px;
  height: 17px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  padding: 72px 24px 84px;
  background: rgba(8, 9, 8, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-stage {
  display: grid;
  place-items: center;
  width: min(1180px, 94vw);
  max-height: 82vh;
}

.image-lightbox img {
  width: auto;
  max-width: min(1180px, 94vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: rgba(248, 248, 246, 0.08);
  border: 1px solid rgba(248, 248, 246, 0.28);
  border-radius: 50%;
}

.lightbox-close {
  top: 22px;
  right: 22px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(248, 248, 246, 0.18);
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.lightbox-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 56px;
  color: rgba(248, 248, 246, 0.82);
  text-align: center;
  font-size: 0.94rem;
  font-weight: 600;
}

.lightbox-counter {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  color: rgba(248, 248, 246, 0.64);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 42px;
  color: rgba(248, 248, 246, 0.74);
  background: var(--charcoal);
  font-size: 0.84rem;
}

.site-footer div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: var(--white);
}

@keyframes scanLine {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@keyframes loaderDraw {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(230%);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .main-nav {
    gap: 16px;
  }

  .header-cta {
    display: none;
  }

  .project-card,
  .project-card.large,
  .project-card.wide-card {
    grid-column: span 6;
  }
  .testimonial-layout {
    grid-template-columns: 1fr;
  }
.services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 14px 22px;
    grid-template-columns: minmax(0, auto) 1fr auto;
  }

  .brand {
    grid-column: 1;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 3;
    justify-self: end;
    background: rgba(23, 24, 23, 0.18);
    backdrop-filter: blur(8px);
  }

  .site-header.is-scrolled .menu-toggle,
  .site-header.is-open .menu-toggle {
    background: transparent;
  }

  .main-nav {
    position: fixed;
    inset: 78px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--charcoal);
    background: rgba(248, 248, 246, 0.96);
    border: 1px solid rgba(37, 38, 36, 0.1);
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  }

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

  .main-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(37, 38, 36, 0.08);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 0 22px 80px;
  }

  h1 {
    font-size: 3.5rem;
  }

  .hero-tagline {
    font-size: 1.08rem;
  }

  .hero-progress {
    right: auto;
    left: 22px;
    bottom: 34px;
  }

  .section {
    padding: 78px 22px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 2.35rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .service-card {
    height: 420px;
  }

  .service-card,
  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .portfolio-tabs {
    flex-wrap: nowrap;
    margin-inline: -22px;
    padding: 0 22px 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .portfolio-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .portfolio-grid {
    display: flex;
    grid-template-columns: none;
    grid-auto-flow: initial;
    gap: 14px;
    margin-inline: -22px;
    padding: 0 22px 16px;
    overflow-x: auto;
    scroll-padding-inline: 22px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-grid::-webkit-scrollbar {
    height: 6px;
  }

  .portfolio-grid::-webkit-scrollbar-thumb {
    background: rgba(37, 38, 36, 0.22);
    border-radius: 999px;
  }

  .process-timeline,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card.large,
  .project-card.wide-card,
  .project-card.tall {
    grid-column: auto;
    flex: 0 0 min(84vw, 430px);
    width: min(84vw, 430px);
    min-height: 420px;
    scroll-snap-align: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
.testimonial-card p {
    font-size: 1.7rem;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 1.28rem;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .brand-service {
    margin-top: 4px;
    font-size: 0.47rem;
  }

  .brand img {
    width: 56px;
    height: 56px;
    margin-right: -9px;
    transform: scale(1.1);
  }

  h1 {
    font-size: 2.72rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 2rem;
  }

  .service-card {
    height: auto;
    min-height: 430px;
    padding: 0;
  }

  .svc-slide-label {
    padding: 20px 18px 48px;
    font-size: 1.08rem;
  }

  .svc-content {
    padding: 20px 22px 28px;
    transform: none;
  }

  .svc-tag {
    margin-bottom: 12px;
  }

  .service-card h3 {
    font-size: 1.42rem;
  }

  .service-card p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .project-card,
  .project-card.large,
  .project-card.wide-card,
  .project-card.tall {
    flex-basis: 84vw;
    width: 84vw;
    min-height: 360px;
  }

  .project-info {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .project-info p {
    opacity: 1;
  }
.contact-form {
    padding: 18px;
  }

  .map-link {
    left: 14px;
    right: 14px;
    justify-content: center;
  }

  .image-lightbox {
    padding: 64px 14px 78px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

  .lightbox-caption {
    bottom: 50px;
    font-size: 0.84rem;
  }

  .lightbox-counter {
    bottom: 24px;
  }

  .site-footer {
    padding: 24px 22px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* service-examples removed */

@media (max-width: 640px) {
  .about-copy {
    padding: 26px 20px;
  }
}
