/* The Homecoming Company — one-page site
   Palette and type follow "HC colour and typography book" + "Typography" (Nov 2026).
   Combination: Nordic core (Bone, Inkwell, Golden sand). No accent colour. */

@font-face { font-family: "Baskervville"; src: url("fonts/baskervville-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Baskervville"; src: url("fonts/baskervville-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bone: #E6E0D6;
  --inkwell: #131C2D;
  --sand: #A67E48;
  --serif: "Baskervville", Georgia, serif;
  --sans: "Jost", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--inkwell);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(40px, 6.2vw, 64px); line-height: 1.12; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.18; }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0 0 1em; }
.prose { max-width: 34em; }
.prose p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.lede { font-size: clamp(18px, 2vw, 20px); margin: 0; }
.aside, .quote, blockquote { font-family: var(--serif); font-style: italic; }
.aside { margin-top: 2em; font-size: 19px; }
blockquote {
  margin: 2em 0 0;
  padding-left: 24px;
  border-left: 1px solid var(--sand);
  font-size: clamp(21px, 2.4vw, 25px);
  line-height: 1.4;
}

/* Golden sand hairline: decorative only on Bone */
.rule { display: block; width: 64px; height: 1px; background: var(--sand); margin: 32px auto; }

/* Header */
.site-header { padding: 28px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 250px; }
.label-link {
  font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent;
}
.label-link:hover { border-bottom-color: var(--inkwell); }

/* Hero */
.hero { padding: clamp(72px, 12vw, 150px) 0 clamp(88px, 13vw, 170px); }
.hero .label { margin-bottom: 28px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 190px; min-height: 52px; padding: 14px 30px;
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--inkwell); transition: background-color .2s, color .2s;
}
.btn-primary { background: var(--inkwell); color: var(--bone); }
.btn-primary:hover { background: transparent; color: var(--inkwell); }
.btn-secondary { background: transparent; color: var(--inkwell); }
.btn-secondary:hover { background: var(--inkwell); color: var(--bone); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--inkwell); outline-offset: 3px; }

/* Content blocks */
.block { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid rgba(19, 28, 45, 0.14); }
.block-tight { border-top: 0; padding-top: 0; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 96px); align-items: start; }
.split h2 { max-width: 13em; }

/* Dark band: the one dark moment */
.dark { background: var(--inkwell); color: var(--bone); padding: clamp(88px, 12vw, 150px) 0; }
.dark-mark { width: 52px; margin: 0 auto 36px; }
.dark .quote { font-size: clamp(20px, 2.3vw, 24px); margin: 20px 0 0; }
.moments {
  list-style: none; margin: clamp(56px, 8vw, 96px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(28px, 4vw, 56px);
}
.moments li { padding: 28px 0 36px; border-top: 1px solid rgba(166, 126, 72, 0.55); }
.moments .num { display: block; font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 0.16em; color: var(--sand); margin-bottom: 14px; }
.moments h3 { margin-bottom: 8px; }
.moments p { margin: 0; }

/* Steps */
.steps {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px);
}
.steps li { border-top: 1px solid var(--sand); padding-top: 24px; }
.steps .num { display: block; font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 34px; line-height: 1; margin-bottom: 18px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { margin: 0; }
.delivery { margin: 48px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 22px); }

/* Promise */
.promise { margin-top: 2.4em; padding-top: 2em; border-top: 1px solid var(--sand); }
.promise-title { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.4vw, 25px); line-height: 1.35; margin-bottom: .6em; }
strong { font-weight: 500; }

/* Contact */
.contact { padding: clamp(88px, 12vw, 150px) 0; border-top: 1px solid rgba(19, 28, 45, 0.14); }
.contact h2 { margin-bottom: 20px; }
.contact-lines { margin: 36px 0 0; font-size: 16px; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid rgba(19, 28, 45, 0.3); }
.contact-lines a:hover { border-bottom-color: var(--inkwell); }
.dot { margin: 0 10px; }

/* Footer: Inkwell, sand for small links and hairlines */
.site-footer { background: var(--inkwell); color: var(--bone); padding: 72px 0 48px; text-align: center; }
.footer-inner img { width: 240px; margin: 0 auto 28px; }
.footer-desc { font-family: var(--serif); font-style: italic; font-size: 19px; margin-bottom: 24px; }
.footer-meta { font-size: 15px; margin-bottom: 6px; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--sand); }
.footer-small { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgba(166, 126, 72, 0.45); font-size: 13px; color: var(--sand); }
.footer-small a { color: var(--sand); }

/* Responsive */
@media (max-width: 900px) {
  .moments { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { padding: 20px 0; }
  .brand img { width: 190px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .moments { grid-template-columns: 1fr; }
  .moments li { padding: 22px 0 26px; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .contact-lines .dot { display: none; }
  .contact-lines a { display: inline-block; margin: 6px 0; }
  .contact-lines { display: flex; flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .steps { gap: 36px 20px; }
  .steps h3 { font-size: 19px; }
  .footer-meta .sep { display: none; }
  .footer-meta a { display: block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
