/* ============================================================
   VALY BUSINESS POINT — shared styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #f3ece0;           /* parchment */
  --bg-2: #ebe2d2;         /* warm cream */
  --paper: #faf6ee;
  --ink: #241a13;          /* almost-black brown */
  --ink-soft: #5b4a3c;
  --muted: #8c7a68;
  --line: #ccbca3;
  --line-soft: #e0d4be;
  --accent: #7a2e1a;       /* burgundy brick — matches roof tiles */
  --accent-2: #b0653f;     /* terracotta */
  --gold: #b08a3e;
  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.15; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; }
p  { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 236, 224, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.transparent .nav-link { color: #f3ece0; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.site-header.transparent .nav-link:hover { color: #fff; }
.site-header.transparent .brand { color: #f3ece0; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.site-header.transparent .brand-sub { color: rgba(243,236,224,.85); }

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--serif);
  color: var(--ink);
}
.brand-title {
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  font-weight: 500;
  text-transform: uppercase;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 8px 12px;
    font-family: var(--sans);
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
  }
  .site-header.transparent .nav-toggle { color: #f3ece0; border-color: rgba(243,236,224,.5); }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    padding: 16px 24px;
    border: 1px solid var(--line-soft);
    box-shadow: 0 12px 30px rgba(36,26,19,.12);
    gap: 14px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .site-header.transparent .nav-links .nav-link { color: var(--ink-soft); text-shadow: none; }
}

/* ============================================================
   HERO (homepage) — two-column: dark text pane (left) + photo (right)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--ink);
  margin-top: -82px;
  padding-top: 82px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 42%) 1fr;
  min-height: calc(100vh - 82px);
  align-items: stretch;
}
.hero-pane {
  padding: 70px 64px 50px;
  background: var(--ink);
  color: #f7f1e5;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.hero-pane::after {
  /* soft seam blending into the photo */
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: -40px;
  width: 40px;
  background: linear-gradient(90deg, var(--ink), rgba(36,26,19,0));
  pointer-events: none;
  z-index: 1;
}
.hero-photo {
  position: relative;
  overflow: hidden;
  background: #0a0806;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-text {
  max-width: 460px;
  color: #f7f1e5;
}
.hero-text .eyebrow { color: #e9c98c; white-space: nowrap; }
.hero-text h1 { color: #f7f1e5; font-weight: 400; line-height: 1.12; margin-bottom: .5em; }
.hero-text h1 em { font-style: italic; color: #e9c98c; }
.hl-valy {
  font-style: normal;
  color: #f0c454;
  background: linear-gradient(180deg, transparent 60%, rgba(240,196,84,.22) 60%);
  padding: 0 2px;
}
.hero-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 420px;
  color: rgba(247, 241, 229, 0.85);
}
.hero-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  color: rgba(247, 241, 229, 0.78);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding-top: 36px;
  border-top: 1px solid rgba(247, 241, 229, 0.16);
}
.hero-foot strong {
  color: #e9c98c;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .68rem;
  display: block;
  margin-bottom: 4px;
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  right: 32px;
  color: rgba(247, 241, 229, .7);
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  z-index: 3;
}
.scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 28px;
  background: rgba(247, 241, 229, .45);
  margin: 8px auto 0;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-pane { padding: 60px 32px 40px; }
  .hero-photo { min-height: 56vh; }
  .hero-pane::after { display: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .hero-pane { padding: 56px 40px 40px; }
}

/* ============================================================
   GENERIC PAGE SECTIONS
   ============================================================ */
.page-header {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.page-header .eyebrow { margin-bottom: 1rem; }
.page-header h1 { max-width: 800px; }
.page-header p.lead {
  max-width: 680px;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  line-height: 1.55;
}

section.block { padding: 80px 0; }
section.block + section.block { border-top: 1px solid var(--line-soft); }
section.alt { background: var(--bg-2); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
}

.callout {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 32px 36px;
}
.callout h3 { color: var(--accent); margin-bottom: .3em; }

.placeholder {
  border: 1px dashed var(--line);
  background: var(--paper);
  padding: 60px 40px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1c1410;
  color: #c9b89c;
  padding: 70px 0 36px;
  margin-top: 0;
}
.site-footer a { color: #e6d5b3; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid.footer-grid-3 {
  grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width: 800px) {
  .footer-grid, .footer-grid.footer-grid-3 { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8a7a5e;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-grid p, .footer-grid li { font-size: .92rem; line-height: 1.55; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e9c98c;
  margin-bottom: 12px;
}
.footer-bottom {
  border-top: 1px solid rgba(201,184,156,.18);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: .78rem;
  color: #8a7a5e;
  letter-spacing: .04em;
}
.footer-bottom .parent-link {
  font-size: .88rem;
  color: #a89572;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: .02em;
}
.footer-bottom .parent-link a {
  color: #e9c98c;
  border-bottom: 1px dotted rgba(233,201,140,.5);
  font-style: normal;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .04em;
}
.footer-bottom .parent-link a:hover { color: #e9c98c; border-bottom-color: #e9c98c; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 180px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  padding: 28px 0;
}
.tl-year {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
  text-align: right;
  padding-top: 2px;
  font-weight: 500;
  font-feature-settings: "lnum";
}
.tl-year span { display: block; font-size: 0.7rem; color: var(--muted); font-family: var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }
.tl-body {
  position: relative;
  padding-left: 24px;
}
.tl-body::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.tl-body h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-family: var(--serif);
  color: var(--ink);
}
.tl-body p { margin: 0; color: var(--ink-soft); line-height: 1.55; }

.tl-item.milestone .tl-body::before { background: var(--accent); }
.tl-item.milestone h3 { color: var(--accent); }

@media (max-width: 700px) {
  .timeline::before { left: 12px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 36px; }
  .tl-year { text-align: left; font-size: 1.3rem; }
  .tl-body { padding-left: 0; }
  .tl-body::before { left: -29px; top: 8px; }
}

/* ============================================================
   CONTACT / INFO CARDS
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}
@media (max-width: 800px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 36px 36px;
  position: relative;
}
.info-card .tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.info-card.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #f3ece0;
}
.info-card.primary h3 { color: #f3ece0; }
.info-card.primary .tag { color: #e9c98c; border-bottom-color: rgba(233,201,140,.4); }
.info-card.primary a { color: #e9c98c; }
.info-card h3 {
  font-size: 1.6rem;
  margin: 0 0 6px;
  font-weight: 500;
}
.info-card .addr {
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 18px;
}
.info-card dl {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px 16px;
  font-size: .94rem;
}
.info-card dt {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-top: 3px;
}
.info-card.primary dt { color: rgba(233,201,140,.7); }
.info-card dd { margin: 0; }

@media (max-width: 600px) {
  .info-card dl { grid-template-columns: 1fr; gap: 2px 0; }
  .info-card dt { padding-top: 8px; }
}

/* ============================================================
   FACTS / KEYS
   ============================================================ */
.fact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 40px 0;
}
@media (max-width: 700px) { .fact-row { grid-template-columns: repeat(2, 1fr); } }
.fact {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}
.fact:last-child { border-right: none; }
.fact .n {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--accent);
  font-weight: 500;
  line-height: 1;
  display: block;
  font-feature-settings: "lnum";
}
.fact .l {
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  display: block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: all .2s;
  cursor: pointer;
}
.btn:hover { background: var(--accent); color: #f7f1e5; }
.btn-solid { background: var(--accent); color: #f7f1e5; }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn-light { border-color: rgba(247,241,229,.55); color: #f7f1e5; }
.btn-light:hover { background: #f7f1e5; color: var(--ink); border-color: #f7f1e5; }

/* small ornamental rule */
.rule-orn {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 24px;
}
.rule-orn::before, .rule-orn::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
