/* Home page alternatives: shared additions on top of site.css */

/* Floating call to action, visible all the way down the page */
.float-cta {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  background: var(--ox);
  color: var(--white);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(51, 38, 31, .28);
  transition: background-color .2s, transform .2s;
}
.float-cta:hover { background: var(--ox-dark); color: var(--white); transform: translateY(-2px); }
.float-cta svg { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: reduce) { .float-cta, .float-cta:hover { transition: none; transform: none; } }

/* Small label above headings */
.kicker { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ox); }
.on-dark .kicker { color: #e3b9c0; }

/* The three-line "what I do" statement */
.what { display: grid; gap: 20px; max-width: 62ch; }
.what .big { font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.25; color: var(--brown); }
.what p:not(.big) { font-size: 1.15rem; color: var(--muted); }
.on-dark .what .big { color: var(--white); }
.on-dark .what p:not(.big) { color: var(--on-brown); }

/* Five key areas: numbered tiles */
.five { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.five li { min-width: 0; }
.five a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 28px 24px 30px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ox); color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.five a:hover { box-shadow: 0 14px 30px rgba(51, 38, 31, .12); transform: translateY(-3px); color: inherit; }
.five .num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--ox); }
.five .ico { width: 40px; height: 40px; color: var(--brown); }
.five .name { font-family: var(--display); font-size: 1.4rem; line-height: 1.2; color: var(--brown); }
.five .line { color: var(--muted); font-size: 0.98rem; }
.five .more { margin-top: auto; color: var(--ox); font-weight: 600; font-size: 0.95rem; }

