/* ==========================================================================
   Arete Consulting — Complete Stylesheet
   Single source of visual truth for all PHP templates.
   ========================================================================== */


/* ==========================================================================
   1. FOUNDATIONS (verbatim from foundations.css)
   ========================================================================== */

/* Fonts loaded via wp_enqueue_style in functions.php */

:root {
  /* ---------- Palette: Monochrome ink -> white ---------- */
  --ink:            #0A0A0A;   /* near-black */
  --ink-2:          #1F1F1F;   /* secondary surface / strong text */
  --ink-3:          #4A4A4A;   /* tertiary text */
  --ink-4:          #8C8C8C;   /* hint text, disabled */

  --white:          #FFFFFF;
  --paper:          #FAFAFA;   /* lifted surface */
  --bone:           #F4F4F4;   /* primary background */
  --bone-2:         #EBEBEB;   /* sunken */
  --bone-3:         #DCDCDC;   /* border / divider */

  /* ---------- Accent: ink (no color) ---------- */
  --copper:         #0A0A0A;   /* primary CTA = ink */
  --copper-hover:   #1F1F1F;
  --copper-press:   #2E2E2E;
  --copper-soft:    #BFBFBF;
  --copper-wash:    #EBEBEB;

  /* ---------- Secondary: mid-grey ---------- */
  --moss:           #4A4A4A;
  --moss-hover:     #2E2E2E;
  --moss-soft:      #BFBFBF;
  --moss-wash:      #EBEBEB;

  /* ---------- Grey ramp ---------- */
  --concrete:       #6E6E6E;
  --steel:          #2E2E2E;
  --clay:           #BFBFBF;

  /* ---------- Semantic (monochrome — distinguished by weight/fill) ---------- */
  --success:        #2E2E2E;
  --warning:        #5C5C5C;
  --danger:         #0A0A0A;
  --info:           #6E6E6E;

  /* ---------- Semantic surface aliases ---------- */
  --bg:             var(--bone);
  --bg-sunken:      var(--bone-2);
  --bg-lifted:      var(--paper);
  --bg-inverse:     var(--ink);

  --fg:             var(--ink);
  --fg-2:           var(--ink-2);
  --fg-muted:       var(--ink-3);
  --fg-hint:        var(--ink-4);
  --fg-inverse:     var(--bone);

  --border:         var(--bone-3);
  --border-strong:  var(--ink-3);
  --rule:           rgba(20,20,19,0.12);
  --rule-strong:    rgba(20,20,19,0.32);

  --accent:         var(--copper);
  --accent-hover:   var(--copper-hover);
  --accent-press:   var(--copper-press);

  /* ---------- Type families ---------- */
  --font-display:   "Bebas Neue", "Oswald", "Impact", system-ui, sans-serif;
  --font-body:      "Manrope", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-editorial: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-mono:      "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* ---------- Type scale (rem; 1rem=16px) ---------- */
  --t-display-xl:   clamp(4.5rem, 12vw, 9rem);    /* 72-144 */
  --t-display-lg:   clamp(3.5rem, 8vw, 6rem);     /* 56-96  */
  --t-display-md:   clamp(2.5rem, 5vw, 3.75rem);  /* 40-60  */

  --t-h1:           2.5rem;     /* 40 */
  --t-h2:           2rem;       /* 32 */
  --t-h3:           1.5rem;     /* 24 */
  --t-h4:           1.25rem;    /* 20 */
  --t-h5:           1.0625rem;  /* 17 */

  --t-body-lg:      1.125rem;   /* 18 */
  --t-body:         1rem;       /* 16 */
  --t-body-sm:      0.9375rem;  /* 15 */
  --t-caption:      0.8125rem;  /* 13 */
  --t-eyebrow:      0.75rem;    /* 12 */

  /* ---------- Weight ---------- */
  --w-light:    300;
  --w-regular:  400;
  --w-medium:   500;
  --w-semi:     600;
  --w-bold:     700;
  --w-black:    800;

  /* ---------- Leading ---------- */
  --lh-tight:   1.05;
  --lh-snug:    1.2;
  --lh-base:    1.5;
  --lh-loose:   1.7;

  /* ---------- Tracking ---------- */
  --ls-tight:   -0.02em;
  --ls-normal:  0em;
  --ls-wide:    0.04em;
  --ls-wider:   0.12em;   /* eyebrows, small caps */
  --ls-widest:  0.22em;   /* display caps lockup */

  /* ---------- Spacing (4px base) ---------- */
  --s-0:   0;
  --s-1:   4px;
  --s-2:   8px;
  --s-3:   12px;
  --s-4:   16px;
  --s-5:   20px;
  --s-6:   24px;
  --s-8:   32px;
  --s-10:  40px;
  --s-12:  48px;
  --s-16:  64px;
  --s-20:  80px;
  --s-24:  96px;
  --s-32:  128px;

  /* ---------- Radius ---------- */
  --r-0:    0;
  --r-1:    2px;
  --r-2:    4px;
  --r-3:    8px;        /* default for cards */
  --r-4:    12px;
  --r-pill: 999px;

  /* ---------- Shadow ---------- */
  --shadow-1:  0 1px 0 rgba(20,20,19,0.06), 0 1px 2px rgba(20,20,19,0.06);
  --shadow-2:  0 1px 0 rgba(20,20,19,0.05), 0 4px 12px rgba(20,20,19,0.08);
  --shadow-3:  0 2px 0 rgba(20,20,19,0.04), 0 12px 32px rgba(20,20,19,0.12);
  --shadow-inset: inset 0 0 0 1px rgba(20,20,19,0.08);

  /* ---------- Motion ---------- */
  --ease-out:    cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.6, 0, 0.4, 1);
  --ease-snap:   cubic-bezier(0.3, 1.6, 0.4, 1);
  --dur-1:       120ms;
  --dur-2:       200ms;
  --dur-3:       320ms;
  --dur-4:       520ms;

  /* ---------- Layout ---------- */
  --maxw-prose:    62ch;
  --maxw-content:  1180px;
  --maxw-wide:     1400px;
  --gutter:        clamp(20px, 4vw, 56px);
}

