/* Highwood at Carter Mountain: site styles.
   Brand tokens below are copied from the brand kit (assets/brand/brand.css). Use the variables; do not hard-code colours.
   Fonts: Cormorant Garamond + Jost from Google Fonts (linked in each page head). No scripts or trackers. */

/* ---- Brand kit tokens (brand.css) ---- */
:root {
  --hw-pine: #17322B;            /* text, logo, buttons, dark sections */
  --hw-pine-deep: #0F211D;       /* button hover */
  --hw-fog: #E8ECE7;             /* alternate section background */
  --hw-paper: #F7F8F5;           /* page background */
  --hw-bone: #EEF0EA;            /* text and logo on pine */
  --hw-firelight: #C4862A;       /* accents on light backgrounds, never text */
  --hw-firelight-light: #E3A94C; /* accents on pine */

  --hw-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --hw-sans: "Jost", "Helvetica Neue", Helvetica, sans-serif;
}

body {
  background: var(--hw-paper);
  color: var(--hw-pine);
  font-family: var(--hw-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--hw-serif);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(32px, 3.6vw, 44px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }

.hw-label {
  font-family: var(--hw-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hw-button {
  display: inline-block;
  min-height: 44px;
  box-sizing: border-box;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--hw-pine);
  color: var(--hw-paper);
  font-family: var(--hw-sans);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.hw-button:hover { background: var(--hw-pine-deep); }

.hw-section-fog { background: var(--hw-fog); }
.hw-section-pine { background: var(--hw-pine); color: var(--hw-bone); }

.hw-arch-photo {
  width: 100%;
  max-width: 440px;
  height: 540px;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
}

.hw-header-logo { height: 52px; width: auto; }
@media (max-width: 600px) {
  .hw-header-logo { height: 40px; }
}

/* ---- Site ---- */
:root {
  --max: 1080px;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
a { color: var(--hw-pine); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--hw-pine-deep); text-decoration-thickness: 2px; }
h1, h2, h3 { color: var(--hw-pine); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.narrow p, .narrow li, .lede { max-width: 65ch; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--hw-pine); outline-offset: 3px; }

/* Skip link */
.skip {
  position: absolute; left: 12px; top: 0;
  transform: translateY(-120%);
  background: var(--hw-paper); color: var(--hw-pine);
  padding: 10px 14px; border-radius: 8px; z-index: 30;
  text-decoration: none; font-weight: 500;
}
.skip:focus { transform: none; top: 12px; }

/* Header (Prompt 1): Paper, no border or shadow, 20px+ above and below the logo */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--hw-paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.brand { display: inline-flex; line-height: 0; text-decoration: none; }
.brand img { display: block; }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; font-size: 16px; font-weight: 400; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--hw-pine); }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* Buttons (Prompt 3) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: 12px 28px; border-radius: 999px;
  background: var(--hw-pine); color: var(--hw-paper); border: 0;
  font-family: var(--hw-sans); font-weight: 500; font-size: 16px; line-height: 1.3; letter-spacing: 0.04em;
  text-decoration: none;
}
.btn:hover { background: var(--hw-pine-deep); color: var(--hw-paper); }
.btn.disabled, span.btn, .btn[disabled] { cursor: default; user-select: none; }
.btn.disabled:hover, span.btn:hover, .btn[disabled]:hover { background: var(--hw-pine); }
.btn.ghost { background: transparent; color: var(--hw-bone); box-shadow: inset 0 0 0 1px var(--hw-bone); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }

/* Sections */
section { padding: clamp(56px, 8vw, 96px) 0; }
section.alt { background: var(--hw-fog); }

/* Home hero (Prompt 4): text left, arched photo right; phone: photo first */
.hero { background: var(--hw-paper); padding: clamp(24px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy { max-width: 560px; }
.hero .hw-label { margin: 0 0 22px; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lede { margin-bottom: 1.6em; }
.hero .cta-line { margin: 0 0 18px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; }
.hero-links a { display: inline-flex; align-items: center; min-height: 44px; }
.hero-photo { margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.hero-photo img { display: block; object-position: 50% 60%; }

/* Amenities strip (Prompt 4) */
.hw-strip { background: var(--hw-fog); padding: 22px 0; }
.amenities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 0; }
.amenities li { display: inline-flex; align-items: center; }
.amenities li + li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--hw-firelight);
  margin: 0 22px; flex: 0 0 auto;
}

.launch-note { margin: 0 0 .2em; }

/* Gallery */
.gallery { display: grid; gap: 18px 14px; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; display: block; border-radius: 6px; background: var(--hw-fog); }
.gallery figcaption { margin-top: 8px; font-size: 15px; color: var(--hw-pine); }
.more-photos { margin-top: 22px; }
.more-photos > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; cursor: pointer; font-weight: 500; color: var(--hw-pine); }
.more-photos .gallery { margin-top: 14px; }

