/* John Casablancas mock site. Brand tokens first; every block uses them. */

/* Roboto, self-hosted (wwwroot/fonts; OFL licence alongside). Classic is the only style that uses it —
   every other style self-hosts its own font (see wwwroot/css/styles/). */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/roboto-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/roboto-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/roboto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/roboto-latin-400-italic.woff2") format("woff2"); }

:root {
  /* Live jcasablancas.com theme (Elementor global kit): black, red #B22202, grey text, Roboto. */
  --black: #000000;
  --dark: #000000;        /* headings */
  --red: #B22202;         /* buttons, links, accents */
  --red-dark: #AD1A1E;    /* hover */
  --gray-100: #f2f2f2;
  --gray-50: #f7f7f7;
  --ink: #000000;
  --text: #7A7A7A;        /* body text */
  --muted: var(--text);
  --line: #e2e2e2;
  --heading-accent: #D62828; /* location page headings */
  --nav-text: #DDDDDD;       /* top bar menu */
  --charcoal: #1C1C1C;
  /* These are the defaults; Builder › Site colours can change any of them (served as /theme.css, loaded after this file). */
  --white: #ffffff;
  --radius: 3px;
  --wrap: 1188px;         /* 1140px of content, like the live site */
  --narrow: 1188px;       /* the live site runs text the full width too */
  --display: "Roboto", Arial, sans-serif;
  --body: "Roboto", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--dark); }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.5rem; }
.display { text-transform: uppercase; letter-spacing: .04em; }
.eyebrow { font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-dark); margin: 0 0 .75rem; }
.eyebrow a { color: inherit; text-decoration: none; margin-right: .75rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--red); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: var(--narrow); }
.block { padding: 88px 0; }
.block + .block.rich-text, .rich-text + .block { padding-top: 24px; }
.section-title { text-align: center; }
.section-title a { color: inherit; text-decoration: none; }
.section-title a:hover { color: var(--red-dark); }
.section-intro { text-align: center; max-width: 640px; margin: -.25rem auto 2.5rem; color: var(--muted); }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.1em; }
.placeholder-note { border-left: 3px solid var(--red); background: var(--gray-50); padding: .9rem 1.1rem; color: var(--muted); font-size: .95rem; }
.block-missing { padding: 1rem; background: #fde8e8; color: #8a1c1c; }

/* Buttons */
.btn { display: inline-block; font-family: var(--body); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: .95rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-gold { background: var(--red); color: var(--black); }
.btn-gold:hover { background: var(--red-dark); color: var(--black); }
.btn-green { background: var(--red); color: var(--white); }
.btn-green:hover { background: var(--dark); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--dark); }

/* Header */
.site-header { background: var(--dark); color: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo img { width: 210px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav a { color: var(--white); text-decoration: none; }
.primary-nav > ul > li > a { display: block; white-space: nowrap; padding: .6rem .65rem; font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav > ul > li.active > a, .primary-nav > ul > li > a:hover { color: var(--red); }
.has-children > a::after { content: "▾"; margin-left: .35rem; font-size: .7em; }
.sub-menu { list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-children:hover .sub-menu, .has-children:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: .55rem 1.1rem; color: var(--ink); font-size: .95rem; }
.sub-menu a:hover { background: var(--gray-50); color: var(--red); }
.header-actions { display: flex; gap: 10px; }
.header-actions .btn { padding: .7rem 1.2rem; font-size: .72rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: .2s; }

.header-actions .btn { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-top: 1px solid rgba(255,255,255,.1); }
  .primary-nav.open { display: flex; }
  .primary-nav > ul { flex-direction: column; }
  .primary-nav > ul > li > a { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 .5rem 1rem; }
  .sub-menu a { color: rgba(255,255,255,.85); }
  .sub-menu a:hover { background: transparent; color: var(--red); }
  .header-actions { margin-top: 18px; flex-direction: column; }
  .header-actions .btn { text-align: center; padding: .9rem; }
  .logo img { width: 170px; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--black); overflow: hidden; display: flex; align-items: center; padding: 0; }
.hero-tall { min-height: min(86vh, 760px); }
.hero-short { min-height: 380px; }
.hero-media { position: absolute; inset: 0; }
.hero-media iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero h1, .hero h2 { color: var(--white); max-width: 14ch; font-size: clamp(2.8rem, 6.5vw, 5rem); }
.hero .eyebrow { color: var(--red); }
.hero-text { font-size: 1.15rem; max-width: 46ch; color: rgba(255,255,255,.88); }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 2rem; }
.hero-or { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: rgba(255,255,255,.75); }

/* Image and text */
.image-text-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.image-left .image-text-media { order: -1; }
.image-text-media { margin: 0; position: relative; }
.image-text-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.image-text-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--red); border-radius: var(--radius); z-index: -1; }
.image-text h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
@media (max-width: 860px) { .image-text-inner { grid-template-columns: 1fr; gap: 40px; } .image-left .image-text-media { order: 0; } }