/* Semantic element styles from foundations */
.a-display-xl,
.a-display-lg,
.a-display-md,
.a-h1, .a-h2, .a-h3, .a-h4, .a-h5,
.a-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 400;
}

.a-display-xl { font-size: var(--t-display-xl); line-height: 0.92;  letter-spacing: var(--ls-widest); }
.a-display-lg { font-size: var(--t-display-lg); line-height: 0.95;  letter-spacing: var(--ls-widest); }
.a-display-md { font-size: var(--t-display-md); line-height: 1.0;   letter-spacing: 0.18em; }

.a-h1 { font-size: var(--t-h1); line-height: var(--lh-snug);  letter-spacing: 0.14em; }
.a-h2 { font-size: var(--t-h2); line-height: var(--lh-snug);  letter-spacing: 0.12em; }
.a-h3 { font-size: var(--t-h3); line-height: var(--lh-snug);  letter-spacing: 0.10em; }
.a-h4 { font-size: var(--t-h4); line-height: var(--lh-snug);  letter-spacing: 0.08em; }
.a-h5 { font-size: var(--t-h5); line-height: var(--lh-snug);  letter-spacing: 0.06em; }

.a-eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: var(--ls-widest);
  color: var(--copper);
  line-height: 1;
}

.a-editorial {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--fg);
}

.a-lead {
  font-family: var(--font-body);
  font-size: var(--t-body-lg);
  line-height: 1.55;
  color: var(--fg-2);
  font-weight: 400;
}

.a-body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-base);
  color: var(--fg);
  font-weight: 400;
}

.a-caption {
  font-family: var(--font-body);
  font-size: var(--t-caption);
  line-height: 1.4;
  color: var(--fg-muted);
}

.a-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: var(--ls-tight);
  color: var(--fg-2);
}

.a-numeric {
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-feature-settings: "lnum", "tnum";
}

.a-base {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* ==========================================================================
   2. GLOBAL RESETS
   ========================================================================== */

html, body {
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}


/* ==========================================================================
   3. TYPOGRAPHY ATOMS
   ========================================================================== */

.arete-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: clamp(56px, 8vw, 132px);
  line-height: 0.92;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
  text-wrap: balance;
}

.arete-display--sm {
  font-size: clamp(40px, 5.5vw, 80px);
}

.arete-display--xs {
  font-size: clamp(40px, 5vw, 64px);
}

.arete-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--ink-3);
  margin: 0;
  font-weight: 400;
}

.arete-eyebrow--mono {
  font-family: var(--font-mono);
  letter-spacing: 0.10em;
  font-size: 11px;
}

.arete-lead {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink-2);
  margin: 0;
  max-width: 40ch;
}


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.arete-btn {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  padding: 14px 22px;
  font-size: 14px;
  transition: background var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              transform var(--dur-1) var(--ease-out);
}

.arete-btn--primary {
  background: var(--ink);
  color: var(--white);
}
.arete-btn--primary:hover {
  background: var(--ink-2);
}