/* Image slots: where photography goes, labelled with what to use */
.img-slot { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 280px; padding: 22px; background: #d9cfc7; color: var(--brown); overflow: hidden; }
.img-slot::before { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(51, 38, 31, .35); pointer-events: none; }
.img-slot .tag { position: relative; align-self: flex-start; background: var(--brown); color: var(--white); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; }
.img-slot .desc { position: relative; font-family: var(--display); font-size: 1.15rem; line-height: 1.3; max-width: 34ch; }
.img-slot .src { position: relative; font-size: 0.85rem; color: var(--muted); }
.img-slot.dark { background: #4a3a31; color: var(--white); }
.img-slot.dark::before { border-color: rgba(255, 255, 255, .35); }
.img-slot.dark .tag { background: var(--ox); }
.img-slot.dark .src { color: var(--on-brown); }

/* Logo wall (logos are on white) */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logos li { background: var(--white); border: 1px solid var(--line); aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 16px; min-width: 0; }
.logos img { max-width: 80%; max-height: 64%; object-fit: contain; display: block; }

/* Logo marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span { display: flex; align-items: center; justify-content: center; width: 220px; height: 110px; padding: 20px 34px; }
.marquee-track img { max-width: 100%; max-height: 54px; object-fit: contain; display: block; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* Two growth paths */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.path { display: flex; flex-direction: column; gap: 14px; padding: 36px 34px; background: var(--tint); border-top: 4px solid var(--brown); min-width: 0; }
.path.ox { border-top-color: var(--ox); }
.path h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.path p { color: var(--muted); }
.path ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.path li { position: relative; padding-left: 24px; }
.path li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 2px; background: var(--ox); }

/* Principles, numbered */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.principles li { display: grid; gap: 12px; align-content: start; padding: 32px 28px 8px 0; min-width: 0; }
.principles li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.principles .n { font-family: var(--display); font-size: 1.1rem; color: #e3b9c0; }
.principles h3 { color: var(--white); font-size: 1.45rem; line-height: 1.2; }
.principles p { color: var(--on-brown); }

/* Hub diagram for option C */
.hub-map { display: grid; gap: 0; }
.hub-map .five a { background: var(--white); }
.hub-rail { height: 2px; background: var(--ox); margin: 0 10%; }
.hub-stems { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.hub-stems span { width: 2px; height: 32px; background: var(--ox); margin-inline: auto; }
.hub-stem { width: 2px; height: 32px; background: var(--ox); margin-inline: auto; }
.hub-core { justify-self: center; display: grid; gap: 6px; text-align: center; padding: 26px 40px; background: var(--brown); color: var(--white); max-width: 34rem; }
.hub-core .t { font-family: var(--display); font-size: 1.7rem; color: var(--white); }
.hub-core .s { color: var(--on-brown); }

/* Case tiles with imagery */
.case-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-tile { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); min-width: 0; text-decoration: none; color: inherit; }
.case-tile:hover { color: inherit; box-shadow: 0 14px 30px rgba(51, 38, 31, .12); }
.case-tile .img-slot { min-height: 240px; }
.case-tile .txt { display: grid; gap: 10px; padding: 26px 24px 28px; }
.case-tile .brand { color: var(--ox); font-weight: 600; }
.case-tile .res { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; color: var(--brown); }
.case-tile .sum { color: var(--muted); font-size: 0.98rem; }

/* Image strip */
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.strip .img-slot { min-height: 340px; }

/* Responsive */
@media (max-width: 1100px) {
  .five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-rail, .hub-stems { display: none; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles li:nth-child(3) { padding-left: 0; border-left: 0; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .five, .paths, .case-tiles, .strip, .principles { grid-template-columns: 1fr; }
  .principles li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float-cta { left: 16px; right: 16px; justify-content: center; }
}

/* ===== Black theme overrides for the alternatives ===== */
.float-cta { background: var(--accent); color: var(--bg); box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }
.float-cta:hover { background: var(--accent-soft); color: var(--bg); }
.kicker { color: var(--accent); }
.on-dark .kicker { color: var(--accent-soft); }
.what .big, .on-dark .what .big { color: var(--fg); }
.what p:not(.big), .on-dark .what p:not(.big) { color: var(--muted); }
.dark-band { background: var(--surface); }

.five a { background: var(--surface); border-color: var(--line); border-top-color: var(--accent); }
.tint .five a { background: var(--bg); }
.five a:hover { box-shadow: 0 0 0 1px var(--accent); color: inherit; }
.five .num { color: var(--accent); }
.five .ico { color: var(--fg); }
.five .name { color: var(--fg); }
.five .line { color: var(--muted); }
.five .more { color: var(--accent-soft); }

.img-slot { background: var(--surface-2); color: var(--fg); }
.img-slot::before { border-color: rgba(237, 230, 220, .22); }
.img-slot .tag { background: var(--accent); color: var(--bg); }
.img-slot .src { color: var(--muted); }
.img-slot.dark { background: #241e19; color: var(--fg); }

/* Real photography */
.media { position: relative; display: block; overflow: hidden; min-height: 280px; background: var(--surface-2); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media .cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 10px 16px; background: rgba(11, 10, 9, .78); color: var(--fg); font-size: 0.9rem; }
.five .media { min-height: 150px; margin: -28px -24px 4px; }
.case-tile .media { min-height: 240px; }
.strip .media { min-height: 340px; }

.logos li { background: transparent; border-color: var(--line); }
.logos img { max-width: 70%; max-height: 50%; }
.logos .sq img { max-width: 46%; max-height: 62%; }
.logos .wide img { max-width: 80%; max-height: 28%; }

.brand-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 40px; align-items: center; padding-block: 28px; border-top: 1px solid var(--line); }
.brand-row .label { color: var(--muted); font-size: 0.95rem; max-width: 18ch; }
.marquee { background: transparent; border: 0; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track span { width: 200px; height: 90px; padding: 18px 28px; }
.marquee-track img { max-height: 40px; max-width: 100%; }
.marquee-track .sq img { max-height: 56px; }
.marquee-track .wide img { max-height: 22px; }

.path { background: var(--surface); border-top-color: var(--fg); }
.path.ox { border-top-color: var(--accent); }
.path p { color: var(--muted); }
.path li::before { background: var(--accent); }

.principles, .principles li + li { border-color: var(--line); }
.principles .n { color: var(--accent-soft); }
.principles h3 { color: var(--fg); }
.principles p { color: var(--muted); }

.hub-rail, .hub-stems span, .hub-stem { background: var(--accent); }
.hub-core { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--accent); }
.hub-core .t { color: var(--fg); }
.hub-core .s { color: var(--muted); }

.case-tile { background: var(--surface); border-color: var(--line); }
.tint .case-tile { background: var(--bg); }
.case-tile:hover { box-shadow: 0 0 0 1px var(--accent); }
.case-tile .brand { color: var(--accent-soft); }
.case-tile .res { color: var(--fg); }
.case-tile .sum { color: var(--muted); }
@media (max-width: 760px) { .brand-row { grid-template-columns: 1fr; } }

/* ===== Shared brand palette and motion for every page ===== */
:root { --claret: #b23a52; --claret-deep: #3a141d; --rose: #e6aaa6; --sage: #9cc2ae; --gold: #e3c077; }
.tribar { height: 6px; background: linear-gradient(90deg, var(--accent) 0 25%, var(--claret) 25% 50%, var(--rose) 50% 75%, var(--sage) 75% 100%); }
.cta-band { background: var(--claret-deep); border-top: 1px solid var(--claret); }
.results li:nth-child(1) .fig { color: var(--accent-soft); }
.results li:nth-child(2) .fig { color: var(--rose); }
.results li:nth-child(3) .fig { color: var(--gold); }
.results li:nth-child(4) .fig { color: var(--sage); }
@keyframes kbz { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -2%); } }

/* Page heroes with imagery */
.ph-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ph-grid .media { min-height: 360px; }
.ph-grid .media img { animation: kbz 20s ease-in-out infinite alternate; }

/* Services */
.offers .offer:nth-child(1) { border-top: 4px solid var(--accent); }
.offers .offer:nth-child(2) { border-top: 4px solid var(--rose); }
.offers .offer:nth-child(3) { border-top: 4px solid var(--claret); }
.offers .offer:nth-child(3) { background: var(--claret-deep); }
.pillars .pillar:nth-child(1) h3 { color: var(--accent-soft); }
.pillars .pillar:nth-child(2) h3 { color: var(--rose); }
.pillars .pillar:nth-child(3) h3 { color: var(--gold); }
.pillars .pillar:nth-child(4) h3 { color: var(--sage); }
.pillars .pillar:nth-child(5) h3 { color: #e07a8c; }

/* Case studies */
.case-side .media { min-height: 240px; margin-top: 10px; }
.case-side .media img { transition: transform .8s; }
.case:hover .case-side .media img { transform: scale(1.06); }
.case:nth-child(1) .headline-result { color: var(--accent-soft); }
.case:nth-child(2) .headline-result { color: var(--rose); }
.case:nth-child(3) .headline-result { color: var(--gold); }

/* About and contact accents */
.facts div:nth-child(1) dt { color: var(--accent-soft); }
.facts div:nth-child(2) dt { color: var(--rose); }
.facts div:nth-child(3) dt { color: var(--sage); }
.quotes .quote:nth-child(1) { border-top: 3px solid var(--accent); padding-top: 20px; }
.quotes .quote:nth-child(2) { border-top: 3px solid var(--rose); padding-top: 20px; }
.quotes .quote:nth-child(3) { border-top: 3px solid var(--sage); padding-top: 20px; }
.quotes .quote:nth-child(4) { border-top: 3px solid var(--gold); padding-top: 20px; }
.contact-list div:nth-child(1) dt { color: var(--accent-soft); }
.contact-list div:nth-child(2) dt { color: var(--rose); }
.contact-list div:nth-child(3) dt { color: var(--gold); }
.contact-list div:nth-child(4) dt { color: var(--sage); }

@media (max-width: 760px) { .ph-grid { grid-template-columns: 1fr; } .ph-grid .media { min-height: 260px; } }
@media (prefers-reduced-motion: reduce) { .ph-grid .media img { animation: none; } }

/* ===== Usability: mobile menu, comparison, next steps, footer ===== */
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 10px 18px; background: transparent; color: var(--fg); border: 1px solid var(--line); font: 600 0.95rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.menu-btn:hover { border-color: var(--accent); }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .site-header .nav { display: none; }
  .site-header .nav.is-open { display: flex; flex-direction: column; order: 3; width: 100%; gap: 0; overflow: visible; padding-block: 8px 12px; }
  .site-header .nav.is-open a { padding-block: 14px; font-size: 1.15rem; color: var(--fg); border-bottom: 1px solid var(--line); }
}
.ph-grid .media img { animation: none; }
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 1.25rem; font-weight: 500; color: var(--fg); border-top: 4px solid var(--c, transparent); background: var(--surface); }
.compare tbody th { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); width: 18%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td { color: var(--fg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.next-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 52ch; }
.next-steps li { display: flex; gap: 14px; align-items: baseline; color: var(--fg); font-size: 1.05rem; }
.next-steps span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--display); font-size: 1rem; }
.site-footer .wrap.f-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.f-card p, .f-col p { margin: 0; }
.f-card { display: grid; gap: 6px; color: var(--muted); }
.f-card .f-name { font-family: var(--display); font-size: 1.6rem; color: var(--fg); }
.f-col { display: grid; gap: 10px; }
.site-footer .f-col a { color: var(--fg); text-decoration: none; }
.site-footer .f-col a:hover { color: var(--accent-soft); }
.f-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.f-copy { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 760px) { .site-footer .wrap.f-grid { grid-template-columns: 1fr; } }

/* Home hero stacks on phones */
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr !important; } .hero-grid .about-photo { max-width: 320px; } }