/* Cards */
.card-grid { background: var(--gray-50); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.14); }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px 26px 30px; }
.card-body h3 { text-transform: uppercase; letter-spacing: .06em; font-size: 1.45rem; }
.card-body h3 a { color: var(--dark); text-decoration: none; }
.card-body p { margin: 0; color: var(--muted); font-size: .98rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-green { background: var(--dark); color: rgba(255,255,255,.88); }
.cta-green h2, .cta-green h2 a { color: var(--white); text-decoration: none; }
.cta-light { background: var(--gray-100); }
.cta-light h2 a { color: inherit; text-decoration: none; }
.cta-band .btn { margin-top: 1rem; }

/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 34px 24px; }
.member { text-align: center; }
.member img, .member-placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--gray-100); }
.member-placeholder { display: grid; place-items: center; font-family: var(--display); font-size: 3rem; color: var(--red); }
.member-name { margin: .9rem 0 0; font-weight: 600; }
.member-role { margin: 0; font-size: .88rem; color: var(--muted); }
.member-quote { margin: .7rem 0 0; font-size: .88rem; font-style: italic; color: var(--muted); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::after { content: "+"; color: var(--red-dark); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .prose { padding-top: .8rem; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.with-sidebar { display: grid; grid-template-columns: 1fr 240px; gap: 56px; }
@media (max-width: 900px) { .with-sidebar { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.post-card-media { display: block; aspect-ratio: 16 / 10; background: var(--dark); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-art { display: grid; place-items: center; height: 100%; font-family: var(--display); font-size: 1.8rem; color: var(--red); background: radial-gradient(circle at 30% 20%, var(--red), var(--black)); }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card time { font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.post-card h3 { font-size: 1.4rem; margin: .35rem 0 .6rem; }
.post-card h3 a { color: var(--dark); text-decoration: none; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; flex: 1; }
.read-more { font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.sidebar h2 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .08em; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li a { display: block; padding: .5rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a, .pager span { padding: .5rem .9rem; border-radius: 6px; border: 1px solid var(--line); text-decoration: none; }
.pager span { background: var(--dark); color: var(--white); border-color: var(--dark); }
.pager .pager-gap { background: none; color: var(--muted); border-color: transparent; }
.archive-header { background: var(--gray-50); padding: 64px 0 40px; }

/* Single post */
.post-header { padding-top: 72px; }
.post-header time { color: var(--muted); }
.post-image { margin: 40px auto; border-radius: var(--radius); }
.post-body { padding: 40px 24px 24px; }
/* Post bodies imported from WordPress: plain HTML (headings, lists, images, tables). */
.post-body h2 { margin: 2em 0 .6em; }
.post-body h3, .post-body h4 { margin: 1.6em 0 .5em; }
.post-body ul, .post-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.post-body li { margin-bottom: .4em; }
.post-body figure { margin: 0 0 1.6em; }
.post-body figure figure { margin: 0; }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
.post-body figcaption { color: var(--muted); font-size: .9rem; margin-top: .5em; }
.post-body blockquote { margin: 0 0 1.1em; padding-left: 1.1em; border-left: 3px solid var(--red); }
.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; display: block; overflow-x: auto; }
.post-body td, .post-body th { border: 1px solid var(--line); padding: .55em .8em; vertical-align: top; text-align: left; }
.post-body tr:first-child td { font-weight: 600; background: var(--gray-50); }
.post-cta { text-align: center; border-top: 1px solid var(--line); padding-top: 40px; padding-bottom: 88px; margin-top: 40px; }

/* Embed and forms */
.embed iframe { width: 100%; border: 0; display: block; }
.contact-form { display: grid; gap: 18px; margin-top: 2rem; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.contact-form input, .contact-form textarea { font: inherit; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--red); border-color: var(--red); }
.contact-form button { justify-self: start; }
.form-status { margin: 0; font-weight: 500; }
.form-status.ok { color: var(--red); }
.form-status.err { color: #a12b2b; }
.not-found-body { padding: 120px 24px; text-align: center; }

/* Sections added for the visual editor */
.stats-band { background: var(--gray-50); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; text-align: center; }
.stat-number { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; line-height: 1; color: var(--dark); margin: 0 0 .4rem; }
.stat-label { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }
.pull-quote { margin: 0; text-align: center; }
.pull-quote p { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.25; color: var(--dark); margin: 0 0 1.2rem; }
.pull-quote footer { color: var(--red-dark); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.gallery-logos img { object-fit: contain; background: var(--white); padding: 12px; border: 1px solid var(--line); aspect-ratio: 3 / 2 !important; }
.prose iframe { width: 100%; min-height: 360px; border: 0; border-radius: var(--radius); display: block; margin: 0 0 1.1em; }
.prose video { width: 100%; max-height: 520px; background: #000; border-radius: var(--radius); display: block; margin: 0 0 1.4em; }
.prose figure { margin: 0 0 1.4em; }
.prose figure img { border-radius: var(--radius); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose li > p { margin: 0; }
.prose li > p + p { margin-top: .4em; }
.prose h2 { margin: 1.8em 0 .55em; }
.prose h3, .prose h4 { margin: 1.4em 0 .45em; }
.prose > :first-child { margin-top: 0; }
.two-col-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 760px) { .two-col-inner { grid-template-columns: 1fr; } }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--black); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 32px auto; max-width: var(--wrap); }
.visual-page { overflow-x: hidden; }

/* Footer */
.site-footer { background: var(--black); color: rgba(255,255,255,.75); font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand img { width: 220px; margin-bottom: 1rem; }
.social, .footer-links ul { list-style: none; margin: 0; padding: 0; }
.social { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 1rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.footer-links li { padding: .3rem 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.mock-note { color: var(--red); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } .block { padding: 64px 0; } }

/* ---- JC Studio options (set from the settings panel) ---- */

/* Section backgrounds */
.bg-white { background: var(--white); }
.bg-cream { background: var(--gray-50); }
.bg-mint { background: var(--gray-100); }
.bg-gold { background: var(--red); color: var(--black); }
.bg-green { background: var(--dark); color: rgba(255,255,255,.88); }
.bg-dark { background: var(--black); color: rgba(255,255,255,.88); }
.bg-green :is(h1, h2, h3, h4), .bg-dark :is(h1, h2, h3, h4), .bg-green .section-title a, .bg-dark .section-title a { color: var(--white); }
.bg-green .stat-number, .bg-dark .stat-number, .bg-green .pull-quote p, .bg-dark .pull-quote p { color: var(--white); }
.bg-green .stat-label, .bg-dark .stat-label, .bg-green .member-role, .bg-dark .member-role { color: rgba(255,255,255,.7); }
.bg-gold .eyebrow { color: var(--dark); }

/* Section spacing */
.block.space-compact { padding-top: 44px; padding-bottom: 44px; }
.block.space-roomy { padding-top: 136px; padding-bottom: 136px; }

/* Visibility by screen size */
@media (max-width: 760px) { .hide-phone { display: none !important; } }
@media (min-width: 761px) { .hide-desktop { display: none !important; } }

/* Hero options */
.hero-full { min-height: 100vh; }
/* Page-title banner (every inner page on the live site opens with one) */
.hero-slim { min-height: 220px; }
.hero-slim .hero-content { padding-top: 56px; padding-bottom: 56px; }
.hero-slim h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 30ch; }
.hero.align-center { text-align: center; }
.hero.align-center .hero-content { display: flex; flex-direction: column; align-items: center; }
.hero.align-center h1, .hero.align-center h2, .hero.align-center .hero-text { margin-left: auto; margin-right: auto; }
.hero.align-center .hero-buttons { justify-content: center; }
.hero.overlay-none::after { display: none; }
.hero.overlay-light::after { background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%); }
.hero.overlay-strong::after { background: rgba(0,0,0,.78); }
.hero:not(:has(.hero-media))::after { display: none; }

/* Text options */
.ta-left { text-align: left; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-center .btn, .cta-band .btn { margin-left: auto; margin-right: auto; }
.cta-band.ta-left { text-align: left; }
.size-s { font-size: .85em; }
.size-l { font-size: 1.25em; }
.size-xl { font-size: 1.6em; }
:is(h1, h2, h3, h4).size-s { font-size: 1.4rem; }
:is(h1, h2, h3, h4).size-l { font-size: clamp(2.4rem, 4.5vw, 3.4rem); }
:is(h1, h2, h3, h4).size-xl { font-size: clamp(3rem, 7vw, 5.5rem); }
.c-ink { color: var(--ink) !important; }
.c-green { color: var(--dark) !important; }
.c-gold { color: var(--red-dark) !important; }
.c-muted { color: var(--muted) !important; }
.c-white { color: var(--white) !important; }
.jc-list { padding-left: 1.2em; }
.jc-list li { margin: .3em 0; }

/* Buttons */
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-sm { padding: .62rem 1.15rem; font-size: .74rem; }
.btn-lg { padding: 1.15rem 2.3rem; font-size: .95rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Images */
.img-rounded { border-radius: var(--radius); }
.img-circle { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.img-w-s { width: 100%; max-width: 240px; }
.img-w-m { width: 100%; max-width: 420px; }
.img-w-l { width: 100%; max-width: 720px; }
.img-w-full { width: 100%; }
.img-center { margin-left: auto; margin-right: auto; }

/* Photo and text */
.image-text-media.no-frame::before { display: none; }
.image-text-media.shape-square img { aspect-ratio: 1; }
.image-text-media.shape-wide img { aspect-ratio: 4 / 3; }

/* Cards */
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards-flat .card { box-shadow: none; background: transparent; }
.cards-flat .card-body { padding-left: 0; padding-right: 0; }
.cards-outline .card { box-shadow: none; border: 1px solid var(--line); }
.media-square .card-media img { aspect-ratio: 1; }
.media-portrait .card-media img { aspect-ratio: 4 / 5; }

/* Team */
.team.cols-3 { grid-template-columns: repeat(3, 1fr); }
.team.cols-4 { grid-template-columns: repeat(4, 1fr); }
.team.cols-5 { grid-template-columns: repeat(5, 1fr); }
.team.photo-rounded .member img, .team.photo-rounded .member-placeholder { border-radius: var(--radius); }
.team.photo-square .member img, .team.photo-square .member-placeholder { border-radius: 0; }

/* Gallery */
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-wide img { aspect-ratio: 16 / 10; }
.gallery-natural img { aspect-ratio: auto; }

/* Quote */
.pull-quote.quote-card { background: var(--white); border-radius: var(--radius); padding: 48px 40px; box-shadow: 0 18px 40px rgba(0,0,0,.1); }

/* Columns */
.row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.row.gap-s { gap: 20px; }
.row.gap-l { gap: 72px; }
.row.items-center { align-items: center; }
.col { min-width: 0; }

/* Slim audition strip */
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip-text { margin: 0; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; color: var(--dark); }
.bg-green .strip-text, .bg-dark .strip-text { color: var(--white); }

/* Location blocks */
.location-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.location-card h3 { font-size: 1.8rem; }
.location-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 1rem 0 1.5rem; }
.location-card dt { font-weight: 600; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; padding-top: .15rem; }
.location-card dd { margin: 0; }
.location-card-empty { text-align: center; color: var(--muted); }
.location-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.location-picker-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.location-picker-form select { font: inherit; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 999px; min-width: 240px; background: var(--white); }

/* Builder preview banner */
.preview-banner { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 10px 24px; background: #5b3a8f; color: #fff; font: 500 14px/1.4 var(--body); }
.preview-banner a { color: #fff; font-weight: 600; margin-left: auto; }
.preview-banner select { font: inherit; padding: 3px 6px; border-radius: 6px; border: 0; margin-left: 6px; }
.preview-banner + .site-header { top: 0; position: relative; }

@media (max-width: 860px) {
  .cards.cols-3, .cards.cols-4, .gallery.cols-3, .gallery.cols-4, .team.cols-4, .team.cols-5, .row.cols-3, .row.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards.cols-2, .cards.cols-3, .cards.cols-4, .row, .row.cols-3, .row.cols-4, .team.cols-3 { grid-template-columns: 1fr; }
  .team.cols-4, .team.cols-5, .gallery.cols-3, .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .location-card dl { grid-template-columns: 1fr; }
}

/* Photo slider: a gallery set to "Slider" shows three photos at a time with arrows (arrows added by site.js). */
.gallery-slider-wrap { position: relative; }
.gallery.gallery-slider { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gallery.gallery-slider::-webkit-scrollbar { display: none; }
.gallery.gallery-slider img { scroll-snap-align: start; aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.72); color: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 2; display: grid; place-items: center; }
.slider-btn:hover { background: var(--dark); }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 800px) { .gallery.gallery-slider { grid-auto-columns: 78%; } }

/* Tabs: a row of tab names over a boxed panel. Without site.js (and in Studio) every panel shows, one under another. */
.tabs-block .section-title { margin-bottom: 1.2rem; }
.tabs-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; position: relative; z-index: 1; margin-bottom: -1px; }
.tab { display: inline-flex; align-items: center; gap: .45em; padding: .55rem 1.1rem; color: var(--muted); text-decoration: none; font-weight: 500; border: 1px solid transparent; border-bottom: 0; background: transparent; }
.tab::before { content: "✓"; font-weight: 700; color: var(--red-dark); }
.tab:hover { color: var(--ink); }
.tabs.js .tab.on { color: var(--ink); border-color: var(--line); background: var(--white); }
.tab-panel { max-width: 680px; margin: 0 auto; border: 1px solid var(--line); background: var(--white); padding: 18px; text-align: center; color: var(--muted); font-weight: 500; }
.tab-panel + .tab-panel { margin-top: 16px; }
.tabs.js .tab-panel { margin-top: 0; }
.tabs.js .tab-panel:not(.on) { display: none; }
.tab-panel video { margin-top: 1rem; margin-bottom: 0; }


/* =====================================================================================
   Live site theme. Matches jcasablancas.com: black header with light nav and social icons,
   Roboto everywhere, black headings, grey body text, red (#B22202) buttons and links,
   grey photo page-title banner, magenta photo footer.
   ===================================================================================== */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; color: var(--dark); line-height: 1.2; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
.display { letter-spacing: .01em; }
strong, b { color: var(--ink); }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
.eyebrow { color: var(--red); }

/* Buttons: small, square-cornered, sentence case */
.btn { font-weight: 500; font-size: .95rem; letter-spacing: .02em; text-transform: none; padding: .8rem 1.6rem; border-radius: var(--radius); border-width: 1px; }
.btn-gold { background: var(--red); color: var(--white); }
.btn-gold:hover { background: var(--red-dark); color: var(--white); }
.btn-green { background: var(--black); color: var(--white); }
.btn-green:hover { background: var(--charcoal); color: var(--white); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: var(--white); }

/* Header: black bar, light-grey nav, white underline on the current page, social icons on the right */
.site-header { background: var(--black); box-shadow: none; }
.header-inner { min-height: 80px; justify-content: flex-start; }
.primary-nav { flex: 1; }
.primary-nav > ul { gap: 0; }
.primary-nav > ul > li > a { color: var(--nav-text); font-size: 15px; font-weight: 300; letter-spacing: 0; text-transform: none; padding: 29px 20px; position: relative; }
.primary-nav > ul > li > a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--white); transform: scaleX(0); transition: transform .2s; }
.primary-nav > ul > li.active > a, .primary-nav > ul > li > a:hover { color: var(--white); }
.primary-nav > ul > li.active > a::before, .primary-nav > ul > li > a:hover::before { transform: scaleX(1); }
.has-children > a::after { content: "\25BE"; font-size: .8em; }
.sub-menu { background: var(--gray-100); border-radius: 0; padding: 0; }
.sub-menu a { color: var(--black); font-size: 15px; font-weight: 300; padding: .8rem 1.2rem; }
.sub-menu a:hover { background: var(--white); color: var(--black); }
.header-social { display: flex; gap: 18px; margin-left: auto; list-style: none; padding: 0; }
.header-social a { color: var(--white); font-size: 22px; line-height: 1; display: block; }
.header-social a:hover { color: var(--nav-text); }
@media (max-width: 1180px) {
  .primary-nav { background: var(--black); padding: 0 24px 16px; }
  .primary-nav > ul > li > a { padding: .85rem 0; }
  .primary-nav > ul > li > a::before { display: none; }
  .sub-menu { background: transparent; } /* phone menu: sub-items sit on the black menu, not on a grey box */
  .sub-menu a { color: var(--nav-text); }
  .sub-menu a:hover { color: var(--white); background: transparent; }
  .header-inner { justify-content: space-between; }
}

/* Hero overlays are black, not tinted */
.hero { background: var(--black); }
.hero::after { background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.15) 100%); }
.hero h1, .hero h2 { font-family: var(--display); font-weight: 600; }
.hero .eyebrow { color: var(--white); }

/* Page-title banner: grey photo inside the content width, white capitals */
.hero.hero-slim { max-width: 1140px; margin: 0 auto; min-height: 260px; }
.hero-slim .hero-media img { filter: grayscale(1); }
.hero-slim::after { background: rgba(0,0,0,.35); }
.hero-slim h1 { text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.5rem); max-width: 30ch; line-height: 1.2; }
.hero-slim .hero-content { padding-top: 64px; padding-bottom: 56px; }
@media (max-width: 1188px) { .hero.hero-slim { margin: 0 24px; } }
@media (max-width: 760px) { .hero.hero-slim { margin: 0; min-height: 200px; } }

/* Text */
.prose h2, .prose h3, .prose h4 { color: var(--dark); }
.block { padding: 64px 0; }
.block.space-compact { padding-top: 36px; padding-bottom: 36px; }
.hero-slim + .block { padding-top: 32px; }

/* Talent cards: red boxes under each photo */
.card-grid { background: var(--black); }
.card-grid .section-title, .card-grid .section-title a { color: var(--white); }
.card { border-radius: 0; box-shadow: none; background: var(--red); }
.card:hover { transform: none; box-shadow: none; }
.card-body { text-align: center; padding: 16px 20px 20px; }
.card-body h3 { font-size: 1.05rem; letter-spacing: .02em; }
.card-body h3 a, .card-body p { color: var(--white); }
.card-body p { font-size: .9rem; }

/* Photos have square corners on the live site */
.image-text-media img, .gallery img, .card-media img, .post-card-media img, .video-frame, .prose figure img, .prose iframe, .prose video { border-radius: 0; }
.image-text-media::before { border-color: var(--red); border-radius: 0; }

/* Questions and answers: bordered rows with a plus sign; the FAQ page uses solid red bars */
.faq-item { border: 1px solid var(--line); border-bottom: 0; padding: 0; }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary { font-weight: 400; font-size: 1rem; color: var(--black); padding: .85rem 1.1rem; justify-content: flex-start; flex-direction: row-reverse; }
.faq-item summary::after { color: var(--black); font-weight: 700; }
.faq-item .prose { padding: .2rem 1.1rem 1rem; }
.faq.faq-solid .faq-item { border: 0; margin-bottom: 2px; }
.faq.faq-solid .faq-item summary { background: var(--red); color: var(--white); font-weight: 500; }
.faq.faq-solid .faq-item summary::after { color: var(--white); }
.faq.faq-solid .faq-item .prose { border: 1px solid var(--line); border-top: 0; padding-top: 1rem; }

/* Team: square photos; on a red section the text is white */
.member img, .member-placeholder { border-radius: 0; }
.bg-gold .member-name, .bg-gold .member-role, .bg-gold .member-quote { color: var(--white); }

/* Section backgrounds, matched to the live palette (class names kept so saved pages keep working):
   bg-white White · bg-cream Off-white · bg-mint Light grey · bg-green Black · bg-dark Charcoal · bg-gold Red */
.bg-cream { background: var(--gray-50); }
.bg-mint { background: var(--gray-100); }
.bg-green { background: var(--black); color: rgba(255,255,255,.88); }
.bg-dark { background: var(--charcoal); color: rgba(255,255,255,.88); }
.bg-gold { background: var(--red); color: rgba(255,255,255,.92); }
.bg-gold :is(h1, h2, h3, h4), .bg-gold .section-title a, .bg-gold .eyebrow, .bg-gold .stat-number { color: var(--white); }
.bg-gold a:not(.btn) { color: var(--white); }
.c-green { color: var(--black) !important; }
.c-gold { color: var(--red) !important; }

/* Banners */
.cta-green { background: var(--black); }
.cta-light { background: var(--gray-100); }

/* Blog */
.post-card { border-radius: 0; border: 0; }
.post-card-media { background: var(--black); }
.post-card h3 { font-size: 1.1rem; }
.post-card h3 a { color: var(--black); }
.placeholder-art { color: var(--white); background: linear-gradient(135deg, var(--red), var(--black)); font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 1.2rem; }
.sidebar h2 { font-size: 1.2rem; }

/* Footer: magenta studio photo, logo, one row of links, copyright */
.site-footer { background: #1b0b2e url("/wp-content/uploads/2022/10/photoshoot2.webp") bottom center / cover no-repeat; color: var(--white); font-size: 15px; }
.footer-inner { display: block; padding-top: 210px; padding-bottom: 10px; }
.footer-brand img { width: 35%; min-width: 220px; max-width: 400px; margin: 0 0 1.2rem; }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 6px 36px; }
.footer-links li { padding: 0; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--nav-text); }
.footer-bottom { border-top: 0; padding-top: 6px; padding-bottom: 20px; font-size: 16px; font-weight: 300; }
.mock-note { color: rgba(255,255,255,.6); font-size: .8rem; }
@media (max-width: 760px) { .footer-inner { padding-top: 40px; } .footer-bottom { font-size: 11px; } }

/* Slider arrows and tabs in the new palette */
.slider-btn { background: rgba(0,0,0,.6); border-radius: 0; }
.slider-btn:hover { background: var(--black); }
.tab::before { color: var(--black); }
.tabs.js .tab.on { border-color: var(--black); }
.tab-panel { color: var(--text); }
.faq-item summary { flex-direction: row; justify-content: flex-start; }
.faq-item summary::after { display: none; }
.faq-item summary::before { content: "+"; font-weight: 700; width: 1em; flex: none; color: inherit; }
.faq-item[open] summary::before { content: "\2013"; }
/* Location pages: bright red section headings, as on the live site */
.headings-red h2 { color: var(--heading-accent); }

/* Hooks for the other styles (wwwroot/css/styles/): Classic keeps the live-site header and footer. */
.header-logo, .header-cta, .footer-social { display: none; }
.footer-social { list-style: none; margin: 0; padding: 0; gap: 18px; }
.footer-social a { font-size: 20px; }
/* Style menu (for trying out the redesign) */
.nav-style .sub-menu { min-width: 280px; }
html:not(.st-classic) .nav-style .sub-menu { right: 0; left: auto; } /* the other styles' menus sit on the right */
.nav-style .sub-menu a { display: grid; gap: 1px; }
.nav-style .sub-menu small { font-size: 12.5px; opacity: .7; font-weight: 400; }
.nav-style .sub-menu a.on { font-weight: 600; }
.nav-style .sub-menu a.on::after { content: "\2713"; position: absolute; right: 1rem; top: .8rem; }
.nav-style .sub-menu li { position: relative; }
@media (max-width: 1180px) { .nav-style .sub-menu { min-width: 0; } }
@media (min-width: 1181px) { .nav-style .sub-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 760px; } } /* 22 styles: four columns so the list fits on screen */

/* Spanish (Services/SiteLocale.cs): language menu in the nav, same look as the Style menu. */
.nav-lang .sub-menu { min-width: 160px; }
html:not(.st-classic) .nav-lang .sub-menu { right: 0; left: auto; }
.nav-lang .sub-menu a.on { font-weight: 600; }
.nav-lang .sub-menu a.on::after { content: "\2713"; margin-left: .5em; }

/* "This page hasn't been translated yet" notice (Pages/Content.cshtml) */
.lang-fallback-note { background: var(--gray-100); border-left: 3px solid var(--red); padding: .8rem 1rem; font-size: 14px; color: var(--muted); margin-bottom: 1.5rem; }

/* "View in Spanish?" suggestion banner (Services/SiteLocale.cs, shown once per visitor) */
.lang-suggest-banner { background: var(--black); color: var(--white); font-size: 14px; }
.lang-suggest-banner p { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .6rem 1rem; margin: 0; flex-wrap: wrap; text-align: center; }
.lang-suggest-banner a { color: var(--white); font-weight: 600; text-decoration: underline; }
.lang-suggest-banner .lang-suggest-dismiss { background: none; border: 1px solid currentColor; color: inherit; border-radius: 0; padding: .3rem .8rem; font-size: 13px; cursor: pointer; }
.lang-suggest-banner .lang-suggest-dismiss:hover { background: rgba(255,255,255,.1); }
