:root {
  --bg: #eef3f8;
  --paper: #fffdf9;
  --paper-soft: #f4f7fb;
  --ink: #132743;
  --muted: #5d6d80;
  --line: #d8e0ea;
  --red: #9f2332;
  --red-deep: #7f1825;
  --gold: #d8b98a;
  --shadow: 0 24px 60px rgba(19, 39, 67, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(19, 39, 67, 0.18);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(159, 35, 50, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(19, 39, 67, 0.08), transparent 28%),
    linear-gradient(180deg, #f5f8fc 0%, #e9eff6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.22) 18%, transparent 36%),
    repeating-linear-gradient(0deg,
      transparent 0,
      transparent 31px,
      rgba(19, 39, 67, 0.03) 31px,
      rgba(19, 39, 67, 0.03) 32px);
  opacity: 0.42;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f3c86c;
  outline-offset: 4px;
}

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

.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-frame {
  position: relative;
  width: min(calc(100% - 28px), var(--width));
  margin: 28px auto 42px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid rgba(19, 39, 67, 0.08);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(19, 39, 67, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2px 24px 2px 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  margin-right: auto;
}

.brand-mark {
  width: 148px;
  height: 148px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-label,
.eyebrow,
.mini-label,
.detail-label,
.panel-kicker {
  font-size: 0.82rem;
  font-weight: 700;
}

.brand-label,
.eyebrow,
.mini-label,
.panel-kicker {
  color: var(--red);
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.05;
}

.brand-owner {
  color: var(--red);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 26px;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
  justify-content: flex-end;
}

.phone-link {
  margin-left: 10px;
}

.phone-link,
.button,
.overview-card,
.process-step {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.phone-link {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding:
    96px max(28px, calc((100vw - var(--width)) / 2 + 18px)) 72px;
  min-height: 680px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 22, 41, 0.82) 0%, rgba(10, 22, 41, 0.7) 42%, rgba(10, 22, 41, 0.28) 100%),
    linear-gradient(180deg, rgba(159, 35, 50, 0.24), transparent 44%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  letter-spacing: 0.08em;
}

.hero-copy h1,
.hero-panel h2,
.section-head h2,
.contact-card h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 0.98;
}

.hero-copy h1 {
  margin-top: 16px;
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  max-width: 12ch;
  color: #fff;
}

.lead,
.service-copy p,
.service-highlight p,
.process-step p,
.contact-card p,
.panel-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.lead {
  max-width: 56ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 16px 30px rgba(127, 24, 37, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 30px rgba(10, 22, 41, 0.18);
}

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

.detail {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.detail-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  letter-spacing: 0.14em;
}

.detail strong {
  color: #fff;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 10px;
}

.proof-card {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 39, 67, 0.08);
  box-shadow: var(--shadow);
}

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

.proof-card span {
  display: block;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

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

.overview-card,
.service-highlight,
.process-step,
.contact-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 39, 67, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.overview-card {
  padding: 28px;
}

.overview-card h3,
.service-highlight h3,
.process-step h3 {
  margin: 18px 0 10px;
  font-size: 1.34rem;
}

.overview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.card-number,
.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(159, 35, 50, 0.08);
  color: var(--red);
  font-weight: 800;
}

.section {
  padding-top: 90px;
}

.section-head {
  max-width: 54rem;
}

.section-head h2,
.contact-card h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  max-width: 14ch;
}

.section-services-intro .section-head {
  max-width: 760px;
}

.section-services-intro .eyebrow {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.18em;
}

.section-services-intro .section-head h2 {
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  line-height: 1.14;
  max-width: 24ch;
}

.section-services-intro {
  position: relative;
  padding-bottom: 64px;
  margin-bottom: 14px;
}

.section-services-intro::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  bottom: 0;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(19, 39, 67, 0.2), rgba(159, 35, 50, 0.34) 50%, rgba(19, 39, 67, 0.2));
  box-shadow:
    0 10px 26px rgba(19, 39, 67, 0.12),
    0 2px 8px rgba(159, 35, 50, 0.1);
}

