/* =========================================================
   Hilling Hires — stylesheet
   ========================================================= */
:root {
  --teal-900: #134e4a;
  --teal-800: #115e59;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;

  --ink:      #0f172a;
  --slate-700:#334155;
  --slate-500:#64748b;
  --slate-300:#cbd5e1;
  --slate-200:#e2e8f0;
  --slate-100:#f1f5f9;
  --slate-50: #f8fafc;
  --white:    #ffffff;

  --amber:    #f59e0b;

  --radius:   16px;
  --radius-sm:10px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --shadow-md: 0 10px 30px -12px rgba(15,23,42,.25);
  --shadow-lg: 0 30px 60px -20px rgba(15,23,42,.3);

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}

/* Keep anchored sections clear of the sticky header */
[id] { scroll-margin-top: 84px; }

h1,h2,h3,h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-600); }
img,svg { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--teal-700); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; padding: .8rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--teal-800); color: #fff; box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--teal-700); border-color: var(--slate-300); }
.btn-ghost-dark:hover { background: var(--teal-50); color: var(--teal-800); border-color: var(--teal-500); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.25rem; color: var(--ink); }
.brand-mark { color: var(--teal-700); display: inline-flex; }
.brand-text { font-weight: 600; letter-spacing: -0.01em; }
.brand-text strong { color: var(--teal-700); font-weight: 800; }
.brand-light { color: #fff; }
.brand-light .brand-text strong { color: var(--teal-500); }

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.primary-nav a { color: var(--slate-700); font-weight: 500; }
.primary-nav a:hover { color: var(--teal-700); }
.primary-nav .nav-cta {
  background: var(--teal-700); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600;
}
.primary-nav .nav-cta:hover { background: var(--teal-800); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer; padding: 10px;
}
.nav-toggle span { height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(20,184,166,.18), transparent 60%),
    linear-gradient(180deg, var(--teal-50), #fff 70%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem;
}
.eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-size: .78rem; color: var(--teal-700); margin: 0 0 1rem;
}
.eyebrow.light { color: var(--teal-100); }
.hero-copy .lead { font-size: 1.2rem; color: var(--slate-700); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.6rem 0 2.2rem; }
.hero-actions .btn-ghost { color: var(--teal-800); border-color: var(--teal-600); }
.hero-actions .btn-ghost:hover { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }

.hero-stats { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--teal-700); line-height: 1; }
.stat-label { font-size: .85rem; color: var(--slate-500); }

