:root {
  --red: #b71918;
  --red-dark: #64110f;
  --yellow: #f4bd16;
  --ink: #151313;
  --muted: #5f5a55;
  --paper: #fffdf8;
  --stone: #f3f0e8;
  --sage: #687566;
  --line: rgba(21, 19, 19, 0.14);
  --shadow: 0 24px 70px rgba(21, 19, 19, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
figcaption,
.eyebrow {
  overflow-wrap: anywhere;
  hyphens: auto;
}

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

main * {
  min-width: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.6rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 750;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.4rem);
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a,
.site-footer a,
.text-link {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-size: 0 0.22em;
  background-position: 0 90%;
  background-repeat: no-repeat;
  transition: color 180ms ease, background-size 220ms ease;
}

.nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--ink);
  background-size: 100% 0.22em;
}

.header-call {
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-call:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(78svh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
  background: var(--ink);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(21, 19, 19, 0.95) 0%, rgba(21, 19, 19, 0.8) 45%, rgba(21, 19, 19, 0.38) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: 10%;
  z-index: 1;
  width: 58vw;
  height: 18vw;
  max-height: 220px;
  background: var(--yellow);
  transform: rotate(-8deg);
  opacity: 0.86;
}

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

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, var(--red-dark), var(--red) 58%, #f06a20);
}

.hero-shot {
  position: absolute;
  width: clamp(160px, 24vw, 340px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0.96;
}

.hero-shot-main {
  right: clamp(1rem, 6vw, 6rem);
  top: 12%;
  width: clamp(220px, 31vw, 440px);
}

.hero-shot-top {
  right: clamp(11rem, 30vw, 28rem);
  bottom: 9%;
}

.hero-shot-low {
  right: clamp(-1rem, 4vw, 3rem);
  bottom: -3%;
}

.hero-copy > * {
  animation: rise-in 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 180ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 270ms;
}

.eyebrow,
.section-label {
  margin: 0 0 0.9rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.6rem, 9vw, 8rem);
  line-height: 0.9;
  max-width: 9ch;
}

.hero-lead {
  max-width: 52ch;
  margin: 1.4rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 0.82rem 1.05rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.button.secondary:hover {
  background: #fff;
  color: var(--ink);
}

section:not(.hero) {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.intro,
.services,
.process,
.gallery,
.contact,
.legal {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.feature h2,
.contact h2,
.legal h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  line-height: 0.98;
}

.intro p,
.feature p,
.contact p,
.legal p,
.legal li {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading h2 {
  max-width: 780px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 64px minmax(170px, 0.34fr) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: baseline;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 220ms ease, background 220ms ease;
}

.service-item:hover {
  padding-left: 0.8rem;
  background: linear-gradient(90deg, rgba(244, 189, 22, 0.16), transparent);
}

.service-item span {
  color: var(--red);
  font-weight: 900;
}

.service-item h3,
.process-list h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.service-item p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.service-title {
  transition: color 180ms ease;
}

.service-title:hover {
  color: var(--red);
}

.feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) 1fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.feature-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.feature-media img,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.feature-media img:first-child {
  transform: translateY(-1rem);
}

.feature-media img:last-child {
  transform: translateY(1rem);
}

.feature p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 62ch;
}

.feature .text-link {
  display: inline-block;
  margin-top: 1rem;
  color: #fff;
}

.process {
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  counter-increment: step;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.process-list li::before {
  content: "0" counter(step);
  color: var(--red);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 1.15rem);
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
}

.gallery-grid img {
  box-shadow: none;
  transition: transform 520ms ease, filter 520ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-grid figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: start;
}

.contact-box {
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem;
  border-left: 6px solid var(--red);
  background: var(--stone);
  border-radius: 6px;
  font-style: normal;
}

.contact-box a:not(.text-link) {
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 4rem);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.subpage {
  background:
    linear-gradient(180deg, rgba(183, 25, 24, 0.08), transparent 22rem),
    var(--paper);
}

.legal {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.legal h1 {
  max-width: 820px;
  margin-bottom: 2rem;
}

.legal section {
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}

.legal h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.legal a {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.legal .service-image {
  width: min(360px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-in {
  from {
    opacity: 0.45;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-in both;
    animation-timeline: view();
    animation-range: entry 12% cover 34%;
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero {
    min-height: calc(78svh - 118px);
  }

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

  .service-item {
    grid-template-columns: 44px 1fr;
  }

  .service-item p {
    grid-column: 2;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 112px;
  }

  .brand img {
    width: 42px;
    height: 44px;
  }

  .header-call {
    padding: 0.45rem 0.65rem;
  }

  .hero {
    min-height: calc(78svh - 112px);
    padding-top: 3.5rem;
    padding-bottom: 2.25rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .nav {
    flex-wrap: wrap;
    gap: 0.35rem 0.62rem;
    overflow: visible;
    font-size: 0.88rem;
  }

  .hero-shot-main {
    right: -1rem;
    top: 16%;
    width: 210px;
  }

  .hero-shot-top {
    left: -2rem;
    bottom: 11%;
    width: 170px;
  }

  .hero-shot-low {
    right: 1rem;
    bottom: -1rem;
    width: 180px;
  }

  .button {
    width: 100%;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .service-item p {
    grid-column: auto;
  }

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

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

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