/* ─────────────────────────────────────────────────────
   HERITAGE STATS
───────────────────────────────────────────────────── */
#heritage {
  padding: 110px 64px;
  border-bottom: 1px solid var(--rule);
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
}

.heritage-divider {
  background: var(--rule);
  height: 90px;
  align-self: center;
}

.heritage-divider.reveal {
  opacity: 1;
  transform: none;
  height: 0;
  transition: height 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.heritage-divider.reveal.visible { height: 90px; }

.heritage-stat {
  text-align: center;
  padding: 24px 40px;
}

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 7vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--black);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.stat-word {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 7vw, 6.5rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  color: var(--red);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.stat-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ─────────────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────────────── */
#about {
  padding: 140px 64px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.about-watermark {
  position: absolute;
  right: -0.04em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: clamp(6rem, 18vw, 17rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.about-left {
  position: sticky;
  top: 120px;
}

.about-left-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-left-rule {
  width: 20px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.about-right blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
  color: var(--black);
  position: relative;
  padding-left: 32px;
  margin-bottom: 52px;
}

.about-right blockquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--red);
  transition: height 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.about-right blockquote.visible::before { height: 100%; }

.about-right p {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.9;
  color: var(--black);
  max-width: 65ch;
  margin-bottom: 28px;
}

.about-right p:last-child { margin-bottom: 0; }
.about-right p strong { font-weight: 500; }


/* ─────────────────────────────────────────────────────
   FOCUS AREAS
───────────────────────────────────────────────────── */
#focus {
  padding: 100px 64px 140px;
  border-top: 1px solid var(--rule);
}

.focus-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 80px;
}

.focus-header-rule {
  width: 20px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

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

.focus-item {
  padding: 56px 52px 56px 52px;
  border-left: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.focus-item:first-child { border-left: none; padding-left: 0; }
.focus-item:last-child  { padding-right: 0; }

.focus-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.focus-num {
  display: block;
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.focus-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  font-weight: 500;
  color: var(--black);
  line-height: 1.12;
  margin-bottom: 24px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.focus-desc {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.9;
  font-weight: 400;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (hover: hover) {
  .focus-desc { opacity: 0; transform: translateY(8px); }
  .focus-item:hover .focus-desc  { opacity: 1; transform: translateY(0); }
  .focus-item:hover .focus-title { transform: translateX(5px); }
  .focus-item:hover::after       { width: 100%; }
}

/* ─────────────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────────────── */
#contact {
  padding: 120px 64px 140px;
  border-top: 1px solid var(--rule);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
}

.contact-kicker {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

.contact-left h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.2vw, 4.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-top: 24px;
  margin-bottom: 20px;
}

.contact-left p {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.15vw, 1.07rem);
  font-weight: 400;
  color: #5A5A5A;
  line-height: 1.9;
  letter-spacing: 0.01em;
  max-width: 470px;
}

.contact-form { display: flex; flex-direction: column; }

.form-row {
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.3s ease;
}

.form-row:focus-within { border-bottom-color: var(--black); }

.form-row label {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
  padding-top: 26px;
  padding-bottom: 8px;
  transition: color 0.3s ease;
}

.form-row:focus-within label { color: var(--black); }

.form-row input,
.form-row textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  padding-bottom: 16px;
  resize: none;
  line-height: 1.6;
}

.form-row textarea { min-height: 110px; }

/* ── Phone field ─────────────────────────────────────── */
.form-label-optional {
  display: inline-block;
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  font-weight: 400;
  color: var(--gray);
  opacity: 0.6;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}

.phone-wrap {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
}

.phone-code-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%236D6D6D'/%3E%3C/svg%3E")
    no-repeat right 4px center;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  cursor: pointer;
  flex-shrink: 0;
  padding-right: 22px;
  line-height: 1.6;
}

.phone-divider {
  width: 1px;
  height: 16px;
  background: var(--rule-strong);
  margin: 0 16px;
  flex-shrink: 0;
}

/* Override the global .form-row input width/padding for the phone number input */
.form-row .phone-number-input {
  width: auto;
  flex: 1;
  padding-bottom: 0;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: #C4C4C4; }

.form-actions {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 34px;
  cursor: pointer;
  transition: background 0.3s ease, padding-right 0.3s ease;
}

.btn-submit:hover { background: #BA0321; padding-right: 44px; }

.btn-arrow {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-style: normal;
  letter-spacing: 0;
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-arrow { transform: translateX(4px); }

.form-msg {
  display: none;
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
}

.form-msg.success { color: #2A7A4B; }
.form-msg.error   { color: var(--red); }

/* ─────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--rule);
  padding: 32px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p {
  font-size: 0.68rem;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.footer-privacy {
  font-size: 0.6rem !important;
  max-width: 480px;
  text-align: right;
  line-height: 1.7;
  letter-spacing: 0.03em !important;
  opacity: 0.7;
}

#bottom-wordmark {
  border-top: 1px solid var(--rule);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(40px, 6vw, 88px) 0 clamp(36px, 5.5vw, 80px);
  overflow: hidden;
  text-align: center;
  background: #FFFFFF;
}

/* Wordmark fades in without vertical shift (text is too large to shift) */
#bottom-wordmark.reveal {
  transform: none;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
#bottom-wordmark.reveal.visible { opacity: 1; }

.bottom-wordmark-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 0.7vw, 14px);
  line-height: 1;
}

.bottom-word-primary,
.bottom-word-secondary {
  white-space: nowrap;
  font-family: var(--sans);
  text-transform: uppercase;
}

.bottom-word-primary {
  font-size: clamp(4rem, 22vw, 22rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: #BEC5CC;
}

.bottom-word-secondary {
  font-size: clamp(0.62rem, 1.3vw, 1.2rem);
  font-weight: 600;
  letter-spacing: clamp(0.38em, 0.7vw, 0.62em);
  color: #9BA3AB;
  padding-left: 0.62em;
}