/* Hero art */
.hero-art { position: relative; display: flex; align-items: center; }
.hero-panel {
  position: relative; width: 100%;
  background: linear-gradient(150deg, var(--teal-600), var(--teal-800));
  border-radius: 28px; box-shadow: var(--shadow-lg);
  padding: 2.4rem 2.4rem 2rem;
  color: #fff; overflow: hidden;
}
.hero-panel::after {
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent 70%);
  top: -80px; right: -70px; pointer-events: none;
}
.hero-badge {
  position: absolute; top: 1.6rem; right: 1.6rem; z-index: 1;
  background: #fff; color: var(--teal-800); font-weight: 700; font-size: .8rem;
  padding: .35rem .8rem; border-radius: 999px; box-shadow: var(--shadow-md);
}
.hero-panel-eyebrow {
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  font-size: .78rem; color: var(--teal-100); margin: 0 0 1.3rem; position: relative;
  padding-right: 7rem;
}
.hero-panel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; position: relative; }
.hero-panel-list li {
  position: relative; padding-left: 2rem; font-size: 1.05rem; font-weight: 600; color: #fff;
}
.hero-panel-list li::before {
  content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1.5rem; height: 1.5rem; background: rgba(255,255,255,.18); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
.hero-panel-foot {
  position: relative; display: flex; align-items: center; gap: .9rem;
  margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.2);
}
.hero-panel-foot p { margin: 0; font-size: .95rem; color: #e0f2f1; }
.hero-panel-foot strong { color: #fff; }
.avatar-row { display: flex; flex: none; }
.avatar-row span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px;
  background: linear-gradient(135deg, #99f6e4, #0f766e);
}
.avatar-row span:first-child { margin-left: 0; }
.avatar-row span:nth-child(2){ background: linear-gradient(135deg,#5eead4,#115e59); }
.avatar-row span:nth-child(3){ background: linear-gradient(135deg,#2dd4bf,#134e4a); }
.avatar-row span:nth-child(4){ background: linear-gradient(135deg,#a7f3d0,#0d9488); }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--slate-200); background: var(--slate-50); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.1rem 1.25rem; }
.trust-inner > p { margin: 0; font-weight: 600; color: var(--slate-500); font-size: .9rem; }
.trust-inner ul {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; margin: 0; padding: 0;
}
.trust-inner li { font-weight: 600; color: var(--slate-700); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--slate-50); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-sub { font-size: 1.1rem; color: var(--slate-500); margin: 0; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--teal-50); margin-bottom: 1rem;
}
.feature h3 { margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--slate-500); }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-copy p { color: var(--slate-700); }
.split-copy .btn { margin-top: .5rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--slate-700); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem; background: var(--teal-50); color: var(--teal-700);
  border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}

.split-panel {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-md);
}
.split-panel h3 { margin-bottom: 1.3rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps li > span {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal-700); color: #fff; font-weight: 800;
  display: grid; place-items: center;
}
.steps strong { display: block; color: var(--ink); }
.steps p { margin: .15rem 0 0; color: var(--slate-500); font-size: .95rem; }

.roles .role-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.2rem; }
.roles .role-tags span {
  background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100);
  padding: .45rem .85rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.panel-note { color: var(--slate-500); font-size: .95rem; margin: 0; }

.mission blockquote { margin: 0; }
.mission blockquote p {
  font-size: 1.35rem; line-height: 1.5; color: var(--ink); font-weight: 600;
  border-left: 4px solid var(--teal-500); padding-left: 1.2rem;
}
.mission cite { display: block; margin-top: 1rem; padding-left: 1.35rem; color: var(--teal-700); font-weight: 700; font-style: normal; }

/* ---------- Dark section ---------- */
.section-dark {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(20,184,166,.25), transparent 60%),
    linear-gradient(160deg, var(--teal-900), var(--ink));
  color: #cbe9e5;
}
.section-dark h2 { color: #fff; }
.section-dark .section-sub { color: #a7d8d1; }
.values .value {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 1.6rem;
}
.values .value h3 { color: #fff; }
.values .value p { color: #b8ddd8; margin: 0; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50);
  display: grid; place-items: center; font-size: 1.15rem;
}
.contact-list strong { display: block; color: var(--ink); }
.contact-list a, .contact-list span { color: var(--slate-600); }

.form-panel { padding: 1.8rem; }
.hp-field { display: none !important; }
.contact-form .field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-size: .92rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid var(--slate-300); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(13,148,136,.15);
}
.contact-form textarea { resize: vertical; min-height: 7rem; }
.contact-form select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
}
.contact-form .invalid { border-color: #dc2626; }
.form-status { margin: .9rem 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--teal-700); }
.form-status.err { color: #dc2626; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #94a3b8; padding-top: 3.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand p { margin: .8rem 0 0; max-width: 30ch; color: #94a3b8; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; min-width: 0; }
.footer-nav > div { min-width: 0; }
.footer-nav h4 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.footer-nav a { display: block; color: #94a3b8; padding: .22rem 0; overflow-wrap: anywhere; }
.footer-nav a:hover { color: var(--teal-500); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.3rem; font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* Focus visibility */
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { order: 0; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-copy { order: -1; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--slate-200);
    padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .28s ease; visibility: hidden;
  }
  .primary-nav.open { transform: translateY(0); visibility: visible; }
  .primary-nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--slate-100); }
  .primary-nav .nav-cta { text-align: center; margin-top: .75rem; border-bottom: 0; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .container { padding-inline: 1rem; }
  .brand { font-size: 1.1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-panel { padding: 1.8rem 1.5rem 1.5rem; }
  .footer-nav { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-bottom { flex-direction: column; }
}
