:root {
  --bg: #f3f0ea;
  --surface: #f8f5ef;
  --surface-strong: #ece7de;
  --text: #1e1d1a;
  --muted: #6d6a62;
  --line: rgba(30, 29, 26, 0.12);
  --dark: #111111;
  --accent: #6d7b5f;
  --accent-soft: rgba(109, 123, 95, 0.14);
  --shadow: 0 22px 70px rgba(17, 17, 17, 0.14);
  --radius: 28px;
  --shell: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(109, 123, 95, 0.08), transparent 30%),
    linear-gradient(180deg, #f7f5f0 0%, #f1ede6 100%);
  color: var(--text);
}

[data-animate] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-animate="fade-in"] {
  transform: none;
}

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

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

iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(243, 240, 234, 0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.brand {
  font-size: 0.92rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.site-nav {
  display: none;
  gap: 1.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 50px;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-dark {
  background: var(--dark);
  color: #f8f6f2;
}

.button-light {
  background: rgba(248, 246, 242, 0.16);
  border-color: rgba(248, 246, 242, 0.38);
  color: #f8f6f2;
}

.button-green {
  background: var(--accent);
  color: #f7f5f0;
}

.header-cta {
  display: none;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: clip;
}

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

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

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(9, 12, 16, 0.12), rgba(9, 12, 16, 0.72)),
    linear-gradient(90deg, rgba(9, 12, 16, 0.68), rgba(9, 12, 16, 0.22));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 88svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 0 2.5rem;
  color: #f6f2ec;
}

.hero h1,
.section-heading h2,
.section-row h2,
.location-card h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.2rem, 9vw, 6.8rem);
}

.hero-copy {
  max-width: 32rem;
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
  color: rgba(246, 242, 236, 0.86);
}

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

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.4rem;
}

.hero-notes span {
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(248, 246, 242, 0.2);
  border-radius: 999px;
  background: rgba(248, 246, 242, 0.1);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.intro,
.portfolio,
.testimonial,
.contact {
  padding: 5.5rem 0;
}

.intro {
  display: grid;
  gap: 2rem;
}

.section-heading h2,
.section-row h2,
.location-card h2,
.contact-copy h2 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.intro-copy {
  display: grid;
  gap: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.section-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.text-link,
.inline-link,
.social-links a {
  color: var(--muted);
  transition: color 180ms ease;
}

.text-link:hover,
.inline-link:hover,
.social-links a:hover {
  color: var(--text);
}

.portfolio-grid {
  display: grid;
  gap: 1rem;
}

.portfolio-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d7d0c5;
  box-shadow: var(--shadow);
}

.portfolio-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(17, 17, 17, 0.78) 100%);
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-caption {
  position: absolute;
  inset: auto 1.25rem 1.25rem;
  z-index: 1;
  color: #f8f6f2;
}

.category {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portfolio-caption h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.portfolio-caption p {
  margin: 0.7rem 0 0;
  max-width: 28rem;
  color: rgba(248, 246, 242, 0.8);
  line-height: 1.6;
}

.highlights {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(236, 231, 222, 0.72));
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(30, 29, 26, 0.05);
}

.center {
  text-align: center;
}

.highlight-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.highlight-grid article,
.testimonial,
.contact-form,
.location-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(248, 245, 239, 0.74);
  backdrop-filter: blur(12px);
}

.highlight-grid article {
  padding: 1.5rem;
}

.highlight-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.highlight-grid h3,
.location-card h2 {
  margin: 0;
}

.highlight-grid p,
.location-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.testimonial {
  padding: 2rem;
}

.rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.rating strong {
  color: var(--text);
  font-size: 1.2rem;
}

.stars {
  letter-spacing: 0.2em;
  color: #987953;
}

.testimonial-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(109, 123, 95, 0.3);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1.3;
}

.location {
  display: grid;
  gap: 1rem;
  width: var(--shell);
  margin: 0 auto;
  padding-bottom: 5.5rem;
}

