/* COLAROA theme styles. Mobile first: base = phone, then min-width 720px / 1080px. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-latin-800-normal.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/public-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/public-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #FAF8F3;
  --surface: #FFFFFF;
  --ink: #26251F;
  --muted: #5C594F;
  --accent: #C96F2B;
  --accent-dark: #B05E1F;
  --green: #2F5D3E;
  --green-soft: #EAF0E6;
  --bone: #F2EEE4;
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
a { color: inherit; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.col-container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.col-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
.col-btn:hover { background: var(--accent-dark); }
.col-btn:active { transform: translateY(1px); }
.col-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- Header ---------- */
.col-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(38, 37, 31, 0.08);
}
.col-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.col-header__brand {
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
  letter-spacing: 0.14em; text-decoration: none;
}
.col-header__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
}
.col-header__bars,
.col-header__bars::before,
.col-header__bars::after {
  content: ''; display: block; width: 22px; height: 2px;
  background: var(--ink); position: relative; transition: transform 0.2s ease;
}
.col-header__bars::before { position: absolute; transform: translateY(-7px); }
.col-header__bars::after { position: absolute; transform: translateY(7px); }
.col-header__nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid rgba(38, 37, 31, 0.08);
  padding: 12px 20px 20px;
}
.col-header__nav.is-open { display: block; }
.col-header__menu { list-style: none; margin: 0 0 12px; padding: 0; }
.col-header__menu a { display: block; padding: 10px 0; text-decoration: none; font-weight: 600; }
.col-header__cta { text-align: center; }

@media (min-width: 720px) {
  .col-header__toggle { display: none; }
  .col-header__nav {
    display: flex; position: static; align-items: center; gap: 26px;
    background: none; border: 0; padding: 0;
  }
  .col-header__menu { display: flex; gap: 24px; margin: 0 0 0 0; }
  .col-header__menu a { padding: 0; font-size: 14px; }
  .col-header__cta { padding: 10px 20px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.col-hero { position: relative; display: flex; align-items: flex-end; min-height: 88svh; }
.col-hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
}
.col-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(250, 248, 243, 0.25) 0%, rgba(250, 248, 243, 0.88) 55%, var(--bg) 92%);
}
.col-hero__content { position: relative; width: 100%; padding-top: 40svh; padding-bottom: 40px; }
.col-hero__title { font-size: clamp(32px, 8.5vw, 56px); font-weight: 800; max-width: 13ch; }
.col-hero__sub { font-size: 17px; color: var(--muted); max-width: 46ch; }
.col-hero__note { font-size: 13px; color: var(--muted); margin-top: 10px; }

@media (min-width: 720px) {
  .col-hero { align-items: center; min-height: 82vh; }
  .col-hero__scrim {
    background: linear-gradient(100deg, rgba(250, 248, 243, 0.96) 0%, rgba(250, 248, 243, 0.85) 36%, rgba(250, 248, 243, 0) 68%);
  }
  .col-hero__content { padding: 70px 20px; }
  .col-hero__sub { font-size: 18px; }
}

