/* =========================================================================
   Express Fix Coffee  -  shared stylesheet
   Identity: white "spec sheet" base, espresso + crema + steel accents.
   Signature: pressure-gauge dial (espresso extracts at ~9 bar).
   Fonts: Archivo (display), Inter (body), IBM Plex Mono (technical labels).

   >> To match your exact logo colors, edit the values in :root below.
      --crema is the primary accent, --ink/--espresso the dark tones.
   ========================================================================= */

:root {
  /* Palette ------------------------------------------------------------- */
  --paper:       #ffffff;   /* primary background                          */
  --ink:         #211008;   /* near-black espresso, headlines + dark UI     */
  --espresso:    #3a2117;   /* rich roast, dark band background             */
  --crema:       #c9802b;   /* golden crema, PRIMARY ACCENT                 */
  --crema-deep:  #a9641c;   /* hover / pressed accent                       */
  --steel:       #34505c;   /* steel blue, precision secondary accent       */
  --muted:       #6f665f;   /* warm grey, secondary text                    */
  --line:        #e9e1d8;   /* hairline borders                             */
  --cream:       #f5efe8;   /* subtle warm panel, used sparingly            */
  --cream-2:     #faf6f1;   /* even lighter warm panel                      */

  /* Type ---------------------------------------------------------------- */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Metrics ------------------------------------------------------------- */
  --wrap: 1200px;
  --gut: clamp(1.15rem, 4vw, 2rem);
  --section-y: clamp(3.75rem, 8vw, 7.5rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(33, 16, 8, .04), 0 18px 40px -28px rgba(33, 16, 8, .35);
  --shadow-soft: 0 1px 0 var(--line), 0 14px 34px -26px rgba(33, 16, 8, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--crema); color: #fff; }

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

/* Type primitives ------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.95rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
p { color: #2c211b; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.32rem); line-height: 1.55; color: #3a2e26; }
strong { font-weight: 600; color: var(--ink); }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--crema-deep);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--crema), var(--crema-deep));
  box-shadow: 0 0 0 3px rgba(201, 128, 43, .16);
}
.eyebrow.steel { color: var(--steel); }
.eyebrow.steel::before { background: var(--steel); box-shadow: 0 0 0 3px rgba(52, 80, 92, .14); }

.section-head { max-width: 62ch; }
.section-head h2 { margin-top: .7rem; }
.section-head .lead { margin-top: 1rem; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--crema); color: #fff; box-shadow: 0 10px 24px -12px rgba(201, 128, 43, .8); }
.btn-primary:hover { background: var(--crema-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.5); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; transform: translateY(-2px); }

/* =======================  HEADER / NAV  =============================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 96px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-logo { height: 64px; width: auto; }
.brand-fallback { display: none; align-items: center; gap: .6rem; }
.brand-fallback .mark { width: 56px; height: 56px; }
.brand-fallback .word { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1; font-size: 1.3rem; color: var(--ink); }
.brand-fallback .word small { display: block; font-family: var(--mono); font-weight: 500; font-size: .58rem; letter-spacing: .26em; color: var(--crema-deep); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-size: .94rem; font-weight: 500; color: #4a3c33;
  padding: .5rem .7rem; border-radius: 8px;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--cream); }
.nav-links a[aria-current="page"] { color: var(--crema-deep); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-phone { font-family: var(--mono); font-size: .9rem; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.nav-phone:hover { color: var(--crema-deep); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: .2s var(--ease); }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* =======================  HERO  ====================================== */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--section-y); position: relative; overflow: hidden; }
.hero::after { /* faint warm wash, keeps base white */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(201,128,43,.07), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(52,80,92,.05), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); margin-top: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--crema); }
.hero .lead { margin-top: 1.4rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-strip {
  margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.hero-strip .cell { flex: 1 1 0; min-width: 120px; padding: 1rem 1.15rem; border-right: 1px solid var(--line); }
.hero-strip .cell:last-child { border-right: 0; }
.hero-strip .k { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--ink); }
.hero-strip .l { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .45rem; }

/* Pressure gauge (signature) */
.gauge-card { display: grid; place-items: center; }
.gauge { width: min(100%, 420px); aspect-ratio: 1 / 1; filter: drop-shadow(0 24px 44px rgba(33,16,8,.18)); }
.gauge .needle { transform-box: fill-box; transform-origin: 50% 92%; animation: needle-settle 2.2s var(--ease) both; }
@keyframes needle-settle {
  0% { transform: rotate(-58deg); }
  55% { transform: rotate(6deg); }
  78% { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}

/* =======================  GENERIC SECTIONS  ========================== */
.section { padding: var(--section-y) 0; }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section.warm { background: var(--cream-2); border-block: 1px solid var(--line); }

/* Service / feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.1rem; margin-top: 2.6rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ddcfc1; }
.card .ic { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--cream); color: var(--crema-deep); margin-bottom: 1.1rem; }
.card .ic svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: .55rem; }
.card p { color: #4a3c33; font-size: .98rem; line-height: 1.6; }
.card .tag { position: absolute; top: 1.3rem; right: 1.3rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Numbered process list */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem 1.6rem; margin-top: 2.6rem; counter-reset: step; }
.step { position: relative; padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.step .n { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; color: var(--crema-deep); font-weight: 600; }
.step h3 { margin: .5rem 0 .5rem; }
.step p { color: #4a3c33; font-size: .96rem; }

/* Split feature (text + panel) */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.panel {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
}
.spec-list { display: grid; gap: 0; }
.spec-list .row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.spec-list .row:last-child { border-bottom: 0; }
.spec-list .row dt { font-weight: 600; color: var(--ink); }
.spec-list .row dd { font-family: var(--mono); font-size: .82rem; color: var(--steel); text-align: right; }

/* Check list */
.checks { display: grid; gap: .75rem; margin-top: 1.4rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: #3a2e26; }
.checks li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--crema); }
.checks.two-col { grid-template-columns: 1fr 1fr; gap: .85rem 2.2rem; }
@media (max-width: 680px) { .checks.two-col { grid-template-columns: 1fr; } }

/* =======================  BRANDS  =================================== */
.brand-cat { margin-top: 2.4rem; }
.brand-cat .cat-label { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.brand-cat .cat-label .eyebrow { white-space: nowrap; }
.brand-cat .cat-label .rule { height: 1px; background: var(--line); flex: 1; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: .8rem; }
.brand-tile {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .55rem;
  min-height: 96px; padding: 1.05rem 1.15rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.brand-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: #ddcfc1; }
.brand-tile .name { font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.brand-tile .name.thin { font-weight: 600; }
.brand-tile .kind { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.brand-tile .dot { color: var(--crema); }

/* Brand logo tiles (real logos) ----------------------------------------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 2.6rem; }
.logo-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 1.7rem 1.5rem; min-height: 138px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: #ddcfc1; }
.logo-tile img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 600px) { .logo-tile { min-height: 116px; padding: 1.3rem; } .logo-tile img { max-height: 52px; } }

/* Brand page hero logo -------------------------------------------------- */
.brand-hero-logo { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.4rem; margin: 1.2rem 0 .2rem; box-shadow: var(--shadow-soft); }
.brand-hero-logo img { height: 52px; width: auto; max-width: 260px; object-fit: contain; }

/* =======================  STATS BAND  ============================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.4rem; margin-top: 2.4rem; }
.stat { border-left: 2px solid var(--crema); padding-left: 1.1rem; }
.stat .k { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: var(--ink); }
.stat .l { color: var(--muted); font-size: .92rem; margin-top: .5rem; }

/* =======================  CTA BAND (dark)  ========================= */
.cta-band { background: var(--espresso); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 120% at 100% 0%, rgba(201,128,43,.28), transparent 60%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; padding-block: clamp(3rem, 6vw, 5rem); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 46ch; margin-top: .8rem; }
.cta-band .eyebrow { color: var(--crema); }
.cta-band .eyebrow::before { box-shadow: 0 0 0 3px rgba(201,128,43,.28); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* =======================  CONTACT  ================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.6rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.field { display: grid; gap: .4rem; margin-bottom: 1.05rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  font: inherit; font-size: .98rem; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream-2);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--crema); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.contact-row { display: flex; gap: 1rem; }
.contact-row .field { flex: 1; }

.info-block { display: flex; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-block:last-child { border-bottom: 0; }
.info-block .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--cream); color: var(--crema-deep); display: grid; place-items: center; }
.info-block .ic svg { width: 20px; height: 20px; }
.info-block .label { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.info-block .val { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-top: .15rem; }
.info-block .val a:hover { color: var(--crema-deep); }
.info-block .sub { font-size: .9rem; color: var(--muted); margin-top: .1rem; }

/* =======================  PAGE HERO (interior)  =================== */
.page-hero { padding: clamp(2.4rem, 5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); margin-top: 1rem; max-width: 18ch; }
.page-hero .lead { margin-top: 1.1rem; max-width: 60ch; }
.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.crumbs a:hover { color: var(--crema-deep); }
.crumbs .sep { color: var(--line); }

/* =======================  ARTICLE (care page)  =================== */
.article { display: grid; grid-template-columns: 1fr; gap: 0; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }
.prose p { margin-top: 1rem; line-height: 1.72; }
.prose p + p { margin-top: 1rem; }
.callout {
  margin-top: 1.6rem; padding: 1.2rem 1.3rem; border-radius: var(--radius);
  background: var(--cream-2); border: 1px solid var(--line); border-left: 4px solid var(--crema);
}
.callout .kicker { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--crema-deep); font-weight: 600; }
.callout p { margin-top: .4rem; color: #3a2e26; font-size: .98rem; }
.callout.steel { border-left-color: var(--steel); }
.callout.steel .kicker { color: var(--steel); }

/* =======================  FOOTER  ================================ */
.site-footer { background: var(--ink); color: #cbbdb0; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--mono); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #cbbdb0; transition: color .15s var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: .6rem; font-size: .95rem; }
.footer-about p { font-size: .95rem; line-height: 1.6; color: #b6a89b; max-width: 36ch; margin-top: 1rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; }
.footer-logo { height: 60px; width: auto; margin-bottom: .9rem; }
.footer-brand .word { font-family: var(--display); font-weight: 800; color: #fff; font-size: 1.1rem; letter-spacing: -.02em; }
.footer-brand .word small { display: block; font-family: var(--mono); font-weight: 500; font-size: .56rem; letter-spacing: .24em; color: var(--crema); margin-top: 2px; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .82rem; color: #978a7e; }
.footer-bottom .mono { font-family: var(--mono); letter-spacing: .04em; }
.footer-bottom a { color: var(--crema); }
.footer-bottom a:hover { color: #e7a55a; }

/* =======================  MOTION / A11Y  ======================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .gauge .needle { animation: none; }
}

/* =======================  RESPONSIVE  =========================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .gauge-card { order: -1; }
  .gauge { width: min(74%, 320px); }
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav { height: 76px; }
  .brand-logo { height: 50px; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 76px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .8rem var(--gut) 1.2rem; gap: .2rem;
    box-shadow: 0 24px 30px -24px rgba(33,16,8,.4);
  }
  .site-header.open .nav-links a { padding: .8rem .4rem; border-bottom: 1px solid var(--cream); }
  .hero-strip .cell { flex-basis: 50%; border-bottom: 1px solid var(--line); }
  .contact-row { flex-direction: column; gap: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
}