.showcase-section {
  position: relative;
  padding-top: 100px;
  padding-bottom: 64px;
  margin-top: 14px;
  margin-bottom: 14px;
  margin-left: -34px;
  margin-right: -34px;
}

.showcase-section::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  top: 70px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(19, 39, 67, 0.2), rgba(159, 35, 50, 0.34) 50%, rgba(19, 39, 67, 0.2));
  box-shadow:
    0 -10px 26px rgba(19, 39, 67, 0.08),
    0 -2px 8px rgba(159, 35, 50, 0.08);
}

.showcase-section::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  bottom: 0;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(19, 39, 67, 0.2), rgba(159, 35, 50, 0.34) 50%, rgba(19, 39, 67, 0.2));
  box-shadow:
    0 10px 26px rgba(19, 39, 67, 0.12),
    0 2px 8px rgba(159, 35, 50, 0.1);
}

.showcase-section .section-head {
  max-width: none;
  margin-bottom: 20px;
  padding-left: 34px;
  padding-right: 34px;
}

.showcase-section .eyebrow {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.18em;
}

.showcase-section-interior {
  padding-top: 20px;
}

.showcase-section-interior::before,
.showcase-section-interior::after {
  display: none;
}

.showcase-section-interior .section-head {
  max-width: 860px;
}

.showcase-section-interior .section-head h2 {
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1.2;
  max-width: 30ch;
}

.story-section {
  padding-top: 84px;
}

.story-intro {
  max-width: 54rem;
  margin-bottom: 24px;
}

.story-intro h2 {
  margin: 12px 0 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.02;
  max-width: 17ch;
}

.story-feature {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  min-height: 500px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(19, 39, 67, 0.96), rgba(10, 22, 41, 0.88));
  box-shadow: 0 30px 70px rgba(19, 39, 67, 0.18);
}

.story-content-wrapper,
.story-image-wrapper {
  position: relative;
  flex: 1 1 100%;
}

.story-content-wrapper {
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 56px 42px 56px max(34px, calc((100vw - var(--width)) / 2 + 18px));
}

.story-content {
  max-width: 430px;
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 700ms ease 520ms,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 520ms;
}

.story-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  font-family: "Playfair Display", serif;
  color: #fff;
}

.story-content p:not(.story-title) {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.85;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.story-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.story-image-shell {
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 50%;
  width: min(620px, 46vw);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 56px rgba(10, 22, 41, 0.24);
  transition: transform 1600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-image-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 41, 0.1), rgba(10, 22, 41, 0.04));
}

.story-image-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  background: transparent;
}

.story-feature.visible .story-image-shell {
  transform: translateX(calc(-50% + 280px));
}

.story-feature.visible .story-content {
  opacity: 1;
  transform: translateX(0);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 20px;
  margin-top: 30px;
}

.showcase-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-top: 0;
  padding-left: 34px;
  padding-right: 34px;
}


.showcase-project {
  position: relative;
  padding: 24px;
  border-radius: 34px;
  border: 1px solid rgba(19, 39, 67, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 241, 235, 0.92)),
    #fff;
  box-shadow:
    0 28px 56px rgba(19, 39, 67, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.showcase-project::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(159, 35, 50, 0.5), rgba(216, 185, 138, 0.75), rgba(19, 39, 67, 0.25));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.showcase-project-secondary::before {
  background: linear-gradient(135deg, rgba(19, 39, 67, 0.45), rgba(96, 146, 176, 0.58), rgba(216, 185, 138, 0.75));
}