/* FAQ */
.faq details { background: var(--hw-fog); border-radius: 12px; padding: 4px 18px; margin: 0 0 10px; }
.faq summary { cursor: pointer; font-weight: 500; min-height: 48px; display: flex; align-items: center; color: var(--hw-pine); }
.faq details p:last-child { margin-bottom: .9em; }

.prose h2 { margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }

/* Cards and facts */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--hw-fog); border-radius: var(--radius); padding: 24px 22px 22px; }
section.alt .card { background: var(--hw-paper); }
.card p { margin: 0; font-size: 17px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.facts li { background: var(--hw-fog); border-radius: 999px; padding: .35em 1em; font-size: 15px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1em; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--hw-fog); }
.contact-list strong { display: block; font-weight: 500; }
.ph { background: var(--hw-fog); border-radius: 6px; padding: 0 .35em; font-size: .9em; overflow-wrap: anywhere; }
.note { font-size: 16px; }
.notice { background: var(--hw-fog); border-left: 2px solid var(--hw-firelight); border-radius: 0 10px 10px 0; padding: 12px 16px; font-size: 16px; margin-bottom: 1.4em; }
.notice strong { font-weight: 500; }

/* Legal pages */
.legal h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .meta { font-size: 16px; }
.callout { background: var(--hw-fog); border-left: 2px solid var(--hw-firelight); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 1.2em 0; }

/* Form mock */
form.mock { background: var(--hw-fog); border-radius: var(--radius); padding: 24px; }
form.mock label { display: block; font-weight: 500; font-size: 16px; margin: 0 0 6px; color: var(--hw-pine); }
form.mock input[type=text], form.mock input[type=email], form.mock input[type=tel], form.mock textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--hw-pine); border-radius: 10px; font: inherit; color: var(--hw-pine); background: var(--hw-paper); margin-bottom: 16px;
}
form.mock textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--hw-paper); border-radius: 10px; padding: 14px; margin: 4px 0 18px; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--hw-pine); }
.consent label { font-weight: 400 !important; font-size: 15px !important; color: var(--hw-pine) !important; margin: 0 !important; }

/* Footer (Prompt 5): Pine, Bone text, reversed stacked logo */
.site-footer { background: var(--hw-pine); color: var(--hw-bone); font-family: var(--hw-sans); font-size: 14px; line-height: 1.6; text-align: center; padding: 56px 0 48px; }
.site-footer a { color: var(--hw-bone); }
.site-footer a:hover { color: var(--hw-bone); }
.site-footer :focus-visible { outline-color: var(--hw-bone); }
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { display: block; width: 220px; height: auto; }
.footer-place { margin: 56px 0 0; font-size: 14px; }
.footer-rule { width: 64px; height: 0; border: 0; border-top: 1px solid var(--hw-firelight-light); margin: 28px auto; }
.site-footer nav { display: flex; justify-content: center; gap: 0 26px; flex-wrap: wrap; margin: 0 0 14px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal { margin: 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; justify-self: stretch; max-width: none; }
  .hero-photo .hw-arch-photo { max-width: none; height: 460px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-header { position: static; }
  .site-header .wrap { padding-top: 20px; padding-bottom: 8px; }
  .nav { gap: 0 18px; font-size: 15px; }
  .hero-photo .hw-arch-photo { height: 440px; }
  .amenities { flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; margin: 0 auto; gap: 10px; }
  .amenities li::before, .amenities li + li::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--hw-firelight);
    margin: 0 14px 0 0; flex: 0 0 auto;
  }
  .gallery { grid-template-columns: 1fr; }
  .card { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Audit fixes: only the two loaded Jost weights; no stray default colours */
strong, b { font-weight: 500; }
input, textarea, button, select { color: var(--hw-pine); }
.footer-rule { color: var(--hw-firelight-light); }