.arete-btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.arete-btn--secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.arete-btn--inverse {
  background: var(--white);
  color: var(--ink);
}
.arete-btn--inverse:hover {
  background: var(--bone);
}

.arete-btn--ghost {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--ink);
  padding: 4px 0;
  border: none;
}
.arete-btn--ghost:hover {
  color: var(--ink-2);
  text-decoration-color: var(--ink-2);
}

/* Ghost on dark backgrounds */
.arete-btn--ghost-inverse {
  background: transparent;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--white);
  padding: 4px 0;
  border: none;
}

.arete-btn--sm {
  padding: 8px 14px;
  font-size: 12px;
}

.arete-btn--lg {
  padding: 18px 28px;
  font-size: 15px;
}


/* ==========================================================================
   5. ICON (inline Lucide)
   ========================================================================== */

.arete-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.arete-icon--sm {
  width: 16px;
  height: 16px;
}

.arete-icon--lg {
  width: 20px;
  height: 20px;
}


/* ==========================================================================
   6. SECTION
   ========================================================================== */

.arete-section {
  padding: clamp(72px, 10vw, 144px) clamp(20px, 4vw, 56px);
  position: relative;
  border-top: 1px solid var(--bone-3);
}

.arete-section--dark {
  background: var(--ink);
  color: var(--white);
  border-top: none;
}

.arete-section--bone {
  background: var(--bone);
}

.arete-section--no-border {
  border-top: none;
}

.arete-section--no-pad {
  padding: 0;
}

.arete-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.arete-section__inner--narrow {
  max-width: 980px;
}

.arete-section__inner--wide {
  max-width: 1400px;
}

.arete-section__header {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
}

.arete-section__header--single {
  grid-template-columns: 1fr;
}

.arete-section__num-line {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}

.arete-section__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

.arete-section--dark .arete-section__num {
  color: rgba(255, 255, 255, 0.5);
}

.arete-section__num-rule {
  width: 32px;
  border-top: 1px solid var(--ink-3);
}

.arete-section--dark .arete-section__num-rule {
  border-color: rgba(255, 255, 255, 0.3);
}

.arete-section--dark .arete-eyebrow,
.arete-section--dark .arete-eyebrow--mono {
  color: rgba(255, 255, 255, 0.65);
}

.arete-section--dark .arete-display {
  color: var(--white);
}

.arete-section--dark .arete-lead {
  color: rgba(255, 255, 255, 0.72);
}


/* ==========================================================================
   7. STAT
   ========================================================================== */

.arete-stat {
  /* container */
}

.arete-stat__value {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.85;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  font-feature-settings: "lnum", "tnum";
}

.arete-stat__value--sm {
  font-size: 72px;
}

.arete-stat__value--lg {
  font-size: 88px;
}

.arete-stat__value--xs {
  font-size: 48px;
}

.arete-stat__suffix {
  font-size: 0.5em;
  letter-spacing: 0.02em;
  vertical-align: 0.55em;
  margin-left: 4px;
}

.arete-stat__caption {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-3);
  margin: 14px 0 0;
  max-width: 28ch;
  line-height: 1.45;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.arete-stat__caption-rule {
  display: inline-block;
  width: 28px;
  border-top: 1px solid var(--ink);
  position: relative;
  top: -4px;
  flex-shrink: 0;
}

.arete-stat--dark .arete-stat__value {
  color: var(--white);
}

.arete-stat--dark .arete-stat__caption {
  color: rgba(255, 255, 255, 0.6);
}

.arete-stat--dark .arete-stat__caption-rule {
  border-color: var(--white);
}


/* ==========================================================================
   8. TAG
   ========================================================================== */

.arete-tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  padding: 5px 10px 4px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}


/* ==========================================================================
   9. GRAIN OVERLAY
   ========================================================================== */

.arete-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.5;
}

.arete-grain--strong {
  opacity: 0.55;
}

.arete-grain--light {
  opacity: 0.4;
}


/* ==========================================================================
   10. PHOTO PLACEHOLDER
   ========================================================================== */

.arete-photo-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--bone);
  border: 1px solid var(--bone-3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.arete-photo-placeholder--ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
}

.arete-photo-placeholder--grey {
  background: var(--bone-2);
}

.arete-photo-placeholder--grad {
  background: linear-gradient(135deg, var(--bone-2) 0%, var(--bone) 100%);
}

.arete-photo-placeholder span {
  max-width: 24ch;
}


/* ==========================================================================
   11. NAV
   ========================================================================== */

