/* ==========================================================
   The Artina Group — site styles
   Edit the colors and fonts in :root to re-theme the site.
   ========================================================== */

:root {
  --ink: #1d3a37;          /* deep teal, headings and brand */
  --ink-soft: #46595a;     /* body text */
  --paper: #f7f9f8;        /* page background */
  --tint: #e5eeec;         /* alternate section background */
  --line: #cddbd8;
  --accent: #3e7a72;       /* Artina teal (from the original site) */
  --accent-dark: #2d5f58;
  --accent-light: #a8cdc7;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--accent); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white);
  padding: 8px 14px; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 248, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(29,58,55,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; height: 66px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-cta {
  background: var(--ink); color: var(--paper); padding: 9px 18px; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--accent); color: var(--white); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .2s ease, top .2s ease, opacity .2s ease; content: "";
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -7px; left: 0; }
.nav-toggle-bar::after { top: 7px; left: 0; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9em;
}
.eyebrow-light { color: var(--accent-light); }

/* ---------- Hero ---------- */
.hero {
  overflow: hidden;
  padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 9vw, 120px);
  background:
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(29,58,55,.045) 31px 32px),
    var(--paper);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lede { font-size: 1.2rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero collage: form, check and envelope (inline SVG in index.html) */
.hero-art { margin: 0; }
.hero-art svg { display: block; width: 100%; height: auto; max-width: 560px; margin-left: auto; overflow: visible; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.large { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.45; color: var(--ink); font-weight: 500; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(29,58,55,.35); }
.card-num { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.card p { margin: 0; }

/* ---------- Revenue ---------- */
.revenue { background: var(--ink); color: #c5d6d3; }
.revenue h2 { color: var(--paper); }
.revenue strong { color: var(--paper); }
.revenue-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--paper); font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-copy { padding-top: 2.2em; }

/* ---------- Services ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; align-items: center; gap: 18px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(29,58,55,.35); }
.service svg {
  flex: none; width: 48px; height: 48px; padding: 11px; border-radius: 12px;
  background: var(--tint); stroke: var(--accent); fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.service h3 { margin: 0; font-size: 1.15rem; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact-card {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 4px solid var(--accent); padding: 8px 28px;
}
.contact-card > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card dt { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.contact-card dd { margin: 0; color: var(--ink); font-size: 1.1rem; font-weight: 500; }
.contact-card a { color: var(--ink); text-decoration: none; }
.contact-card a:hover { color: var(--accent); }


/* ---------- Footer ---------- */
.site-footer { background: #132826; color: #a9bcb9; padding: 64px 0 0; font-size: .95rem; }
.site-footer a { color: #e2ecea; text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer-tag { margin-top: 14px; max-width: 26em; }
.footer-col h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin-bottom: 14px; font-weight: 600; }
.footer-col { font-style: normal; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .revenue-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .hero-art svg { max-width: 460px; margin: 8px auto 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header-inner { height: 76px; }
  .brand-logo { height: 54px; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .contact-card > div { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; text-align: center; }
}

/* ---------- Footer brand ---------- */
.footer-brand { display: flex; align-items: center; gap: 20px; }
.ffc-badge {
  width: 112px; height: auto; flex: none;
  filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1px #fff);
}
.footer-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--paper); margin: 0 0 6px; }
.footer-brand .footer-tag { margin: 0; }
