/* Maja Trajkova — shared stylesheet for every page.
   Colours live in the variables below; each page picks a theme with a class on <body>:
   theme-light (Home), theme-dark (For businesses), theme-warm (For makers). */

:root {
  --ink: #141414;
  --white: #FFFFFF;
  --teal: #0E5E5A;
  --teal-dark: #083F3C;
  --teal-soft: #8FD3CC;
  --teal-pale: #CDE7E4;
  --teal-mist: #EAF4F3;
  --rust: #9A3412;
  --rust-dark: #6E240B;
  --rust-pale: #FBE3D6;
  --rust-mist: #FDF1EA;
  --sand: #F1E3D8;
  --sand-ink: #5A4A40;
  --stone: #F4F3F0;
  --green: #4CC38A;

  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Manrope, Inter, system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: 32px;
}

.theme-light {
  --bg: #FFFFFF; --fg: #141414; --line: #E6E4DF;
  --nav: #3D3D3D; --muted: #5A5A5A; --sep: #9A9A9A; --text: #4A4A4A;
  --cta-bg: #141414; --cta-fg: #FFFFFF;
  --link: #0E5E5A; --link-hover: #083F3C;
}
.theme-warm {
  --bg: #FBF4EF; --fg: #141414; --line: #EADBCF;
  --nav: #3D3D3D; --muted: #5A5A5A; --sep: #9A9A9A; --text: #4A4A4A;
  --cta-bg: #141414; --cta-fg: #FFFFFF;
  --link: #9A3412; --link-hover: #6E240B;
}
.theme-dark {
  --bg: #141414; --fg: #FFFFFF; --line: #2B2B2B;
  --nav: #C9C9C9; --muted: #B5B5B5; --sep: #777777; --text: #C9C9C9;
  --cta-bg: #FFFFFF; --cta-fg: #141414;
  --link: #8FD3CC; --link-hover: #CDE7E4;
}

/* ---------- Base ---------- */
*, *::before, *::after { 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;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal-soft); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 16px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 10px 16px; border-radius: 8px;
  background: var(--cta-bg); color: var(--cta-fg); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--cta-fg); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.stack { display: flex; flex-direction: column; }

