/* Gasiin Enterprise — site styles (Brand Kit v2) */
:root {
  --forest: #0B5A3C;
  --grass: #52A23A;
  --gold: #D4A017;
  --deep-gold: #A8740F;
  --deep-forest: #073F2A;
  --beige: #F5F1E6;
  --gold-text: #8A5F0C;     /* Deep Gold darkened for small text: meets WCAG AA on white and beige */
  --gold-on-green: #F0C64A; /* Harvest Gold lightened for small text on Forest Green */
  --ink: #1F2A24;
  --muted: #4E5B53;
  --line: #E4DED0;
  --radius: 14px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
a:hover { color: var(--deep-forest); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--forest); }
h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -0.01em; }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-weight: 700; font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--deep-forest); outline-offset: 2px; box-shadow: 0 0 0 6px var(--gold); }
.section--green :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { width: 170px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); }
.nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 700; color: var(--forest); cursor: pointer; min-height: 44px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--forest); }
.btn:hover { background: var(--deep-forest); border-color: var(--deep-forest); color: #fff; }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--deep-forest); }
.btn--gold:hover { background: #E4B42C; border-color: #E4B42C; color: var(--deep-forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--beige { background: var(--beige); }
.section--green { background: var(--forest); color: #fff; }
.section--green h2, .section--green h3 { color: #fff; }
.section--green .eyebrow { color: var(--gold-on-green); }
.eyebrow { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }
.section--green .lead { color: #DDEBE2; }
.section-head { max-width: 780px; margin-bottom: 40px; }

/* Grids and cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--muted); margin: 0; }
.card .logo { width: 100%; max-width: 260px; margin-bottom: 6px; }
.card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--beige); color: var(--forest); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }

.stat { border-left: 4px solid var(--gold); padding: 6px 0 6px 18px; }
.stat strong { display: block; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { color: #DDEBE2; font-size: .98rem; }
.source { margin-top: 28px; font-size: .85rem; color: #BFD6C8; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0; background: linear-gradient(180deg, var(--beige), #fff); }
.hero .tagline { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero .descriptor { font-size: .82rem; font-weight: 700; letter-spacing: .14em; color: var(--forest); margin-bottom: 18px; }
.hero .descriptor b { color: var(--gold); font-weight: 700; padding: 0 6px; }

/* People */
.person { display: flex; gap: 18px; align-items: flex-start; }
.avatar { flex: 0 0 72px; height: 72px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }
.person h3 { margin-bottom: 2px; }
.role { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.person p { color: var(--muted); margin: 0; font-size: .97rem; }
.subhead { margin: 48px 0 20px; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* Placeholders and media */
.placeholder { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--deep-forest) url("../img/g-mark-faint.svg") center / 38% no-repeat; display: flex; align-items: flex-end; padding: 14px 16px; color: #CFE3D4; font-size: .85rem; font-weight: 600; overflow: hidden; }
.placeholder--tall { aspect-ratio: 5 / 4; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--deep-forest); margin-top: 16px; }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; }
.video button span { background: var(--gold); color: var(--deep-forest); padding: 12px 22px; border-radius: 999px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list a { color: #fff; font-weight: 700; }
.contact-list .icon { background: rgba(255,255,255,.1); color: var(--gold); flex: 0 0 44px; }

/* Detail pages */
.page-hero { background: var(--beige); padding: clamp(40px, 6vw, 72px) 0; }
.prose { max-width: 780px; }
.prose ul { padding-left: 1.2em; }
.product { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 16px 0; font-size: .97rem; }
.spec dt { font-weight: 700; color: var(--forest); }
.spec dd { margin: 0; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* Footer */
.site-footer { background: var(--deep-forest); color: #CFE3D4; padding: 48px 0 28px; font-size: .95rem; }
.site-footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 220px; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: .85rem; color: #A9C7B6; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { grid-template-columns: 1fr; gap: 16px; }
  .product .logo { max-width: 260px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu-toggle { display: inline-block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; }
  .nav li a { display: block; padding: 12px 0; }
  .nav .btn { margin-top: 8px; }
  .nav li a.btn { padding: 12px 22px; display: inline-flex; }
  .brand img { width: 140px; }
  .grid-2, .grid-3, .grid-4, .gallery { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
}

/* Contact form */
.form label { font-weight: 700; font-size: .92rem; color: var(--forest); margin-top: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #CFC7B4; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--deep-forest); outline-offset: 1px; border-color: var(--forest); }
.form .btn { margin-top: 14px; align-self: flex-start; cursor: pointer; font: inherit; font-weight: 700; }
.form-note { font-size: .85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-list--light a { color: var(--forest); }
.contact-list--light .icon { background: var(--beige); color: var(--forest); }
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