.arete-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bone-3);
  padding: 16px clamp(20px, 4vw, 56px);
}

.arete-nav__brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arete-nav__brand img {
  height: 26px;
  width: auto;
}

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

.arete-nav__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  letter-spacing: 0.01em;
  transition: color var(--dur-2) var(--ease-out);
}

.arete-nav__link:hover {
  color: var(--ink);
}

.arete-nav__link--active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.arete-nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.arete-nav__phone {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* Mobile hamburger toggle (hidden by default) */
.arete-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}


/* ==========================================================================
   12. FOOTER
   ========================================================================== */

.arete-footer {
  background: var(--ink);
  color: var(--white);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 56px) 32px;
  position: relative;
  overflow: hidden;
}

.arete-footer__grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
  pointer-events: none;
}

.arete-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.arete-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.arete-footer__tagline {
  color: var(--white);
}

.arete-footer__tagline-sub {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 20px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.65);
  margin: 28px 0 32px;
  max-width: 34ch;
}

.arete-footer__col {
  display: flex;
  flex-direction: column;
}

.arete-footer__col h5 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  margin: 0 0 18px;
}

.arete-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arete-footer__col a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
}

.arete-footer__col a:hover {
  color: var(--white);
}

.arete-footer__legal {
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.arete-footer__legal p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.arete-footer__legal-links {
  display: flex;
  gap: 22px;
}

.arete-footer__legal-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.arete-footer__legal-links a:hover {
  color: rgba(255, 255, 255, 0.78);
}


/* ==========================================================================
   13. HOME: HERO
   ========================================================================== */

.arete-hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 14vw, 180px) clamp(20px, 4vw, 56px) clamp(80px, 10vw, 120px);
}

.arete-hero .arete-display {
  color: var(--white);
  font-size: clamp(64px, 11vw, 188px);
  letter-spacing: 0.06em;
  line-height: 0.88;
}

.arete-hero__beacon {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.arete-hero__beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #FFF;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.arete-hero__bottom {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}

.arete-hero__lede {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 32ch;
}

.arete-hero__ctas {
  display: flex;
  gap: 14px;
  justify-self: end;
  align-items: center;
  flex-wrap: wrap;
}


/* ==========================================================================
   14. HOME: TRUST BAND
   ========================================================================== */

.arete-trust-band {
  background: var(--white);
  border-bottom: 1px solid var(--bone-3);
}

.arete-trust-band__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.arete-trust-band__list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
}

.arete-trust-band__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 400;
}


/* ==========================================================================
   15. HOME: SERVICES GRID
   ========================================================================== */

.arete-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.arete-service-card {
  background: var(--white);
  border: 1px solid var(--bone-3);
  border-radius: 10px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 420px;
  transition: border-color var(--dur-2) var(--ease-out),
              transform var(--dur-2) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.arete-service-card:hover {
  border-color: var(--ink);
}

.arete-service-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.arete-service-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

.arete-service-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 44px;
  line-height: 0.92;
  color: var(--ink);
  font-weight: 400;
  margin: 0;
}

.arete-service-card__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.arete-service-card__stats {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--bone-3);
  padding-top: 18px;
}

.arete-service-card__stat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  display: flex;
  gap: 10px;
  align-items: center;
}

.arete-service-card__stat::before {
  content: "";
  display: inline-block;
  width: 16px;
  border-top: 1px solid var(--ink-3);
  flex-shrink: 0;
}


/* ==========================================================================
   16. HOME: NUMBERS
   ========================================================================== */

.arete-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 56px;
}


/* ==========================================================================
   17. HOME: CASE STUDY
   ========================================================================== */

.arete-case-study {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.arete-case-study__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--bone-3);
  border-radius: 8px;
  display: block;
}

.arete-case-study__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--bone-3);
  border-bottom: 1px solid var(--bone-3);
  padding: 32px 0;
}

.arete-case-study__quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink-2);
  margin: 28px 0 24px;
}

.arete-case-study__attr {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 28px;
}


/* ==========================================================================
   18. HOME: PULL QUOTE
   ========================================================================== */

.arete-pull-quote {
  background: var(--bone);
  padding: clamp(80px, 10vw, 144px) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--bone-3);
}

