/* ==========================================================================
   Mich Agency shared stylesheet
   One file for all five pages. Change a token here, it changes everywhere.
   ========================================================================== */

:root {
  /* Brand ---------------------------------------------------------------- */
  --accent:        #9D8B7E;  /* the brand accent: change here, nowhere else */
  --accent-light:  #C9B7A6;
  --accent-mid:    #B7A08C;
  --accent-deep:   #725F53;

  /* Dark side (Apps & Games) --------------------------------------------- */
  --dark:          #1D1A17;
  --dark-panel:    #26221E;
  --dark-panel-2:  #2A2620;
  --dark-foot:     #14110F;
  --dark-text:     #F5EDE4;
  --dark-muted:    #C0B6AC;
  --dark-muted-2:  #B0A79D;
  --dark-dim:      #8F857B;
  --dark-dim-2:    #5A524A;
  --dark-rule:     rgba(245, 237, 228, .08);

  /* Cream side (Beauty & Lifestyle) -------------------------------------- */
  --cream:         #F6F0E8;
  --cream-deep:    #EFE7DC;
  --cream-card:    #FBF7F1;
  --cream-soft:    #FBF9F6;
  --ink:           #2D2420;
  --ink-soft:      #4A4340;
  --ink-muted:     #5A5149;
  --ink-dim:       #6B6259;
  --ink-faint:     #8A7F74;
  --rule:          #E4DACE;
  --rule-light:    #EEEBE8;
  --field-border:  #DDD0C0;

  /* Type ----------------------------------------------------------------- */
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  /* Motion --------------------------------------------------------------- */
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Layout --------------------------------------------------------------- */
  --wide: 1200px;
  --narrow: 1180px;
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); letter-spacing: -.02em; }

