:root {
  --paper: #f8f4ee;
  --sand: #e9dfd0;
  --stone: #c9bfb2;
  --clay: #b68145;
  --wood: #6f4f37;
  --ink: #372d28;
  --muted: #766b63;
  --line: rgba(55, 45, 40, 0.16);
  --white: #fffdf9;
  --shadow: 0 24px 60px rgba(55, 45, 40, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  font-feature-settings: "ss01" 1, "cv01" 1;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  background: rgba(248, 244, 238, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(55, 45, 40, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 0;
  min-width: max-content;
  text-transform: uppercase;
}

.brand span {
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover,
.header-cta:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta {
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
}

.button:hover,
.header-cta:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px);
}

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

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 126px 0 44px;
}

.hero::before {
  content: "ALLIGARE";
  position: absolute;
  left: -6px;
  bottom: 32px;
  color: rgba(55, 45, 40, 0.045);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 800;
  line-height: 0.75;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy::before {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-bottom: 26px;
  background: var(--clay);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-family: "Outfit", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 em,
h1 span,
h2 em {
  display: block;
}

h1 em,
h2 em {
  color: var(--wood);
  font-style: normal;
  font-weight: 500;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.hero-stats div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.hero-stats dt {
  font-family: "Outfit", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.media-note {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: grid;
  gap: 2px;
  max-width: 260px;
  padding: 16px;
  background: rgba(248, 244, 238, 0.9);
  border-radius: 8px;
}

.media-note strong {
  font-family: "Outfit", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
}

.media-note span {
  color: var(--muted);
}

section {
  scroll-margin-top: 96px;
}

.intro-section,
.project-band,
.features-section,
.process-section,
.testimonial-section,
.location-section,
.contact-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.intro-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
}

.intro-grid h2,
.section-heading h2,
.materials-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-family: "Outfit", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.1rem, 4.2vw, 4.35rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
}

.project-band,
.features-section,
.process-section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

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

.section-heading > a {
  padding-bottom: 8px;
  color: var(--wood);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

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

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  min-height: 0;
  border-radius: 8px;
  background: var(--sand);
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
  backface-visibility: hidden;
}

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

.gallery-item:focus-visible {
  outline: 3px solid rgba(182, 129, 69, 0.75);
  outline-offset: 4px;
}

.gallery-item div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(34, 25, 20, 0.82));
  color: var(--white);
}

.gallery-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-item h3 {
  max-width: 460px;
  margin-bottom: 0;
  font-family: "Outfit", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.08;
}

.project-curation {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.curation-copy {
  position: sticky;
  top: 112px;
}

.curation-copy h3 {
  margin: 0;
  font-family: "Outfit", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  font-weight: 650;
  line-height: 1;
}

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

.curation-item {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--sand);
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.curation-item {
  aspect-ratio: 3 / 4;
}

.curation-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.curation-item img,
.curation-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.curation-item:hover img {
  transform: scale(1.04);
}

.curation-item:focus-visible {
  outline: 3px solid rgba(182, 129, 69, 0.75);
  outline-offset: 4px;
}

.curation-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  background: rgba(248, 244, 238, 0.9);
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(20, 15, 12, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.lightbox-frame {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(1120px, 100%);
  max-height: calc(100vh - 56px);
  margin: 0;
}

.lightbox-frame img {
  width: 100%;
  max-height: calc(100vh - 118px);
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.lightbox-frame figcaption {
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 249, 0.26);
  border-radius: 999px;
  background: rgba(55, 45, 40, 0.72);
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.features-grid article {
  position: relative;
  min-height: 265px;
  padding: 26px;
  background: var(--white);
}

.features-grid article::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 44px;
  height: 44px;
  border-top: 1px solid var(--stone);
  border-right: 1px solid var(--stone);
  opacity: 0.75;
}

.features-grid span,
.steps span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--wood);
  font-family: "Outfit", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.features-grid h3,
.steps h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  font-weight: 800;
}

.features-grid p,
.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.materials-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
}

.materials-section img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.materials-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  padding: 80px 56px;
}

.materials-copy .eyebrow {
  color: #d4aa77;
}

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

