/* Obededom Network Limited — site styles */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --mist: #f1f4ea;
  --ink: #1b2413;
  --muted: #566049;
  --leaf: #588010;        /* brand green, from the logo wordmark */
  --leaf-dark: #456508;
  --deep: #1f3212;        /* dark green for bands */
  --gold: #86661f;        /* brand gold, darkened for text on white */
  --gold-bright: #d8af52; /* gold for lines and text on dark green */
  --line: #d9dfce;
  --gold-wash: #f5e9c8;   /* pale gold section background */
  --green-wash: #e4edd0;  /* pale green section background */
  --gold-pale: #f6e3ad;   /* pale gold for text on dark colours */
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --font: "Archivo", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  word-spacing: 0.08em;
}

img, svg { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; word-spacing: inherit; }
button { cursor: pointer; }

a { color: var(--leaf-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-stretch: 125%; line-height: 1.08; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.7rem); font-weight: 750; line-height: 0.98; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
[id] { scroll-margin-top: 92px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 30; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Top bar ---------- */

.topbar { background: var(--deep); color: #fff; font-size: 0.9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 28px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-pale); text-decoration: underline; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.topbar .motto { color: var(--gold-pale); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 3px solid var(--gold-bright); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 62px; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-stretch: 125%; font-weight: 750; font-size: 1.22rem; letter-spacing: 0.04em; color: var(--gold); }
.brand-name span { font-weight: 650; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--leaf); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.98rem; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--gold-bright); text-decoration-thickness: 2px; }
.nav a.btn { color: #fff; }

.menu-btn { display: none; font-weight: 600; font-size: 0.98rem; background: none; border: 1px solid var(--ink); padding: 8px 14px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; background: var(--leaf); color: #fff;
  font-weight: 650; text-decoration: none;
  padding: 13px 22px; border: 1px solid var(--leaf);
}
.btn:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); color: #fff; text-decoration: none; }
.btn-gold { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.btn-gold:hover { background: #e6c273; border-color: #e6c273; color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.text-link { font-weight: 650; }

/* ---------- Hero slider ---------- */

.hero {
  color: #fff; background-color: var(--deep);
  background-image:
    linear-gradient(rgba(246, 227, 173, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 227, 173, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  transition: background-color 0.7s ease;
}
.hero[data-slide="1"] { background-color: #2f4a0d; }
.hero[data-slide="2"] { background-color: #6b5112; }

.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr);
  align-items: center; gap: clamp(24px, 5vw, 64px);
  padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px);
}
.hero h1 span { display: block; cursor: pointer; color: transparent; -webkit-text-stroke: 1.5px var(--gold-pale); transition: color 0.35s ease; }
.hero h1 span.is-active { color: #fff; -webkit-text-stroke-color: #fff; }

.slide-texts { display: grid; margin-top: 24px; }
.slide-text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s; max-width: 31em; }
.slide-text.is-active { opacity: 1; visibility: visible; }
.slide-text strong { display: block; font-stretch: 112%; font-weight: 700; color: var(--gold-pale); font-size: 1.05rem; }
.slide-text p { margin-top: 6px; font-size: 1.2rem; line-height: 1.5; color: #f3f6ec; }
.slide-text a { display: inline-block; margin-top: 16px; }
.hero .btn-gold { background: var(--gold-bright); }

.slide-controls { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.slide-tabs { display: flex; gap: 6px; flex: 1 1 320px; }
.slide-tab {
  flex: 1 1 0; text-align: left; background: none; border: 0; padding: 12px 6px 0 0;
  font-weight: 600; font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); position: relative; line-height: 1.25;
}
.slide-tab::before { content: ""; position: absolute; left: 0; right: 6px; top: 0; height: 4px; background: rgba(255, 255, 255, 0.28); }
.slide-tab .bar { position: absolute; left: 0; right: 6px; top: 0; height: 4px; background: var(--gold-bright); transform-origin: left; transform: scaleX(0); }
.slide-tab[aria-selected="true"] { color: #fff; }
.slide-tab:hover { color: #fff; }

.slide-btns { display: flex; gap: 6px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.8); padding: 0; }
.icon-btn:hover { background: #fff; color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .i-play { display: none; }
.hero.is-userpaused .icon-btn .i-play { display: block; }
.hero.is-userpaused .icon-btn .i-pause { display: none; }

.stage { position: relative; aspect-ratio: 6 / 5; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(246, 227, 173, 0.45); overflow: hidden; touch-action: pan-y; }
.art { position: absolute; inset: 0; display: grid; place-items: center; padding: 6%; opacity: 0; visibility: hidden; transform: translateX(70px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.6s; }
.art.is-leaving { transform: translateX(-70px); }
.art.is-active { opacity: 1; visibility: visible; transform: none; }

.plan-card, .mock-app, .note { color: var(--ink); }

/* mockup: blueprint */
.mock-plan { position: relative; width: 100%; }
.mock-plan svg { width: 100%; border: 1px solid var(--gold-bright); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); }
.plan-card { position: absolute; right: -3%; bottom: -6%; width: 46%; background: var(--paper); border: 1px solid var(--line); padding: 12px 14px; font-size: 0.78rem; line-height: 1.3; box-shadow: 0 14px 30px -18px rgba(31, 50, 18, 0.8); }
.plan-card b { display: block; font-size: 0.8rem; margin-bottom: 6px; }
.plan-card ul { list-style: none; margin: 0; padding: 0; }
.plan-card li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.tick { flex: none; width: 14px; height: 14px; border: 1.5px solid var(--leaf); display: grid; place-items: center; }
.tick.done { background: var(--leaf); }
.tick.done::after { content: ""; width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.tick.now { border-color: var(--gold); background: linear-gradient(90deg, var(--gold-bright) 55%, transparent 55%); }

/* mockup: browser window */
.mock-app { width: 100%; background: var(--paper); border: 1px solid #c9d0bb; box-shadow: 0 18px 40px -22px rgba(31, 50, 18, 0.7); font-size: 0.72rem; line-height: 1.3; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: #f7f8f3; }
.app-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9d0bb; }
.app-bar span { margin-left: 8px; flex: 1; background: var(--paper); border: 1px solid var(--line); padding: 2px 8px; color: var(--muted); }
.app-body { display: grid; grid-template-columns: 27% 1fr; }
.app-side { background: var(--deep); color: #dfe6d2; padding: 12px 0; }
.app-side div { padding: 6px 12px; }
.app-side .on { background: rgba(216, 175, 82, 0.18); color: #fff; border-left: 3px solid var(--gold-bright); padding-left: 9px; }
.app-main { padding: 12px; }
.app-main > b { font-size: 0.86rem; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.col { background: var(--mist); padding: 7px; }
.col > span { display: flex; justify-content: space-between; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.card { background: var(--paper); border: 1px solid var(--line); padding: 7px; margin-top: 5px; }
.card::before, .card::after { content: ""; display: block; height: 4px; background: #d5dbc8; }
.card::after { width: 60%; margin-top: 4px; }
.card.hot { border-color: var(--gold-bright); border-left-width: 3px; }
.card.ok::before { background: var(--leaf); }
.net { display: flex; gap: 12px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); flex-wrap: wrap; }
.net span { display: flex; align-items: center; gap: 5px; }
.net span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }

/* mockup: delivery note */
.mock-note { position: relative; width: 94%; }
.note-box { position: absolute; left: 0; bottom: -4%; width: 30%; }
.note { position: relative; margin-left: 27%; background: var(--paper); border: 1px solid #c9d0bb; padding: 16px 18px; font-size: 0.78rem; line-height: 1.35; box-shadow: 0 18px 40px -22px rgba(31, 50, 18, 0.7); }
.note-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.note-head b { font-stretch: 125%; font-size: 0.95rem; }
.note-head span { color: var(--muted); }
.note ul { list-style: none; margin: 0; padding: 0; }
.note li { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.note li em { margin-left: auto; font-style: normal; color: var(--leaf-dark); font-weight: 600; }
.note-foot { margin-top: 10px; color: var(--muted); display: flex; justify-content: space-between; align-items: end; }
.note-foot svg { width: 70px; }

/* ---------- Services explorer (the ark's three panels) ---------- */

.lines { background: var(--gold-wash); }
.lines .wrap { padding-top: clamp(40px, 5.5vw, 68px); padding-bottom: clamp(40px, 5.5vw, 68px); }
.lines .section-head p { color: #5a4a1c; }

.line-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.line-tab {
  text-align: left; background: var(--deep); color: #fff;
  border: 1px solid var(--deep); outline: 1px solid rgba(216, 175, 82, 0.6); outline-offset: -7px;
  padding: clamp(20px, 2.4vw, 30px);
  transition: background 0.2s ease, color 0.2s ease;
}
.line-tab b { display: block; font-stretch: 125%; font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.1; color: var(--gold-bright); }
.line-tab span { display: block; margin-top: 8px; color: #dfe6d2; font-size: 0.98rem; line-height: 1.45; }
.line-tab:hover { background: #2c4619; }
.line-tab[aria-selected="true"] { background: var(--leaf); border-color: var(--leaf); outline-color: rgba(255, 255, 255, 0.55); }
.line-tab[aria-selected="true"] b, .line-tab[aria-selected="true"] span { color: #fff; }
.line-tab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.line-panel { margin-top: clamp(10px, 1.6vw, 20px); background: var(--paper); color: var(--ink); padding: clamp(22px, 3.4vw, 40px); border-top: 5px solid var(--leaf); }
.line-panel[hidden] { display: none; }
.line-panel-top { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.line-panel-top p { max-width: 38em; font-size: 1.1rem; }
.acc { columns: 2; column-gap: clamp(24px, 4vw, 56px); }
.acc details { break-inside: avoid; border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 14px 30px 14px 0; font-weight: 650; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc summary:hover { color: var(--leaf-dark); }
.acc details p { padding: 0 30px 16px 0; color: var(--muted); }

/* ---------- Sections ---------- */

.section .wrap { padding-top: clamp(40px, 5.5vw, 68px); padding-bottom: clamp(40px, 5.5vw, 68px); }
.section-tint { background: var(--mist); }
.section-green { background: var(--green-wash); }
.section-gold { background: var(--gold-wash); }
.section-gold .section-head p { color: #5a4a1c; }
.section-deep { background: var(--deep); color: #fff; }
.section-deep .section-head p { color: #dfe6d2; }
.section-leaf { background: var(--leaf-dark); color: #fff; }
.section-head { max-width: 40em; margin-bottom: clamp(22px, 3vw, 34px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-copy p { margin-top: 20px; max-width: 36em; }
.about-copy .text-link { display: inline-block; margin-top: 26px; }
.vm { margin: 28px 0 0; display: grid; gap: 14px; }
.vm div { background: var(--paper); border-left: 5px solid var(--gold-bright); padding: 14px 18px; }
.vm dt { font-weight: 700; font-stretch: 112%; color: var(--gold); }
.vm dd { margin: 2px 0 0; font-size: 1.1rem; }
.about-side img { width: min(72%, 300px); margin: 0 auto 26px; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid #c3cfa9; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* How we deliver */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--gold-bright); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-stretch: 125%; font-weight: 750; font-size: 2.2rem; line-height: 1; color: var(--gold-bright); margin-bottom: 12px; }
.steps h3 { font-size: 1.08rem; min-height: 2.2em; }
.steps p { margin-top: 8px; color: #dfe6d2; font-size: 0.98rem; }
.steps-note { margin-top: 26px; color: var(--gold-pale); font-weight: 600; }

/* Projects */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { background: var(--paper); border: 1px solid var(--ink); padding: 8px 16px; font-weight: 600; font-size: 0.95rem; }
.chip:hover { background: var(--mist); }
.chip[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.chip small { font-size: inherit; font-weight: 500; opacity: 0.7; margin-left: 4px; }

.projects { width: 100%; border-collapse: collapse; }
.projects th { text-align: left; font-weight: 600; color: #fff; background: var(--deep); font-size: 0.92rem; padding: 12px 16px; }
.projects td { vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.projects tbody tr:nth-child(even) { background: #f6f8f0; }
.projects td:first-child { font-weight: 700; font-stretch: 112%; white-space: nowrap; width: 5.5em; }
.projects td:nth-child(2) { font-weight: 600; width: 44%; }
.projects td:nth-child(3) { color: var(--muted); }
.projects td:last-child, .projects th:last-child { white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.tag::before { content: ""; width: 11px; height: 11px; background: var(--deep); }
.tag-c::before { background: var(--gold-bright); }
.tag-i::before { background: var(--leaf); }
.projects tr[hidden] { display: none; }
.after-table { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.after-table span { color: var(--muted); }
.more-btn { background: var(--deep); color: #fff; border: 1px solid var(--deep); padding: 10px 18px; font-weight: 650; }
.more-btn:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); }

.clients { margin-top: clamp(30px, 4vw, 44px); background: var(--green-wash); padding: clamp(20px, 3vw, 32px); }
.clients ul { list-style: none; margin: 20px 0 0; padding: 0; columns: 3; column-gap: 40px; }
.clients li { padding: 9px 0; border-bottom: 1px solid #c3cfa9; break-inside: avoid; }

/* Values */
.values { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.value { border-top: 3px solid var(--gold-pale); padding-top: 14px; }
.value b { display: block; font-stretch: 125%; font-weight: 750; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 0.95; color: var(--gold-pale); }
.value h3 { margin-top: 10px; font-size: 1.05rem; }
.value p { margin-top: 6px; color: #eef3e2; font-size: 0.96rem; }

/* Registrations */
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logo-tile { background: var(--paper); border: 1px solid #e0cf9e; border-top: 4px solid var(--leaf); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.logo-mark { height: 64px; display: flex; align-items: center; }
.logo-mark .mono { font-stretch: 125%; font-weight: 750; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--deep); border: 2px solid var(--deep); padding: 6px 10px; line-height: 1; }
.logo-mark img { max-height: 64px; width: auto; max-width: 100%; }
.logo-tile b { font-weight: 650; line-height: 1.3; font-size: 0.98rem; }
.logo-tile span { color: var(--muted); font-size: 0.9rem; line-height: 1.35; }
.partners { margin-top: clamp(26px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.partners p { color: #5a4a1c; margin-top: 8px; }
.partners .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Contact */
.contact { background: var(--deep); color: #fff; }
.contact .wrap { padding-top: clamp(40px, 5.5vw, 68px); padding-bottom: clamp(40px, 5.5vw, 68px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact h2 { color: #fff; }
.contact-intro { margin-top: 16px; color: #dfe6d2; max-width: 30em; font-size: 1.1rem; }
.reach { margin: 30px 0 0; }
.reach > div { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 16px; }
.reach > div:first-child { border-top: 1px solid var(--gold-bright); }
.reach dt { color: var(--gold-bright); font-weight: 600; }
.reach dd { margin: 0; }
.reach a { color: #fff; display: block; text-decoration: none; padding: 2px 0; overflow-wrap: anywhere; }
.reach a:hover { text-decoration: underline; color: var(--gold-bright); }
.reach address { font-style: normal; color: #dfe6d2; padding: 2px 0 8px; }
.reach address b { display: block; color: #fff; font-weight: 650; }

.form { background: var(--paper); color: var(--ink); padding: clamp(22px, 3.4vw, 40px); }
.form h3 { font-size: 1.35rem; margin-bottom: 4px; }
.form .hint { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #9aa58a; background: var(--paper); padding: 11px 12px; border-radius: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold-bright); outline-offset: 0; border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.form-status { flex: 1 1 220px; font-weight: 600; }
.form-status.ok { color: var(--leaf-dark); }
.form-status.err { color: #9c2b1c; }

/* Footer */
.site-footer { background: #16240d; color: #cfd6c0; font-size: 0.95rem; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.motto { color: var(--gold-bright); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .art, .slide-text, .hero h1 span, .hero { transition: none; }
  .art, .art.is-leaving { transform: none; }
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partners { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { order: -1; aspect-ratio: 4 / 3; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-side img { margin-left: 0; width: min(60%, 240px); }
  .acc { columns: 1; }
  .clients ul { columns: 2; }

  .menu-btn { display: inline-block; }
  .site-header .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 6px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-top: 1px solid var(--line); }
  .nav a.btn { margin-top: 10px; width: auto; padding: 12px 20px; border: 1px solid var(--leaf); }
}

@media (max-width: 640px) {
  .brand img { width: 50px; }
  .hero h1 span { -webkit-text-stroke-width: 1px; }
  .topbar .motto { display: none; }
  .logo-mark .mono { font-size: 1.15rem; padding: 5px 8px; }
  .line-tabs { grid-template-columns: 1fr; }
  .line-tab span { display: none; }
  .line-tab { padding: 16px 18px; }
  .steps { grid-template-columns: 1fr; }
  .steps h3 { min-height: 0; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid, .partners .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients ul { columns: 1; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .slide-tab { font-size: 0.82rem; }
  .plan-card { width: 56%; font-size: 0.7rem; }
  .mock-app { font-size: 0.6rem; }
  .note { font-size: 0.7rem; padding: 12px; }

  .projects thead { position: absolute; left: -9999px; }
  .projects, .projects tbody, .projects tr, .projects td { display: block; width: 100%; }
  .projects tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .projects tr[hidden] { display: none; }
  .projects tbody tr:first-child { border-top: 3px solid var(--deep); }
  .projects td { border: 0; padding: 2px 0; width: 100% !important; white-space: normal !important; }
  .projects tbody tr { padding-left: 12px; padding-right: 12px; }
  .projects td:first-child { color: var(--gold); }
  .projects td:last-child { font-size: 0.95rem; }
}
