/* ==========================================================================
   ethylalcohol.com — Ultra Pure
   Same structural system as uspalcohol.com, alcoholblenders.com,
   bulkagavespirit.com and bulkvodka.com so the family reads as one house,
   with its own accent.
   SWAP THE BRAND VALUES BELOW and the whole page reskins.
   ========================================================================== */
:root{
  --eth-dark:#1E2328;      /* headings, dark sections, nav */
  --eth-dark-2:#333C44;    /* secondary dark */
  --eth-acc:#E0503C;      /* accent on dark */
  --eth-acc-ink:#B0321F;  /* accent on white — links, kickers */
  --eth-ink:#1C2126;       /* body copy */
  --eth-mute:#5E6872;      /* secondary copy */
  --eth-line:#DEE3E7;
  --eth-panel:#F2F5F7;     /* warm-neutral panel */
  --eth-panel-2:#E6ECF0;
  --eth-white:#FFFFFF;
  --eth-ok:#1B7F4B;
  --eth-warn:#9A6B00;
  --eth-stop:#B03030;
}
.eth{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;color:var(--eth-ink);font-size:17px;line-height:1.62;-webkit-font-smoothing:antialiased}
.eth *{box-sizing:border-box}
.eth-wrap{max-width:1180px;margin:0 auto;padding:0 28px}