/* ---------- Waitlist form ---------- */
.col-waitlist { display: flex; flex-direction: column; gap: 10px; max-width: 460px; position: relative; }
.col-waitlist__email {
  font: inherit; padding: 13px 16px;
  border: 1.5px solid rgba(38, 37, 31, 0.25); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); width: 100%;
}
.col-waitlist__email:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.col-waitlist__hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.col-waitlist__msg { font-size: 14px; font-weight: 600; margin: 0; min-height: 1em; }
.col-waitlist__msg.is-ok { color: var(--green); }
.col-waitlist__msg.is-error { color: #A5372B; }
.col-signup .col-waitlist__msg.is-ok { color: var(--bone); }
.col-signup .col-waitlist__msg.is-error { color: #F3C9B8; }

@media (min-width: 720px) {
  .col-waitlist { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .col-waitlist__email { flex: 1 1 240px; width: auto; }
  .col-waitlist__submit { flex: 0 0 auto; }
  .col-waitlist__msg { flex-basis: 100%; }
}

/* ---------- Mesh band ---------- */
.col-mesh { background: var(--green); color: var(--bone); padding: 40px 0; }
.col-mesh__grid { display: grid; gap: 26px; }
.col-mesh__name { font-size: 22px; color: #fff; margin-bottom: 4px; }
.col-mesh__item p { margin: 0; font-size: 15px; opacity: 0.92; }
@media (min-width: 720px) { .col-mesh__grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }

/* ---------- Section titles ---------- */
.col-section-title { font-size: clamp(26px, 5vw, 36px); }
.col-section-sub { color: var(--muted); max-width: 60ch; margin-bottom: 26px; }

/* ---------- Gallery ---------- */
/* v2 (Sep 3): natural crops. Mobile = one photo per row, vertical swipe.
   Desktop = two flowing columns (masonry), mixed shapes pack with no gaps. */
.col-gallery { padding: 56px 0; }
.col-gallery__grid { display: block; }
.col-gallery__cell { margin: 0 0 12px; break-inside: avoid; }
.col-gallery__cell img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
@media (min-width: 720px) {
  .col-gallery__grid { columns: 2; column-gap: 14px; }
  .col-gallery__cell { margin-bottom: 14px; }
}

/* ---------- Why / durability ---------- */
.col-why { background: var(--green-soft); padding: 56px 0; }
.col-why__grid { display: grid; gap: 30px; align-items: center; }
.col-why__media { margin: 0; }
.col-why__media img { border-radius: var(--radius); }
.col-why__copy p { color: var(--muted); }
.col-why__facts { display: flex; gap: 28px; flex-wrap: wrap; margin: 22px 0 0; }
.col-why__facts dt { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--green); }
.col-why__facts dd { margin: 0; font-size: 13px; color: var(--muted); max-width: 14ch; }
@media (min-width: 720px) { .col-why__grid { grid-template-columns: 1.1fr 0.9fr; gap: 5%; } }

/* ---------- Specs ---------- */
.col-specs { padding: 56px 0; }
.col-specs__grid { display: grid; gap: 26px; }
.col-specs__grid h3 { font-size: 19px; margin-bottom: 6px; }
.col-specs__grid p { color: var(--muted); font-size: 15px; margin: 0; }
@media (min-width: 720px) { .col-specs__grid { grid-template-columns: repeat(3, 1fr); gap: 34px; } }

/* ---------- Signup band ---------- */
.col-signup { background: var(--green); color: #fff; padding: 56px 0; }
.col-signup__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.col-signup__title { color: #fff; font-size: clamp(26px, 5vw, 34px); }
.col-signup__sub { color: var(--bone); margin-bottom: 22px; }
.col-signup .col-waitlist { width: 100%; justify-content: center; }
.col-signup .col-waitlist__email { border-color: transparent; }

/* ---------- Page template ---------- */
.col-page { padding: 48px 20px 64px; max-width: 760px; }
.col-page__title { font-size: clamp(28px, 6vw, 40px); }
.col-page__content { color: var(--ink); }
.col-page__content a { color: var(--green); }

/* ---------- Enquiry form ---------- */
.col-enquiry { max-width: 560px; margin-top: 28px; position: relative; }
.col-enquiry label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.col-enquiry__field {
  font: inherit; width: 100%; padding: 12px 14px;
  border: 1.5px solid rgba(38, 37, 31, 0.25); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
}
.col-enquiry__field:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }

/* ---------- Footer ---------- */
.col-footer { background: var(--ink); color: var(--bone); padding: 28px 0; font-size: 13px; }
.col-footer__inner { display: flex; flex-direction: column; gap: 10px; }
.col-footer__brand { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; }
.col-footer__nav { display: flex; gap: 18px; flex-wrap: wrap; }
.col-footer__nav a { color: var(--bone); text-decoration: none; }
.col-footer__nav a:hover { text-decoration: underline; }
@media (min-width: 720px) {
  .col-footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Referral share box (v1.6.0) */
.col-refshare { display: block; margin-top: .5rem; font-weight: 600; }
.col-refshare__link { display: block; width: 100%; max-width: 420px; margin: .4rem 0; padding: .55rem .6rem; border: 1px solid #2F5D3E; border-radius: 6px; font-size: .9rem; background: #fff; color: #26251F; }
.col-refshare__copy { font-size: .85rem; padding: .5rem 1rem; margin-top: .1rem; }
.col-faq dt { font-weight: 700; margin-top: 1.1rem; }
.col-faq dd { margin: .35rem 0 0; }

/* Weld comparison cards (v1.6.4) - mobile first: stacked, then side by side */
.col-compare { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.col-compare__card { margin: 0; background: #fff; border: 1px solid #e5e1d8; border-radius: 12px; padding: .9rem; }
.col-compare__card img { width: 100%; height: auto; border-radius: 8px; display: block; }
.col-compare__tag { display: inline-block; font-weight: 700; font-size: .85rem; padding: .25rem .7rem; border-radius: 99px; margin-bottom: .6rem; }
.col-compare__tag--bad { background: #fbe9e9; color: #a12121; }
.col-compare__tag--good { background: #e8f0ea; color: #2F5D3E; }
.col-compare__card figcaption { font-size: .88rem; color: #55534a; margin-top: .55rem; line-height: 1.45; }
@media (min-width: 700px) { .col-compare { grid-template-columns: 1fr 1fr; } }

/* Single standalone infographic in specs (v1.6.7) */
.col-specs__diagram { margin: 0 auto 26px; max-width: 560px; }
.col-specs__diagram img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