.arete-pull-quote__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.arete-pull-quote__text {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.arete-pull-quote__attr {
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.arete-pull-quote__attr-rule {
  width: 36px;
  border-top: 1px solid var(--ink);
}

.arete-pull-quote__attr-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}


/* ==========================================================================
   19. HOME / SUBPAGE: CLOSING CTA
   ========================================================================== */

.arete-closing-cta {
  background: var(--ink);
  color: var(--white);
  padding: clamp(80px, 10vw, 144px) clamp(20px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}

.arete-closing-cta__inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}

.arete-closing-cta__right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.arete-closing-cta__lede {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.arete-closing-cta__buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}


/* ==========================================================================
   20. NUMBERED LIST
   ========================================================================== */

.arete-numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.arete-numbered-list__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--bone-3);
  align-items: start;
}

.arete-section--dark .arete-numbered-list__item {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.arete-numbered-list__num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  line-height: 1;
  font-weight: 400;
}

.arete-section--dark .arete-numbered-list__num {
  color: rgba(255, 255, 255, 0.6);
}

.arete-numbered-list__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 400;
}

.arete-section--dark .arete-numbered-list__title {
  color: var(--white);
}

.arete-numbered-list__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
}

.arete-section--dark .arete-numbered-list__body {
  color: rgba(255, 255, 255, 0.72);
}


/* ==========================================================================
   21. SERVICE HERO
   ========================================================================== */

.arete-service-hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 13vw, 160px) clamp(20px, 4vw, 56px) clamp(64px, 8vw, 96px);
}

.arete-service-hero .arete-display {
  color: var(--white);
  font-size: clamp(56px, 10vw, 160px);
  letter-spacing: 0.06em;
  line-height: 0.88;
}

.arete-service-hero__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}

.arete-service-hero__meta-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.12em;
}

.arete-service-hero__meta-rule {
  width: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.arete-service-hero__bottom {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}

.arete-service-hero__lede {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 38ch;
}

.arete-service-hero__ctas {
  display: flex;
  gap: 12px;
  justify-self: end;
  flex-wrap: wrap;
}

.arete-service-hero__stats {
  margin-top: 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 56px;
  display: grid;
  gap: 32px;
}

.arete-service-hero__stats--3 {
  grid-template-columns: repeat(3, 1fr);
}

.arete-service-hero__stats--4 {
  grid-template-columns: repeat(4, 1fr);
}


/* ==========================================================================
   22. SERVICE: WHAT IS
   ========================================================================== */

.arete-whatis__prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 62ch;
}

.arete-whatis__prose p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}


/* ==========================================================================
   23. SERVICE: WHY YOU NEED
   ========================================================================== */

.arete-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--bone-3);
}

.arete-why-card {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border-right: 1px solid var(--bone-3);
  border-bottom: 1px solid var(--bone-3);
}

/* Remove right border on even (right) columns */
.arete-why-card:nth-child(2n) {
  border-right: none;
}

/* Remove bottom border on last row */
.arete-why-card:nth-last-child(-n+2) {
  border-bottom: none;
}
/* Handle odd item count: only last item loses bottom border */
.arete-why-grid--odd .arete-why-card:last-child {
  border-bottom: none;
}

.arete-why-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.arete-why-card__num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.arete-why-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 22px;
  margin: 0;
  color: var(--ink);
  font-weight: 400;
}

.arete-why-card__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 52ch;
}


/* ==========================================================================
   24. SERVICE: DELIVERABLES (reuses numbered list)
   ========================================================================== */

.arete-deliverables {
  /* wrapper, uses .arete-numbered-list inside */
}


/* ==========================================================================
   25. SERVICE: FAQ
   ========================================================================== */

.arete-faq {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--bone-3);
}

.arete-faq__item {
  border-bottom: 1px solid var(--bone-3);
}

.arete-faq__question-btn {
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.arete-faq__question {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 22px;
  margin: 0;
  color: var(--ink);
  font-weight: 400;
}

.arete-faq__toggle {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-2) var(--ease-out),
              background var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out);
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.arete-faq__item--open .arete-faq__toggle {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--white);
}

.arete-faq__answer {
  padding: 0 60px 28px 0;
}

.arete-faq__answer p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

/* Hidden state for JS toggle */
.arete-faq__answer[hidden] {
  display: none;
}


/* ==========================================================================
   26. WORK PAGE
   ========================================================================== */

.arete-work-hero {
  background: var(--ink);
  color: var(--white);
  padding: clamp(96px, 13vw, 160px) clamp(20px, 4vw, 56px) clamp(64px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}

.arete-work-hero .arete-display {
  color: var(--white);
  font-size: clamp(56px, 9vw, 144px);
  letter-spacing: 0.06em;
}

.arete-work-hero__lede {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
  margin: 40px 0 0;
  max-width: 50ch;
}

.arete-work-list {
  background: var(--white);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 56px);
}

.arete-work-list__inner {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--bone-3);
}

