/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #fdfcfa;
  --bg-2:      #f2efe8;
  --paper:     #ffffff;
  --ink:       #142238;
  --ink-soft:  #33415a;
  --ink-mute:  #6b7280;
  --red:       #b32b34;
  --red-dark:  #8f222a;
  --line:      rgba(20, 34, 56, 0.16);
  --line-strong: rgba(20, 34, 56, 0.9);
  --cream:     #fdfcfa;

  --display: "Archivo Black", "Arial Black", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 78px;
  --container: 1360px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; }
ul { list-style: none; padding: 0; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px) { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.2rem; background: var(--ink); color: #fff;
  z-index: 9999; font-weight: 600; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.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;
}

.kicker {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5em;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--red);
  display: inline-block;
}

.eyebrow-line {
  border-top: 1px solid var(--line-strong);
}

/* reveal-on-scroll — visible by default (no-JS safe), JS opts into the hidden state */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Typography
   ============================================================= */
h1, .h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: .96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
h2, .h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
h3, .h3 {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  text-transform: uppercase;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1rem 1.75rem;
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.tag {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: .35rem .7rem;
}

/* =============================================================
   6. Nav
   ============================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--nav-h);
  background: var(--cream);
  border-bottom: 1px solid var(--line-strong);
}
.site-nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.brand img { height: 42px; width: auto; }
.brand-text {
  font-family: var(--display);
  font-size: 1.05rem;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand-text span {
  display: block;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink-mute);
  margin-top: .2rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.1rem;
}
.nav-links a {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right .25s var(--ease-out);
}
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.nav-actions .btn-primary { display: none; }
.nav-phone {
  display: none;
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease-out), opacity .25s var(--ease-out);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--ink);
  z-index: 400;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s var(--ease-out), visibility 0s linear .35s;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .35s var(--ease-out), visibility 0s linear 0s;
}
.mobile-menu > a:not(.btn) {
  font-family: var(--display);
  font-size: 1.9rem;
  color: #fff;
  text-transform: uppercase;
}
.mobile-menu > a:not(.btn):hover { color: var(--red); }
.mobile-menu .btn { align-self: stretch; text-align: center; }
.mobile-menu-foot {
  margin-top: auto;
  font-family: var(--mono);
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.mobile-menu-foot a { color: #fff; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-phone { display: inline-flex; align-items: center; gap: .5rem; }
  .nav-actions .btn-primary { display: inline-flex; }
  .hamburger, .mobile-menu { display: none; }
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line-strong);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.hero-copy {
  padding: 3.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}
.hero-copy .container { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-title { margin-top: .5rem; }
.hero-title .line-2 { color: var(--red); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--ink-soft);
}
.hero-meta a { font-weight: 700; color: var(--ink); }
.hero-meta a:hover { color: var(--red); }

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-top: 1px solid var(--line-strong);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Service-area graphic (replaces a duplicate photo in the hero) */
.hero-service-area {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}
.service-area-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 40px);
}
.service-area-rings {
  position: absolute;
  top: 50%; left: 50%;
  width: 130%; height: auto;
  max-width: 620px;
  transform: translate(-50%, -50%);
  overflow: visible;
}
.service-area-rings circle {
  fill: none;
  stroke: rgba(255,255,255,.16);
  stroke-width: 1;
  stroke-dasharray: 3 7;
}
.service-area-rings circle:first-child {
  stroke: rgba(255,143,143,.4);
  animation: ringPulse 4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes ringPulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}
.service-area-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 320px;
}
.service-area-pin {
  width: 30px; height: 30px;
  color: var(--red);
  margin: 0 auto 1rem;
}
.service-area-content .kicker { justify-content: center; margin-bottom: .6rem; }
.service-area-title {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.05;
}
.service-area-sub {
  margin-top: .9rem;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
  }
  .hero-copy { padding: 5rem 0; }
  .hero-photo {
    aspect-ratio: auto;
    border-top: none;
    border-left: 1px solid var(--line-strong);
  }
}

/* =============================================================
   8. Sections (shared)
   ============================================================= */
.section { padding: 4.5rem 0; border-bottom: 1px solid var(--line-strong); }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--ink); color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.section-dark .kicker { color: #ff8f8f; }
.section-dark .kicker::before { background: #ff8f8f; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.75rem;
}
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}
@media (min-width: 1280px) { .section { padding: 6.5rem 0; } }

