/* Not The Odd One Out — brand system v3 (light & warm)
   Palette from the brand notes: cream #FEF4D8, coral #FF8281, blue #156082, midnight #07151C.
   Warm cream canvas, confident type, real photography, the logo big and proud. */

:root {
  --cream: #FEF4D8;
  --cream-2: #FFF9EA;
  --paper: #FFFDF7;
  --coral: #FF8281;
  --coral-deep: #E86A69;
  --blue: #156082;
  --blue-deep: #0E4560;
  --ink: #07151C;
  --ink-soft: rgba(7, 21, 28, 0.72);
  --ink-faint: rgba(7, 21, 28, 0.48);
  --line: rgba(7, 21, 28, 0.12);
  --max: 1180px;
  --t-hero: clamp(2.8rem, 6vw, 4.8rem);
  --t-h2: clamp(2rem, 3.8vw, 2.9rem);
  --t-h3: 1.35rem;
  --t-body: 1.04rem;
  --t-small: 0.92rem;
  --t-kicker: 0.78rem;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", -apple-system, sans-serif; font-size: var(--t-body); line-height: 1.62; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Quicksand", "Inter", sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
img, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---- header ---- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(254, 244, 216, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 30px; padding: 14px 28px; max-width: var(--max); margin: 0 auto; }
.nav .brand { margin-right: auto; display: block; }
.nav .brand img { height: 52px; width: auto; }
.nav a.item { color: var(--ink-soft); font-size: var(--t-small); font-weight: 600; }
.nav a.item:hover { color: var(--ink); text-decoration: none; }
.nav a.cta { background: var(--coral); color: var(--ink); font-weight: 700; padding: 10px 20px; border-radius: 8px; font-size: var(--t-small); }
.nav a.cta:hover { background: var(--coral-deep); color: #fff; text-decoration: none; }

/* ---- hero: type-led, warm photo beside ---- */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.hero .kicker { margin-bottom: 22px; }
.hero h1 { font-size: var(--t-hero); margin-bottom: 22px; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--coral-deep); }
.hero .sub { color: var(--ink-soft); font-size: 1.18rem; max-width: 46ch; margin-bottom: 34px; line-height: 1.5; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .photo img { border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: 0 30px 70px rgba(7, 21, 28, 0.18); }

.btn { display: inline-block; background: var(--coral); color: var(--ink); font-weight: 700; padding: 14px 28px; border-radius: 8px; font-size: var(--t-body); border: none; cursor: pointer; font-family: "Inter", sans-serif; }
.btn:hover { background: var(--coral-deep); color: #fff; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(7,21,28,0.3); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(7,21,28,0.04); color: var(--ink); }
.btn.blue { background: var(--blue); color: var(--cream); }
.btn.blue:hover { background: var(--blue-deep); color: var(--cream); }

/* ---- bands ---- */
section.band { padding: 92px 0; }
section.band.paper { background: var(--paper); }
section.band.blue { background: var(--blue); color: var(--cream); }
section.band.blue h2, section.band.blue h3 { color: var(--cream); }
section.band.blue p { color: rgba(254, 244, 216, 0.8); }
section.band.blue .kicker { color: var(--coral); }
section.band.midnight { background: var(--ink); color: var(--cream); }
section.band.midnight h2, section.band.midnight h3 { color: var(--cream); }
section.band.midnight p { color: rgba(254, 244, 216, 0.78); }
.kicker { color: var(--coral-deep); text-transform: uppercase; letter-spacing: 0.2em; font-size: var(--t-kicker); font-weight: 700; margin-bottom: 16px; }
.band h2 { font-size: var(--t-h2); max-width: 22ch; margin-bottom: 18px; }
.band .lead { color: var(--ink-soft); max-width: 58ch; font-size: 1.1rem; margin-bottom: 44px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row h2 { margin-bottom: 0; }
.head-row a { font-weight: 700; font-size: var(--t-small); }

/* ---- service cards with photos ---- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(7,21,28,0.12); }
.svc .photo { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.svc .photo img { width: 100%; height: 100%; object-fit: cover; }
.svc .photo .num { position: absolute; left: 18px; top: 18px; background: var(--coral); color: var(--ink); font-family: "Quicksand", sans-serif; font-weight: 700; padding: 6px 12px; border-radius: 8px; font-size: 0.95rem; }
.svc .body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc h3 { font-size: var(--t-h3); }
.svc p { color: var(--ink-soft); font-size: var(--t-small); flex: 1; }
.svc a { font-weight: 700; font-size: var(--t-small); }

/* ---- quote ---- */
.quote { max-width: 48rem; }
.quote p { font-family: "Quicksand", sans-serif; font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.4; margin-bottom: 16px; }
.quote cite { font-style: normal; font-size: var(--t-small); opacity: 0.8; }

/* ---- split film band ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.film { border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(7,21,28,0.35); }
.film video { width: 100%; aspect-ratio: 16/9; }

/* ---- principles ---- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.principle { border-top: 3px solid var(--coral); padding-top: 20px; }
.principle h3 { font-size: var(--t-h3); margin-bottom: 10px; }
.principle p { font-size: var(--t-small); }

/* ---- who ---- */
.who { display: flex; gap: 12px; flex-wrap: wrap; }
.who span { border: 1.5px solid var(--line); background: var(--paper); border-radius: 8px; padding: 10px 20px; color: var(--ink); font-family: "Quicksand", sans-serif; font-weight: 700; font-size: var(--t-small); }
.who span.odd { background: var(--coral); border-color: var(--coral); }

/* ---- insight cards (CMS index reuses) ---- */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.insight-card { display: block; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.insight-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 24px 50px rgba(7,21,28,0.12); }
.insight-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--blue-deep); }
.insight-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.insight-card .body { padding: 20px 22px 24px; }
.insight-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.insight-card p { color: var(--ink-soft); font-size: var(--t-small); }
.insight-card .more { color: var(--coral-deep); font-weight: 700; margin-top: 12px; display: inline-block; font-size: var(--t-small); }

/* ---- CTA band ---- */
.cta-band { background: var(--ink); color: var(--cream); border-radius: 20px; padding: 64px 56px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: var(--t-h2); max-width: 18ch; color: var(--cream); margin: 0; }
.cta-band p { color: rgba(254,244,216,0.78); max-width: 42ch; }
.cta-band .btn { margin-left: auto; }

/* ---- contact form ---- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; max-width: 580px; }
.form-card label { display: block; font-size: var(--t-small); font-weight: 600; margin: 16px 0 6px; color: var(--ink-soft); }
.form-card input, .form-card textarea { width: 100%; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; font-family: "Inter", sans-serif; font-size: var(--t-body); }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--blue); }
.form-card .consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 0.8rem; color: var(--ink-faint); }
.form-card .consent input { width: auto; margin-top: 3px; }
.form-note { font-size: var(--t-small); color: var(--ink-faint); margin-top: 14px; }
.form-note.is-success { color: #1f7a4d; }
.form-note.is-error { color: var(--coral-deep); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---- footer ---- */
footer.site { background: var(--ink); color: var(--cream); padding: 56px 0 44px; }
.foot { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.foot .brandcol { margin-right: auto; max-width: 360px; }
.foot .brandcol img { height: 70px; margin-bottom: 16px; }
.foot p, .foot a { color: rgba(254,244,216,0.55); font-size: 0.82rem; line-height: 1.6; }
.foot a:hover { color: var(--cream); }
.foot .col { display: flex; flex-direction: column; gap: 8px; }
.foot .col strong { color: rgba(254,244,216,0.85); font-size: var(--t-small); margin-bottom: 4px; }

/* ---- article pages (CMS posts) ---- */
.post-wrap { max-width: 760px; margin: 0 auto; padding: 64px 28px 80px; }
.post-wrap h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.post-wrap .byline, .post-wrap .post-kicker { color: var(--ink-faint); font-size: var(--t-small); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.post-wrap .post-excerpt { font-family: "Quicksand", sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--ink-soft); margin-bottom: 28px; line-height: 1.45; }
.post-wrap h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.post-wrap h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.post-wrap p, .post-wrap li { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.06rem; }
.post-wrap ul, .post-wrap ol { padding-left: 24px; }
.post-wrap strong { color: var(--ink); }
.post-wrap blockquote { border-left: 4px solid var(--coral); padding: 6px 0 6px 20px; margin: 24px 0; font-style: italic; }
.post-wrap img.post-img, .post-hero { border-radius: 14px; margin: 24px 0 32px; width: 100%; }
.video-panel video { width: 100%; border-radius: 14px; background: #000; }
.share-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 40px 0 20px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--ink-faint); }
.share-row a, .share-row button { color: var(--blue); font-weight: 600; background: none; border: none; cursor: pointer; font-family: inherit; font-size: inherit; padding: 0; }
.post-back a { font-weight: 600; }
.gate { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-top: 28px; }
.gate h3 { font-size: 1.3rem; margin-bottom: 6px; }
.gate .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.gate .form-field-full { grid-column: 1 / -1; }
.gate label { display: block; font-size: var(--t-small); font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.gate input[type="text"], .gate input[type="email"], .gate input:not([type]) { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-family: "Inter", sans-serif; font-size: var(--t-body); }
.gate .consent-row label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.82rem; color: var(--ink-faint); }
.gate .consent-row input { width: auto; margin-top: 3px; }
.gate .button { display: inline-block; background: var(--coral); color: var(--ink); font-weight: 700; padding: 13px 26px; border-radius: 8px; border: none; cursor: pointer; font-family: "Inter", sans-serif; }
.gate .form-status { font-size: var(--t-small); color: var(--ink-faint); margin-top: 10px; }
@media (max-width: 640px) { .gate .form-grid { grid-template-columns: 1fr; } }

/* ---- reveals ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .hero .wrap, .svc-grid, .principles, .insight-grid, .split { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 56px; }
  .nav { gap: 16px; overflow-x: auto; }
  .nav .brand img { height: 40px; }
  .cta-band { padding: 44px 30px; }
  .cta-band .btn { margin-left: 0; }
}

/* stock-photo attribution under CMS heroes */
.photo-credit { font-size: 0.74rem; color: var(--ink-faint); margin: -22px 0 28px; text-align: right; }
.photo-credit a { color: var(--ink-faint); text-decoration: underline; }