.showcase-project-header {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.showcase-project-tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(159, 35, 50, 0.1);
  color: var(--red-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-project-secondary .showcase-project-tag {
  background: rgba(19, 39, 67, 0.08);
  color: var(--ink);
}

.showcase-carousel {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(19, 39, 67, 0.08);
  background: #d9dde3;
  box-shadow: 0 28px 56px rgba(19, 39, 67, 0.14);
}

.showcase-carousel-track {
  position: relative;
  min-height: 560px;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

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

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

.showcase-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 22, 41, 0.36);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.showcase-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.showcase-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.showcase-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 39, 67, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase-card-large .showcase-visual {
  min-height: 340px;
}

.showcase-visual {
  min-height: 220px;
  display: flex;
  align-items: end;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(19, 39, 67, 0.08), rgba(19, 39, 67, 0.36)),
    linear-gradient(135deg, rgba(159, 35, 50, 0.3), rgba(216, 185, 138, 0.26)),
    var(--paper-soft);
}

.showcase-photo {
  padding: 0;
  min-height: 0;
  background: #d9dde3;
}

.showcase-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.showcase-visual-alt {
  background:
    linear-gradient(180deg, rgba(19, 39, 67, 0.12), rgba(19, 39, 67, 0.42)),
    linear-gradient(135deg, rgba(19, 39, 67, 0.1), rgba(159, 35, 50, 0.28)),
    var(--paper-soft);
}

.showcase-visual-soft {
  background:
    linear-gradient(180deg, rgba(19, 39, 67, 0.08), rgba(19, 39, 67, 0.28)),
    linear-gradient(135deg, rgba(216, 185, 138, 0.26), rgba(19, 39, 67, 0.08)),
    var(--paper-soft);
}

.showcase-visual span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.showcase-copy {
  padding: 22px 24px 24px;
}

.showcase-copy h3 {
  margin: 10px 0 10px;
  font-size: 1.42rem;
}

.gallery-section {
  padding-top: 84px;
}

.gallery-section .section-head {
  max-width: 760px;
}

.gallery-section .section-head h2 {
  max-width: 21ch;
}

.portfolio-stack {
  display: grid;
  gap: 52px;
  margin-top: 34px;
}

.portfolio-group {
  display: grid;
  gap: 22px;
}

.portfolio-group-head {
  max-width: 720px;
}

.portfolio-group-head h3 {
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.18;
}

.portfolio-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 20px;
  align-items: stretch;
}

.portfolio-feature-reverse {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.portfolio-feature-reverse .portfolio-primary {
  order: 2;
}

.portfolio-feature-reverse .portfolio-secondary {
  order: 1;
}

.portfolio-primary,
.portfolio-secondary,
.portfolio-tile {
  min-width: 0;
}

.portfolio-primary .portfolio-frame {
  aspect-ratio: 16 / 10;
}

.portfolio-secondary {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-secondary .portfolio-frame {
  aspect-ratio: 4 / 3;
}

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

.portfolio-rail .portfolio-tile {
  grid-column: span 3;
}

.portfolio-rail .portfolio-tile:nth-child(5n + 1) {
  grid-column: span 4;
}

.portfolio-rail .portfolio-tile:nth-child(6n + 3) {
  grid-column: span 5;
}

.portfolio-rail .portfolio-tile:nth-child(7n + 4) {
  grid-column: span 3;
}

.portfolio-rail .portfolio-frame {
  aspect-ratio: 5 / 4;
}

.portfolio-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #dfe6ee;
  border: 1px solid rgba(19, 39, 67, 0.08);
  box-shadow: 0 24px 46px rgba(19, 39, 67, 0.11);
}

.portfolio-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.portfolio-primary .portfolio-frame img {
  object-position: center center;
}

.portfolio-frame:hover img {
  transform: scale(1.03);
}

.portfolio-caption {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 76px;
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 30px;
}

.gallery-card {
  position: relative;
  grid-column: span 4;
  grid-row: span 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(19, 39, 67, 0.08);
  box-shadow: 0 24px 50px rgba(19, 39, 67, 0.12);
  background: #d9dde3;
  isolation: isolate;
}

.gallery-card.wide {
  grid-column: span 6;
  grid-row: span 5;
}

.gallery-card:nth-child(4n + 2) {
  grid-row: span 5;
}

.gallery-card:nth-child(5n + 3) {
  grid-column: span 3;
  grid-row: span 4;
}

.gallery-card:nth-child(7n + 5) {
  grid-column: span 5;
  grid-row: span 4;
}

.gallery-frame {
  position: relative;
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.gallery-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 44px 20px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 41, 0.3) 24%, rgba(10, 22, 41, 0.82) 100%);
}

.gallery-tag {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-copy h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.35;
  max-width: 20ch;
}

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

.mask-house-number-624::after,
.mask-house-number-1041::after {
  content: "";
  position: absolute;
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(19, 39, 67, 0.12);
}

