/* Feng Tomaras Developments — splash page
   Single stylesheet: no framework, no JS, no third-party requests. Provenance: docs/PROVENANCE.md */

@font-face {
  font-family: "Varela Round";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/varela-round-latin-400-normal.woff2") format("woff2");
}

:root {
  /* neutrals */
  --ink: #191c20;          
  --text: #4a525d;         
  --muted: #939ca4;        
  --line: #dfe7ee;         
  --paper: #ffffff;
  --panel: rgba(25, 28, 32, 0.9);
  /* PROVISIONAL brand accent — not PO-approved (BR-01). Design to confirm. */
  --accent: #8a6538;
  --accent-hover: #6f5029;

  --font: "Varela Round", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1170px;     
  --gutter: 16px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.715;      
  color: var(--text);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Header  ---------- */
.header-top {
  background: var(--ink);
  color: #c9ced3;
  font-size: 12px;
}
.header-top-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 36px;
}
.header-email {
  text-decoration: none;
  letter-spacing: 0.02em;
}
.header-email:hover { color: #fff; }

.header-bottom {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  color: var(--ink);
}
.brand-wordmark {
  display: block;
  width: 220px;
  height: auto;
}
.brand-descriptor {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text);
  padding-left: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- Hero  ---------- */
.hero {
  position: relative;
  min-height: min(78vh, 700px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  /* Licensed atmospheric stock (PO ruling D3; docs/PROVENANCE.md). No caption, no implied ownership.
     JPEG first as fallback; browsers with image-set() take the WebP. */
  background-color: #2b3036;
  background-image:
    linear-gradient(180deg, rgba(25, 28, 32, 0.2) 0%, rgba(25, 28, 32, 0) 30%, rgba(25, 28, 32, 0.6) 100%),
    url("/assets/img/hero-1200.jpg?v=1");
  background-image:
    linear-gradient(180deg, rgba(25, 28, 32, 0.2) 0%, rgba(25, 28, 32, 0) 30%, rgba(25, 28, 32, 0.6) 100%),
    image-set(url("/assets/img/hero-1200.webp?v=1") type("image/webp"), url("/assets/img/hero-1200.jpg?v=1") type("image/jpeg"));
  background-size: cover;
  background-position: 60% 30%;
}
@media (min-width: 768px) {
  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(25, 28, 32, 0.2) 0%, rgba(25, 28, 32, 0) 30%, rgba(25, 28, 32, 0.6) 100%),
      url("/assets/img/hero-2400.jpg?v=1");
    background-image:
      linear-gradient(180deg, rgba(25, 28, 32, 0.2) 0%, rgba(25, 28, 32, 0) 30%, rgba(25, 28, 32, 0.6) 100%),
      image-set(url("/assets/img/hero-2400.webp?v=1") type("image/webp"), url("/assets/img/hero-2400.jpg?v=1") type("image/jpeg"));
    background-position: center 35%;
  }
}
.hero-overlay {
  position: relative;
  width: 100%;
  padding-bottom: 48px;
}
.hero-panel {
  max-width: 620px;
  background: var(--panel);
  color: #fff;
  padding: 30px 28px 28px;
  border-top: 3px solid var(--accent);
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-title {
  margin: 0 0 10px;
  font-weight: 400;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  color: #fff;
}
.hero-lede {
  margin: 0 0 22px;
  color: #c9ced3;
  font-size: 16px;
}

/* ---------- Footer  ---------- */
.site-footer {
  background: var(--ink);
  color: #9aa2aa;
  font-size: 13px;
  padding: 44px 0 36px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer-wordmark {
  display: block;
  width: 160px;
  height: auto;
}
.footer-contact, .footer-legal { margin: 0; }
.footer-contact a { text-decoration: none; color: #c9ced3; }
.footer-contact a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .header-top-inner { justify-content: center; }
  .header-bottom-inner { min-height: 72px; }
  .brand-wordmark { width: 168px; }
  .brand-descriptor { font-size: 9px; letter-spacing: 0.36em; }
  .btn-outline { padding: 13px 14px; font-size: 12px; } /* >=44px tap target */
  .hero { min-height: 72vh; }
  .hero-overlay { padding-bottom: 0; }
  .hero-overlay .container { padding: 0; }
  .hero-panel { max-width: none; padding: 26px var(--gutter) 30px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  .btn-outline { display: none; } /* email remains in top bar + hero */
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
