/* ==========================================================================
   RUDRAPRIY RESIDENCES — Corporate Partnership Proposal
   Visual system: ivory & bronze, editorial serif, generous negative space.
   ========================================================================== */

:root {
  /* Palette */
  --ivory: #f7f4ee;
  --ivory-deep: #efeae1;
  --paper: #fdfcfa;
  --ink: #1c1a17;
  --ink-soft: #4a453d;
  --ink-muted: #857e73;
  --bronze: #9a7b4f;
  --bronze-light: #c2a678;
  --bronze-pale: rgba(154, 123, 79, 0.16);
  --noir: #14120f;
  --noir-soft: #1f1c18;
  --rule: rgba(28, 26, 23, 0.14);
  --rule-light: rgba(28, 26, 23, 0.08);
  --rule-invert: rgba(247, 244, 238, 0.16);

  /* Type */
  --serif: "Didot", "Bodoni MT", "Baskerville", "Hoefler Text", Garamond, "Times New Roman", serif;
  --sans: "Futura", "Avenir Next", "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--bronze); color: var(--paper); }

/* ---------------------------------- Primitives ---------------------------------- */

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 48px; }

section { position: relative; scroll-margin-top: 92px; }

.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 26px;
}

.kicker-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.kicker-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.kicker-rule .kicker { margin-bottom: 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }

.display {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.headline {
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.14;
}

.subhead {
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.4;
  color: var(--ink-soft);
  font-family: var(--serif);
}

.lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.rule { height: 1px; background: var(--rule); }

/* Ornament: thin bronze diamond divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--bronze);
}
.ornament::before, .ornament::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--bronze);
  opacity: 0.5;
}
.ornament span { font-size: 8px; letter-spacing: 0.3em; }

/* ---------------------------------- Buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 34px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}

.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover { background: var(--bronze); border-color: var(--bronze); }

.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }

.btn-invert { background: transparent; color: var(--ivory); border-color: var(--rule-invert); }
.btn-invert:hover { background: var(--ivory); color: var(--noir); border-color: var(--ivory); }

.btn-solid-invert { background: var(--ivory); color: var(--noir); border-color: var(--ivory); }
.btn-solid-invert:hover { background: var(--bronze-light); border-color: var(--bronze-light); color: var(--noir); }

.btn-sm { height: 42px; padding: 0 22px; font-size: 10px; letter-spacing: 0.18em; }
.btn-block { width: 100%; }

.btn .arw { transition: transform 0.4s var(--ease); font-size: 14px; }
.btn:hover .arw { transform: translateX(4px); }

/* Text link with underline reveal */
.link-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.link-line:hover { border-color: var(--bronze); color: var(--bronze); }

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--rule-light);
}

/* Over the dark hero the header inverts; it returns to ink once scrolled onto ivory. */
.site-header:not(.scrolled) { color: var(--ivory); }
.site-header:not(.scrolled) .brand .sub { color: rgba(247, 244, 238, 0.55); }
.site-header:not(.scrolled) .nav-left a,
.site-header:not(.scrolled) .nav-right a.navlink { color: rgba(247, 244, 238, 0.72); }
.site-header:not(.scrolled) .nav-left a:hover,
.site-header:not(.scrolled) .nav-right a.navlink:hover { color: var(--ivory); }
.site-header:not(.scrolled) .nav-left a::after,
.site-header:not(.scrolled) .nav-right a.navlink::after { background: var(--bronze-light); }
.site-header:not(.scrolled) .btn-outline { color: var(--ivory); border-color: var(--rule-invert); }
.site-header:not(.scrolled) .btn-outline:hover { background: var(--ivory); color: var(--noir); border-color: var(--ivory); }
.site-header:not(.scrolled) .menu-btn span { background: var(--ivory); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 92px;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-column: 2;
  text-align: center;
}
.brand .mark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  line-height: 1;
}
.brand .sub {
  font-size: 8.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 7px;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-right { justify-content: flex-end; grid-column: 3; }
.nav-left { grid-column: 1; }

.nav-left a, .nav-right a.navlink {
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s;
}
.nav-left a::after, .nav-right a.navlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--bronze);
  transition: width 0.4s var(--ease);
}
.nav-left a:hover, .nav-right a.navlink:hover { color: var(--ink); }
.nav-left a:hover::after, .nav-right a.navlink:hover::after { width: 100%; }

