:root {
  --bg: #f6f1e8;
  --surface: #fbf8f3;
  --surface-strong: #efe6d8;
  --text: #16120d;
  --muted: #5f564b;
  --line: rgba(22, 18, 13, 0.14);
  --accent: #8f6a2d;
  --accent-soft: rgba(143, 106, 45, 0.14);
  --shadow: 0 24px 60px rgba(17, 13, 10, 0.12);
  --radius: 28px;
  --container: min(1180px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(143, 106, 45, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f2e9 0%, #f3ede2 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.section-spacing {
  padding: 108px 0;
}

.site-header {
  position: fixed;
  inset: 18px 18px auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  width: auto;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(19, 16, 13, 0.66);
  backdrop-filter: blur(18px);
  color: #fff8f0;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 248, 240, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.brand-text small {
  color: rgba(255, 248, 240, 0.7);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.site-nav a {
  color: rgba(255, 248, 240, 0.84);
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.button-accent {
  background: var(--text);
  color: #fff;
  box-shadow: 0 18px 35px rgba(22, 18, 13, 0.25);
}

.button-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
}

.button-block {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 140px 0 88px;
  background:
    linear-gradient(90deg, rgba(13, 10, 8, 0.88), rgba(13, 10, 8, 0.42)),
    url("assets/site-header.jpg") center / cover no-repeat;
  color: #fff8f0;
  overflow: clip;
}

.hero-overlay {
  position: absolute;
  inset: auto -12% -24% auto;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 152, 89, 0.22), transparent 62%);
  filter: blur(12px);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
}

.hero-grid,
.about-grid,
.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: rgba(255, 248, 240, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.7rem, 7vw, 6.6rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.1;
}

.hero-text,
.section-intro p,
.about-copy p,
.contact-copy > p {
  max-width: 56ch;
  margin: 20px 0 0;
  color: rgba(255, 248, 240, 0.82);
  font-size: 1.05rem;
}

.section-intro p,
.about-copy p,
.contact-copy > p,
.service-card p,
.gallery-card p,
.contact-meta p,
.contact-meta li {
  color: var(--muted);
}

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

.hero-trust,
.about-points,
.contact-meta ul {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.hero-trust {
  display: grid;
  gap: 12px;
}

.hero-trust li,
.about-points li {
  position: relative;
  padding-left: 22px;
}

.hero-trust li::before,
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.feature-frame {
  width: min(100%, 470px);
  padding: 16px;
  border-radius: 32px;
  background: rgba(255, 248, 240, 0.08);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  backdrop-filter: blur(10px);
}

.feature-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}

.feature-note {
  max-width: 270px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 248, 240, 0.18);
  border-radius: 22px;
  background: rgba(10, 8, 6, 0.52);
  backdrop-filter: blur(12px);
}

.feature-note span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 248, 240, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery,
.contact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
}

.section-intro {
  margin-bottom: 34px;
}

.align-center {
  text-align: center;
}

.align-center p {
  margin-left: auto;
  margin-right: auto;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  cursor: pointer;
}

.filter-button.is-active {
  border-color: transparent;
  background: var(--text);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  padding: 0;
  background: #000;
  box-shadow: 0 18px 50px rgba(22, 18, 13, 0.12);
  cursor: pointer;
  text-align: left;
}

.gallery-card[data-shape="portrait"] {
  grid-row: span 2;
}

.gallery-card[data-shape="wide"] {
  grid-column: span 8;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition:
    transform 260ms ease,
    opacity 260ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.76) 100%);
}

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

.gallery-card-copy {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 1;
  color: #fff8f0;
}

.gallery-card-copy p {
  margin: 0 0 6px;
  color: rgba(255, 248, 240, 0.75);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.service-card,
.contact-links a,
.quote-form,
.about-copy,
.contact-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(22, 18, 13, 0.06);
}

.service-card {
  padding: 24px;
}

.service-card span {
  display: inline-flex;
  min-width: 34px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 1.8rem;
  line-height: 1.05;
  margin-bottom: 14px;
}

.about-copy,
.contact-copy,
.quote-form {
  padding: 34px;
}

.about-visual img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.contact-shell {
  align-items: stretch;
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-links a {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 106, 45, 0.35);
}

.contact-links strong {
  font-size: 1.1rem;
}

.contact-links span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.quote-form {
  display: grid;
  gap: 18px;
}

.quote-form label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 18, 13, 0.14);
  border-radius: 18px;
  padding: 15px 16px;
  background: #fffdfa;
  color: var(--text);
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 2px solid transparent;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.site-footer {
  padding: 28px 0 42px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.lightbox {
  width: min(960px, calc(100vw - 28px));
  border: 0;
  border-radius: 28px;
  padding: 18px;
  background: rgba(12, 10, 8, 0.92);
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.lightbox img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox-close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 14px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.lightbox-caption {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.lightbox-caption p {
  margin: 0;
  color: rgba(255, 248, 240, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: none;
    flex-direction: column;
    gap: 12px;
    min-width: 210px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(19, 16, 13, 0.94);
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-items: start;
  }

  .gallery-card,
  .gallery-card[data-shape="wide"] {
    grid-column: span 6;
  }

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

@media (max-width: 720px) {
  .section-spacing {
    padding: 82px 0;
  }

  .site-header {
    inset: 12px 12px auto;
    padding: 12px 14px;
    gap: 12px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-actions,
  .gallery-toolbar {
    flex-direction: column;
  }

  .button,
  .filter-button {
    width: 100%;
  }

  .feature-frame {
    transform: none;
  }

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

  .gallery-card,
  .gallery-card[data-shape="wide"],
  .gallery-card[data-shape="portrait"] {
    grid-column: auto;
    grid-row: auto;
  }

  .service-grid,
  .contact-meta,
  .footer-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .about-copy,
  .contact-copy,
  .quote-form {
    padding: 26px;
  }

  .about-visual img {
    min-height: 360px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
