:root {
  color-scheme: light;
  --ink: #111315;
  --muted: #5e6368;
  --paper: #f7f2ea;
  --surface: #fffdf8;
  --line: rgba(17, 19, 21, 0.14);
  --sage: #7e8f77;
  --clay: #b76245;
  --blue: #405a6f;
  --gold: #c99c58;
  --shadow: 0 22px 70px rgba(17, 19, 21, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  padding: 0.85rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(247, 242, 234, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  color: #fffdf8;
  background: var(--ink);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.site-nav {
  gap: clamp(0.8rem, 2vw, 1.6rem);
  color: rgba(17, 19, 21, 0.74);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.button,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--clay);
}

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.menu-button span[aria-hidden="true"],
.menu-button span[aria-hidden="true"]::before,
.menu-button span[aria-hidden="true"]::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--ink);
  content: "";
}

.menu-button span[aria-hidden="true"] {
  position: relative;
}

.menu-button span[aria-hidden="true"]::before,
.menu-button span[aria-hidden="true"]::after {
  position: absolute;
  left: 0;
}

.menu-button span[aria-hidden="true"]::before {
  top: -0.38rem;
}

.menu-button span[aria-hidden="true"]::after {
  top: 0.38rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 4.75rem));
  overflow: hidden;
  background: var(--ink);
}

.thank-you-page {
  min-height: 100vh;
  background: var(--ink);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.86) 0%, rgba(17, 19, 21, 0.58) 42%, rgba(17, 19, 21, 0.08) 100%),
    linear-gradient(0deg, rgba(17, 19, 21, 0.25), rgba(17, 19, 21, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(760px, calc(100% - 2rem));
  margin: 0 clamp(1rem, 5vw, 5.5rem);
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  color: #fffdf8;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 8vw, 7.25rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
}

h3 {
  font-size: 1.14rem;
}

.hero-content p:not(.eyebrow),
.portfolio-copy p,
.contact-copy p,
.copy-columns p,
.service-card p,
.process-list span,
.intro-band span {
  line-height: 1.72;
}

.hero-content p:not(.eyebrow) {
  max-width: 42rem;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

.thank-you-hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 4.75rem);
  overflow: hidden;
  background: var(--ink);
}

.thank-you-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.88), rgba(17, 19, 21, 0.58) 48%, rgba(17, 19, 21, 0.18)),
    linear-gradient(0deg, rgba(17, 19, 21, 0.4), rgba(17, 19, 21, 0.08));
  content: "";
}

.thank-you-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thank-you-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(720px, calc(100% - 2rem));
  margin: 0 clamp(1rem, 5vw, 5.5rem);
  color: #fffdf8;
}

.thank-you-copy p:not(.eyebrow) {
  max-width: 38rem;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.06rem, 1.8vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
}

.button-light {
  color: var(--ink);
  background: #fffdf8;
}

.button-ghost {
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.46);
}