.menu-btn { display: none; flex-direction: column; gap: 6px; width: 24px; }
.menu-btn span { height: 1px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.3s; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none;
  position: fixed;
  top: 92px; left: 0; right: 0; bottom: 0;
  background: var(--ivory);
  z-index: 95;
  padding: 40px 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.4s var(--ease);
  border-top: 1px solid var(--rule-light);
}
.mobile-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-panel a {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-light);
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: var(--noir);
  color: var(--ivory);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 74% 32%, rgba(194, 166, 120, 0.15), transparent 56%),
    /* scrim keeps the left-hand text column clean of architecture */
    linear-gradient(to right, rgba(20,18,15,0.94) 0%, rgba(20,18,15,0.82) 34%, rgba(20,18,15,0.28) 62%, rgba(20,18,15,0.1) 100%),
    linear-gradient(to bottom, rgba(20,18,15,0.5) 0%, rgba(20,18,15,0.12) 45%, rgba(20,18,15,0.92) 100%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero .kicker { color: var(--bronze-light); }
.hero .display { max-width: 15ch; margin-bottom: 30px; }
.hero .display em { font-style: italic; color: var(--bronze-light); }
.hero p.lede { color: rgba(247, 244, 238, 0.72); max-width: 46ch; margin-bottom: 46px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  position: absolute;
  left: 48px; right: 48px; bottom: 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.45);
  gap: 24px;
}
.hero-meta .doc-ref { display: flex; gap: 28px; flex-wrap: wrap; }

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue .stem {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, rgba(247,244,238,0.5), transparent);
}

/* ---------------------------------- Opening statement ---------------------------------- */

.statement { padding: 130px 0 120px; background: var(--ivory); }
.statement .headline { max-width: 20ch; margin-bottom: 44px; }
.statement-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--rule);
}
.statement-cols p { color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.statement-cols p:first-letter {
  font-family: var(--serif);
  font-size: 46px;
  float: left;
  line-height: 0.86;
  padding: 6px 12px 0 0;
  color: var(--bronze);
}

/* ---------------------------------- Assurance strip ---------------------------------- */

.assurance {
  background: var(--ivory-deep);
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}
.assurance .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.assurance-item {
  padding: 52px 34px;
  border-right: 1px solid var(--rule-light);
  text-align: center;
}
.assurance-item:last-child { border-right: none; }
.assurance-item .fig {
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
  margin-bottom: 14px;
}
.assurance-item .fig sup { font-size: 0.45em; vertical-align: super; color: var(--bronze); }
.assurance-item .cap {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------------------------------- Standard (pillars) ---------------------------------- */

.standard { padding: 140px 0; }
.standard-head { max-width: 720px; margin-bottom: 84px; }
.standard-head .headline { margin-bottom: 24px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillar {
  padding: 0 40px;
  border-left: 1px solid var(--rule-light);
}
.pillar:first-child { padding-left: 0; border-left: none; }
.pillar:last-child { padding-right: 0; }
.pillar .num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--bronze);
  margin-bottom: 28px;
}
.pillar .icon { width: 44px; height: 44px; color: var(--bronze); margin-bottom: 26px; }
.pillar h3 { font-size: 24px; margin-bottom: 14px; }
.pillar p { color: var(--ink-soft); font-size: 15px; line-height: 1.75; }

.pillar-detail { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.pillar-detail li {
  font-size: 13px;
  color: var(--ink-muted);
  padding-left: 18px;
  position: relative;
}
.pillar-detail li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--bronze);
}