.mask-house-number-624::after {
  left: 40%;
  top: 33%;
  width: 10%;
  height: 12%;
}

.mask-house-number-1041::after {
  left: 5cqi;
  top: 56%;
  width: 12%;
  height: 10%;
}

.showcase-copy p:last-child {
  color: var(--muted);
  line-height: 1.72;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  margin-top: 30px;
  align-items: start;
}

.service-copy {
  padding: 6px 0 0;
}

.section-services-intro .service-copy {
  max-width: 760px;
}

.service-list {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.service-list li {
  position: relative;
  padding: 0 0 0 24px;
  color: var(--ink);
  font-weight: 600;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
}

.service-visual-card {
  position: relative;
  min-height: 420px;
  margin-top: -8px;
}

.service-visual {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 24px 46px rgba(19, 39, 67, 0.16);
}

.service-visual::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 0deg,
      rgba(159, 35, 50, 0) 0deg,
      rgba(159, 35, 50, 0.12) 55deg,
      rgba(159, 35, 50, 0.95) 120deg,
      rgba(216, 176, 92, 0.9) 180deg,
      rgba(159, 35, 50, 0.22) 245deg,
      rgba(159, 35, 50, 0) 360deg);
  animation: process-border-spin 7s linear infinite;
  pointer-events: none;
}

.service-visual::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 22px;
  background: rgba(11, 24, 43, 0.16);
  pointer-events: none;
}

.service-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 22px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.service-visual:hover img {
  transform: scale(1.02);
}

.service-visual-tall {
  top: 0;
  right: 0;
  width: min(360px, 100%);
  aspect-ratio: 6 / 6.2;
  z-index: 2;
}

.service-visual-ceiling {
  top: -170px;
  width: min(410px, 100%);
}

.service-visual-ceiling img {
  object-position: center 0%;
  transform: scale(1.12);
}

.service-visual-ceiling:hover img {
  transform: scale(1.15);
}

.service-highlight {
  padding: 28px;
}

.service-highlight h3 {
  max-width: 13ch;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  margin-top: 30px;
  align-items: start;
}

.process-steps {
  display: grid;
  gap: 20px;
}

.process-step {
  padding: 28px;
}

.process-gallery {
  display: grid;
  gap: 20px;
}

.process-image-card {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow);
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.process-image-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 0deg,
      rgba(159, 35, 50, 0) 0deg,
      rgba(159, 35, 50, 0.12) 55deg,
      rgba(159, 35, 50, 0.95) 120deg,
      rgba(216, 176, 92, 0.9) 180deg,
      rgba(159, 35, 50, 0.22) 245deg,
      rgba(159, 35, 50, 0) 360deg);
  animation: process-border-spin 7s linear infinite;
  pointer-events: none;
}

.process-image-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 26px;
  background: rgba(11, 24, 43, 0.18);
  pointer-events: none;
}

.process-image-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 26px;
  object-fit: cover;
}

@keyframes process-border-spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.site-footer {
  margin-top: 56px;
  padding: 0;
}

.site-footer-inner {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 26px;
  align-items: center;
  padding: 32px max(28px, calc((100vw - var(--width)) / 2 + 18px));
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(19, 39, 67, 0.98), rgba(12, 27, 48, 0.94)),
    linear-gradient(135deg, rgba(159, 35, 50, 0.24), transparent 55%);
  color: #fff;
  box-shadow: 0 26px 50px rgba(19, 39, 67, 0.22);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand strong,
.footer-contact a {
  font-size: 1.05rem;
  font-weight: 800;
}