.arete-work-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr 200px;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--bone-3);
  cursor: pointer;
  transition: background var(--dur-2) var(--ease-out);
  text-decoration: none;
  color: inherit;
}

.arete-work-row:hover {
  background: var(--bone);
}

.arete-work-row__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

.arete-work-row__meta {
  margin-bottom: 8px;
}

.arete-work-row__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 40px;
  line-height: 0.92;
  color: var(--ink);
  font-weight: 400;
  margin: 0;
}

.arete-work-row__body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 12px 0 0;
  max-width: 52ch;
}

.arete-work-row__stat {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.85;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.02em;
  font-weight: 400;
}

.arete-work-row__stat-suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 10px 0 0;
}

.arete-work-row__action {
  justify-self: end;
}


/* ==========================================================================
   27. CONTACT PAGE
   ========================================================================== */

.arete-contact {
  background: var(--white);
  min-height: calc(100vh - 67px);
}

.arete-contact__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}

.arete-contact__pitch {
  position: sticky;
  top: 100px;
  align-self: start;
}

.arete-contact__pitch .arete-display {
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: 0.06em;
}

.arete-contact__pitch-lede {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink-2);
  margin: 32px 0 40px;
}

.arete-contact__pitch-list {
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--bone-3);
}

.arete-contact__pitch-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}

.arete-contact__pitch-list li span:first-child {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.arete-contact__phone-block {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--bone-3);
}

.arete-contact__phone-number {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 32px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  display: block;
}

.arete-contact__phone-hours {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 8px 0 0;
}

.arete-contact__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.arete-contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.arete-contact__form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--bone-3);
  padding-top: 24px;
  margin-top: 4px;
  flex-wrap: wrap;
  gap: 16px;
}

.arete-contact__form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ==========================================================================
   28. FORM FIELDS
   ========================================================================== */

.arete-form-field {
  display: flex;
  flex-direction: column;
}

.arete-form-field__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink-2);
  display: block;
  margin-bottom: 8px;
}

.arete-form-field__label .arete-form-field__required {
  color: var(--ink-3);
  margin-left: 4px;
}

.arete-form-field__input,
.arete-form-field__textarea {
  width: 100%;
  border: 1px solid var(--bone-3);
  border-radius: 8px;
  background: var(--white);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  box-sizing: border-box;
  transition: border-color var(--dur-1) var(--ease-out),
              box-shadow var(--dur-1) var(--ease-out);
}

.arete-form-field__input:focus,
.arete-form-field__textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.arete-form-field__textarea {
  min-height: 88px;
  padding-top: 12px;
  resize: vertical;
}

.arete-form-field__select {
  width: 100%;
  border: 1px solid var(--bone-3);
  border-radius: 8px;
  background: var(--white);
  padding: 14px 40px 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  box-sizing: border-box;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--dur-1) var(--ease-out),
              box-shadow var(--dur-1) var(--ease-out);
}

.arete-form-field__select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.arete-form-field__select-wrap {
  position: relative;
}

.arete-form-field__select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-family: var(--font-mono);
  color: var(--ink-3);
  font-size: 12px;
}


/* ==========================================================================
   29. SERVICE TOGGLES (contact form pill selectors)
   ========================================================================== */

.arete-service-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.arete-service-toggle {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--bone-3);
  background: var(--white);
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--dur-2) var(--ease-out);
}

.arete-service-toggle:hover {
  border-color: var(--ink-3);
}

.arete-service-toggle--active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}


/* ==========================================================================
   30. CONTACT SUCCESS
   ========================================================================== */

.arete-contact-success {
  background: var(--ink);
  color: var(--white);
  min-height: calc(100vh - 67px);
  display: flex;
  align-items: center;
  padding: clamp(64px, 10vw, 144px) clamp(20px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}

.arete-contact-success__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.arete-contact-success .arete-display {
  color: var(--white);
  font-size: clamp(56px, 8vw, 120px);
  letter-spacing: 0.06em;
}

.arete-contact-success__lede {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 24px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
  margin: 40px auto 48px;
  max-width: 50ch;
}

.arete-contact-success__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ==========================================================================
   31. ADS PAGE: CHANNELS GRID
   ========================================================================== */

.arete-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Channel cards reuse .arete-service-card structure */
.arete-channel-card {
  background: var(--white);
  border: 1px solid var(--bone-3);
  border-radius: 10px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 380px;
}

.arete-channel-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.arete-channel-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 44px;
  line-height: 0.92;
  color: var(--ink);
  font-weight: 400;
  margin: 0;
}