/* ---------------------------------- Portfolio ---------------------------------- */

.portfolio { padding: 140px 0; background: var(--paper); border-top: 1px solid var(--rule-light); }
.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 72px;
}
.portfolio-head .headline { max-width: 16ch; }
.portfolio-head p { max-width: 340px; color: var(--ink-soft); font-size: 15px; }

.estate-list { display: flex; flex-direction: column; }

.estate {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--rule-light);
}
.estate:last-child { border-bottom: 1px solid var(--rule-light); }
/* Alternate the plate side down the list for editorial rhythm. */
.estate:nth-child(even) .estate-body { order: -1; }

.estate-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--noir);
}
.estate-visual svg { width: 100%; height: 100%; }
.estate-visual .plate {
  position: absolute;
  left: 22px; bottom: 22px;
  background: rgba(253, 252, 250, 0.94);
  padding: 11px 18px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.estate-body .loc {
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}
.estate-body h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; line-height: 1.16; }
.estate-body p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; margin-bottom: 28px; max-width: 46ch; }

.estate-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  margin-bottom: 32px;
}
.estate-specs div { background: var(--paper); padding: 18px 16px; }
.estate-specs dt {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 7px;
}
.estate-specs dd { font-family: var(--serif); font-size: 19px; }

/* ---------------------------------- Residence appointments ---------------------------------- */

.appointments {
  padding: 140px 0;
  background: var(--noir);
  color: var(--ivory);
}
.appointments .kicker { color: var(--bronze-light); }
.appointments .headline { max-width: 18ch; margin-bottom: 20px; }
.appointments .lede { color: rgba(247,244,238,0.68); max-width: 52ch; }
.appointments-head { margin-bottom: 76px; }

.appt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-invert);
  border: 1px solid var(--rule-invert);
}
.appt-col { background: var(--noir); padding: 40px 34px; }
.appt-col h4 {
  font-size: 11px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-invert);
}
.appt-col ul { display: flex; flex-direction: column; gap: 14px; }
.appt-col li {
  font-size: 14px;
  color: rgba(247,244,238,0.74);
  line-height: 1.5;
}

/* ---------------------------------- Programs / tiers ---------------------------------- */

.programs { padding: 140px 0; }
.programs-head { text-align: center; max-width: 680px; margin: 0 auto 76px; }
.programs-head .headline { margin-bottom: 20px; }
.programs-head .lede { margin: 0 auto; }
.programs-head .ornament { margin-bottom: 30px; }

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

.tier {
  border: 1px solid var(--rule);
  padding: 44px 36px 40px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tier:hover {
  border-color: var(--bronze);
  transform: translateY(-5px);
  box-shadow: 0 22px 50px -32px rgba(28, 26, 23, 0.4);
}
.tier.featured {
  background: var(--noir);
  color: var(--ivory);
  border-color: var(--noir);
  position: relative;
}
.tier.featured .tier-name, .tier.featured .tier-price { color: var(--ivory); }
.tier.featured .tier-desc { color: rgba(247,244,238,0.66); }
.tier.featured ul li { color: rgba(247,244,238,0.8); border-color: var(--rule-invert); }
.tier.featured .tier-unit { color: rgba(247,244,238,0.5); }

.tier-flag {
  position: absolute;
  top: -1px; right: 28px;
  background: var(--bronze);
  color: var(--noir);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 14px;
}

.tier-name {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 10px;
}
.tier-desc { font-size: 13.5px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 28px; min-height: 44px; }
.tier-price {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 6px;
  /* Fixed block so numeric and worded prices keep the three cards aligned. */
  min-height: 40px;
  display: flex;
  align-items: flex-end;
}
.tier-price.is-text { font-size: 27px; letter-spacing: 0.005em; }
.tier-unit {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.tier ul { display: flex; flex-direction: column; margin-bottom: 34px; flex: 1; }
.tier ul li {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--rule-light);
  position: relative;
}
.tier ul li:last-child { border-bottom: none; }
.tier ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--bronze);
  font-size: 9px;
  top: 16px;
}