/* =============================================================
   9. Services grid
   ============================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.service-card {
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.service-num {
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--red);
  font-weight: 700;
}
.service-card:hover .service-num { color: #ffb3b3; }
.service-card h3 { margin-top: 1.1rem; }
.service-list {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--ink-mute);
}
.service-card:hover .service-list { color: rgba(255,255,255,.75); }
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .35s var(--ease-out);
  z-index: -1;
}
.service-card:hover::after { transform: scaleY(1); }
.service-card:hover { color: #fff; }

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
}

/* =============================================================
   10. Our work (home preview)
   ============================================================= */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.work-figure { position: relative; overflow: hidden; background: var(--bg-2); }
.work-figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.work-figure:hover img { transform: scale(1.045); }
.work-figure.is-tall { aspect-ratio: 4 / 5; }
.work-figure.is-wide { aspect-ratio: 4 / 3; }

@media (min-width: 960px) {
  .work-grid {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
  .work-figure.is-tall { grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; }
  .work-figure.is-wide { aspect-ratio: auto; height: 100%; }
}
.work-cta { margin-top: 2.5rem; display: flex; justify-content: center; }

/* =============================================================
   11. Why choose us
   ============================================================= */
.badges-row {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255,255,255,.2);
  border-left: 1px solid rgba(255,255,255,.2);
}
.badge-cell {
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding: 1.9rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.badge-num { font-family: var(--mono); font-size: .78rem; color: #ff8f8f; }
.badge-cell h3 { font-size: 1.05rem; }
@media (min-width: 720px) { .badges-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* =============================================================
   12. Contact
   ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line-strong);
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.contact-channel:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-channel-icon {
  width: 44px; height: 44px;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-channel-icon svg { width: 20px; height: 20px; }
.contact-channel-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-channel:hover .contact-channel-label { color: rgba(255,255,255,.7); }
.contact-channel-value { font-weight: 700; font-size: 1.05rem; }

.hours-box {
  border: 1px solid var(--line-strong);
  padding: 1.75rem;
}
.hours-box h3 { margin-bottom: 1rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .88rem;
  padding: .5rem 0;
  border-top: 1px solid var(--line);
}
.hours-row:first-of-type { border-top: none; }

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
}

/* =============================================================
   13. Footer
   ============================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  padding: 3rem 0 2rem;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-brand-block { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { height: 38px; }
.footer-brand-text { font-family: var(--display); text-transform: uppercase; color: #fff; font-size: 1rem; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ff8f8f;
  margin-bottom: .9rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--mono);
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}
@media (min-width: 720px) {
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); flex: 1; margin-left: 4rem; }
  .footer-bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; row-gap: .5rem; }
}

/* =============================================================
   14. Gallery page
   ============================================================= */
.gallery-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--line-strong);
}
.gallery-masonry {
  column-count: 1;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .5s var(--ease-out), filter .5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item button {
  display: block;
  width: 100%;
  position: relative;
}
.gallery-item button::after {
  content: "+";
  position: absolute;
  top: .6rem; right: .6rem;
  width: 32px; height: 32px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.gallery-item:hover button::after { opacity: 1; }

@media (min-width: 720px) { .gallery-masonry { column-count: 2; } }
@media (min-width: 1280px) { .gallery-masonry { column-count: 3; } }

.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
}
.lightbox::backdrop { background: rgba(20,34,56,.92); }
.lightbox-inner { position: relative; max-width: 92vw; max-height: 88vh; }
.lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
}
.lightbox figcaption {
  color: #fff;
  font-family: var(--mono);
  font-size: .82rem;
  padding-top: .8rem;
  max-width: 92vw;
}
.lightbox-close {
  position: absolute;
  top: .75rem; right: .75rem;
  width: 38px; height: 38px;
  border: 1px solid #fff;
  background: rgba(20,34,56,.75);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 1.1rem;
  z-index: 2;
}
.lightbox-close:hover { background: #fff; color: var(--ink); }

/* =============================================================
   15. CTA banner
   ============================================================= */
.cta-banner {
  padding: 3.5rem 0;
  background: var(--red);
  color: #fff;
  border-bottom: 1px solid var(--line-strong);
}
.cta-banner .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}
.cta-banner h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
@media (min-width: 960px) {
  .cta-banner .container { flex-direction: row; align-items: center; }
}

/* =============================================================
   16. Responsive base adjustments
   ============================================================= */
@media (max-width: 539px) {
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
}
