/* joincola.com: the public home page (Ryley, 27 Oct 2026). Copied from the app's brand system (web/app/globals.css) and
 * its former home page, so the two look the same. Fonts are served from this site (site/fonts/README.md), never a font
 * service. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 900; font-display: swap;
  src: url("/fonts/librefranklin-blackitalic-latin.woff2") format("woff2"); }
@font-face { font-family: "Bonum"; font-style: italic; font-weight: 700; font-display: swap;
  src: url("/fonts/texgyrebonum-bolditalic.otf") format("opentype"); }

:root {
  --brown: #3B140D;
  --cream: #FFF8ED;
  --tomato: #F04422;
  --cobalt: #0047D9;
  --muted: rgb(59 20 13 / 75%);
  --border: rgb(59 20 13 / 16%);
  --font-ui: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Libre Franklin", "Archivo", sans-serif;
  --font-editorial: "Bonum", Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--brown); font: 16px/1.5 var(--font-ui); font-synthesis: none; }
a { color: var(--cobalt); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.muted { color: var(--muted); font-size: 0.9rem; }
.brand-logo { display: block; height: auto; }

h1 {
  font-family: var(--font-display); font-weight: 900; font-style: italic; line-height: 1.02; letter-spacing: -0.015em;
  margin: 0 0 16px; padding-inline-end: 0.1em; text-wrap: balance;
}
h1::after {
  content: ""; display: block; transform: skewX(-18deg);
  background: linear-gradient(90deg, var(--tomato) 0 60%, transparent 60% 64%, var(--cobalt) 64% 100%);
}
a.button-link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; padding: 11px 20px; border-radius: 10px;
  border: 1.5px solid var(--cobalt); background: var(--cobalt); color: var(--cream); text-decoration: none;
}

.home-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1120px; margin: 0 auto;
  padding: 16px max(16px, env(safe-area-inset-left, 0px)); }
.home-bar .brand-logo { width: 112px; }
.home-bar-link { font-weight: 600; color: var(--brown); }
.home-hero { background: var(--brown); color: var(--cream); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px; align-items: center; padding: 48px max(24px, calc((100% - 1120px) / 2)); }
.home-hero h1 { color: var(--cream); font-size: clamp(2.6rem, 7vw, 4.6rem); }
.home-hero h1::after { width: 180px; height: 12px; margin-top: 14px; }
.home-kicker { font-weight: 600; margin: 0 0 12px; letter-spacing: 0.02em; }
.home-hero p { max-width: 34em; font-size: 1.05rem; }
.home-hero .button-link { margin-top: 8px; }
.home-small { font-size: 0.9rem !important; opacity: 0.85; }
.home-hero-photo { position: relative; padding-right: 30px; }
.home-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }
.label-edge { position: absolute; top: 0; bottom: 0; right: 0; width: 22px; pointer-events: none;
  background: linear-gradient(180deg, var(--tomato) 0 56%, var(--cream) 56% 60%, var(--cobalt) 60% 100%); border-radius: 0 28px 28px 0; }
.home-body { max-width: 1120px; margin: 0 auto; padding: 48px max(16px, env(safe-area-inset-left, 0px)) 32px; }
.editorial { font-family: var(--font-editorial); font-weight: 700; font-style: italic; font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.18; margin: 0 0 20px; padding-inline-end: 0.1em; }
.home-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.home-steps li { border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.home-steps strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.home-strip { height: 200px; background: url("/brand/cola-ice.jpg") center / cover no-repeat; margin-top: 24px; }
.home-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1120px; margin: 0 auto;
  padding: 24px max(16px, env(safe-area-inset-left, 0px)) 40px; }
.home-foot .brand-logo { width: 96px; }
@media (max-width: 760px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); padding: 32px 20px 40px; }
  .home-hero-photo { max-width: 560px; }
}