.footer-brand p,
.footer-contact span {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.phone-link:hover,
.button:hover,
.overview-card:hover,
.process-step:hover {
  transform: translateY(-2px);
}

@media (max-width: 1060px) {
  .topbar-inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero,
  .proof-strip,
  .overview,
  .service-layout,
  .process-grid,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .portfolio-feature,
  .portfolio-feature-reverse {
    grid-template-columns: 1fr;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-feature-reverse .portfolio-primary,
  .portfolio-feature-reverse .portfolio-secondary {
    order: initial;
  }

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

  .portfolio-rail .portfolio-tile,
  .portfolio-rail .portfolio-tile:nth-child(5n + 1),
  .portfolio-rail .portfolio-tile:nth-child(6n + 3),
  .portfolio-rail .portfolio-tile:nth-child(7n + 4) {
    grid-column: auto;
  }

  .story-feature {
    flex-direction: column;
    min-height: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 28px;
  }

  .story-content-wrapper,
  .story-image-wrapper {
    flex: none;
  }

  .story-content-wrapper {
    padding: 34px 26px 30px;
  }

  .story-image-wrapper {
    inset: 0;
  }

  .story-image-shell {
    top: 18px;
    bottom: 18px;
    width: min(300px, 68vw);
    padding: 16px;
  }

  .story-feature.visible .story-image-shell {
    transform: translateX(calc(-50% + 92px));
  }

  .gallery-card.wide {
    grid-column: auto;
  }

  .gallery-card,
  .gallery-card.wide,
  .gallery-card:nth-child(4n + 2),
  .gallery-card:nth-child(5n + 3),
  .gallery-card:nth-child(7n + 5) {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-copy h1,
  .section-head h2,
  .contact-card h2 {
    max-width: none;
  }

  .showcase-carousel-track {
    min-height: 440px;
  }

  .showcase-split {
    grid-template-columns: 1fr;
  }

  .showcase-section {
    margin-left: 0;
    margin-right: 0;
  }

  .showcase-section .section-head,
  .showcase-split {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .site-frame {
    width: min(calc(100% - 18px), var(--width));
    margin-top: 22px;
  }

  .topbar {
    padding: 12px 0;
  }

  .topbar-inner {
    width: 100%;
    padding: 4px 16px;
    margin: 0;
    gap: 14px;
  }

  .brand {
    width: 100%;
    margin-right: 0;
  }

  .brand-mark {
    width: 124px;
    height: 124px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .phone-link {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
    gap: 12px 18px;
    font-size: 0.95rem;
    margin-left: 0;
  }

  .hero {
    width: auto;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-top: 44px;
    gap: 24px;
    padding-left: 22px;
    padding-right: 22px;
    padding-bottom: 54px;
    min-height: 0;
  }

  .story-intro h2,
  .story-title {
    max-width: none;
  }

  .story-feature {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 28px;
    overflow: hidden;
  }

  .story-content-wrapper,
  .story-image-wrapper {
    flex: none;
    width: 100%;
  }

  .story-content-wrapper {
    padding: 30px 22px 24px;
  }

  .story-content {
    max-width: none;
  }

  .story-image-wrapper {
    position: relative;
    inset: auto;
    min-height: 0;
    pointer-events: none;
  }

  .story-image-shell {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 32px);
    max-width: 340px;
    margin: 0 auto 22px;
    padding: 14px;
    transform: none;
  }

  .story-feature.visible .story-image-shell {
    transform: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .showcase-carousel {
    border-radius: 22px;
  }

  .showcase-carousel-track {
    min-height: 300px;
  }

  .showcase-project {
    padding: 18px;
    border-radius: 26px;
  }

  .showcase-project-header {
    margin-bottom: 12px;
  }

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

  .service-visual-card {
    min-height: 0;
    margin-top: 0;
  }

  .service-visual,
  .service-visual-tall,
  .service-visual:not(.service-visual-tall) {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .service-visual-ceiling {
    width: 100%;
  }

  .process-image-card {
    min-height: 220px;
  }

  .panel-image,
  .overview-card,
  .service-highlight,
  .process-step,
  .proof-card,
  .site-footer-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-footer-inner {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .gallery-grid {
    grid-auto-rows: auto;
  }

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

  .portfolio-stack {
    gap: 38px;
  }

  .portfolio-group-head h3 {
    font-size: 1.34rem;
  }

  .portfolio-secondary {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .portfolio-rail {
    grid-template-columns: 1fr;
  }

  .portfolio-primary .portfolio-frame,
  .portfolio-secondary .portfolio-frame,
  .portfolio-rail .portfolio-frame {
    aspect-ratio: 4 / 3;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    text-align: left;
  }

  .footer-brand {
    align-items: flex-start;
  }
}