.materials-copy li {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 253, 249, 0.18);
  color: rgba(255, 253, 249, 0.78);
  font-weight: 500;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps article {
  position: relative;
  min-height: 255px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.58);
}

.steps article::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 70px;
  height: 1px;
  background: var(--line);
}

.testimonial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 56px;
  align-items: center;
  padding: 30px 0 100px;
}

.testimonial-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.testimonial-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

blockquote {
  margin: 0;
}

.testimonial-content h2 {
  max-width: 720px;
  margin-bottom: 28px;
  font-family: "Outfit", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 650;
  line-height: 1;
}

.testimonial-card-image {
  width: min(100%, 860px);
  border-radius: 8px;
  background: var(--sand);
}

.location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 40px;
  align-items: stretch;
  padding: 0 0 96px;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.location-copy h2 {
  margin-bottom: 22px;
  font-family: "Outfit", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 3.7vw, 3.8rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.location-copy address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  font-size: 1.04rem;
  font-weight: 700;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.location-map {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sand);
  box-shadow: var(--shadow);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
  padding: 58px;
  background: var(--sand);
  border-radius: 8px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-list {
  display: grid;
  gap: 14px;
  color: var(--ink);
  font-style: normal;
  font-weight: 760;
}

.contact-list a,
.contact-list span {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(55, 45, 40, 0.18);
}

.floating-whatsapp {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 42px auto;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 8px 16px 8px 8px;
  background: rgba(33, 72, 59, 0.96);
  color: var(--white);
  border: 1px solid rgba(255, 253, 249, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(33, 72, 59, 0.28);
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.floating-whatsapp:hover {
  background: #173b30;
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(182, 129, 69, 0.85);
  outline-offset: 4px;
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.14);
}

.whatsapp-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.whatsapp-copy {
  display: grid;
  gap: 0;
  line-height: 1.05;
}

.whatsapp-copy strong {
  font-size: 0.96rem;
}

.whatsapp-copy small {
  color: rgba(255, 253, 249, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 960px) {
  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .nav {
    display: none;
  }

  .hero,
  .intro-grid,
  .materials-section,
  .testimonial-section,
  .location-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    padding-top: 118px;
  }

  .hero-media,
  .hero-media img {
    min-height: 480px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .project-curation {
    grid-template-columns: 1fr;
  }

  .curation-copy {
    position: static;
  }

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

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

  .materials-copy {
    max-width: none;
    padding: 64px 28px;
  }

  .location-section {
    gap: 24px;
    padding-bottom: 72px;
  }

  .location-copy {
    padding: 34px 24px;
  }

  .contact-section {
    padding: 36px 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    left: 12px;
    right: 12px;
    width: auto;
    gap: 12px;
    margin: 10px 0 0;
    padding: 10px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .hero,
  .intro-section,
  .project-band,
  .features-section,
  .process-section,
  .testimonial-section,
  .location-section,
  .contact-section {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: clamp(2.55rem, 10vw, 3.1rem);
    line-height: 0.98;
  }

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

  .hero-media,
  .hero-media img {
    min-height: 420px;
  }

  .features-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-curation {
    margin-top: 24px;
    padding-top: 24px;
  }

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

  .curation-item.tall {
    grid-row: auto;
    aspect-ratio: 3 / 4;
  }

  .features-grid article,
  .steps article {
    min-height: 220px;
  }

  .materials-section img {
    min-height: 420px;
  }

  .testimonial-section {
    gap: 28px;
    padding-bottom: 72px;
  }

  .testimonial-card-image {
    border-radius: 6px;
  }

  .location-section {
    padding-bottom: 64px;
  }

  .location-copy {
    padding: 28px 20px;
  }

  .location-map,
  .location-map iframe {
    min-height: 340px;
  }

  .location-actions .button {
    width: 100%;
  }

  .contact-section {
    margin-bottom: 18px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 42px;
    min-height: 52px;
    padding: 6px;
  }

  .whatsapp-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .site-footer {
    width: calc(100% - 24px);
    padding-bottom: 72px;
  }

  .lightbox {
    padding: 14px;
  }

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

  .lightbox-frame,
  .lightbox-frame img {
    max-height: calc(100vh - 72px);
  }
}