.button-dark {
  width: fit-content;
  color: #fffdf8;
  background: var(--ink);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  min-height: 9rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.intro-band span,
.copy-columns p,
.portfolio-copy p,
.contact-copy p,
.service-card p,
.process-list span,
.form-note {
  color: var(--muted);
}

.section,
.contact {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5.5rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.copy-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 920px;
  margin-left: auto;
  font-size: 1.06rem;
}

.portfolio {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: #e8ece4;
}

.portfolio-copy p {
  max-width: 34rem;
  font-size: 1.04rem;
}

.portfolio-visual {
  margin: 0;
  box-shadow: var(--shadow);
}

.portfolio-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-section {
  background: var(--paper);
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.gallery-tabs button {
  min-height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 1rem;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.gallery-tabs button.is-active {
  color: #fffdf8;
  background: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.gallery-grid figure {
  position: relative;
  min-height: 17rem;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.gallery-grid figure.is-hidden {
  display: none;
}

.gallery-grid button {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 260ms ease, opacity 260ms ease;
}

.gallery-grid button:hover img {
  opacity: 0.82;
  transform: scale(1.035);
}

.gallery-grid figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  max-width: calc(100% - 1.6rem);
  padding: 0.45rem 0.62rem;
  color: #fffdf8;
  background: rgba(17, 19, 21, 0.72);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 15rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
}

.service-card span {
  display: inline-block;
  margin-bottom: 2.4rem;
  color: var(--clay);
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
}

.process {
  background: #eef0f2;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  min-height: 14rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.testimonials {
  background: var(--surface);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.testimonial-grid figure {
  display: grid;
  align-content: space-between;
  min-height: 18rem;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
}

.testimonial-grid blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.24;
}

.testimonial-grid figcaption {
  margin-top: 2rem;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq {
  background: #eef0f2;
}

.faq-list {
  display: grid;
  max-width: 920px;
  margin-left: auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.48);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
  padding: 1rem 0;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--clay);
  content: "+";
  display: grid;
  place-items: center;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 44rem;
  margin: 0 0 1.4rem;
  color: var(--muted);
  line-height: 1.72;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.7fr);
  gap: clamp(2rem, 6vw, 5rem);
  background: #23282b;
  color: #fffdf8;
}

.contact-copy p {
  max-width: 40rem;
  color: rgba(255, 253, 248, 0.72);
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

.contact-details div {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 253, 248, 0.22);
}

.contact-details dt {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0.25rem 0 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--ink);
  background: var(--surface);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 19, 21, 0.2);
  border-radius: 6px;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.hidden-field {
  display: none !important;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.chatbot {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 0.8rem;
  max-width: calc(100vw - 2rem);
}

.chatbot-toggle,
.chatbot-close,
.chatbot-prompts button,
.chatbot-form button {
  font: inherit;
  cursor: pointer;
}

.chatbot-toggle {
  min-height: 3.2rem;
  padding: 0 1.2rem;
  color: #fffdf8;
  background: var(--clay);
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.chatbot-panel {
  width: min(23rem, calc(100vw - 2rem));
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: #fffdf8;
  background: var(--ink);
}

.chatbot-header strong,
.chatbot-header span {
  display: block;
}

.chatbot-header span {
  margin-top: 0.12rem;
  color: rgba(255, 253, 248, 0.64);
  font-size: 0.82rem;
}

.chatbot-close {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 50%;
  color: #fffdf8;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
}

.chatbot-messages {
  display: grid;
  gap: 0.7rem;
  max-height: 18rem;
  overflow-y: auto;
  padding: 1rem;
}

.chat-message {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 0.72rem 0.82rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.48;
}

.chat-message.bot {
  color: var(--ink);
  background: #eef0f2;
}

.chat-message.user {
  justify-self: end;
  color: #fffdf8;
  background: var(--blue);
}

.chatbot-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1rem 1rem;
}

.chatbot-prompts button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.52rem 0.68rem;
  color: var(--ink);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
}

.chatbot-form input {
  min-width: 0;
  border: 1px solid rgba(17, 19, 21, 0.2);
  border-radius: 999px;
  padding: 0.72rem 0.85rem;
  font: inherit;
}

.chatbot-form button {
  border: 0;
  border-radius: 999px;
  padding: 0 0.85rem;
  color: #fffdf8;
  background: var(--ink);
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(17, 19, 21, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 86vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 50%;
  color: #fffdf8;
  background: rgba(17, 19, 21, 0.48);
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 5vw, 5.5rem);
  color: rgba(255, 253, 248, 0.72);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .menu-button {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    display: none;
    width: min(18rem, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 1rem;
  }

  .thank-you-nav {
    position: static;
    display: flex;
    width: auto;
    flex-direction: row;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .thank-you-nav a {
    padding: 0;
  }

  .intro-band,
  .section-heading,
  .copy-columns,
  .portfolio,
  .service-grid,
  .gallery-grid,
  .process-list,
  .testimonial-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .hero-image {
    object-position: 48% center;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(17, 19, 21, 0.84) 0%, rgba(17, 19, 21, 0.55) 58%, rgba(17, 19, 21, 0.22) 100%),
      linear-gradient(90deg, rgba(17, 19, 21, 0.56), rgba(17, 19, 21, 0.08));
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 4.25rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: min(100% - 2rem, 38rem);
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 3.45rem);
  }

  .button {
    width: 100%;
  }

  .gallery-grid figure {
    min-height: 20rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .chatbot {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .chatbot-panel {
    width: calc(100vw - 1.5rem);
  }
}