.arete-channel-card__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.arete-channel-card__stats {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--bone-3);
  padding-top: 18px;
}

.arete-channel-card__stat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  display: flex;
  gap: 10px;
  align-items: center;
}

.arete-channel-card__stat::before {
  content: "";
  display: inline-block;
  width: 16px;
  border-top: 1px solid var(--ink-3);
  flex-shrink: 0;
}


/* ==========================================================================
   32. WEBSITES PAGE: SPEC GRID
   ========================================================================== */

.arete-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--bone-3);
}

.arete-spec-cell {
  padding: 32px 28px;
  background: var(--white);
  border-right: 1px solid var(--bone-3);
  border-bottom: 1px solid var(--bone-3);
}

/* Remove right border on every 3rd cell */
.arete-spec-cell:nth-child(3n) {
  border-right: none;
}

/* Remove bottom border on last row (items 4-6 in a 6-item grid) */
.arete-spec-cell:nth-last-child(-n+3) {
  border-bottom: none;
}

.arete-spec-cell__title {
  margin-bottom: 18px;
}

.arete-spec-cell__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arete-spec-cell__list li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.arete-spec-cell__list li span:first-child {
  font-family: var(--font-mono);
  color: var(--ink-3);
  font-size: 11px;
}


/* ==========================================================================
   33. WEBSITES PAGE: BEFORE / AFTER
   ========================================================================== */

.arete-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.arete-before-after__col {
  /* container for photo + stats */
}

.arete-before-after__label {
  margin-bottom: 14px;
}

.arete-before-after__stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}


/* ==========================================================================
   34. UTILITY CLASSES
   ========================================================================== */

.arete-text-white { color: var(--white); }
.arete-text-ink   { color: var(--ink); }
.arete-text-ink-2 { color: var(--ink-2); }
.arete-text-ink-3 { color: var(--ink-3); }

.arete-bg-ink   { background: var(--ink); }
.arete-bg-white { background: var(--white); }
.arete-bg-bone  { background: var(--bone); }

.arete-mt-0  { margin-top: 0; }
.arete-mt-8  { margin-top: 8px; }
.arete-mt-12 { margin-top: 12px; }
.arete-mt-22 { margin-top: 22px; }
.arete-mt-28 { margin-top: 28px; }
.arete-mt-32 { margin-top: 32px; }
.arete-mt-40 { margin-top: 40px; }
.arete-mt-56 { margin-top: 56px; }

.arete-mb-0  { margin-bottom: 0; }
.arete-mb-8  { margin-bottom: 8px; }
.arete-mb-10 { margin-bottom: 10px; }
.arete-mb-18 { margin-bottom: 18px; }
.arete-mb-22 { margin-bottom: 22px; }
.arete-mb-28 { margin-bottom: 28px; }
.arete-mb-32 { margin-bottom: 32px; }
.arete-mb-64 { margin-bottom: 64px; }

.arete-max-w-prose { max-width: 62ch; }
.arete-max-w-40ch  { max-width: 40ch; }
.arete-max-w-50ch  { max-width: 50ch; }
.arete-max-w-52ch  { max-width: 52ch; }

.arete-flex       { display: flex; }
.arete-flex-col   { flex-direction: column; }
.arete-flex-wrap  { flex-wrap: wrap; }
.arete-items-center { align-items: center; }
.arete-items-baseline { align-items: baseline; }
.arete-items-end  { align-items: end; }
.arete-justify-between { justify-content: space-between; }
.arete-justify-center  { justify-content: center; }
.arete-justify-end     { justify-self: end; }
.arete-gap-8  { gap: 8px; }
.arete-gap-10 { gap: 10px; }
.arete-gap-12 { gap: 12px; }
.arete-gap-14 { gap: 14px; }
.arete-gap-16 { gap: 16px; }
.arete-gap-18 { gap: 18px; }
.arete-gap-22 { gap: 22px; }
.arete-gap-24 { gap: 24px; }
.arete-gap-32 { gap: 32px; }
.arete-gap-48 { gap: 48px; }

.arete-text-center { text-align: center; }
.arete-relative { position: relative; }
.arete-overflow-hidden { overflow: hidden; }

.arete-border-top-bone { border-top: 1px solid var(--bone-3); }
.arete-border-bottom-bone { border-bottom: 1px solid var(--bone-3); }

.arete-pt-18 { padding-top: 18px; }
.arete-pt-24 { padding-top: 24px; }
.arete-pt-56 { padding-top: 56px; }
.arete-pb-28 { padding-bottom: 28px; }
.arete-py-32 { padding-top: 32px; padding-bottom: 32px; }


