:root {
  --ivory: #f7f1e8;
  --cream: #fffaf2;
  --sand: #e7dac8;
  --taupe: #b69d84;
  --espresso: #4a3328;
  --charcoal: #252322;
  --muted: #756b63;
  --line: rgba(74, 51, 40, 0.18);
  --shadow: 0 24px 70px rgba(54, 39, 31, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: var(--sans);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

.photo-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: var(--sand);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.photo-frame:hover img {
  transform: scale(1.035);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 241, 232, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrap,
.section-inner,
.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 188px;
}

.brand img {
  width: 166px;
  height: auto;
  filter: brightness(0.25);
}

.brand-fallback {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--espresso);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--espresso);
  background: var(--espresso);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-1px);
  background: var(--charcoal);
}

.btn.secondary {
  background: transparent;
  color: var(--espresso);
}

.btn.secondary:hover {
  background: var(--espresso);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--espresso);
  font-size: 1.4rem;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 64px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 54px;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
  color: var(--charcoal);
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
}

h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}

p {
  margin: 0;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
}

.hero .lead {
  margin-top: 24px;
}

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

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.hero-meta span,
.fact span,
.price-card small {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-meta strong,
.fact strong {
  display: block;
  margin-top: 4px;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.1;
}

.image-panel,
.placeholder {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(74, 51, 40, 0.18), rgba(255, 250, 242, 0.22)),
    repeating-linear-gradient(45deg, rgba(74, 51, 40, 0.08) 0 1px, transparent 1px 18px),
    var(--sand);
  box-shadow: var(--shadow);
}

.image-panel,
.hero-photo {
  aspect-ratio: 4 / 5;
  min-height: 520px;
}

.image-panel::after,
.placeholder::after {
  content: attr(data-label);
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(74, 51, 40, 0.22);
  color: var(--espresso);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.image-panel .floating-note {
  position: absolute;
  left: -18px;
  bottom: 74px;
  max-width: 260px;
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(54, 39, 31, 0.14);
}

.floating-note strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.05;
}

.floating-note span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--cream);
}

.section.dark {
  background: var(--charcoal);
  color: var(--cream);
}

.section.dark h2,
.section.dark h3,
.section.dark .eyebrow {
  color: var(--cream);
}

.section.dark .lead,
.section.dark p,
.section.dark li {
  color: rgba(255, 250, 242, 0.74);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 38px;
}

.section-head .lead {
  max-width: 520px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.price-card,
.legal-card,
.form-card {
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(74, 51, 40, 0.08);
}

.card {
  position: relative;
  padding: 24px;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card:has(h3 a) {
  cursor: pointer;
}

.card .placeholder {
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  box-shadow: none;
}

.card .photo-frame {
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  box-shadow: none;
}

.card p,
.price-card p,
.legal-card p,
.form-card p,
li {
  color: var(--muted);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.64);
  color: var(--espresso);
  padding: 8px 12px;
  font-size: 0.9rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 260px 260px;
  gap: 16px;
}

.grid.two > .portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 240px 240px;
}

.portfolio-grid .placeholder:first-child {
  grid-row: span 2;
}

.portfolio-grid .photo-frame:first-child {
  grid-row: span 2;
}

.grid.two > .portfolio-grid .placeholder:first-child,
.grid.two > .portfolio-grid .photo-frame:first-child {
  grid-row: auto;
}

.testimonial {
  padding: 28px;
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.18);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 42px;
  background: var(--espresso);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p {
  color: var(--cream);
}

.page-hero {
  padding: 92px 0 62px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 52px;
  align-items: end;
}

.page-hero .placeholder {
  aspect-ratio: 1 / 1;
  box-shadow: none;
}

.page-hero .photo-frame {
  aspect-ratio: 1 / 1;
  box-shadow: none;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
}

.price {
  margin: 18px 0;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
}

.price-card ul,
.legal-card ul {
  padding-left: 18px;
}

.price-card .btn {
  margin-top: auto;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fact {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.56);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
}

.form-card {
  padding: 30px;
}

label {
  display: block;
  margin-bottom: 16px;
  color: var(--espresso);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--charcoal);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.map-placeholder {
  min-height: 340px;
}

.legal-card {
  padding: clamp(24px, 4vw, 48px);
}

.legal-card h2,
.legal-card h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  line-height: 1.08;
}

.legal-card p + p {
  margin-top: 12px;
}

.site-footer {
  padding: 58px 0 30px;
  background: #171615;
  color: var(--cream);
}

.footer-inner {
  display: grid;
  gap: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid h3 {
  color: var(--cream);
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 250, 242, 0.72);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 250, 242, 0.16);
  color: rgba(255, 250, 242, 0.62);
  font-size: 0.9rem;
}

@media (max-width: 940px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    inset: 82px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 32px 32px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
  }

  .hero-grid,
  .page-hero-grid,
  .contact-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 420px;
  }

  .grid.services,
  .grid.four,
  .price-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .portfolio-grid .placeholder:first-child,
  .portfolio-grid .photo-frame:first-child {
    grid-row: auto;
  }

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

@media (max-width: 640px) {
  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1160px);
  }

  .brand img {
    width: 136px;
  }

  .hero {
    min-height: 0;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .hero-meta,
  .grid.services,
  .grid.two,
  .grid.four,
  .price-grid,
  .portfolio-grid,
  .facts,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.two > .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    display: block;
  }

  .section-head .lead {
    margin-top: 16px;
  }

  .cta-band {
    padding: 28px;
  }

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