/* ============================================================================
   TeamExodus — the token layer for the inherited pages.
   Written by 06_theme.py to assets/jmc-theme.css. Edit THIS file, not a string.

   This is NOT a design layer. Jeffrey's site already IS the unclekris.com
   design, converted dark -> light and recoloured gold + green on cream: his
   pages carry the same chrome ids (ukNav, ukFabGroup, ukBookbar, ukProgress)
   and the same type (Cormorant Garamond / Montserrat / Inter) as the source.
   So nothing here rebuilds navigation, buttons, cards, the footer or the icon
   set — that is his own CSS's job, and Belle's/Ina's 06_theme design layer was
   deliberately dropped from this pipeline (see siteconfig.py).

   All this file does is DEFINE the seven variables 19_light.py rewrites the
   inherited colours into, so they resolve to Jeffrey's palette:

       --ic-fg-rgb        text
       --ic-bg-rgb        page ground
       --ic-bg2-rgb       raised panel
       --ic-bg3-rgb       band / well
       --ic-acc           text accent (a colour, not a triplet)
       --ic-line-rgb      hairlines and rules
       --ic-acc-fill-rgb  accent fills (never text)

   Read off dmcihomes-jmc.com 2026-11-06:
       paper #FAF7EF  raised #F1ECDD  band #E7DFC7
       gold  #B8912A  gold-light #D4AF4A  gold-dark #8C6F1F
       green #2F6B45  green-dark #1F4A2F
       ink   #12190F  body #3C4A3A
   ========================================================================== */

/* ----------------------------------------------------------------------------
   THE LIGHT GROUND — his cream paper with gold accents.

   --ic-acc is #7A5F12, not his own --gold-dark #8C6F1F. 19_light uses --ic-acc
   for TEXT, and #8C6F1F measures 4.45:1 on #FAF7EF — just under AA body (4.5).
   #7A5F12 is the same gold one step deeper and measures 5.65:1. His own
   --gold-dark is untouched and still does its work in his stylesheet; this
   token only governs text the conversion rewrote.
   Measured with the WCAG relative-luminance formula, 2026-11-06.
   -------------------------------------------------------------------------- */
:root{
 --ic-fg-rgb:18 25 15;            /* #12190F  ink      16.74:1 on paper */
 --ic-bg-rgb:250 247 239;         /* #FAF7EF  paper                     */
 --ic-bg2-rgb:241 236 221;        /* #F1ECDD  raised panel              */
 --ic-bg3-rgb:231 223 199;        /* #E7DFC7  band / well               */
 --ic-acc:#7A5F12;                /* gold text accent  5.65:1 on paper  */
 --ic-line-rgb:184 145 42;        /* #B8912A  hairline, used with alpha */
 --ic-acc-fill-rgb:212 175 74;    /* #D4AF4A  accent fill, never text   */
}

/* ----------------------------------------------------------------------------
   DARK SCOPES — anything carrying a photograph.

   The source pages set white text over hero images. On the cream ground that
   text would vanish, so 19_light rewrote it into the tokens above; inside a
   photographic element the tokens flip back to light-on-dark and the text over
   the picture stays readable. The selector list is matched on the PRESENCE OF A
   PHOTOGRAPH rather than on a list of hero class names, so a new page needs no
   maintenance here.

   His deep green (#15331F / #1F4A2F) is the dark ground rather than a black —
   it is the same green family as his footer rule and his buttons.

   NOTE: there is deliberately NO `footer` scope in this file. Belle's and Ina's
   footers are deep sage, but Jeffrey's `.footer` is `background:var(--dark-2)`
   and on his site --dark-2 is #F1ECDD — his footer is CREAM. A dark footer
   scope here would make his footer text cream-on-cream.
   -------------------------------------------------------------------------- */
