/* Real Agency Hub Ireland — demo hub. Self-contained. Local fonts, no CDNs, works offline. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/archivo-500.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-500.woff2") format("woff2"); }

/* =====================================================================
   COLOUR TOKENS — swap these to re-skin the whole site.
   Change --accent and --accent-dk for a new brand colour in one place.
   ===================================================================== */
:root {
  --ink:        #16191D;   /* near-black slate — headings, dark panels */
  --ink-2:      #21262C;   /* slightly lighter dark surface */
  --paper:      #F7F7F5;   /* page background */
  --surface:    #FFFFFF;   /* cards */
  --surface-2:  #F0F1EE;   /* muted panels */
  --line:       #E4E5E1;   /* hairlines */
  --line-dk:    rgba(255,255,255,0.14);

  --accent:     #1E7A5E;   /* confident green — primary accent (SWAP HERE) */
  --accent-dk:  #175E48;   /* accent hover / deeper */
  --accent-soft:#E4F1EB;   /* accent tint background */
  --accent-ink: #0F3B2D;   /* accent text on light for legibility */
  --accent-on-dark: #4FD1A5;/* accent used on dark backgrounds */

  --text:       #22262A;   /* body text */
  --muted:      #5B6169;   /* secondary text */
  --on-dark:    #FFFFFF;
  --on-dark-mut:#AEB4BB;

  --amber-bg:   #FFF6E9;   /* placeholder / note callout */
  --amber-line: #E0B26B;
  --amber-ink:  #7A4E12;

  --radius:     18px;
  --radius-sm:  11px;
  --shadow:     0 26px 70px -34px rgba(20,22,24,0.5);
  --card-shadow:0 20px 46px -26px rgba(20,22,24,0.16);
  --display: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 960px;
  --wrap-wide: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
p { margin: 0 0 1.1rem; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 22px; }

/* ---------- Top bar ---------- */
header.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22,25,29,0.98);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line-dk);
}
.top-inner {
  max-width: var(--wrap-wide); margin: 0 auto; padding: 0.62rem 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand-lockup { display: inline-flex; align-items: baseline; gap: 0.42rem; font-family: var(--display); }
.brand-lockup .bl-1 { font-weight: 700; font-size: 1.06rem; letter-spacing: 0.01em; color: #fff; }
.brand-lockup .bl-2 { font-weight: 700; font-size: 1.06rem; color: var(--accent-on-dark); }
.brand-lockup .bl-tag { font-family: var(--sans); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-mut); border: 1px solid var(--line-dk); border-radius: 100px; padding: 0.12rem 0.5rem; align-self: center; }

.nav-links { display: flex; flex-wrap: wrap; gap: 0.12rem; align-items: center; }
.nav-links a {
  color: var(--on-dark-mut); font-family: var(--display); font-weight: 500; font-size: 0.9rem;
  padding: 0.42rem 0.7rem; border-radius: 100px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.12); font-weight: 600; }