/* ==========================================================================
   35. RESPONSIVE: 900px
   ========================================================================== */

@media (max-width: 900px) {

  /* Nav: hide center links, show toggle */
  .arete-nav__links {
    display: none;
  }

  .arete-nav__toggle {
    display: flex;
  }

  /* Nav mobile menu (toggled via JS) */
  .arete-nav__mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--bone-3);
    padding: 24px clamp(20px, 4vw, 56px);
    flex-direction: column;
    gap: 16px;
  }

  .arete-nav__mobile-menu--open {
    display: flex;
  }

  .arete-nav__mobile-menu .arete-nav__link {
    font-size: 16px;
    padding: 8px 0;
  }

  /* Footer grid -> 1 col */
  .arete-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Section headers -> 1 col */
  .arete-section__header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Services grid -> 1 col */
  .arete-services-grid {
    grid-template-columns: 1fr;
  }

  /* Numbers grid -> 2 cols */
  .arete-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  /* Case study -> 1 col */
  .arete-case-study {
    grid-template-columns: 1fr;
  }

  /* Closing CTA -> 1 col */
  .arete-closing-cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Service hero bottom -> 1 col */
  .arete-service-hero__bottom {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .arete-service-hero__ctas {
    justify-self: start;
  }

  .arete-service-hero__stats {
    margin-top: 56px;
    padding-top: 32px;
  }

  .arete-service-hero__stats--3,
  .arete-service-hero__stats--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero bottom -> 1 col */
  .arete-hero__bottom {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .arete-hero__ctas {
    justify-self: start;
  }

  /* Why grid -> 1 col */
  .arete-why-grid {
    grid-template-columns: 1fr;
  }

  .arete-why-card {
    border-right: none;
  }

  .arete-why-card:nth-child(2n) {
    border-right: none;
  }

  /* Work rows -> stack */
  .arete-work-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .arete-work-row__action {
    justify-self: start;
  }

  /* Contact -> 1 col */
  .arete-contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .arete-contact__pitch {
    position: static;
  }

  .arete-contact__form-row {
    grid-template-columns: 1fr;
  }

  /* Channels grid -> 1 col */
  .arete-channels-grid {
    grid-template-columns: 1fr;
  }

  /* Spec grid -> 1 col */
  .arete-spec-grid {
    grid-template-columns: 1fr;
  }

  .arete-spec-cell {
    border-right: none;
  }

  .arete-spec-cell:nth-child(3n) {
    border-right: none;
  }

  .arete-spec-cell:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--bone-3);
  }

  .arete-spec-cell:last-child {
    border-bottom: none;
  }

  /* Before / after -> 1 col */
  .arete-before-after {
    grid-template-columns: 1fr;
  }

  /* Numbered list: smaller num column */
  .arete-numbered-list__item {
    grid-template-columns: 48px 1fr;
    gap: 20px;
  }
}


/* ==========================================================================
   36. RESPONSIVE: 600px
   ========================================================================== */

@media (max-width: 600px) {

  /* Further padding reduction */
  .arete-section {
    padding: clamp(48px, 8vw, 96px) 16px;
  }

  .arete-hero {
    padding: clamp(72px, 12vw, 120px) 16px clamp(56px, 8vw, 80px);
  }

  .arete-service-hero {
    padding: clamp(72px, 11vw, 120px) 16px clamp(48px, 6vw, 72px);
  }

  .arete-work-hero {
    padding: clamp(72px, 11vw, 120px) 16px clamp(48px, 6vw, 72px);
  }

  .arete-footer {
    padding: 48px 16px 24px;
  }

  .arete-closing-cta {
    padding: clamp(56px, 8vw, 96px) 16px;
  }

  .arete-pull-quote {
    padding: clamp(56px, 8vw, 96px) 16px;
  }

  /* Numbers grid -> 2 cols tighter */
  .arete-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Case study stats -> 2 cols tighter */
  .arete-case-study__stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* Before/after stats -> 2 cols */
  .arete-before-after__stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  /* Service cards min-height reduce */
  .arete-service-card {
    min-height: auto;
  }

  .arete-channel-card {
    min-height: auto;
  }

  /* Nav right: hide phone on very small */
  .arete-nav__phone {
    display: none;
  }

  /* Contact form footer -> stack */
  .arete-contact__form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  /* Service toggles: wrap tighter */
  .arete-service-toggles {
    gap: 6px;
  }

  .arete-service-toggle {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Work row stat shrink */
  .arete-work-row__stat {
    font-size: 56px;
  }
}