/* ---------- Type ---------- */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.display, .h2, .h2-lg, .brand { font-family: var(--display); font-weight: 800; }
.display { font-size: clamp(38px, 6.5vw, 58px); line-height: 1.06; letter-spacing: -0.02em; }
.display-xl { font-size: clamp(40px, 7vw, 62px); line-height: 1.05; max-width: 900px; }
.h2 { font-size: clamp(28px, 4.5vw, 36px); line-height: 1.12; }
.h2-lg { font-size: clamp(32px, 5.5vw, 44px); line-height: 1.1; }
.h2-small { font-family: var(--display); font-size: 22px; font-weight: 700; }
.h3 { font-size: 20px; font-weight: 600; }
.lead { font-size: clamp(17px, 2.2vw, 19px); line-height: 1.6; color: var(--text); max-width: 600px; }
.body-text { font-size: 17px; line-height: 1.7; }
.small { font-size: 15px; color: var(--text); }
.note { font-size: 16px; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 8px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); }
.btn-rust { background: var(--rust); color: var(--white); }
.btn-rust:hover { background: var(--rust-dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #EDEDED; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #333333; color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--fg); background: transparent; }
.btn-outline:hover { color: var(--fg); background: rgba(127, 127, 127, 0.12); }
.on-colour .btn-outline, .on-colour .btn-outline:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.nav {
  padding-top: 16px; padding-bottom: 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.brand { font-size: 20px; color: var(--fg); text-decoration: none; }
.brand:hover { color: var(--fg); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.nav-links > a { color: var(--nav); text-decoration: none; padding: 12px 0; }
.nav-links > a:hover { color: var(--fg); }
.nav-links > a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-underline-offset: 6px; }
.nav-links > a.nav-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px;
  background: var(--cta-bg); color: var(--cta-fg);
}
.nav-links > a.nav-cta:hover { opacity: 0.88; color: var(--cta-fg); }
.lang { display: inline-flex; align-items: center; gap: 6px; padding-left: 6px; font-size: 14px; }
.lang strong { font-weight: 700; }
.lang span { color: var(--sep); }
.lang a { color: var(--muted); text-decoration: none; padding: 12px 2px; }
.lang a:hover { color: var(--fg); }

/* ---------- Layout pieces ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > .main { flex: 999 1 520px; min-width: 0; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col, 300px)), 1fr)); }
.band-stone { background: var(--stone); }
.band-white { background: var(--white); }
.band-raised { background: #1C1C1C; }
.band-ink { background: var(--ink); color: var(--white); }
.band-teal { background: var(--teal); color: var(--white); }
.band-rust { background: var(--rust); color: var(--white); }

/* Photo / image slots. Put an <img> inside to replace the placeholder text. */
.photo {
  aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: #EFEDE8; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; text-align: center;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-sand { background: var(--sand); color: var(--sand-ink); }

/* ---------- Home ---------- */
.hero { padding-top: 88px; padding-bottom: 64px; }
.hero .main { gap: 22px; }
.hero-photo { flex: 1 1 280px; min-width: 240px; max-width: 340px; }
.paths { padding-bottom: 96px; gap: 24px; }
.paths .grid { --col: 320px; }
.path-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 40px; border-radius: 20px; color: var(--white); text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.path-card:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14); }
.path-card .eyebrow { font-size: 13px; }
.path-card .title { font-family: var(--display); font-size: clamp(26px, 4vw, 32px); font-weight: 800; line-height: 1.15; }
.path-card .text { font-size: 17px; line-height: 1.6; }
.path-card .go { margin-top: 8px; font-weight: 600; font-size: 16px; }
.path-teal { background: var(--teal); }
.path-teal .eyebrow { color: var(--teal-pale); }
.path-teal .text { color: var(--teal-mist); }
.path-rust { background: var(--rust); }
.path-rust .eyebrow { color: var(--rust-pale); }
.path-rust .text { color: var(--rust-mist); }
.about { padding-top: 88px; padding-bottom: 88px; --col: 320px; gap: 48px; align-items: start; }
.about .stack { gap: 16px; }
.about .body-text { color: #333333; }
.vivido-card { background: var(--white); border-radius: 20px; padding: 32px; gap: 16px; }
.vivido-card .photo { aspect-ratio: 16 / 9; border-radius: 12px; }
.vivido-card h3 { font-family: var(--display); font-size: 24px; font-weight: 800; }
.vivido-card p { font-size: 16px; line-height: 1.65; color: #444444; }
.vivido-card .btn { align-self: flex-start; padding: 0 22px; }

/* ---------- For businesses ---------- */
.biz-hero { padding-top: 96px; padding-bottom: 88px; gap: 24px; }
.biz-hero .eyebrow { color: var(--teal-soft); }
.biz-hero .lead { max-width: 680px; }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: #233331; color: var(--teal-pale);
  font-size: 14px; font-weight: 600;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.services { padding-top: 40px; gap: 32px; }
.tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px; background: #333333; border: 1px solid #333333; border-radius: 16px; overflow: hidden;
}
.tile { background: var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.tile p, .step p { font-size: 15px; line-height: 1.6; color: #C9C9C9; }
.process { gap: 32px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.section-head p { font-size: 15px; color: var(--muted); max-width: 540px; }
.steps { --col: 220px; }
.step { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 3px solid var(--teal-soft); }
.step .h3 { font-size: 18px; }
.cv { display: flex; flex-wrap: wrap; gap: 48px; }
.cv > .stack { gap: 16px; }
.cv-main { flex: 999 1 480px; min-width: 0; }
.cv-side { flex: 1 1 300px; min-width: 0; }
.timeline li { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 20px 0; border-top: 1px solid #333333; }
.timeline li:last-child { border-bottom: 1px solid #333333; }
.timeline .when { flex: 0 0 120px; font-size: 15px; font-weight: 600; color: var(--muted); }
.timeline .what { flex: 1 1 260px; min-width: 0; }
.timeline h3 { margin-bottom: 4px; font-size: 18px; font-weight: 600; }
.timeline .what p { font-size: 15px; line-height: 1.6; color: #C9C9C9; }
.label { margin-top: 16px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid #444444; font-size: 14px; font-weight: 500; }
.reasons { display: flex; flex-direction: column; gap: 14px; }
.reasons li { padding: 18px 20px; border-radius: 12px; background: #1F1F1F; }
.reasons strong { display: block; font-size: 16px; margin-bottom: 4px; }
.reasons span { font-size: 15px; color: #C9C9C9; }

/* ---------- For makers ---------- */
.maker-hero { padding-top: 88px; padding-bottom: 88px; }
.maker-hero .main { gap: 22px; }
.maker-hero .eyebrow { color: var(--rust); }
.maker-hero .photo { flex: 1 1 300px; min-width: 260px; max-width: 380px; }
.why { gap: 32px; }
.why .intro { gap: 12px; }
.why .intro p { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 680px; }
.why .grid { --col: 260px; }
.point { padding-top: 18px; border-top: 3px solid var(--rust); display: flex; flex-direction: column; gap: 8px; }
.point h3 { font-size: 19px; font-weight: 600; }
.point p { font-size: 16px; line-height: 1.6; color: #444444; }
.maker-services { gap: 32px; }
.maker-services .grid { gap: 20px; }
.card { background: var(--white); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { font-size: 15px; line-height: 1.6; color: #444444; }
.vivido .main { gap: 18px; flex-basis: 480px; }
.vivido .eyebrow { color: var(--rust-pale); }
.vivido .h2 { font-size: clamp(30px, 5vw, 42px); line-height: 1.1; }
.vivido p:not(.eyebrow) { font-size: 18px; line-height: 1.65; color: var(--rust-mist); }
.vivido ol { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.5; color: var(--rust-mist); }
.vivido ol strong { color: var(--white); }
.vivido .btn { padding: 0 22px; }
.vivido .photo { flex: 1 1 340px; min-width: min(100%, 260px); aspect-ratio: 4 / 3; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); color: var(--white); }
.hello .photo { flex: 1 1 240px; min-width: 220px; max-width: 300px; aspect-ratio: 1 / 1; }
.hello .main { gap: 16px; flex-basis: 480px; }
.hello .main > p:first-of-type { font-size: 18px; line-height: 1.7; color: #333333; }

/* ---------- Contact (all pages) ---------- */
.contact { padding-top: 88px; padding-bottom: 88px; display: grid; gap: 40px 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.contact-intro { gap: 12px; }
.contact-intro > p { font-size: 18px; line-height: 1.6; color: #C9C9C9; }
.band-teal .contact-intro > p { color: var(--teal-mist); }
.contact-links { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-top: 12px; }
.contact-links a { color: var(--white); font-weight: 500; padding: 10px 0; }
.contact-links a:hover { color: var(--teal-pale); }
.contact-alt { font-size: 15px; line-height: 1.6; color: #C9C9C9; }
.band-teal .contact-alt { color: var(--teal-mist); }
.contact-alt a { color: var(--white); font-weight: 600; }

.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1.5px solid transparent; border-radius: 8px;
  padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-soft); box-shadow: 0 0 0 3px rgba(143, 211, 204, 0.5); }
.field [aria-invalid="true"] { border-color: #F87171; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; min-height: 52px; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { min-height: 1.5em; font-size: 15px; line-height: 1.5; }
.form-status.ok { color: var(--white); font-weight: 600; }
.form-status.err { color: #FECACA; }
.form-status a { color: var(--white); }
.privacy { font-size: 13px; line-height: 1.5; color: #A3A3A3; }
.band-teal .privacy { color: var(--teal-pale); }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--muted);
}
.site-footer a { color: var(--muted); padding: 4px 0; }
.site-footer a:hover { color: var(--fg); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; justify-content: center; gap: 20px; padding-top: 96px; padding-bottom: 96px; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero, .maker-hero, .biz-hero { padding-top: 56px; padding-bottom: 56px; }
  .section, .about, .contact { padding-top: 64px; padding-bottom: 64px; }
  .paths { padding-bottom: 64px; }
  .path-card { padding: 28px; }
  .vivido-card, .tile { padding: 24px; }
  .split { gap: 40px; }
  .hero-photo, .maker-hero .photo { max-width: 100%; margin: 0 auto; }
}
