:root {
  color-scheme: light;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: #29261f;
  background: #f6f3ee;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --paper: #f6f3ee;
  --ink: #29261f;
  --muted: #716d65;
  --line: #e4dfd6;
  --accent: #a45b3e;
  --dark: #29261f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.site-header {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-decoration: none;
}

.logo {
  display: block;
  width: 34px;
  height: 34px;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover,
.service-card a:hover {
  color: var(--accent);
}

.site-nav .nav-cta {
  padding: 11px 16px;
  border: 1px solid var(--ink);
  color: var(--ink);
}

main {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: min(720px, calc(100vh - 88px));
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 124px);
  padding: 70px 0;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(52px, 7vw, 96px);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

h3 {
  margin: 18px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.lead {
  max-width: 500px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.75;
}

.hero .lead {
  margin: 0;
}

.portrait {
  margin: 0;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  background: #e7e0d6;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  background: var(--dark);
  color: white;
  font-size: 13px;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.button:hover {
  background: var(--accent);
}

.text-link {
  font-size: 13px;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.scare {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #2b0a0a 0%, #000 78%);
}

.scare[hidden] {
  display: none;
}

.scare-figure {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  animation: scare-in 140ms cubic-bezier(0.2, 1.6, 0.4, 1) both;
}

.scare-figure img {
  width: min(96vw, 130vh);
  height: auto;
  max-height: 96vh;
  object-fit: contain;
  filter: contrast(1.25) saturate(0.7) brightness(0.95);
  animation: scare-shake 90ms linear 3 both;
}

.scare-figure figcaption {
  position: absolute;
  bottom: 6vh;
  color: #ff5a3c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 14vw, 150px);
  letter-spacing: 0.04em;
  text-shadow: 0 0 30px #000;
}

.scare-close {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  padding: 11px 15px;
  border: 0;
  background: #fff3e6;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

@keyframes scare-in {
  from {
    opacity: 0;
    transform: scale(0.35);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scare-shake {
  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-1.2%, 0.8%);
  }

  75% {
    transform: translate(1.2%, -0.8%);
  }
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-border {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 620px;
}

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

.service-card {
  min-height: 250px;
  padding: 28px 0;
  border-top: 1px solid #c9c1b5;
}

.card-number {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.service-card p,
.split-section p,
.portfolio-callout p,
.contact-banner p,
.content-section p,
.content-section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.service-card p {
  min-height: 88px;
}

.service-card a {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(40px, 10vw, 150px);
  padding: clamp(64px, 9vw, 120px) 0;
}

.split-section p {
  margin: 0 0 24px;
}

.portfolio-callout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
}

.portfolio-callout > div:first-child {
  max-width: 720px;
}

.portfolio-callout .button-row {
  flex: 0 0 auto;
  margin-bottom: 7px;
}

.contact-banner {
  width: 100vw;
  margin: 20px 0 0 calc(50% - 50vw);
  padding: clamp(64px, 9vw, 108px) 24px;
  background: var(--dark);
  color: var(--paper);
  text-align: center;
}

.contact-banner .eyebrow {
  color: #d7a58d;
}

.contact-banner h2 {
  max-width: 760px;
  margin: 0 auto 16px;
}

.contact-banner p:not(.eyebrow) {
  margin: 0 auto 24px;
  color: #d0cbc3;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: #e4dfd6;
  color: var(--ink);
}

.page-intro {
  max-width: 820px;
  padding: clamp(72px, 10vw, 130px) 0 64px;
}

.page-intro h1 {
  max-width: 900px;
  font-size: clamp(48px, 7vw, 84px);
}

.page-intro .lead {
  max-width: 720px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content-section {
  max-width: 850px;
  padding: 0 0 clamp(58px, 8vw, 100px);
}

.content-section h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 46px);
}

.content-section h3 {
  margin-top: 28px;
}

.content-section p {
  margin: 0 0 18px;
}

.content-section ul,
.content-section ol {
  padding-left: 22px;
}

.content-section li {
  padding-left: 5px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  padding-bottom: 70px;
}

.detail-card {
  padding: 28px 0;
  border-top: 1px solid #c9c1b5;
}

.detail-card h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.5vw, 40px);
}

.detail-card p {
  color: var(--muted);
  line-height: 1.8;
}

.price {
  color: var(--accent) !important;
  font-size: 14px;
  font-weight: 650;
}

.faq-list {
  padding-bottom: 80px;
}

.faq-item {
  padding: 24px 0;
  border-top: 1px solid #c9c1b5;
}

.faq-item h2 {
  margin: 0 0 10px;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0;
}

.faq-item p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  min-height: 110px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }

  .site-nav {
    gap: 10px 18px;
  }

  .hero {
    min-height: auto;
    gap: 40px;
  }

  .portfolio-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-callout .button-row {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 36px, 1280px);
  }

  .site-nav a {
    font-size: 12px;
  }

  .site-nav .nav-cta {
    padding: 8px 11px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0 64px;
  }

  .hero .portrait {
    grid-row: 1;
  }

  h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .service-grid,
  .split-section,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .service-card p {
    min-height: 0;
  }

  .split-section {
    gap: 18px;
  }

  .contact-banner {
    padding-right: 22px;
    padding-left: 22px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scare-figure,
  .scare-figure img {
    animation: none;
  }
}
