/* =========================================================
   Aion Web Design: shared styles for every page
   Change the colours and fonts here and the whole site follows.
   ========================================================= */
:root {
  --ink: #101C2C;        /* main text and dark sections */
  --ground: #F5F7F9;     /* page background */
  --white: #FFFFFF;
  --accent: #0B6E8F;     /* buttons and links */
  --accent-dark: #08506A;
  --glow: #F4B942;       /* warm highlight */
  --muted: #4A5868;      /* secondary text */
  --line: #D8E0E8;       /* borders */
  --display: 'Sora', system-ui, sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

img, svg { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: 50px; font-weight: 800; }
h2 { font-size: 34px; font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand-sub { font-weight: 600; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 0; }
.site-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.site-nav a.button { color: var(--white); padding: 10px 18px; box-shadow: none; }

/* ---------- Buttons ---------- */
.button { display: inline-block; background: var(--accent); color: var(--white); text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 10px; border: 2px solid var(--accent); }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.button.outline { background: transparent; color: var(--accent); }
.button.outline:hover { background: var(--accent); color: var(--white); }
.button.light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button.light:hover { background: var(--glow); border-color: var(--glow); color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 80px; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 440px; }
.hero-text h1 { margin-bottom: 20px; }
.lead { font-size: 21px; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-art { flex: 1 1 320px; display: flex; justify-content: center; }

/* Picture of a site on a laptop and phone, drawn in CSS */
.mock { position: relative; width: 100%; max-width: 440px; padding-bottom: 36px; }
.browser { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px rgba(16, 28, 44, 0.12); }
.browser-bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--ink); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #5B6B7D; }
.browser-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.bar { height: 12px; border-radius: 6px; background: var(--line); }
.bar.title { height: 20px; width: 75%; background: var(--ink); }
.bar.short { width: 40%; }
.tile-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { height: 64px; border-radius: 10px; background: var(--ground); border: 1px solid var(--line); }
.tile.warm { background: var(--glow); border-color: var(--glow); }
.phone { position: absolute; right: -8px; bottom: 0; width: 110px; background: var(--ink); border-radius: 20px; padding: 10px 8px; box-shadow: 0 16px 32px rgba(16, 28, 44, 0.25); }
.phone-screen { background: var(--white); border-radius: 12px; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.phone-screen .bar { height: 8px; }
.phone-screen .bar.title { height: 12px; }
.phone-screen .tile { height: 44px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--ink); color: var(--white); }
.section.dark h2, .section.dark p { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 19px; }
.page-head { padding: 56px 0 40px; background: var(--white); border-bottom: 1px solid var(--line); }
.page-head p { font-size: 20px; color: var(--muted); max-width: 640px; margin: 16px 0 0; }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.section.white .card { background: var(--ground); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: #E3F0F5; color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }

.tick-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.tick-list li { padding-left: 30px; position: relative; color: var(--muted); }
.tick-list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--ground); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--white); font-family: var(--display); font-weight: 700; margin-bottom: 14px; }
.steps strong { display: block; font-family: var(--display); font-size: 19px; margin-bottom: 6px; }
.steps span { color: var(--muted); }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); }
.badge { align-self: flex-start; background: var(--glow); color: var(--ink); font-size: 14px; font-weight: 700; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.card .price, .price { font-family: var(--display); font-size: 36px; font-weight: 800; color: var(--ink); margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-note { font-size: 16px; color: var(--muted); }
.price-card .tick-list { flex-grow: 1; }

/* ---------- Work ---------- */
.work-card { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.work-card .work-text { flex: 1 1 360px; }
.work-card .work-art { flex: 1 1 300px; }
.cafe-preview { background: #F3F5F0; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.cafe-preview .cp-brand { font-family: var(--display); font-weight: 800; color: #0F5C4D; font-size: 20px; margin-bottom: 14px; }
.cafe-preview .cp-title { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; color: #1B2A2F; margin-bottom: 16px; }
.cafe-preview .cp-pill { display: inline-block; background: #0F5C4D; color: #FFFFFF; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }
.tag { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); background: #E3F0F5; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 19px; }
details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-line { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line strong { min-width: 90px; }

/* ---------- Call to action band ---------- */
.cta { text-align: left; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner p { color: #C9D4DF; margin: 8px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0A131F; color: #B8C4D0; padding: 48px 0 32px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h3 { color: var(--white); font-size: 16px; margin-bottom: 12px; }
.site-footer a { color: #DCE4EC; text-decoration: none; }
.site-footer a:hover { color: var(--glow); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--white); margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #1F2C3B; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

.legal-line { font-size: 14px; color: #93A1AF; margin: 0 0 20px; }
.footer-small-links { display: flex; gap: 20px; }
.small-print { font-size: 15px; margin: 16px 0 0; }

/* Placeholder text that still needs your real details */
.todo { background: #FFF1CC; color: #6B4A00; border-radius: 4px; padding: 0 4px; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 960px) {
  .grid.four, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .grid.two, .grid.four, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
  .section { padding: 56px 0; }
  .site-nav { gap: 0 16px; }
  .phone { display: none; }
}
