/* Arrow Pond Estate — page styles. Every color/font/space value comes from
   tokens.css; layout matches docs/design wireframe 1a "Letterhead"
   (desktop 1440 / mobile 390). */

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
p { margin: 0; }

a { color: var(--color-accent); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-bright); }

:focus { outline: none; }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
::selection { background: rgba(201, 162, 74, 0.35); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a, .plaque-link { transition: color 120ms ease, border-color 120ms ease; }
}

/* — skip link — */
.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -200%);
  top: var(--space-2);
  z-index: 10;
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: var(--tracking-link);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* — hero — */
.hero {
  padding: var(--space-8) var(--space-7) 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}
.hero-mark { width: 150px; height: 150px; object-fit: contain; }
.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: var(--tracking-wordmark);
  padding-left: var(--tracking-wordmark); /* recenters tracked capitals */
  text-transform: uppercase;
}
.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  max-width: 720px;
  text-wrap: pretty;
}

/* — rules — */
/* Freestanding rules fade to transparent over --rule-fade at each end
   (nocturne signature, painted estate gold). */
.rule-fade {
  height: 1px;
  border: 0;
  margin: 0 auto;
  width: min(560px, 70vw);
  background: linear-gradient(90deg,
    transparent,
    var(--color-accent) var(--rule-fade),
    var(--color-accent) calc(100% - var(--rule-fade)),
    transparent);
}
.rule-solid { height: 1px; border: 0; margin: 0; background: var(--color-accent); }

/* — what we make — */
.make {
  padding: var(--space-7) 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}
.kicker {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--tracking-kicker);
  padding-left: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--color-accent);
}
.plaques {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1040px;
}
.plaque { border: 1px solid var(--color-accent); padding: 6px; }
.plaque-inner {
  border: 1px solid var(--color-accent-soft);
  padding: var(--space-6) 48px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.plaque-icon { height: 72px; width: auto; opacity: 0.9; }
.plaque-icon-rounded { width: 72px; height: 72px; border-radius: var(--radius-md); }
.plaque-logo {
  width: 260px;
  height: auto;
  /* white source logo tinted toward the cream text color */
  filter: sepia(0.3) saturate(0.6) brightness(1.05);
}
.plaque-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.15;
}
.plaque-body { font-size: 15px; line-height: 1.6; color: var(--color-text-muted); max-width: 360px; text-wrap: pretty; }
.plaque-link {
  font-size: 13px;
  letter-spacing: var(--tracking-link);
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 3px;
}
.plaque-link:hover { color: var(--color-accent-bright); border-color: var(--color-accent-bright); }

/* — the estate — */
.estate {
  position: relative;
  min-height: 620px;
  background: var(--color-surface);
  /* placeholder texture until the estate photograph ships */
  background-image: repeating-linear-gradient(135deg,
    rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) 40px;
}
.estate-copy {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}
.estate-copy p {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* — footer — */
.site-footer {
  padding: var(--space-5) 120px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.site-footer a { color: var(--color-accent); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent-bright); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.footer-links .copyright { color: var(--color-text-faint); }
.address-inline br { display: none; }

/* — legal pages (privacy, accessibility) — */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) var(--space-7);
}
.legal-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
}
.legal-header .hero-mark { width: 72px; height: 72px; }
.legal h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
}
.legal h2 {
  margin: var(--space-6) 0 var(--space-3);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
}
.legal p, .legal li { margin: 0 0 var(--space-3); color: var(--color-text-muted); font-size: 15px; }
.legal ul { margin: 0 0 var(--space-3); padding-left: 1.2em; }
.legal .updated { font-size: 13px; color: var(--color-text-faint); }
.legal .rule-fade { margin: 0; width: 100%; max-width: 340px; }
.back-link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: var(--tracking-link);
  text-decoration: none;
  margin-bottom: var(--space-5);
}

/* — mobile (390 reference; applies under 720px) — */
@media (max-width: 719px) {
  .hero { padding: 96px 28px 72px; gap: 26px; }
  .hero-mark { width: 104px; height: 104px; }
  .wordmark { font-size: min(22px, 6.6vw); letter-spacing: 0.26em; padding-left: 0.26em; white-space: nowrap; }
  .tagline { font-size: 18px; }
  .rule-fade { width: min(220px, 70vw); }
  .make { padding: 64px 24px; gap: 32px; }
  .kicker { font-size: 11px; }
  .plaques { grid-template-columns: 1fr; gap: 32px; }
  .plaque { padding: 5px; }
  .plaque-inner { padding: 36px 24px; min-height: 0; gap: 14px; }
  .plaque-icon { height: 56px; }
  .plaque-icon-rounded { width: 56px; height: 56px; border-radius: 6px; }
  .plaque-logo { width: 200px; }
  .plaque-name { font-size: 26px; }
  .plaque-body { font-size: 14px; }
  .plaque-link { font-size: 12px; }
  .estate { min-height: 460px; padding: 64px 28px; }
  .estate-copy p { font-size: 21px; }
  .site-footer { padding: 36px 28px 44px; font-size: 12px; line-height: 1.7; }
  .footer-links { gap: 20px; font-size: 11px; }
  .address-inline br { display: inline; }
  .address-inline .sep { display: none; }
  .legal h1 { font-size: 30px; }
  .legal h2 { font-size: 22px; }
}
