:root {
  --ink: #2d2924;
  --muted: #70695f;
  --paper: #fbf8f3;
  --surface: #fffdf9;
  --line: #e8ded2;
  --clay: #a56d5f;
  --clay-dark: #7f4c43;
  --sage: #7d8a73;
  --gold: #b89a64;
  --plum: #5a3f4f;
  --shadow: 0 24px 70px rgba(45, 41, 36, 0.14);
  --radius: 8px;
  --max: 1180px;
}

@font-face {
  font-family: "Laginchy";
  src: url("assets/Laginchy.otf") format("opentype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(36, 31, 27, 0.3), rgba(36, 31, 27, 0));
  color: #fff;
  transition: background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.scrolled {
  background: rgba(251, 248, 243, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(45, 41, 36, 0.09);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 174px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  transition: transform 0.28s ease;
}

.site-header.scrolled .brand-mark {
  transform: translateY(-1px);
}

.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.brand-mark .logo-light {
  opacity: 1;
  transform: scale(1);
}

.brand-mark .logo-dark {
  opacity: 0;
  transform: scale(0.92);
}

.site-header.scrolled .logo-light {
  opacity: 0;
  transform: scale(1.05);
}

.site-header.scrolled .logo-dark {
  opacity: 1;
  transform: scale(1);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-text strong {
  font-family: "Laginchy", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

.brand-text small {
  color: currentColor;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.76;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(35, 30, 26, 0.82) 0%, rgba(35, 30, 26, 0.56) 43%, rgba(35, 30, 26, 0.22) 100%),
    linear-gradient(0deg, rgba(35, 30, 26, 0.82) 0%, rgba(35, 30, 26, 0) 48%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #efd8be;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 7.8vw, 92px);
}

h2 {
  font-size: clamp(32px, 4.4vw, 58px);
}

h3 {
  font-size: 24px;
}

.hero-copy {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.button.primary {
  background: var(--clay);
  color: #fff;
}

.button.primary:hover {
  background: var(--clay-dark);
}

.button.secondary {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.button.compact {
  min-height: 42px;
  padding: 10px 16px;
  white-space: nowrap;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 880px;
  margin: 46px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts div {
  padding: 18px;
  background: rgba(35, 30, 26, 0.36);
  backdrop-filter: blur(8px);
}

.hero-facts dt {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  font-weight: 700;
}

section {
  padding: 96px clamp(18px, 4vw, 54px);
}

.band {
  background: #f1e8dc;
}

.section-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
}

.section-grid > p,
.about-copy {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
}

.section-head p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.category-tabs {
  width: min(var(--max), 100%);
  margin: 0 auto 26px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-tabs button {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.category-tabs button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.service-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.review-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(45, 41, 36, 0.06);
}

.service-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  padding: 22px;
}

.service-card .tag {
  width: fit-content;
  margin-bottom: 22px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #efe2d9;
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  font-size: 23px;
}

.service-card p {
  margin: 13px 0 0;
  color: var(--muted);
}

.service-card button {
  width: fit-content;
  margin-top: auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--clay-dark);
  font-weight: 800;
  cursor: pointer;
}

.feature {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.feature-image {
  min-height: 520px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.feature-copy {
  max-width: 620px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage);
}

.price-tools {
  width: min(var(--max), 100%);
  margin: 0 auto 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.price-tools label {
  display: grid;
  flex: 1;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.price-tools input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

.price-tools input:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(165, 109, 95, 0.13);
}

.price-list {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.price-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.price-group h3 {
  padding: 20px 22px;
  background: #f4ebe1;
  font-size: 24px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 17px 22px;
  border-top: 1px solid var(--line);
}

.price-row strong {
  display: block;
}

.price-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.price-row .price {
  color: var(--clay-dark);
  font-weight: 900;
  white-space: nowrap;
}

.mini-link {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.variant-note {
  grid-column: 1 / -1;
  margin-top: -8px;
  color: var(--muted);
  font-size: 14px;
}

.gallery {
  display: grid;
  gap: 34px;
}

.gallery .section-head {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.gallery-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 340px;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 20px 45px rgba(45, 41, 36, 0.12);
}

.gallery-card:focus-visible {
  outline: 3px solid rgba(191, 143, 91, 0.9);
  outline-offset: 4px;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(24, 21, 18, 0.02) 20%, rgba(24, 21, 18, 0.78) 100%),
    linear-gradient(0deg, rgba(24, 21, 18, 0.24), rgba(24, 21, 18, 0.24));
}

.gallery-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-card:hover h3,
.gallery-card:focus-visible h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.gallery-card span {
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-card h3 {
  font-size: clamp(23px, 2.1vw, 30px);
  line-height: 1.02;
}

.about-copy p {
  margin: 0 0 18px;
}

.review-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-grid article {
  padding: 24px;
}

.review-grid p {
  margin: 0 0 22px;
  color: var(--muted);
}

.review-grid strong,
.review-grid span {
  display: block;
}

.review-grid span {
  color: var(--clay-dark);
  font-size: 13px;
  font-weight: 800;
}

.contact {
  padding-bottom: 54px;
}

.contact-card {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 34px;
  padding: clamp(26px, 5vw, 54px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-card .eyebrow {
  color: #efd8be;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-details p {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-details strong,
.contact-details span {
  display: block;
}

.contact-details strong {
  color: #fff;
}

.contact-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 54px);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.service-modal {
  width: min(760px, calc(100% - 28px));
  max-height: min(820px, calc(100vh - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.service-modal.gallery-modal {
  width: min(1040px, calc(100% - 28px));
}

.service-modal::backdrop {
  background: rgba(37, 32, 28, 0.58);
  backdrop-filter: blur(4px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.modal-body {
  padding: 34px;
}

.modal-body h2 {
  padding-right: 38px;
  font-size: clamp(30px, 4vw, 46px);
}

.modal-body p {
  color: var(--muted);
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.modal-meta span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #f2e8de;
  color: var(--clay-dark);
  font-size: 13px;
  font-weight: 800;
}

.modal-body ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.modal-body .button {
  margin-top: 24px;
}

.gallery-modal-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
  gap: 0;
  padding: 0;
}

.gallery-modal-media {
  min-height: 560px;
  background: #e8ded5;
}

.gallery-modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.gallery-modal-copy {
  align-self: center;
  padding: clamp(30px, 4vw, 52px);
}

.gallery-modal-copy h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.gallery-modal-copy h3 {
  margin-top: 24px;
  font-size: 20px;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-facts,
  .service-grid,
  .feature,
  .gallery-grid,
  .review-grid,
  .section-grid,
  .contact-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts,
  .service-grid,
  .feature,
  .review-grid,
  .section-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .feature {
    padding-left: 0;
    padding-right: 0;
  }

  .feature-copy {
    padding: 0 18px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-mark img {
    width: 100%;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text small {
    font-size: 10px;
  }

  .hero {
    min-height: 96vh;
  }

  .hero-content {
    padding-bottom: 32px;
  }

  .hero-facts {
    margin-top: 30px;
  }

  section {
    padding: 66px 18px;
  }

  .service-card {
    min-height: auto;
  }

  .price-tools {
    align-items: stretch;
    flex-direction: column;
  }

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

  .gallery-card {
    min-height: 330px;
  }

  .modal-body {
    padding: 26px 20px;
  }

  .gallery-modal-body {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .gallery-modal-media {
    min-height: 340px;
  }

  .gallery-modal-copy {
    padding: 28px;
  }

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