.location-map {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.map-canvas {
  min-height: 340px;
  background:
    radial-gradient(circle at top left, rgba(109, 123, 95, 0.18), transparent 30%),
    linear-gradient(180deg, #e4e0d8, #cac5ba);
}

.map-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  max-width: 320px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 20px;
  background: rgba(247, 245, 240, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.12);
}

.map-overlay p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.map-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(109, 123, 95, 0.12);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.maplibregl-ctrl-bottom-right,
.maplibregl-ctrl-bottom-left {
  display: none;
}

.maplibregl-popup-content {
  padding: 0;
  border-radius: 18px;
  background: #f8f5ef;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.18);
}

.maplibregl-popup-close-button {
  padding: 0.35rem 0.55rem;
  color: var(--muted);
}

.map-popup {
  padding: 1rem 1rem 0.95rem;
}

.map-popup strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-popup p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.map-marker {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(247, 245, 240, 0.95);
  border-radius: 999px;
  background: var(--accent);
  box-shadow:
    0 0 0 10px rgba(109, 123, 95, 0.18),
    0 10px 25px rgba(17, 17, 17, 0.2);
}

.location-card {
  padding: 1.75rem;
}

.contact {
  display: grid;
  gap: 1.5rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.6rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
  font: inherit;
}

.site-footer {
  display: grid;
  gap: 1rem;
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 2rem;
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 759px) {
  :root {
    --radius: 22px;
    --shell: min(100vw - 1.25rem, 100%);
  }

  .site-header {
    padding: 0.9rem 0.75rem;
  }

  .brand {
    font-size: 0.84rem;
    letter-spacing: 0.34em;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: 100svh;
    padding: 6.5rem 0 2rem;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.7rem, 14vw, 4.4rem);
    line-height: 0.98;
  }

  .hero-copy {
    max-width: 22rem;
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-notes {
    gap: 0.5rem;
  }

  .hero-notes span {
    font-size: 0.68rem;
    padding: 0.65rem 0.8rem;
  }

  .intro,
  .portfolio,
  .testimonial,
  .contact {
    padding: 4rem 0;
  }

  .section-heading h2,
  .section-row h2,
  .location-card h2,
  .contact-copy h2 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
    line-height: 1.02;
  }

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

  .portfolio-caption {
    inset: auto 1rem 1rem;
  }

  .portfolio-caption h3 {
    font-size: 1.18rem;
  }

  .portfolio-caption p {
    font-size: 0.92rem;
  }

  .highlights {
    padding: 4rem 0;
  }

  .highlight-grid {
    margin-top: 2rem;
  }

  .highlight-grid article,
  .testimonial,
  .contact-form,
  .location-card {
    border-radius: 22px;
  }

  .testimonial {
    padding: 1.4rem;
  }

  blockquote {
    font-size: 1.25rem;
  }

  .location {
    gap: 1rem;
    padding-bottom: 4rem;
  }

  .location-map,
  .map-canvas {
    min-height: 300px;
  }

  .map-overlay {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.2rem;
    max-width: none;
    padding: 0.9rem 1rem;
  }

  .location-card {
    padding: 1.35rem;
  }

  .contact {
    gap: 1rem;
  }

  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-links .button,
  .inline-link {
    width: 100%;
  }

  .inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
  }

  .social-links {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .contact-form {
    padding: 1.1rem;
  }

  .site-footer {
    gap: 1.25rem;
    padding-bottom: 1.5rem;
  }

  .footer-links {
    gap: 0.8rem 1rem;
  }
}

@media (min-width: 760px) {
  .site-header {
    padding: 1rem 2rem;
  }

  .hero-content {
    padding-top: 8rem;
  }

  .site-nav,
  .header-cta {
    display: flex;
  }

  .intro,
  .contact,
  .location {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

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

  .portfolio-large {
    grid-row: span 2;
    min-height: 100%;
  }

  .portfolio-card {
    min-height: 340px;
  }

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

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

  .site-footer {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    align-items: start;
  }

  .map-overlay {
    left: 1.5rem;
    bottom: 0.5rem;
  }
}

@media (min-width: 760px) and (max-width: 1079px) {
  .section-heading h2,
  .section-row h2,
  .location-card h2,
  .contact-copy h2 {
    font-size: clamp(2.7rem, 6vw, 3.8rem);
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(4.2rem, 9vw, 5.8rem);
  }

  .hero-actions {
    gap: 0.7rem;
  }

  .hero-actions .button {
    min-width: 210px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .site-header {
    padding-inline: 3rem;
  }

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

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