/* ============================================================
   MELT THEIR ASSETS OFF — assetsoff.org
   Colors and fonts are set once here. Change a variable and it
   updates everywhere.
   ============================================================ */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-normal-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-normal-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-normal-700.woff2") format("woff2"); }
@font-face { font-family: "Roboto";  font-weight: 400; font-display: swap; src: url("../fonts/roboto-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto";  font-weight: 500; font-display: swap; src: url("../fonts/roboto-normal-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto";  font-weight: 700; font-display: swap; src: url("../fonts/roboto-normal-700.woff2") format("woff2"); }

:root {
  --black: #000;
  --ink: #0a0a0a;
  --gold: #917900;        /* the gold band + big footer wordmark */
  --gold-bright: #c9a227; /* hover / accents */
  --peach: #ffd3a6;       /* button outlines, links */
  --white: #fff;
  --muted: #9a9a9a;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.1; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sections the nav jumps to stop below the fixed header */
section[id] { scroll-margin-top: 72px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,0));
  transition: background .25s;
}
.site-header.scrolled { background: #000; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
/* Text logo shows only if images/logo.png is missing */
.brand-text { display: none; font: 700 20px/1 var(--font-head); letter-spacing: .02em; color: var(--gold-bright); text-transform: uppercase; }
.brand img + .brand-text { display: none; }
.brand:not(:has(img)) .brand-text { display: inline; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav a { font: 500 14px/1 var(--font-head); text-decoration: none; }
.nav a:hover { color: var(--peach); }

.social { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 22px; height: 22px; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social a:hover { color: var(--peach); }

/* ---------- Hero ---------- */
.hero {
  min-height: min(78vh, 760px);
  display: grid; place-items: center; text-align: center;
  padding: 120px var(--gutter) 80px;
  /* Photo on top; if images/hero.jpg is missing the gold glow underneath shows instead */
  background:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.45)),
    url("../images/hero.jpg") center 55% / cover no-repeat,
    radial-gradient(ellipse at 30% 40%, #5a4210 0%, transparent 55%),
    radial-gradient(ellipse at 75% 60%, #6b5214 0%, transparent 50%),
    #120d04;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(52px, 10vw, 128px);
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}

/* ---------- Shared section layout ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section h2 { font-weight: 500; font-size: clamp(30px, 4vw, 40px); }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 40px 48px; }

/* ---------- About ---------- */
.about p { margin: 0 0 1.4em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px;
  border: 1.5px solid var(--peach); border-radius: 999px;
  background: transparent; color: var(--peach);
  font: 500 14px/1 var(--font-head); letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn::before { content: "→"; font-size: 16px; }
.btn:hover { background: var(--peach); color: var(--black); }
.btn.upper { text-transform: uppercase; }

/* ---------- What you can do ---------- */
.actions { background: var(--gold); }
.actions h2 { margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cards h3 { font: 700 16px/1.2 var(--font-body); text-transform: uppercase; margin-bottom: 8px; }
.cards p { margin: 0; font-size: 15px; }

/* ---------- Contact ---------- */
.contact h2 { margin-bottom: 28px; }
.contact-info { font-size: 15px; }
.contact-info p { margin: 0 0 8px; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { color: var(--peach); }
.contact-info hr { border: 0; border-top: 1px solid #333; margin: 18px 0; }
.social.round a { width: 28px; height: 28px; border-radius: 50%; background: var(--peach); color: var(--black); }
.social.round svg { width: 15px; height: 15px; }
.social.round a:hover { background: var(--white); color: var(--black); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-self: start; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 0; border-radius: 0;
  background: var(--white); color: #222;
  font: 400 15px/1.4 var(--font-body);
}
.form select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23777' fill='none'/%3E%3C/svg%3E") right 12px center no-repeat; color: #555; }
.form textarea { min-height: 120px; resize: vertical; }
.form ::placeholder { color: #888; }
.form .hp { display: none; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; padding-bottom: 20px; border-bottom: 1px solid #333; }
.tagline { font: 400 22px/1.3 var(--font-head); margin: 0; }
.reach h3 { font: 700 15px/1 var(--font-head); text-transform: uppercase; margin-bottom: 14px; }
.reach ul { list-style: none; margin: 0; padding: 0; }
.reach a { color: var(--peach); text-decoration: none; }
.reach a:hover { text-decoration: underline; }
.wordmark {
  margin: 24px 0 18px;
  font: 700 clamp(34px, 7.4vw, 84px)/1 var(--font-head);
  color: var(--gold); text-transform: uppercase; white-space: nowrap;
}
.copyright { color: var(--muted); font-size: 12px; margin: 0; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--peach); color: var(--black); border-radius: 2px;
  text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 16px; height: 16px; }

/* ---------- Simple pages (thanks / 404) ---------- */
.simple { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.simple h1 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 16px; }
.simple p { margin: 0 0 28px; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .split, .footer-top { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; gap: 28px; }
  .nav .header-social { display: none; }
  .nav ul { gap: 18px; }
  .nav a { font-size: 13px; white-space: nowrap; }
}
@media (max-width: 560px) {
  .site-header .wrap { height: auto; flex-direction: column; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  section[id] { scroll-margin-top: 100px; }
  .brand img { height: 36px; }
  .form { grid-template-columns: 1fr; }
  .wordmark { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
