/* ==========================================================================
   ACH Public Relations — stylesheet
   --------------------------------------------------------------------------
   EDIT YOUR BRAND HERE. Everything below the "Base" heading inherits from
   these values, so changing a colour or a font here changes the whole site.
   ========================================================================== */

:root {
  /* Colour */
  --paper:      #e8e9e4;  /* page background */
  --card:       #fbfbf9;  /* raised surfaces */
  --ink:        #131a22;  /* headings, primary text */
  --ink-soft:   #4c5761;  /* secondary text */
  --ink-faint:  #7d868e;  /* captions, meta */
  --accent:     #e9d2ac;  /* links, buttons, the one bold colour */
  --accent-dim: #e9d2ac10;
  --line:       #131a2222;
  --line-soft:  #131a2214;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Newsreader", Georgia, "Times New Roman", serif;

  --t-xs:   0.8125rem;
  --t-sm:   0.9375rem;
  --t-base: 1.0625rem;
  --t-lg:   1.1875rem;
  --t-xl:   clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem);
  --t-2xl:  clamp(1.9rem, 1.45rem + 2.2vw, 2.9rem);
  --t-3xl:  clamp(2.5rem, 1.55rem + 4.2vw, 4.4rem);

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 8vw, 122px);
  --r-sm: 6px;
  --r-md: 12px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.026em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #ddc094; }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-quiet:hover { border-color: var(--ink); }

.btn-invert { background: var(--paper); color: var(--ink); }
.btn-invert:hover { background: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wordmark span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--t-sm);
  color: var(--ink-faint);
  letter-spacing: 0;
}

.nav { display: flex; align-items: center; gap: 30px; }

