:root {
  --orange: #ef5323;
  --orange-deep: #d44318;
  --ink: #141414;
  --ink-soft: #3a3a3a;
  --muted: #5c5c5c;
  --paper: #f7f5f2;
  --paper-2: #efeae3;
  --line: rgba(20, 20, 20, 0.12);
  --white: #ffffff;
  --header-h: 4.5rem;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
  --gutter: clamp(1.5rem, 5vw, 3.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(239, 83, 35, 0.08), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 28%, var(--paper-2) 100%);
  background-attachment: fixed;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

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

.nowrap {
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem var(--gutter);
  background: rgba(247, 245, 242, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 245, 242, 0.92);
  border-bottom-color: var(--line);
}

.brand img {
  width: 7.5rem;
  height: auto;
}

.header-nav {
  display: none;
  gap: 1.25rem;
  margin-left: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.header-nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.header-nav a:hover {
  color: var(--orange);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-link {
  display: none;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.phone-link:hover {
  color: var(--orange);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-accent {
  background: var(--orange);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--orange-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.contact .btn-ghost,
.header-actions .btn-ghost {
  color: var(--ink);
  border-color: rgba(20, 20, 20, 0.25);
}

.contact .btn-ghost:hover,
.header-actions .btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(20, 20, 20, 0.04);
}

.btn-lg {
  min-height: 3.15rem;
  padding-inline: 1.35rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  --hero-count: 14;
  --hero-slide: 6s;
  --hero-cycle: calc(var(--hero-count) * var(--hero-slide));
  position: absolute;
  inset: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation:
    hero-crossfade var(--hero-cycle) var(--ease) infinite,
    hero-drift var(--hero-cycle) var(--ease) infinite alternate;
}

.hero-img:nth-child(1) {
  --i: 0;
  opacity: 1;
  animation-name: hero-crossfade-first, hero-drift;
}

.hero-img:nth-child(2) { --i: 1; }
.hero-img:nth-child(3) { --i: 2; }
.hero-img:nth-child(4) { --i: 3; }
.hero-img:nth-child(5) { --i: 4; }
.hero-img:nth-child(6) { --i: 5; }
.hero-img:nth-child(7) { --i: 6; }
.hero-img:nth-child(8) { --i: 7; }
.hero-img:nth-child(9) { --i: 8; }
.hero-img:nth-child(10) { --i: 9; }
.hero-img:nth-child(11) { --i: 10; }
.hero-img:nth-child(12) { --i: 11; }
.hero-img:nth-child(13) { --i: 12; }
.hero-img:nth-child(14) { --i: 13; }

.hero-img {
  animation-delay:
    calc(var(--i) * var(--hero-slide)),
    calc(var(--i) * var(--hero-slide) * -1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.28) 0%, rgba(10, 10, 10, 0.55) 48%, rgba(10, 10, 10, 0.78) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.45) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 42rem);
  margin: 0;
  padding: 6.5rem var(--gutter) 3.25rem;
  animation: hero-rise 0.9s var(--ease) both;
}

.hero-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-slogan {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  color: #ffd4c4;
  letter-spacing: -0.01em;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--gutter);
}

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

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 18ch;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Work / gallery */
.work {
  background: var(--white);
}

.ba-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.ba-pair {
  margin: 0;
}

.ba-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.ba-frames img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ba-frames figcaption {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ba-label {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature {
  margin: 0;
}

.feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature figcaption {
  margin-top: 0.5rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Services */
.services {
  background:
    linear-gradient(180deg, transparent, rgba(239, 83, 35, 0.05)),
    var(--paper);
}

.service-groups {
  display: grid;
  gap: 1.5rem;
}

.service-groups article {
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.service-groups h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service-groups p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.slogan-inline {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.015em;
}

.about-copy p {
  color: var(--ink-soft);
}

.trust-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.trust-list li {
  position: relative;
  padding-left: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--orange);
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-photo figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* Areas */
.areas {
  background: var(--ink);
  color: var(--white);
}

.areas .eyebrow {
  color: #ffb79a;
}

.areas .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.area-columns {
  display: grid;
  gap: 1.5rem;
}

.area-columns h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #ffb79a;
}

.area-columns p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

/* Contact */
.contact {
  background:
    radial-gradient(80% 60% at 0% 100%, rgba(239, 83, 35, 0.12), transparent 60%),
    var(--paper);
}

.contact-panel {
  max-width: 42rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-note a {
  color: var(--orange-deep);
  font-weight: 700;
}

/* Footer */
.site-footer {
  padding: 2.5rem var(--gutter) 3rem;
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.78);
  border-top: 3px solid var(--orange);
}

.footer-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}

.footer-brand img {
  width: 6.5rem;
  margin-bottom: 0.65rem;
}

.footer-slogan {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffb79a;
}

.footer-meta p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.footer-meta a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-crossfade-first {
  0%,
  5.7% {
    opacity: 1;
  }
  7.14%,
  98.8% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes hero-crossfade {
  0% {
    opacity: 0;
  }
  1.2% {
    opacity: 1;
  }
  5.7% {
    opacity: 1;
  }
  7.14% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

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

  .hero-img,
  .hero-content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-img:not(:first-child) {
    display: none;
  }
}

/* Breakpoints */
@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .service-groups {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }

  .area-columns {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (min-width: 860px) {
  .header-nav,
  .phone-link {
    display: flex;
  }

  .hero-content {
    padding-bottom: 4rem;
  }

  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

@media (min-width: 1100px) {
  .ba-grid {
    gap: 2.5rem;
  }
}