.programs-note {
  margin-top: 40px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* ---------------------------------- Service model ---------------------------------- */

.service { padding: 140px 0; background: var(--ivory-deep); border-top: 1px solid var(--rule-light); }
.service-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.service-copy .headline { max-width: 14ch; margin-bottom: 22px; }
.service-copy .lede { max-width: 42ch; margin-bottom: 34px; }

.timeline { display: flex; flex-direction: column; }
.tl-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.timeline .tl-item:last-child { border-bottom: 1px solid var(--rule); }
.tl-when {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  padding-top: 5px;
}
.tl-body h4 { font-size: 21px; margin-bottom: 9px; }
.tl-body p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }

/* ---------------------------------- Testimonial ---------------------------------- */

.endorsement {
  padding: 130px 0;
  background: var(--paper);
  text-align: center;
}
.endorsement blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.42;
  max-width: 22ch;
  margin: 34px auto 40px;
  font-style: italic;
  color: var(--ink);
}
.endorsement .attrib {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 2;
}
.endorsement .attrib strong { display: block; color: var(--ink); font-weight: 500; }

/* ---------------------------------- Proposal / contact ---------------------------------- */

.proposal { padding: 140px 0; background: var(--noir); color: var(--ivory); }
.proposal-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
.proposal .kicker { color: var(--bronze-light); }
.proposal .headline { max-width: 13ch; margin-bottom: 22px; }
.proposal .lede { color: rgba(247,244,238,0.68); max-width: 40ch; margin-bottom: 44px; }

.contact-lines { display: flex; flex-direction: column; }
.contact-lines div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--rule-invert);
  font-size: 14px;
}
.contact-lines div span:first-child {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.42);
  padding-top: 4px;
}
.contact-lines div span:last-child { color: rgba(247,244,238,0.85); }

.form-card {
  background: var(--noir-soft);
  border: 1px solid var(--rule-invert);
  padding: 46px 44px;
  position: relative;
}
.form-card h3 { font-size: 25px; margin-bottom: 8px; }
.form-card > p.hint { font-size: 13.5px; color: rgba(247,244,238,0.55); margin-bottom: 34px; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.5);
  margin-bottom: 11px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-invert);
  padding: 10px 0;
  font-size: 15px;
  color: var(--ivory);
  transition: border-color 0.35s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(247,244,238,0.28); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--bronze-light);
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--noir-soft); color: var(--ivory); }
.field textarea { resize: vertical; min-height: 76px; }

.form-fine {
  margin-top: 20px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(247,244,238,0.4);
  letter-spacing: 0.03em;
}

.form-done {
  position: absolute;
  inset: 0;
  background: var(--noir-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 44px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.5s var(--ease);
}
.form-done.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.form-done .ornament { justify-content: flex-start; margin-bottom: 26px; }
.form-done .ornament::after { display: none; }
.form-done h4 { font-size: 27px; margin-bottom: 14px; }
.form-done p { color: rgba(247,244,238,0.62); font-size: 14.5px; max-width: 38ch; line-height: 1.7; margin-bottom: 24px; }
.form-done .ref {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze-light);
  border: 1px solid var(--rule-invert);
  padding: 12px 18px;
  align-self: flex-start;
}

/* ---------------------------------- Footer ---------------------------------- */

.site-footer { background: var(--noir); color: var(--ivory); border-top: 1px solid var(--rule-invert); padding-top: 84px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 68px;
}
.footer-brand .mark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.3em;
  margin-bottom: 8px;
}
.footer-brand .sub {
  font-size: 8.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.4);
  margin-bottom: 24px;
}
.footer-brand p {
  font-size: 13.5px;
  color: rgba(247,244,238,0.55);
  line-height: 1.75;
  max-width: 34ch;
}