/* Page-level themes ------------------------------------------------------- */
body.theme-dark  { background: var(--dark); }
body.theme-light { background: #fff; }
body.theme-cream { background: var(--cream); }

body.theme-dark  ::selection,
body.theme-light ::selection { background: var(--accent); color: #fff; }
body.theme-cream ::selection { background: var(--accent-deep); color: var(--cream); }

.wrap        { max-width: var(--wide);   margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 44px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Motion: entrance animations
   Content is visible at rest; JS adds .is-armed only when it can animate, so
   with JS disabled or broken everything stays readable. That is why the
   hidden state is scoped to .is-armed rather than being the default.
   ========================================================================== */
.is-armed .reveal,
.is-armed [data-rise] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.is-armed .reveal.is-in,
.is-armed [data-rise].is-in {
  opacity: 1;
  transform: none;
}

.is-armed [data-bar] { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.is-armed [data-bar].is-in { transform: scaleX(1); }

.is-armed [data-draw] { transition: stroke-dashoffset 1.6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .is-armed .reveal,
  .is-armed [data-rise],
  .is-armed [data-bar] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.btn .arw { opacity: .6; }

/* Dark-side button shapes (square-ish, 9px) */
.btn-accent {
  background: var(--accent-light);
  color: var(--dark);
  padding: 15px 28px;
  border-radius: 9px;
}
.btn-accent:hover { background: var(--accent-mid); }

.btn-ghost-dark {
  background: transparent;
  color: var(--dark-text);
  padding: 15px 28px;
  border-radius: 9px;
  border: 1.5px solid rgba(245, 237, 228, .24);
}
.btn-ghost-dark:hover { border-color: var(--accent); }

.btn-nav {
  background: var(--accent-light);
  color: var(--dark);
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
}
.btn-nav:hover { background: var(--accent-mid); }

/* Cream-side button shapes (pill) */
.btn-ink {
  background: var(--ink);
  color: var(--cream);
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 500;
}
.btn-ink:hover { background: var(--accent-deep); }

.btn-nav-ink {
  background: var(--ink);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}
.btn-nav-ink:hover { background: var(--accent-deep); }

.btn-underline {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--accent-light);
  padding-bottom: 2px;
  gap: 8px;
}
.btn-underline:hover { border-color: var(--ink); }

.btn-outline {
  background: #fff;
  border: 1.5px solid var(--rule);
  color: var(--ink);
  padding: 13px 24px;
  border-radius: 9px;
  font-size: 14px;
}
.btn-outline:hover { border-color: var(--accent); }

.btn-outline-pill {
  background: transparent;
  border: 1.5px solid var(--accent-light);
  color: var(--ink);
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}
.btn-outline-pill:hover { border-color: var(--ink); }

/* A button that looks like a link (used for "Cookie settings"). */
.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand img { display: block; height: 60px; width: auto; }
.nav-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-left: 12px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; transition: color .25s ease; }
.nav-cross { font-family: var(--mono); font-size: 13px; }

/* Dark nav */
.nav-dark { background: rgba(29, 26, 23, .85); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-dark .nav-inner { padding-block: 18px; }
.nav-dark .nav-brand { color: var(--dark-text); }
.nav-dark .nav-tag { border-left: 1px solid rgba(157, 139, 126, .4); font-weight: 500; }
.nav-dark .nav-links a { color: #C9C0B7; }
.nav-dark .nav-links a:hover { color: #fff; }
.nav-dark .nav-cross { color: var(--accent); }
.nav-dark .nav-cross:hover { color: var(--accent-light); }
/* Specificity: `.nav-dark .nav-links a` would otherwise beat `.btn-nav` and
   paint the CTA's label in the link colour: light text on a light button. */
.nav-dark .nav-links a.btn-nav,
.nav-dark .nav-links a.btn-nav:hover { color: var(--dark); }

/* Cream nav */
.nav-cream { background: rgba(246, 240, 232, .82); border-bottom: 1px solid var(--rule); }
.nav-cream .nav-inner { padding-block: 22px; }
.nav-cream .nav-brand { color: var(--ink); }
.nav-cream .nav-tag { border-left: 1px solid rgba(157, 139, 126, .5); }
.nav-cream .nav-links { gap: 34px; }
.nav-cream .nav-links a { color: var(--ink-muted); font-weight: 400; }
.nav-cream .nav-links a:hover { color: var(--ink); }
.nav-cream .nav-cross { color: var(--accent); }
.nav-cream .nav-cross:hover { color: var(--accent-deep); }
.nav-cream .nav-links a.btn-nav-ink,
.nav-cream .nav-links a.btn-nav-ink:hover { color: var(--cream); }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  padding-block: 46px;
}
.foot-inner > a img { display: block; height: 26px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; }
.foot-links a, .foot-links button { text-decoration: none; font-size: 13px; transition: color .25s ease; }
.foot-copy { font-family: var(--mono); font-size: 11px; }

.foot-dark { background: var(--dark-foot); color: var(--dark-dim); }
.foot-dark a, .foot-dark button { color: var(--dark-dim); }
.foot-dark a:hover, .foot-dark button:hover { color: var(--dark-text); }
.foot-dark .foot-copy { color: var(--dark-dim-2); }

.foot-ink { background: var(--ink); color: #B7ADA3; }
.foot-ink a, .foot-ink button { color: #B7ADA3; }
.foot-ink a:hover, .foot-ink button:hover { color: var(--cream); }
.foot-ink .foot-copy { color: #6E655C; }
.foot-ink .foot-inner { padding-block: 48px; }

/* Legal note in the footer: company registration details. */
.foot-legal {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
}
.foot-dark .foot-legal { color: var(--dark-dim-2); }
.foot-ink .foot-legal { color: #6E655C; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-fields { display: flex; flex-direction: column; gap: 14px; }
.form-fields input,
.form-fields textarea {
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s ease;
}
.form-fields textarea { resize: vertical; }
.form-note { margin: 2px 0 0; font-size: 12px; color: #9A9089; text-align: center; }
.form-consent { margin: 8px 0 0; font-size: 11px; line-height: 1.5; color: #9A9089; text-align: center; }

/* Honeypot: hidden from humans, tempting to bots. Not display:none, which
   some bots detect and skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Dark form (apps) */
.form-dark { background: #fff; color: var(--ink); border-radius: 18px; padding: 34px; }
.form-dark input, .form-dark textarea {
  padding: 13px 15px;
  border: 1.5px solid var(--rule);
  border-radius: 9px;
}
.form-dark input:focus, .form-dark textarea:focus { border-color: var(--accent); outline: none; }
.form-dark button[type="submit"] {
  margin-top: 4px;
  background: var(--dark);
  color: #fff;
  padding: 15px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
}
.form-dark button[type="submit"]:hover { background: var(--accent-deep); }
.form-dark .form-consent a { color: var(--accent-light); }

/* Cream form (brands) */
.form-cream {
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 36px;
}
.form-cream input, .form-cream textarea {
  padding: 14px 16px;
  border: 1px solid var(--field-border);
  border-radius: 4px;
  background: #fff;
}
.form-cream input:focus, .form-cream textarea:focus { border-color: var(--accent); outline: none; }
.form-cream button[type="submit"] {
  margin-top: 4px;
  background: var(--ink);
  color: var(--cream);
  padding: 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  justify-content: center;
}
.form-cream button[type="submit"]:hover { background: var(--accent-deep); }
.form-cream .form-consent a { color: var(--accent-deep); }

button[type="submit"]:disabled { opacity: .7; cursor: default; }

/* ==========================================================================
   index.html: the door selector
   ========================================================================== */
.doors {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.door {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px;
  min-height: 100vh;
  transition: filter .4s ease;
}
.door:hover { filter: brightness(1.04); }

.door-media { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.door:hover .door-media { transform: scale(1.05) translateY(-2%); }
.door-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door-scrim { position: absolute; inset: 0; }
.door-body { position: relative; z-index: 2; }
.door-body h2 {
  font-weight: 700;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.03;
  margin: 0 0 18px;
}
.door-body p { font-size: 17px; line-height: 1.6; max-width: 40ch; margin: 0 0 30px; }
.door-body .eyebrow { display: block; margin-bottom: 20px; }

.door-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: gap .3s ease;
}
.door:hover .door-cta { gap: 18px; }
.door-cta span { color: var(--accent); }

.door-apps { background: var(--dark); color: var(--dark-text); border-right: 1px solid rgba(245, 237, 228, .08); }
.door-apps .door-scrim {
  background: linear-gradient(to top, rgba(20,17,15,.94) 0%, rgba(20,17,15,.55) 40%, rgba(20,17,15,.28) 78%, rgba(20,17,15,.4) 100%);
}
.door-apps p { color: var(--dark-muted); }

.door-brands { background: var(--cream); color: var(--ink); }
.door-brands .door-scrim {
  background: linear-gradient(to top, rgba(246,240,232,.94) 0%, rgba(246,240,232,.5) 38%, rgba(246,240,232,.12) 74%, rgba(246,240,232,.28) 100%);
}
.door-brands p { color: var(--ink-muted); }

.home-mark { position: fixed; top: 0; left: 0; right: 0; z-index: 20; pointer-events: none; }
.home-mark-scrim {
  position: absolute; top: 0; left: 0; right: 0; height: 140px;
  background: linear-gradient(180deg, rgba(12,10,9,.66) 0%, rgba(12,10,9,.22) 55%, transparent 100%);
}
.home-mark-row { position: relative; display: flex; justify-content: center; padding: 34px; }
.home-mark-row img { position: relative; display: block; height: 80px; width: auto; }

.home-foot {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  justify-content: center; align-items: center;
  padding: 22px;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--dark-dim);
}
.home-foot nav { pointer-events: auto; display: flex; gap: 14px; }
.home-foot a, .home-foot button {
  color: var(--dark-dim);
  text-decoration: none;
  font: inherit;
  transition: color .25s ease;
}
.home-foot a:hover, .home-foot button:hover { color: var(--dark-text); }

/* ==========================================================================
   Shared section furniture
   ========================================================================== */
.section { padding-block: 100px 40px; }
.section-head { max-width: 60ch; margin-bottom: 52px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 {
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  margin: 0;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.stat-num { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1; }
.stat-label { font-size: 13px; margin-top: 6px; }

/* ==========================================================================
   apps.html
   ========================================================================== */
.apps-hero { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-text); }
.apps-hero-bg { position: absolute; inset: 0; z-index: 0; }
.apps-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.apps-hero-bg .g1 { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,26,23,.97) 0%, rgba(29,26,23,.82) 34%, rgba(29,26,23,.5) 62%, rgba(29,26,23,.62) 100%); }
.apps-hero-bg .g2 { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29,26,23,.9) 0%, rgba(29,26,23,0) 30%, rgba(29,26,23,0) 70%, rgba(29,26,23,.55) 100%); }
.apps-hero-inner { position: relative; z-index: 1; padding-block: 96px 104px; }
.apps-hero .eyebrow { display: block; letter-spacing: .22em; margin-bottom: 26px; }
.apps-hero h1 {
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 0 0 28px;
  max-width: 16ch;
}
.apps-hero h1 em { font-style: italic; font-weight: 500; color: var(--accent-light); }
.apps-hero-lead { font-size: 20px; line-height: 1.6; color: var(--dark-muted); max-width: 56ch; margin: 0 0 40px; }
.apps-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.panel {
  background: var(--dark-panel);
  border: 1px solid var(--dark-rule);
  border-radius: 18px;
  padding: 30px 34px;
  color: var(--dark-text);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; gap: 16px; flex-wrap: wrap;
}
.panel-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-light);
}
.panel-note { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--dark-dim); }

.creative-board { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; align-items: stretch; }
.creative-hero { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--accent); min-height: 230px; }
.creative-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; display: block; }
.creative-hero .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,15,13,.92) 0%, rgba(18,15,13,.05) 60%); }
.creative-hero-foot {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.creative-title { font-size: 15px; color: var(--dark-text); font-weight: 600; }
.creative-meta { font-family: var(--mono); font-size: 11px; color: var(--accent-light); margin-top: 3px; }
.creative-badge {
  text-align: center; background: var(--accent); color: var(--dark);
  border-radius: 8px; padding: 7px 11px; flex: none;
}
.creative-badge b { font-family: var(--mono); font-size: 17px; font-weight: 600; line-height: 1; display: block; }
.creative-badge span { font-size: 8px; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; display: block; }

.creative-card { border-radius: 12px; overflow: hidden; background: var(--dark-panel-2); display: flex; flex-direction: column; }
.creative-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.creative-card-body { padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; flex: 1; }
.creative-card-body .t { font-size: 13px; color: #DED4C8; font-weight: 600; }
.creative-card-body .m { font-family: var(--mono); font-size: 10px; color: var(--dark-dim); margin-top: 2px; }
.creative-card-body .v { font-family: var(--mono); font-size: 14px; color: var(--dark-muted); font-weight: 500; }

.approach-card {
  padding: 32px 30px;
  border: 1px solid var(--rule-light);
  border-radius: 16px;
  background: #fff;
  transition: border-color .25s ease;
}
.approach-card:hover { border-color: var(--accent); }
.approach-card .k { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 16px; }
.approach-card p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

.growth-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.growth-metrics { display: flex; flex-direction: column; gap: 16px; }
.metric-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.metric-row .n { color: var(--dark-muted-2); }
.metric-row .v { font-family: var(--mono); color: var(--accent-light); font-weight: 500; }
.metric-track { height: 6px; background: #3A332C; border-radius: 4px; overflow: hidden; }
.metric-track > div { height: 100%; background: var(--accent); border-radius: 4px; transform-origin: left; }

.services-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.services-head h2 { font-weight: 700; font-size: 28px; margin: 0; }
.services-head span { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  background: var(--cream-soft);
  border: 1px solid var(--rule-light);
  border-radius: 14px;
  padding: 26px;
  transition: border-color .25s ease;
}
.service-card:hover { border-color: var(--accent); }
.service-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 0 0 8px; letter-spacing: 0; }
.service-card p { font-size: 14px; line-height: 1.6; color: var(--ink-dim); margin: 0; }

.proof { background: var(--dark); border-radius: 20px; padding: 44px 48px; color: var(--dark-text); }
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 38px; }
.proof-stats .stat-label { color: var(--dark-muted-2); }
.proof-logos { border-top: 1px solid rgba(245, 237, 228, .12); padding-top: 26px; }
.proof-logos .eyebrow { display: block; font-size: 11px; letter-spacing: .16em; margin-bottom: 18px; }
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; }
.logo-wall svg { display: block; opacity: .72; }

.case-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: stretch; padding-block: 40px 100px; }
.case-card { background: #fff; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.case-media { height: 170px; overflow: hidden; position: relative; }
.case-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-icon {
  position: absolute; left: 20px; bottom: 14px;
  width: 60px; height: 60px; border-radius: 14px;
  border: 3px solid #fff; overflow: hidden;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .5);
}
.case-icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.42); display: block; }
.case-body { padding: 30px 32px; }
.case-body .eyebrow { display: block; font-size: 11px; letter-spacing: .14em; margin-bottom: 12px; }
.case-body h3 { font-weight: 700; font-size: 24px; margin: 0 0 12px; }
.case-body > p { font-size: 14px; line-height: 1.65; color: var(--ink-dim); margin: 0 0 22px; max-width: 52ch; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--rule-light); padding-top: 22px; }
.case-stats .n { font-family: var(--mono); font-size: 24px; color: var(--accent-deep); font-weight: 500; }
.case-stats .l { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }

.quote-card {
  background: var(--dark); color: var(--dark-text);
  border-radius: 18px; padding: 36px; margin: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
.quote-card blockquote { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; margin: 0; }
.quote-card figcaption { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.quote-card figcaption .n { display: block; font-size: 14px; font-weight: 600; }
.quote-card figcaption .r { display: block; font-size: 12px; color: #B7ADA3; font-family: var(--mono); }

/* Founder block, shared by both division pages */
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; padding-block: 100px; }
.founder-photo { aspect-ratio: 4/5; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.founder-body .eyebrow { display: block; margin-bottom: 18px; }
.founder-body h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  margin: 0 0 20px;
}
.founder-body > p { font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 54ch; margin: 0 0 20px; }
.founder-body strong { color: var(--ink); }
.founder-quote {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.45; color: var(--accent-deep);
  border-left: 2px solid var(--accent);
  padding-left: 20px; margin: 0 0 28px;
}
.recognition { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.recognition .eyebrow { display: block; font-size: 11px; letter-spacing: .16em; margin-bottom: 14px; }
.recognition ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14px; color: var(--ink-soft); }
.recognition li { display: flex; gap: 12px; align-items: baseline; }
.recognition .role { font-family: var(--mono); color: var(--accent); font-size: 12px; white-space: nowrap; min-width: 96px; }

.contact-dark { background: var(--dark); color: var(--dark-text); }
.contact-dark .grid-2 { padding-block: 104px; }
.contact-dark .eyebrow { display: block; margin-bottom: 18px; }
.contact-dark h2 { font-weight: 700; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; margin: 0 0 22px; }
.contact-dark > .wrap > .grid-2 > div > p { font-size: 17px; line-height: 1.6; color: var(--dark-muted); max-width: 46ch; margin: 0 0 32px; }
.contact-lines { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.contact-lines a { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.contact-lines .k { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.contact-dark .contact-lines a { color: var(--dark-text); }
.contact-dark .contact-lines .cross { color: var(--accent-light); font-family: var(--mono); font-size: 13px; }

/* ==========================================================================
   brands.html
   ========================================================================== */
.brands-hero { padding-block: 88px 80px; }
.brands-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.brands-hero .eyebrow { display: block; letter-spacing: .24em; margin-bottom: 30px; }
.brands-hero h1 {
  font-weight: 700;
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: 1.02;
  margin: 0 0 30px;
}
.brands-hero h1 em { font-style: italic; font-weight: 500; }
.brands-hero-lead { font-size: 20px; line-height: 1.65; color: var(--ink-muted); max-width: 46ch; margin: 0 0 40px; }
.brands-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-stack { position: relative; }
.hero-main { aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(45, 36, 32, .28); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.hero-inset {
  position: absolute; bottom: -26px; left: -26px;
  width: 132px; aspect-ratio: 3/4;
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(45, 36, 32, .3);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; display: block; }

.manifesto { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.manifesto p {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.35;
  letter-spacing: -.01em; color: var(--ink);
  max-width: 24ch; margin: 0;
  padding: 64px 0;
}

.approach-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-block: 100px 60px; }
.approach-col .k { font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--accent); margin-bottom: 16px; }
.approach-col h3 { font-weight: 600; font-size: 22px; letter-spacing: -.01em; margin: 0 0 12px; }
.approach-col p { font-size: 15px; line-height: 1.7; color: var(--ink-muted); margin: 0; }

.services-list { border-top: 1px solid var(--rule); }
.services-list > div {
  display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 32px;
  padding: 30px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.services-list .num { font-family: var(--mono); font-size: 13px; color: #B8A695; }
.services-list h3 { font-weight: 600; font-size: 24px; margin: 0; letter-spacing: 0; }
.services-list p { font-size: 15px; line-height: 1.7; color: var(--ink-muted); margin: 0; }

.lookbook { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.lookbook > div { border-radius: 4px; overflow: hidden; }
.lookbook img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lookbook .tall { grid-column: span 2; grid-row: span 2; }
.lookbook .wide { grid-column: span 2; }
.lookbook .fill-deep { background: var(--accent-deep); }
.lookbook .fill-grad { background: linear-gradient(140deg, #E8DED2, #D3C3B0); }
.lookbook .fill-light { background: var(--accent-light); }

.brands-case { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 80px; }
.brands-case-photo { aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(45, 36, 32, .28); }
.brands-case-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brands-case .eyebrow { display: block; font-size: 11px; letter-spacing: .16em; margin-bottom: 16px; }
.brands-case h3 { font-weight: 700; font-size: clamp(26px, 3vw, 36px); margin: 0 0 18px; }
.brands-case > div > p { font-size: 16px; line-height: 1.7; color: var(--ink-muted); margin: 0 0 28px; max-width: 48ch; }
.brands-case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--rule); padding-top: 26px; }
.brands-case-stats .n { font-family: var(--serif); font-weight: 700; font-size: 34px; line-height: 1; color: var(--ink); }
.brands-case-stats .l { font-size: 12px; color: var(--ink-faint); margin-top: 6px; }

.testimonial-band { background: var(--ink); color: var(--cream); }
.testimonial-band .inner { max-width: 940px; margin: 0 auto; padding: 100px 44px; text-align: center; }
.testimonial-band blockquote {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.35;
  letter-spacing: -.01em; margin: 0 0 34px;
}
.testimonial-who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-who .avatar { width: 46px; height: 46px; }
.testimonial-who .avatar img { object-position: center 20%; }
.testimonial-who .t { text-align: left; }
.testimonial-who .n { display: block; font-size: 14px; font-weight: 600; }
.testimonial-who .r { display: block; font-size: 12px; color: #B7ADA3; font-family: var(--mono); }

.brands-hero h2, .brands-section h2 { font-weight: 700; }
.brands-section-title { font-weight: 700; font-size: clamp(30px, 4vw, 46px); margin: 0 0 48px; max-width: 18ch; }
.work-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.work-head h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.work-head span { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }

.contact-cream { background: var(--cream-deep); border-top: 1px solid var(--rule); }
.contact-cream .grid-2 { padding-block: 100px; }
.contact-cream .eyebrow { display: block; margin-bottom: 18px; }
.contact-cream h2 { font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; margin: 0 0 24px; }
.contact-cream > .wrap-narrow > .grid-2 > div > p { font-size: 17px; line-height: 1.65; color: var(--ink-muted); max-width: 44ch; margin: 0 0 32px; }
.contact-cream .contact-lines a { color: var(--ink); }
.contact-cream .contact-lines .cross { color: var(--accent-deep); font-family: var(--mono); font-size: 13px; }
.contact-cream .founder-photo { border-radius: 4px; box-shadow: 0 30px 60px -34px rgba(45, 36, 32, .26); }

body.theme-cream .founder-photo { border-radius: 4px; box-shadow: 0 30px 60px -34px rgba(45, 36, 32, .26); }
body.theme-light .founder-photo { border-radius: 18px; }
body.theme-cream .founder-quote { font-size: 20px; border-left-color: var(--accent-light); padding-left: 22px; margin-bottom: 30px; }
body.theme-cream .founder-body > p { line-height: 1.7; }
body.theme-cream .founder-section { padding: 0; }

.founder-light { background: var(--cream-soft); border-top: 1px solid var(--rule-light); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .creative-board { grid-template-columns: 1fr 1fr; }
  .creative-hero { grid-column: span 2; }
  .growth-grid { grid-template-columns: 1fr; gap: 24px; }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .brands-hero-grid,
  .brands-case,
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-2 { grid-template-columns: 1fr; gap: 44px; }
  .approach-cols { grid-template-columns: 1fr; gap: 34px; }
  .lookbook { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 60vh; padding: 44px; }
  .door-apps { border-right: none; border-bottom: 1px solid rgba(245, 237, 228, .08); }
  .home-mark-row img { height: 56px; }
}

@media (max-width: 760px) {
  .wrap, .wrap-narrow { padding: 0 22px; }
  .nav-links { gap: 18px; }
  .nav-links .nav-hide-sm { display: none; }
  .nav-brand img { height: 44px; }
  .grid-3, .services-grid { grid-template-columns: 1fr; }
  .services-list > div { grid-template-columns: 40px 1fr; gap: 12px 18px; }
  .services-list p { grid-column: 2; }
  .proof { padding: 32px 26px; }
  .proof-stats { gap: 22px; }
  .case-stats, .brands-case-stats { grid-template-columns: 1fr; gap: 14px; }
  .apps-hero-inner { padding-block: 64px 72px; }
  .section, .contact-dark .grid-2, .contact-cream .grid-2, .founder-grid { padding-top: 64px; padding-bottom: 64px; }
  .testimonial-band .inner { padding: 64px 22px; }
  .manifesto p { padding: 44px 0; }
  .hero-inset { left: 0; bottom: -18px; width: 96px; }
  .foot-inner { gap: 22px; }
}

/* FAQ ---------------------------------------------------------------------- */
/* Built on <details>/<summary> so it needs no JavaScript and stays keyboard
   accessible. The answers live in the DOM whether or not the item is open,
   which is what the FAQPage structured data on these pages describes. */

.faq { background: var(--cream-soft); border-top: 1px solid var(--rule-light); }
.faq-cream { background: var(--cream); border-top: 1px solid var(--rule); }
.faq-inner { padding-block: 90px; }
.faq-head { max-width: 60ch; margin-bottom: 40px; }
.faq-head .eyebrow { display: block; margin-bottom: 16px; }

.faq-head h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0;
}

.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-deep); }

/* The marker is a rotating plus, drawn in CSS so no icon asset is needed. */
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
  transition: transform .25s var(--ease);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-answer {
  padding: 0 0 26px;
  margin: 0;
  max-width: 72ch;
  color: var(--ink-muted);
  line-height: 1.7;
}

.faq-item .faq-answer a { color: var(--accent-deep); }

@media (max-width: 720px) {
  .faq-inner { padding-block: 60px; }
  .faq-item summary { font-size: 16px; padding: 20px 0; }
}

/* Images ------------------------------------------------------------------ */
/* Every <img> is wrapped in <picture> to offer a WebP source with the original
   as fallback. display:contents makes the wrapper generate no box at all, so
   the existing `.parent img` rules and absolute positioning keep working
   exactly as they did before the wrapper existed. */
picture { display: contents; }

/* 404 --------------------------------------------------------------------- */
/* Cloudflare Pages serves this with a real 404 status. Without the file it
   falls back to index.html at 200, which reads as a soft 404 to crawlers. */

.notfound {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-block: 80px;
}

.notfound-mark { width: 132px; margin-bottom: 40px; }
.notfound-mark img { width: 100%; height: auto; display: block; }

.notfound h1 {
  font-family: var(--serif);
  color: var(--dark-text);
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 14px 0 0;
}

.notfound p {
  color: var(--dark-muted);
  max-width: 46ch;
  margin: 20px auto 0;
  line-height: 1.65;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
}

.notfound-foot {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.notfound-foot a,
.notfound-foot .linklike {
  color: var(--dark-muted);
  font-size: 13px;
  text-decoration: none;
}

.notfound-foot a:hover,
.notfound-foot .linklike:hover { color: var(--dark-text); }

@media (max-width: 720px) {
  .notfound { padding-block: 56px; }
  .notfound-mark { width: 104px; margin-bottom: 30px; }
  .notfound-actions { width: 100%; }
}