.ic-dark,[style*="url("]:not([style*="url(data:"]):not([style*="url('data:"]):not([style*='url("data:']),
:where(section,header,div,article,aside,a,figure,li):has(> [class*="bg"][style*="url("]),
:where(section,header,div,article,aside,a,figure,li):has(> [class*="overlay"]),
:where(section,header,div,article,aside,a,figure,li):has(> [class*="scrim"]),
:where(section,header,div,article,aside,a,figure,li):has(> img[class*="hero"]),
:where(section,header,div,article,aside,a,figure,li):has(> img[class*="media"]),
:where(section,header,div,article,aside,a,figure,li):has(> img[class*="bg"]),
:where(section,header,div,article,aside,a,figure,li):has(> picture[class*="hero"]),
:where(section,header,div,article,aside,a,figure,li):has(> video){
 --ic-fg-rgb:241 236 221;         /* cream     11.66:1 on #15331F */
 --ic-bg-rgb:21 51 31;            /* #15331F   deep green         */
 --ic-bg2-rgb:31 74 47;           /* #1F4A2F   green-dark         */
 --ic-bg3-rgb:18 41 27;           /* #12291B                      */
 --ic-acc:#E3C874;                /* pale gold  8.38:1 on #15331F */
 --ic-line-rgb:212 175 74;
 --ic-acc-fill-rgb:212 175 74;
}

/* ----------------------------------------------------------------------------
   PORTRAIT FRAMING — one photograph, every slot. His face sits about a fifth of
   the way down a 1274x1560 frame, so each crop is anchored near the top.
   -------------------------------------------------------------------------- */
img[src*="assets/jeffrey-cepillo."]{object-fit:cover!important;
 object-position:50% 14%!important}
img[src*="assets/jeffrey-cepillo-sq."]{object-fit:cover!important;
 object-position:50% 26%!important}
img[src*="assets/jeffrey-cepillo-card."]{object-fit:cover!important;
 object-position:50% 18%!important}
img[src*="agent-photo"]{object-fit:cover!important;object-position:50% 14%!important}

/* The inherited agent cards are fixed-height (420px, 260px under 768). At
   tablet width that is a wide strip that cuts the head off; once the card runs
   full width, give it a shape instead of a height. */
@media (max-width:1024px){
 img.agent-photo[src*="jeffrey-cepillo-card."],
 .agent>img[src*="jeffrey-cepillo-card."],
 img.agent-photo[src*="agent-photo"]{height:auto!important;
  aspect-ratio:5/4;max-height:560px}
}
/* One South Drive's round avatar sits in a flex row and was squeezed to an
   oval (46x68) on phones. */
.agent-photo-row>.agent-photo{flex-shrink:0}

/* ----------------------------------------------------------------------------
   HERO SHADE — shade the type, never the picture (Kris, 2026-09-09: "the hero
   images are now too dark … they no longer highlight the beauty of each
   property"; memory feedback_photography_is_the_product).

   The source's hero scrims are FULL-FRAME (rgba(7,9,15) at .45–.96 over the
   whole photograph — unclekris.com is a dark site). 24_jmc maps that near-black
   onto his deep green, so on the first 2026-11-06 build every property hero sat
   under a green wash. His live site had the photograph clear behind a frosted
   card; the source no longer has that card's markup, so the closest honest
   treatment is a DIRECTIONAL shade in his ink (#12190F): dense behind the copy
   column, clear across the rest of the frame, a short floor for the stats strip.
   Phones stack the copy full-width, so there the shade rises from the bottom.
   -------------------------------------------------------------------------- */
.hero-bg::after,.page-hero-bg::after{
 background:
  linear-gradient(90deg,rgba(18,25,15,.70) 0%,rgba(18,25,15,.50) 30%,rgba(18,25,15,.14) 56%,rgba(18,25,15,0) 72%),
  linear-gradient(to top,rgba(18,25,15,.50) 0%,rgba(18,25,15,0) 26%)!important}
.hero-overlay{
 background:linear-gradient(to right,rgba(18,25,15,.72) 0%,rgba(18,25,15,.46) 34%,rgba(18,25,15,.10) 62%,transparent 78%)!important}
@media (max-width:768px){
 .hero-bg::after,.page-hero-bg::after,.hero-overlay{
  background:linear-gradient(to top,rgba(18,25,15,.84) 0%,rgba(18,25,15,.56) 42%,rgba(18,25,15,.16) 72%,rgba(18,25,15,.22) 100%)!important}
}