.footer-col h5 {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.4);
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col a { font-size: 13.5px; color: rgba(247,244,238,0.72); transition: color 0.3s; }
.footer-col a:hover { color: var(--bronze-light); }

.footer-bottom {
  border-top: 1px solid var(--rule-invert);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.4);
}
.footer-bottom .fb-links { display: flex; gap: 30px; }
.footer-bottom a:hover { color: var(--bronze-light); }

/* ------------------------- Development status plates ------------------------- */

.plate-status { display: flex; align-items: center; gap: 9px; }
.plate-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
}
.plate-status.secured::before { background: #4f7d5c; }
.plate-status.design::before { background: var(--bronze); }
.plate-status.evaluation::before { background: var(--ink-muted); }

/* Specification items still open to partner input */
.appt-col li.is-open { color: var(--bronze-light); }
.appt-col li.is-open::after {
  content: "◇";
  font-size: 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ------------------------- Plain-spoken LOI explainer ------------------------- */

.plain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  margin-top: 56px;
  text-align: left;
}
.plain-grid > div { background: var(--paper); padding: 30px 26px; }
.plain-grid h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
}
.plain-grid p { font-size: 14px; line-height: 1.7; color: var(--ink-soft); }

/* ---------------------------------- Disclaimer ---------------------------------- */

.disclaimer {
  border-top: 1px solid var(--rule-invert);
  padding: 24px 0 30px;
}
.disclaimer p {
  font-size: 11px;
  line-height: 1.75;
  color: rgba(247, 244, 238, 0.34);
  max-width: 100ch;
  letter-spacing: 0.01em;
}

/* ---------------------------------- Reveal ---------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].shown { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------- Responsive ---------------------------------- */

@media (max-width: 1080px) {
  .wrap, .wrap-narrow { padding: 0 32px; }
  .hero-meta { left: 32px; right: 32px; }
  .statement-cols { grid-template-columns: 1fr; gap: 30px; }
  .assurance .wrap { grid-template-columns: repeat(2, 1fr); }
  .assurance-item:nth-child(2) { border-right: none; }
  .assurance-item:nth-child(-n+2) { border-bottom: 1px solid var(--rule-light); }
  .pillars { grid-template-columns: 1fr; gap: 48px; }
  .pillar { padding: 0; border-left: none; padding-top: 40px; border-top: 1px solid var(--rule-light); }
  .pillar:first-child { padding-top: 0; border-top: none; }
  .estate { grid-template-columns: 1fr; gap: 36px; }
  .estate:nth-child(even) .estate-body { order: 0; }
  .appt-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .service-grid { grid-template-columns: 1fr; gap: 48px; }
  .proposal-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .plain-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap, .wrap-narrow { padding: 0 22px; }
  .nav-left, .nav-right .navlink, .nav-right .btn { display: none; }
  .header-inner { grid-template-columns: 1fr auto 1fr; height: 78px; }
  .nav-left { display: flex; }
  .nav-left a { display: none; }
  .menu-btn { display: flex; }
  .nav-right { display: flex; }
  .mobile-panel { display: block; top: 78px; }
  .hero { min-height: auto; padding: 130px 0 150px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 18px; bottom: 32px; }
  .hero-meta .doc-ref { gap: 16px; }
  .scroll-cue { display: none; }
  .statement, .standard, .portfolio, .appointments, .programs, .service, .proposal { padding: 88px 0; }
  .endorsement { padding: 88px 0; }
  .assurance .wrap { grid-template-columns: 1fr; }
  .assurance-item { border-right: none; border-bottom: 1px solid var(--rule-light); padding: 36px 20px; }
  .assurance-item:last-child { border-bottom: none; }
  .portfolio-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .estate-specs { grid-template-columns: 1fr; }
  .appt-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .form-card { padding: 34px 26px; }
  .form-done { padding: 34px 26px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}
