/* ==========================================================================
   Gra Works — shared stylesheet
   Clean, minimal, professional. Charcoal + white + restrained accent.
   ========================================================================== */

:root {
  --charcoal:      #1a1a1a;
  --charcoal-soft: #242424;
  --ink:           #111111;
  --white:         #ffffff;
  --paper:         #fafafa;
  --grey:          #6b6b6b;
  --grey-light:    #9a9a9a;
  --line:          #e6e6e6;
  --accent:        #b08d57; /* warm muted gold */
  --max:           1080px;
  --gutter:        clamp(1.25rem, 5vw, 3rem);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.2em; }

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

/* ---------- Navigation ---------------------------------------------------- */

.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
}

.site-nav.solid {
  position: sticky;
  background: var(--charcoal);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--white);
  display: inline-flex;
  align-items: center;
}
.brand .accent { color: var(--accent); }
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

.nav-links .icon { display: inline-flex; }
.nav-links .icon svg { width: 20px; height: 20px; fill: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--white); }

/* ---------- Hero ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  /* Mourne Mountains beach (Northern Ireland). Dark overlay keeps text legible. */
  background:
    linear-gradient(180deg, rgba(15,18,22,0.45) 0%, rgba(15,18,22,0.30) 45%, rgba(15,18,22,0.78) 100%),
    url("/assets/hero.jpg") center / cover no-repeat;
}

.hero .container { padding-top: 8rem; padding-bottom: 6rem; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: 1.6rem;
  text-shadow: 0 1px 30px rgba(0,0,0,0.35);
}
.hero h1 .ga { font-style: italic; }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 42ch;
  margin-bottom: 2.2rem;
}

/* ---------- Buttons ------------------------------------------------------- */

.btn {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--white);
}
.btn-primary:hover { background: transparent; color: var(--white); transform: translateY(-1px); }

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid var(--charcoal);
}
.btn-dark:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }

/* ---------- Sections ------------------------------------------------------ */

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--charcoal); color: var(--white); }

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.measure { max-width: 60ch; }
.measure p { color: #2b2b2b; }
.section.dark .measure p { color: rgba(255,255,255,0.82); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ---------- Page hero (interior pages) ----------------------------------- */

.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 10rem 0 5rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  max-width: 20ch;
}
.page-hero .lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  margin-top: 1rem;
}

/* ---------- Cards / tiers ------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.tier {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem 1.6rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.tier.featured { border-color: var(--accent); box-shadow: 0 8px 40px rgba(0,0,0,0.06); }
.tier h3 { font-size: 1.15rem; font-weight: 600; }
.tier .price { font-size: 1.9rem; font-weight: 600; margin: 0.4rem 0 1rem; }
.tier p { font-size: 0.95rem; color: var(--grey); flex: 1; }
.tier .btn { margin-top: 1.4rem; text-align: center; }

/* ---------- Report list -------------------------------------------------- */

.parts { margin-top: 2.5rem; }
.part { margin-bottom: 2rem; }
.part h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.part ol { margin: 0; padding-left: 1.2rem; }
.part li { margin-bottom: 0.35rem; color: #2b2b2b; }

/* ---------- Footer -------------------------------------------------------- */

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.92rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-brand { color: var(--white); font-weight: 600; }
.footer-fine { width: 100%; color: var(--grey-light); font-size: 0.82rem; margin-top: 1rem; }

/* ---------- Help grid (Fractional) --------------------------------------- */

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 3rem;
  margin-top: 2.5rem;
}
.help-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.help-item p { color: var(--grey); font-size: 0.98rem; margin: 0; }

/* ---------- Quote / testimonial ------------------------------------------ */

.quote {
  margin: 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--accent);
}
.quote p { font-size: 1.25rem; font-style: italic; color: #2b2b2b; }
.quote cite { color: var(--grey); font-style: normal; font-size: 0.95rem; }

/* ---------- Contact form ------------------------------------------------- */

.contact-form { max-width: 560px; }
.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.field .optional { font-weight: 400; color: var(--grey-light); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; }
.contact-form .btn { border: 0; }
.hidden-field { display: none; }
.contact-alt { margin-top: 1.6rem; color: var(--grey); font-size: 0.95rem; }
.contact-alt a { color: var(--accent); }

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    background: var(--charcoal);
    padding: 1.5rem var(--gutter) 2rem;
  }
  .nav-links.open { display: flex; }
  .tiers { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero { min-height: 86vh; }
}