.nav a {
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .btn { color: #fff; border-bottom: 0; }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 9px 14px;
    font-family: var(--font-display);
    font-size: var(--t-sm);
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .masthead.open .nav { display: flex; }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav .btn { margin-top: 14px; text-align: center; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: var(--section-y); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }

.section-head { max-width: 46ch; margin-bottom: clamp(34px, 4.5vw, 58px); }
.section-head h2 { font-size: var(--t-2xl); }
.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: var(--t-lg);
}

.lede { font-size: var(--t-lg); color: var(--ink-soft); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding-block: clamp(52px, 7vw, 96px) var(--section-y); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.hero h1 {
  font-size: var(--t-3xl);
  letter-spacing: -0.04em;
}

.hero .lede { margin-top: 26px; max-width: 44ch; }

/* The single highlighted phrase — the one flourish on the site. */
.mark {
  background: linear-gradient(to bottom, transparent 12%, #e9d2ac2e 12%, #e9d2ac2e 92%, transparent 92%);
  padding-inline: 3px;
}

/* Coverage clippings */
.clips { display: grid; gap: 12px; }

.clip {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: 0 1px 2px #131a220d;
}

.clip .outlet {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.clip .headline {
  margin-top: 9px;
  font-size: var(--t-lg);
  line-height: 1.32;
  color: var(--ink);
}

.clip .dateline {
  margin-top: 11px;
  font-size: var(--t-xs);
  color: var(--ink-faint);
}

/* One orchestrated entrance, on load only. */
@media (prefers-reduced-motion: no-preference) {
  .clip {
    opacity: 0;
    transform: translateY(14px);
    animation: deal .6s cubic-bezier(.22,.68,.36,1) forwards;
  }
  .clip:nth-child(1) { animation-delay: .10s; }
  .clip:nth-child(2) { animation-delay: .22s; }
  .clip:nth-child(3) { animation-delay: .34s; }
}
@keyframes deal { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
  gap: clamp(30px, 3.4vw, 54px);
}

.service {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.service h3 { font-size: var(--t-xl); }
.service p { margin-top: 14px; color: var(--ink-soft); font-size: var(--t-sm); }
.service .deliverables {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-sm);
  color: var(--ink-faint);
}
.service .deliverables li { padding: 5px 0; border-top: 1px solid var(--line-soft); }

/* ==========================================================================
   Client roster
   ========================================================================== */

.roster { border-top: 1px solid var(--line); }

.client {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 8px clamp(20px, 4vw, 60px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.client h3 { font-size: var(--t-xl); }
.client .sector {
  display: block;
  margin-top: 7px;
  font-size: var(--t-sm);
  color: var(--ink-faint);
}
.client .result { color: var(--ink-soft); margin: 0; }

@media (max-width: 700px) {
  .client { grid-template-columns: 1fr; }
}

.outlets {
  margin-top: clamp(38px, 4vw, 54px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.outlets span {
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 16px;
}

/* ==========================================================================
   Stats + quote
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.stat .figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.stat p {
  margin-top: 12px;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  font-size: var(--t-sm);
  max-width: 30ch;
}

.quote { max-width: 30ch; }
.quote blockquote {
  margin: 0;
  font-size: var(--t-xl);
  line-height: 1.42;
  font-style: italic;
}
.quote figcaption {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-soft);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}
@media (max-width: 800px) { .quote-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Closing call to action
   ========================================================================== */

.cta { text-align: left; }
.cta h2 { font-size: var(--t-2xl); max-width: 20ch; }
.cta p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: var(--t-lg);
  max-width: 48ch;
}
.section-dark .cta p { color: color-mix(in srgb, var(--paper) 74%, transparent); }

/* ==========================================================================
   Pricing
   ========================================================================== */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 18px;
  align-items: start;
}

.tier {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tier-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.tier .tier-name { font-size: var(--t-xl); }
.tier .tier-for { margin-top: 10px; color: var(--ink-faint); font-size: var(--t-sm); }

.tier .price {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.tier .price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--t-sm);
  letter-spacing: 0;
  color: var(--ink-faint);
  margin-top: 7px;
}

.tier ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-sm);
  color: var(--ink-soft);
  flex: 1;
}
.tier ul li {
  padding: 9px 0 9px 20px;
  position: relative;
  border-top: 1px solid var(--line-soft);
}
.tier ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.tier .btn { margin-top: 26px; text-align: center; }

.ratecard { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.ratecard caption { text-align: left; color: var(--ink-faint); padding-bottom: 14px; }
.ratecard th, .ratecard td {
  text-align: left;
  padding: 15px 16px 15px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.ratecard th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  width: 40%;
}
.ratecard td:last-child {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 500;
}

.faq { display: grid; }
.faq-item { padding: clamp(20px, 2.4vw, 28px) 0; border-top: 1px solid var(--line-soft); }
.faq-item:first-child { border-top-color: var(--line); }
.faq-item h3 { font-size: var(--t-lg); }
.faq-item p { margin-top: 10px; color: var(--ink-soft); font-size: var(--t-sm); }

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(24px, 3.2vw, 40px);
}

.field { margin-bottom: 20px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 600;
  margin-bottom: 7px;
}
.field .hint {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink-faint);
  font-size: var(--t-xs);
  margin-top: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--t-base);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color .15s ease;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: none; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent-dim);
  outline-offset: 0;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: #a32020; }

.field-error {
  display: none;
  margin-top: 6px;
  font-size: var(--t-xs);
  color: #a32020;
}
.field-error.show { display: block; }

.form-note { font-size: var(--t-xs); color: var(--ink-faint); margin-top: 18px; }

.form-status {
  display: none;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
}
.form-status.show { display: block; }
.form-status.error { background: #a3202014; color: #8e1c1c; }

.form-done { text-align: left; }
.form-done h2 { font-size: var(--t-xl); }
.form-done p { margin-top: 12px; color: var(--ink-soft); }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact sidebar */
.aside-block { margin-bottom: 38px; }
.aside-block h3 { font-size: var(--t-lg); margin-bottom: 14px; }
.aside-block p, .aside-block ol { font-size: var(--t-sm); color: var(--ink-soft); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 38px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 600;
}

.details-list { margin: 0; }
.details-list div { padding: 11px 0; border-top: 1px solid var(--line-soft); }
.details-list dt { font-family: var(--font-display); font-size: var(--t-xs); color: var(--ink-faint); }
.details-list dd { margin: 3px 0 0; font-size: var(--t-sm); }

/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */

.page-head { padding-block: clamp(44px, 6vw, 82px) clamp(30px, 4vw, 50px); }
.page-head h1 { font-size: var(--t-2xl); max-width: 18ch; }
.page-head p { margin-top: 20px; max-width: 52ch; font-size: var(--t-lg); color: var(--ink-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 44px;
  font-size: var(--t-sm);
  color: var(--ink-soft);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
  align-items: baseline;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer a { color: var(--ink-soft); }
