:root {
  --ink: #292522;
  --muted: #706861;
  --paper: #f4f0e9;
  --line: #d8d0c5;
  --wine: #713d43;
  --gallery-opacity: 0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 12px;
  background: white;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 82px;
  padding: 24px clamp(22px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-block;
  width: 17px;
  height: 22px;
  border: 1.5px solid currentColor;
  transform: rotate(-8deg);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.8vw, 38px);
}

.site-header nav a {
  font-size: 12px;
  text-decoration: none;
  color: #514940;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 6px;
}

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

h1, h2, h3, p { margin-top: 0; }

.eyebrow {
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.6;
  text-transform: uppercase;
}

.section-pad { padding: clamp(75px, 11vw, 160px) clamp(24px, 8vw, 130px); }

/* HOME: the long section supplies scrolling; its inner scene stays on screen. */
.story { height: 320vh; height: 320svh; }

.story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #cfbda6;
}

.scene {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.scene-apartment { background-image: url("apartment.svg"); }

.scene-gallery {
  background-image: url("gallery.svg");
  opacity: var(--gallery-opacity);
}

.story-painting {
  position: absolute;
  z-index: 2;
  top: 27%;
  left: 50%;
  width: clamp(112px, 16vw, 205px);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(6px 11px 9px rgba(24, 17, 13, 0.27));
}

/* Shading keeps text readable while preserving the scene. */
.story-shade {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(31, 26, 23, .54), transparent 56%),
    linear-gradient(to bottom, rgba(248, 241, 229, .5), transparent 23%);
}

.story-copy {
  position: absolute;
  z-index: 4;
  bottom: 12%;
  left: clamp(24px, 8vw, 130px);
  right: clamp(24px, 8vw, 130px);
  height: 185px;
  pointer-events: none;
}

.story-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 790px;
  color: #fffaf4;
  text-shadow: 0 2px 12px rgba(20, 15, 12, .35);
  opacity: 0;
}

.caption-one { opacity: 1; }

.story-caption .eyebrow { color: #f3cfbb; }
.story-caption h1,
.story-caption h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.story-caption p:last-child {
  margin-bottom: 0;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.55;
}

.scroll-cue,
.illustration-note {
  position: absolute;
  z-index: 5;
  bottom: 23px;
  margin: 0;
  color: white;
  font-size: 10px;
  letter-spacing: .06em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.scroll-cue { left: clamp(24px, 8vw, 130px); }
.scroll-cue span { margin-left: 6px; }
.illustration-note { right: clamp(24px, 5vw, 80px); text-align: right; }

.home-intro {
  background: var(--paper);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 150px);
  max-width: 1250px;
  margin: auto;
}

.home-intro h2,
.section-heading h2,
.contact-section h2,
.closing-cta h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.07;
  letter-spacing: -.035em;
}

.home-intro-text {
  padding-top: 32px;
  font-size: 17px;
  line-height: 1.75;
}

.home-intro-text p + p { color: var(--muted); }

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  margin-top: 32px;
}

.text-link {
  color: var(--wine);
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid var(--wine);
  padding-bottom: 6px;
}
.text-link:hover { color: #a15860; }

/* INTERIOR PAGES */
.interior-page .site-header { position: relative; }

.page-hero {
  padding-top: clamp(80px, 11vw, 160px);
  padding-bottom: clamp(90px, 11vw, 160px);
  min-height: 560px;
  background:
    radial-gradient(circle at 85% 30%, rgba(151, 117, 103, .13), transparent 36%),
    var(--paper);
}

.page-hero h1 {
  margin: 18px 0 28px;
  max-width: 950px;
  font-size: clamp(52px, 8vw, 120px);
  line-height: 1.01;
  letter-spacing: -.055em;
}

.page-lead {
  max-width: 585px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.approach-section {
  background: #e9e1d6;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 60px;
}

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

.step {
  border-top: 1px solid #aa9d90;
  padding-top: 24px;
}

.step-number {
  color: var(--wine);
  font-size: 12px;
  letter-spacing: .14em;
}

.step h3 {
  margin: 45px 0 16px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.1;
}

.step p {
  color: #605750;
  font-size: 14px;
  line-height: 1.75;
}

.principle-section { max-width: 1150px; }

.principle-section blockquote {
  margin: 32px 0;
  font-size: clamp(33px, 5vw, 68px);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.principle-section > p:last-child {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #302a28;
  color: #fffaf4;
}
.closing-cta h2 { margin: 0; }

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 18px 23px;
  background: var(--wine);
  color: white;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}
.button-link:hover { background: #8b4b53; }

.connect-hero { min-height: 510px; }

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: #e9e1d6;
}

.contact-card {
  max-width: 530px;
  font-size: 17px;
  line-height: 1.75;
}

.contact-card .button-link { margin: 18px 0; }

.contact-note {
  color: var(--muted);
  font-size: 12px;
}

.quiet-line {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 42px);
}
.quiet-line p { margin: 0; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(24px, 8vw, 130px);
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .08em;
}
.footer-muted { color: var(--muted); }

@media (max-width: 800px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .contact-section { grid-template-columns: 1fr; }
  .home-intro-text { padding-top: 0; }
}

@media (max-width: 600px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-top: 20px;
  }
  .site-header nav { gap: 18px; }

  .story-painting {
    top: 29%;
    width: clamp(112px, 32vw, 160px);
  }

  .story-copy {
    bottom: 12%;
    height: 180px;
  }

  .story-caption h1,
  .story-caption h2 {
    font-size: clamp(32px, 9vw, 52px);
  }

  .illustration-note {
    left: 24px;
    right: 24px;
    bottom: 16px;
    text-align: left;
    font-size: 9px;
  }
  .scroll-cue { bottom: 39px; }

  .page-hero { min-height: auto; }
  .steps { grid-template-columns: 1fr; }
  .step h3 { margin-top: 28px; }
  .closing-cta { align-items: flex-start; flex-direction: column; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story { height: auto; }
  .story-stage {
    position: relative;
    min-height: 720px;
    height: 100svh;
  }
  .scene-gallery { opacity: 1 !important; }
  .caption-one, .caption-two { opacity: 0 !important; }
  .caption-three {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-cue { display: none; }
}