.nav-links a.nav-cta { background: var(--accent); color: #fff; font-weight: 600; }
.nav-links a.nav-cta:hover { background: var(--accent-dk); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  border-bottom: 3px solid var(--accent);
  padding: 4.6rem 0 4.1rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(79,209,165,0.20), transparent 55%),
    radial-gradient(90% 80% at 100% 0%, rgba(79,209,165,0.10), transparent 50%),
    linear-gradient(180deg, #191D22 0%, #14171B 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--accent-on-dark); }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.7rem); color: #fff; margin: 0.7rem 0 1rem; max-width: 14ch; }
.hero p.lede { font-family: var(--sans); font-size: 1.16rem; color: #D4D8DD; max-width: 620px; }
.hero .named { color: #fff; font-weight: 500; }
.hero.compact { padding: 3.4rem 0 3rem; }
.hero.compact h1 { max-width: 20ch; }

.eyebrow {
  font-family: var(--display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--accent-ink);
}

/* ---------- Coming-soon / status pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4rem 0.85rem; border-radius: 100px;
}
.pill-soon { background: rgba(79,209,165,0.15); color: var(--accent-on-dark); border: 1px solid rgba(79,209,165,0.35); }
.pill-soon .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-on-dark); box-shadow: 0 0 0 4px rgba(79,209,165,0.22); }
.pill-light { background: var(--accent-soft); color: var(--accent-ink); border: 1px solid rgba(30,122,94,0.25); }
.pill-light .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Sections ---------- */
main { padding: 3.2rem 0 1.4rem; }
section { margin-bottom: 3rem; }
section > h2 { font-size: clamp(1.55rem, 4vw, 2.15rem); margin-bottom: 0.8rem; }
section > h2 + p.sub { color: var(--muted); font-size: 1.08rem; margin-top: 0; margin-bottom: 1.6rem; max-width: 62ch; }
h3 { font-size: 1.26rem; margin: 2rem 0 0.7rem; }
h4 { font-size: 1.04rem; margin: 1.3rem 0 0.4rem; }
.lede-block { font-size: 1.12rem; color: #2a2e26; max-width: 68ch; }
.section-tag { font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 0.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--display);
  font-weight: 600; font-size: 0.98rem; padding: 0.85rem 1.55rem; border-radius: 100px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px rgba(30,122,94,0.6); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,0.32); color: #fff; }
.btn-ghost:hover { border-color: var(--accent-on-dark); color: var(--accent-on-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.7rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-2 { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.6rem;
  box-shadow: var(--card-shadow);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .kicker { font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--accent-ink); }

.nav-card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--card-shadow);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.nav-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 20px 44px -22px rgba(30,122,94,0.28); }
.nav-card .num { font-family: var(--display); font-weight: 700; font-size: 0.85rem; color: var(--accent-ink); letter-spacing: 0.05em; }
.nav-card h3 { margin: 0.35rem 0 0.4rem; font-size: 1.16rem; }
.nav-card p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* Feature row — icon-free value points */
.points { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.4rem 0; }
.point { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--card-shadow); }
.point .p-num { font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 1.4rem; }
.point h3 { margin: 0.3rem 0 0.5rem; font-size: 1.14rem; }
.point p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Dark panel (comparison / callouts) ---------- */
.panel-dark {
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--radius); padding: 2rem 2rem; box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.06);
}
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark p { color: #C9CDD2; }

/* ---------- Compare table (franchise vs move) ---------- */
.compare { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 1.4rem 0; }
.compare .col { border-radius: var(--radius); padding: 1.5rem 1.6rem; border: 1px solid var(--line); }
.compare .col.was { background: var(--surface-2); }
.compare .col.now { background: var(--ink); color: #fff; border-color: rgba(255,255,255,0.08); }
.compare .col.now h3 { color: #fff; }
.compare .col h3 { font-size: 1.1rem; margin: 0 0 0.9rem; }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { padding: 0.5rem 0 0.5rem 1.7rem; position: relative; font-size: 0.97rem; border-top: 1px solid rgba(0,0,0,0.06); }
.compare .now li { border-top: 1px solid rgba(255,255,255,0.08); color: #D4D8DD; }
.compare li:first-child { border-top: none; }
.compare .was li::before { content: "—"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }
.compare .now li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-on-dark); font-weight: 700; }

/* ---------- Key figures ---------- */
.figs { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 1.5rem 0; }
.fig { background: var(--ink); color: #fff; border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; }
.fig .n { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--accent-on-dark); line-height: 1.1; }
.fig .l { font-family: var(--sans); font-size: 0.85rem; color: var(--on-dark-mut); margin-top: 0.35rem; }

/* ---------- Callouts ---------- */
.callout {
  border-left: 4px solid var(--accent); background: var(--accent-soft);
  padding: 1.1rem 1.3rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.4rem 0;
}
.callout strong { color: var(--accent-ink); }
.note {
  background: var(--amber-bg); border: 1px dashed var(--amber-line); color: var(--amber-ink);
  padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.92rem; margin: 1rem 0; display: block;
}
.note b { color: #5c3a0d; }

/* ---------- Modules (training) ---------- */
.module {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; box-shadow: var(--card-shadow); margin: 1.1rem 0;
}
.module-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.6rem; }
.module-badge {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent-ink); font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.module-head h3 { margin: 0; font-size: 1.2rem; }
.module .tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.tag { font-family: var(--display); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.03em; background: var(--surface-2); color: var(--muted); padding: 0.28rem 0.65rem; border-radius: 100px; border: 1px solid var(--line); }

/* ---------- Lists ---------- */
ul.clean, ol.clean { margin: 0.4rem 0 1.2rem; padding-left: 1.25rem; }
ul.clean li, ol.clean li { margin-bottom: 0.5rem; }
ul.check { list-style: none; padding-left: 0; margin: 0.6rem 0 1.2rem; }
ul.check li { position: relative; padding-left: 1.9rem; margin-bottom: 0.7rem; }
ul.check li::before {
  content: ""; position: absolute; left: 0; top: 0.28rem;
  width: 1.1rem; height: 1.1rem; border-radius: 5px;
  background: var(--accent); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--accent);
}

/* ---------- Table ---------- */
.tbl-wrap { overflow-x: auto; margin: 1.3rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.96rem; background: var(--surface); }
table.data th, table.data td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; font-size: 0.9rem; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data .cls { font-family: var(--display); font-weight: 700; color: var(--accent-ink); }

/* ---------- Team cards ---------- */
.team-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1.6rem 0; }
.team-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .team-grid-3 { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 1.7rem 1.4rem 1.5rem; text-align: center; }
.team-avatar {
  width: 138px; height: 138px; border-radius: 50%;
  object-fit: cover; object-position: center;
  display: block; margin: 0 auto 1.1rem;
  border: 4px solid var(--surface-2);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  background: var(--surface-2);
}
.team-body { padding: 0; }
.team-body .t-name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.team-body .t-role { color: var(--accent-ink); font-weight: 600; font-size: 0.9rem; margin-top: 0.2rem; }
.team-body .t-bio { color: var(--muted); font-size: 0.94rem; margin-top: 0.7rem; text-align: left; }
.ph { color: var(--muted); font-style: italic; }

/* ---------- Form ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.9rem; box-shadow: var(--card-shadow); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--text);
  padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,122,94,0.15); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Page nav (prev / next) ---------- */
.pager { display: flex; justify-content: space-between; gap: 1rem; margin: 2.8rem 0 1rem; flex-wrap: wrap; }
.pager a {
  flex: 1; min-width: 220px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--card-shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.pager a:hover { transform: translateY(-2px); border-color: var(--accent); }
.pager .dir { font-family: var(--display); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.pager .ttl { font-family: var(--display); font-weight: 600; display: block; margin-top: 0.2rem; color: var(--ink); }
.pager a.next { text-align: right; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 2.4rem 2.2rem; text-align: center; box-shadow: var(--shadow);
  position: relative; overflow: hidden; margin: 2.6rem 0 1rem;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 50% -20%, rgba(79,209,165,0.20), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: #C9CDD2; max-width: 52ch; margin: 0 auto 1.5rem; }

/* ---------- Footer ---------- */
footer.foot { background: var(--ink); color: var(--on-dark-mut); padding: 3rem 0 2.4rem; margin-top: 3.2rem; }
footer.foot .foot-grid { display: grid; gap: 1.6rem; grid-template-columns: 1.4fr 1fr 1fr; }
footer.foot .brand-lockup { margin-bottom: 0.7rem; }
footer.foot h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.7rem; }
footer.foot a { color: var(--on-dark-mut); display: block; padding: 0.22rem 0; font-size: 0.94rem; }
footer.foot a:hover { color: #fff; }
footer.foot .tagline { color: var(--accent-on-dark); font-family: var(--display); font-weight: 600; }
footer.foot .fine { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1.4rem; font-size: 0.85rem; color: #8B9199; }
footer.foot .fine p { margin: 0 0 0.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .top-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .nav-links { gap: 0.1rem; }
  .nav-links a { font-size: 0.84rem; padding: 0.36rem 0.55rem; }
  footer.foot .foot-grid { grid-template-columns: 1fr; }
  .brand-lockup .bl-tag { display: none; }
}