/* nav */
.eth-nav{background:var(--eth-dark);border-bottom:3px solid var(--eth-acc)}
.eth-nav .eth-wrap{display:flex;align-items:center;gap:26px;height:62px;flex-wrap:wrap}
.eth-brand{font-weight:800;letter-spacing:.04em;color:#fff;font-size:17px}
.eth-brand span{color:var(--eth-acc)}
.eth-nav a{margin-left:auto;color:#CFD7DD;text-decoration:none;font-size:14px;font-weight:600}
.eth-nav a+a{margin-left:0}
.eth-nav a:hover{color:#fff}
.eth-nav .eth-tel{color:var(--eth-acc);font-weight:800}

/* hero */
.eth-hero{background:linear-gradient(160deg,var(--eth-dark) 0%,var(--eth-dark-2) 100%);color:#fff;padding:76px 0 68px}
.eth-hero .eth-eyebrow{color:var(--eth-acc);font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;margin:0 0 14px}
.eth-hero h1{font-size:44px;line-height:1.14;margin:0 0 18px;font-weight:700;letter-spacing:-.02em;color:#fff;max-width:21ch}
.eth-hero h1 em{font-style:normal;color:var(--eth-acc)}
.eth-hero p.eth-sub{font-size:19px;line-height:1.55;color:#C6D0D8;max-width:62ch;margin:0 0 30px}
.eth-btn{display:inline-block;background:var(--eth-acc);color:#FFFFFF;font-weight:800;text-decoration:none;padding:15px 28px;font-size:16px;letter-spacing:.01em}
.eth-btn:hover{background:#EC6A57}
.eth-btn-ghost{display:inline-block;border:2px solid rgba(255,255,255,.45);color:#fff;font-weight:700;text-decoration:none;padding:13px 26px;font-size:16px;margin-left:14px}
.eth-btn-ghost:hover{border-color:#fff}
.eth-hero .eth-tel-line{margin:18px 0 0;font-size:14px;color:#9AA6B0}
.eth-hero .eth-tel-line a{color:var(--eth-acc);text-decoration:none;font-weight:700}

/* sections */
.eth-sec{padding:70px 0;background:#fff}
.eth-sec.eth-alt{background:var(--eth-panel)}
.eth-kicker{color:var(--eth-acc-ink);font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;margin:0 0 12px}
.eth-sec h2{font-size:33px;line-height:1.2;margin:0 0 18px;color:var(--eth-dark);font-weight:700;letter-spacing:-.015em;max-width:24ch}
.eth-sec h2 em{font-style:normal;color:var(--eth-acc-ink)}
.eth-sec h3{font-size:19px;margin:34px 0 10px;color:var(--eth-dark);font-weight:700}
.eth-sec p{margin:0 0 15px;max-width:76ch}
.eth-lede{font-size:19px;color:var(--eth-mute);line-height:1.6;max-width:70ch}
.eth-sec p a,.eth-note p a{color:var(--eth-acc-ink);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.eth-cap{font-size:14px;color:var(--eth-mute);font-style:italic;max-width:76ch}

/* notes */
.eth-note{background:var(--eth-panel-2);border-left:4px solid var(--eth-acc-ink);padding:20px 24px;margin:26px 0}
.eth-sec.eth-alt .eth-note{background:#fff}
.eth-note > strong:first-child{display:block;color:var(--eth-dark);margin-bottom:8px;font-size:16px}
.eth-note p{margin:0 0 10px;font-size:16px}
.eth-note p:last-child{margin-bottom:0}
.eth-note p strong{display:inline}
.eth-note.eth-stopnote{background:#FBEFEF;border-left-color:var(--eth-stop)}
.eth-sec.eth-alt .eth-note.eth-stopnote{background:#FBEFEF}
.eth-note.eth-stopnote > strong:first-child{color:var(--eth-stop)}

/* grids & cards */
.eth-grid{display:grid;gap:22px;margin:26px 0}
.eth-grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.eth-grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.eth-grid-4{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
@media(min-width:900px){.eth-grid-2{grid-template-columns:repeat(2,1fr)}}
.eth-card{background:#fff;border:1px solid var(--eth-line);padding:24px}
.eth-sec.eth-alt .eth-card{background:#fff}
.eth-card h3{margin:0 0 10px;font-size:18px;min-height:52px;display:flex;flex-direction:column;justify-content:center}
.eth-card p{font-size:15.5px;margin:0 0 10px}
.eth-card p:last-child{margin-bottom:0}
.eth-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--eth-acc-ink);font-weight:700;margin-bottom:8px}
.eth-card.eth-yes .eth-mono{color:var(--eth-ok)}
.eth-card.eth-no .eth-mono{color:var(--eth-stop)}

/* split panels */
.eth-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));margin:26px 0;border:1px solid var(--eth-line)}
.eth-split > div{padding:24px 26px;background:var(--eth-panel)}
.eth-split > div+div{background:#FBF0EE;border-left:1px solid var(--eth-line)}
.eth-split h4{margin:0 0 10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--eth-acc-ink);font-weight:800}
.eth-split > div+div h4{color:var(--eth-stop)}
.eth-split p{font-size:15.5px;margin:0 0 10px}
.eth-split p:last-child{margin-bottom:0}

/* table */
.eth-tablewrap{overflow-x:auto;margin:26px 0}
.eth-table{width:100%;border-collapse:collapse;font-size:15px;background:#fff}
.eth-table th{background:var(--eth-dark);color:#fff;text-align:left;padding:13px 16px;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:800}
.eth-table td{padding:14px 16px;border-bottom:1px solid var(--eth-line);vertical-align:top}
.eth-table tr:last-child td{border-bottom:none}
.eth-table td:first-child{font-weight:700;color:var(--eth-dark);white-space:nowrap}
.eth-num{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px}

/* checklist */
.eth-list{margin:18px 0;padding:0;list-style:none}
.eth-list li{position:relative;padding:0 0 12px 28px;font-size:16px;max-width:76ch}
.eth-list li:before{content:"";position:absolute;left:0;top:9px;width:9px;height:9px;background:var(--eth-acc-ink)}

/* faq */
.eth-faq details{border-bottom:1px solid var(--eth-line);padding:18px 0}
.eth-faq summary{cursor:pointer;font-weight:700;color:var(--eth-dark);font-size:17px;list-style:none;position:relative;padding-left:26px}
.eth-faq summary::-webkit-details-marker{display:none}
.eth-faq summary:before{content:"+";position:absolute;left:0;color:var(--eth-acc-ink);font-weight:800}
.eth-faq details[open] summary:before{content:"\2212"}
.eth-faq details p{margin:12px 0 0 26px;color:var(--eth-mute);font-size:16px}

/* cta */
.eth-cta{background:var(--eth-dark);color:#fff;padding:64px 0}
.eth-cta h2{color:#fff;font-size:31px;margin:0 0 16px;font-weight:700;max-width:22ch}
.eth-cta h2 em{font-style:normal;color:var(--eth-acc)}
.eth-cta p{color:#C2CCD4;max-width:60ch;margin:0 0 14px}
.eth-formbox{background:#fff;padding:28px}
.eth-formbox h3{margin:0 0 6px;color:var(--eth-dark);font-size:20px}
.eth-formsub{color:var(--eth-mute);font-size:15px;margin:0 0 16px}

/* footer */
.eth-foot{background:#15191D;color:#9AA5AF;padding:48px 0 30px;font-size:14.5px}
.eth-foot h4{color:#fff;font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 12px;font-weight:800}
.eth-foot ul{list-style:none;margin:0;padding:0}
.eth-foot li{margin-bottom:8px;line-height:1.5}
.eth-foot a{color:#9AA5AF;text-decoration:none}
.eth-foot a:hover{color:var(--eth-acc)}
.eth-bottom{border-top:1px solid #2B333A;margin-top:32px;padding-top:20px;font-size:13px;color:#78838D;line-height:1.6}

@media(max-width:780px){
  .eth-hero h1{font-size:32px}
  .eth-sec h2{font-size:25px}
  .eth-sec{padding:46px 0}
  .eth-btn-ghost{margin:10px 0 0;display:block;text-align:center}
}

/* quote form (Gravity Forms) — the form box is white inside the dark CTA,
   so text in it must not inherit .eth-cta p (#C2CCD4). Added 1.0.1. */
.eth-cta .eth-formbox p{color:var(--eth-mute)}
.eth-cta .eth-formbox .gform_wrapper{margin:0}
.eth-cta .eth-formbox .gform_confirmation_message,
.eth-cta .eth-formbox .gform_confirmation_message p{color:var(--eth-ink);font-size:16px;line-height:1.55}

/* quote form — compact layout. Added 1.0.2.
   !important is needed on the custom properties: Gravity Forms prints its own
   per-form values with an ID selector. */
.eth-formbox .gform_required_legend{display:none}
.eth-formbox .gform_wrapper.gform-theme{
  --gf-form-gap-y:14px !important;
  --gf-label-space-primary:4px !important;
  --gf-desc-space:4px !important;
  --gf-field-choice-gap:6px !important;
  --gf-ctrl-textarea-height:84px !important;
  --gf-form-footer-margin-y-start:18px !important;
}
.eth-formbox .gform_heading{display:none}
.eth-formbox .gfield--type-radio .gfield_radio{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px 18px}
.eth-formbox .gfield--type-radio .gchoice{margin:0}

/* quote form error summary — .eth-cta h2 (max-width:22ch, white) was squeezing
   Gravity Forms' heading; keep it on one line with the icon beside the text at
   every width (Gravity Forms stacks it on small screens). Added 1.0.4. */
.eth-cta .eth-formbox .gform_wrapper{color:var(--eth-ink)}
.eth-cta .eth-formbox .gform_validation_errors{padding-top:14px;padding-bottom:14px}
.eth-cta .eth-formbox .gform_validation_errors h2{max-width:none;margin:0;display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start!important;gap:8px;text-align:left!important}
.eth-cta .eth-formbox .gform_validation_errors h2 .gform-icon{position:static!important;flex:0 0 auto;margin:0!important}
@media(max-width:640px){
  .eth-cta .eth-formbox{padding:20px}
  .eth-cta .eth-formbox .gform_validation_errors{padding:12px!important}
  .eth-cta .eth-formbox .gform_validation_errors h2{font-size:13px!important}
}

/* ==========================================================================
   v1.1.0 — responsive fixes (17 November 2026)
   Ported from bor-styles v1.1.0 (bulkorganicalcohol.com). Four root causes,
   not four symptom patches.
   ========================================================================== */

/* FIX 4 — auto-fit grids were forcing columns wider than a small viewport.
   minmax(min(100%,Npx),1fr) lets the column collapse to the container instead. */
.eth-grid-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.eth-grid-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.eth-grid-4{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}
.eth-split{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}

/* FIX 3 — the wrapper already scrolled, but the table had no min-width, so the
   browser crushed columns to min-content. Give it a floor and let it scroll. */
.eth-tablewrap{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.eth-table{min-width:700px}

@media(max-width:900px){
  /* FIX 1 — the bar had a fixed 62px height with flex-wrap:wrap, so wrapped links
     overflowed it. Below 900px the links become a single horizontally scrollable
     row: nothing is hidden, nothing wraps, the bar stays ~56px, and every link is
     a 44px tap target. */
  .eth-nav{position:relative;overflow:hidden}
  .eth-nav .eth-wrap{height:auto;min-height:56px;flex-wrap:nowrap;overflow-x:auto;
    justify-content:flex-start;gap:0 18px;padding-top:4px;padding-bottom:4px;
    scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch}
  .eth-nav .eth-wrap::-webkit-scrollbar{display:none}
  .eth-nav:after{content:"";position:absolute;top:0;right:0;bottom:3px;width:34px;
    pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,0),var(--eth-dark))}
  .eth-brand{flex:0 0 auto;padding-right:2px;font-size:14px;letter-spacing:.02em}
  .eth-nav a{margin-left:0;flex:0 0 auto;white-space:nowrap;font-size:15px;
    min-height:44px;display:inline-flex;align-items:center;padding:0 2px}

  /* FIX 3b — a scrollable table needs to say so on a touch device, and tighter
     type inside it means fewer wrapped lines and shorter rows. */
  .eth-tablewrap{position:relative}
  .eth-table{font-size:14.5px}
  .eth-table td{padding:12px 13px}
  .eth-table th{padding:11px 13px}
  .eth-tablewrap:after{content:"Scroll table \2192";display:block;font-size:12px;
    letter-spacing:.08em;text-transform:uppercase;color:var(--eth-mute);
    padding:8px 2px 0;font-weight:700}
}

@media(max-width:820px){
  .eth-hero{padding:52px 0 48px}
  .eth-hero h1{font-size:31px}
  .eth-hero p.eth-sub{font-size:17.5px}
  .eth-sec h2{font-size:25px}
  .eth-sec{padding:46px 0}
  .eth-wrap{padding:0 20px}

  /* FIX 2 — .eth-btn-ghost went display:block while .eth-btn stayed inline-block,
     so the two hero buttons were different widths. Both are now full width,
     and the 2px ghost border is absorbed by border-box sizing. */
  .eth-btn,.eth-btn-ghost{display:block;width:100%;text-align:center;margin-left:0}
  .eth-btn-ghost{margin-top:12px}
}

@media(max-width:400px){
  .eth-wrap{padding:0 16px}
  .eth-hero h1{font-size:28px}
  .eth-sec h2{font-size:23px}
  .eth-note{padding:18px 16px}
  .eth-card{padding:20px 18px}
  .eth-split > div{padding:20px 18px}
}

/* ==========================================================================
   Logo link (17 November 2026)
   The brand in the nav is now wrapped in <a class="eth-home" href="/">. Stop it
   picking up the nav-link styles (margin-left:auto would push it right, and the
   mobile 2px padding would nudge it), and keep the first menu link pushed to
   the right on desktop as before. On phones it keeps the 44px tap height.
   ========================================================================== */
.eth-nav a.eth-home{margin-left:0;padding:0;flex:0 0 auto;text-decoration:none;display:inline-flex;align-items:center}
@media(min-width:901px){.eth-nav a.eth-home + a{margin-left:auto}}
