:root {
  --ink: #1c1914;
  --ink-soft: #4a453c;
  --paper: #f3eee4;
  --paper-deep: #e7dfd0;
  --line: #d4cbb8;
  --accent: #b54a1e;
  --accent-hover: #933c18;
  --forest: #2f3d32;
  --white: #faf8f3;
  --shadow: 0 18px 40px rgba(28, 25, 20, 0.08);
  --max: 1120px;
  --header-h: 110px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #82766d;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

site-header,
site-footer {
  display: block;
}

.lede {
  font-size: 1.2rem;
  max-width: 38rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
}

.logo {
  width: auto;
  height: auto;
  max-height: 92px;
  max-width: 100%;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle .icon,
.nav-toggle .icon::before,
.nav-toggle .icon::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle .icon::before,
.nav-toggle .icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle .icon::before {
  top: -6px;
}

.nav-toggle .icon::after {
  top: 6px;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.home {
  padding-top: 2rem;
}

.home-hero {
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: var(--paper-deep);
}

.home-hero img,
.home-inset img,
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel {
  position: relative;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 248, 243, 0.88);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.carousel-btn:hover {
  background: var(--white);
}

.carousel-prev {
  left: 0.75rem;
}

.carousel-next {
  right: 0.75rem;
}

.carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 248, 243, 0.5);
  cursor: pointer;
}

.carousel-dot.is-active,
.carousel-dot:hover {
  background: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide {
    transition: none;
  }
}

.home-lower {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.75rem;
}

.home-intro {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.28;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
}

.home-inset {
  height: 240px;
  overflow: hidden;
  background: var(--paper-deep);
}

.home-inset img {
  object-position: center;
}

.intro {
  font-size: 1.25rem;
  max-width: 40rem;
  margin: 0 0 2.5rem;
  color: var(--ink);
}

.image-placeholders {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 1rem;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-deep);
  border: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-placeholder:first-child {
  grid-row: 1 / 3;
}

.copy {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.copy p {
  font-size: 1.12rem;
  color: var(--ink);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 4rem;
  align-items: start;
}

.about-layout .copy {
  margin-bottom: 0;
}

.profile {
  margin: 0;
}

.profile-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.profile-caption {
  margin-top: 0.75rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.45;
}

.gallery {
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 16 / 9;
}

.hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3.5rem;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-grid,
.split,
.cards,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.3fr 0.9fr;
  align-items: end;
}

.ridge {
  height: 140px;
  background:
    linear-gradient(180deg, transparent 40%, var(--paper-deep) 40%),
    linear-gradient(135deg, var(--forest) 0 42%, transparent 42% 100%),
    linear-gradient(160deg, transparent 0 28%, #6b7a62 28% 58%, transparent 58%),
    linear-gradient(145deg, transparent 0 48%, #8d6a4a 48% 78%, transparent 78%);
  border-radius: 2px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.section {
  margin-bottom: 3.75rem;
}

.split {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

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

.card,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow);
}

.card p,
.panel p {
  margin-bottom: 0;
}

.meta {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.service-list {
  display: grid;
  gap: 1.25rem;
}

.service {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service-num {
  font-size: 1.4rem;
  color: var(--accent);
}

.quote {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

.contact-layout {
  position: relative;
}

.contact-form {
  width: 82%;
  max-width: none;
  background: #ddd8ce;
  padding: 2.75rem 2.5rem;
  padding-right: 8.5rem;
}

.contact-form label {
  font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
  border: none;
  background: var(--white);
}

.contact-card {
  position: absolute;
  top: 2.25rem;
  right: -100px;
  z-index: 2;
  width: min(25rem, 44%);
  min-height: 20rem;
  background: #6a635a;
  padding: 3rem 2.25rem;
  color: var(--paper);
}

.contact-card h1 {
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  color: var(--paper);
  margin-bottom: 1.25rem;
}

.contact-card p {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--paper);
  font-size: 1.15rem;
  line-height: 1.65;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

input,
textarea,
select {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

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

button[type="submit"] {
  font: inherit;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-contact p,
.footer-credit {
  margin: 0;
}

.footer-credit {
  text-align: right;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.footer-inner a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-inner a:hover {
  color: var(--ink);
}

.hidden {
  display: none;
}

.form-success {
  margin-top: 0.75rem;
  color: var(--forest);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

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

  .site-nav ul {
    flex-direction: column;
  }

  .hero-grid,
  .split,
  .cards,
  .contact-grid,
  .service,
  .image-placeholders,
  .about-layout,
  .home-lower {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    width: 100%;
    padding: 1.75rem 1.4rem;
  }

  .contact-card {
    position: static;
    width: 100%;
    min-height: 0;
    right: auto;
    margin-bottom: 1.25rem;
  }

  .image-placeholders {
    grid-template-rows: 200px 200px 200px;
  }

  .image-placeholder:first-child {
    grid-row: auto;
  }

  .home-intro {
    max-width: none;
  }

  .home-hero {
    height: 240px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-credit {
    text-align: left;
  }
}
