/* ==========================================================================
   LOOK 4 — CLASSIC
   A clean ministry-site layout (modelled on jdgreear.com): full-bleed hero with a white
   card and a button pinned to its corner, hamburger menu, portrait + bio, grey blog band
   with overlay cards, dark "stage" contact section, floating contact tab.
   ========================================================================== */
html[data-look="classic"] {
  --teal: #333333;
  --teal-deep: #1F1F1F;
  --blue-ink: #2F6A98;
  --orange: #99C1E2;
  --text: #333333;
  --soft: #F4F4F4;
  --line: #E2E2E0;
  --bg: #FFFFFF;
  --fg: var(--text);
  --font-display: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.0625rem;
  --lh: 1.7;
  --hdr: 72px;
  --gutter: clamp(20px, 4vw, 56px);
  --focus: var(--blue-ink);

  --btn-bg: var(--orange); --btn-fg: #222; --btn-bd: var(--orange); --btn-r: 3px;
  --btn-bg-h: var(--teal); --btn-fg-h: #fff; --btn-bd-h: var(--teal);
  --btn2-fg: var(--teal); --btn2-bd: var(--teal); --btn2-bg-h: var(--teal); --btn2-fg-h: #fff;
  --input-bd: 1px solid #C9CCCD; --input-bg: #fff; --input-fg: var(--text); --input-r: 3px;
  --ph-bg: #E3EDF6; --ph-fg: var(--teal-deep);
  --cover-bg: #333333; --cover-fg: #fff;
  --tile-gap: 10px;
}
html[data-look="classic"] :is(.name, .sec-title, .book-title, .blog-title, .post__title, .tile__title, .pull p, .cover__title, .mark) {
  font-family: var(--font-display); letter-spacing: 0;
}

/* elements only this look uses */
html[data-look="classic"] .menu-btn { display: grid; }
html[data-look="classic"] .contact-tab { display: grid; }
html[data-look="classic"] .kicker { display: block; }
html[data-look="classic"] .bio__img2 { display: block; }

/* ---------- header: centred wordmark, hamburger, frosted bar ---------- */
html[data-look="classic"] .top { position: fixed; left: 0; right: 0; top: 0; justify-content: center; color: #fff; background: none; }
html[data-look="classic"] .top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(34, 34, 34, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html[data-look="classic"] .top .mark { font-weight: 600; font-size: 1.35rem; letter-spacing: .01em; }
html[data-look="classic"] .menu-btn {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 45;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; place-items: center; align-content: center; gap: 5px; color: #fff;
}
html[data-look="classic"] .menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
html[data-look="classic"] .menu-open .menu-btn { color: var(--teal); }
html[data-look="classic"] .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html[data-look="classic"] .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
html[data-look="classic"] .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html[data-look="classic"] .top nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; width: min(86vw, 340px);
  flex-direction: column; justify-content: flex-start; gap: 0; padding: 96px 36px 36px;
  background: #fff; box-shadow: -18px 0 40px rgba(0, 0, 0, .18);
  transform: translateX(105%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s;
}
html[data-look="classic"] .menu-open nav { transform: none; visibility: visible; transition: transform .3s ease; }
html[data-look="classic"] .top nav a { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--teal); font-size: 1.2rem; font-weight: 500; }
html[data-look="classic"] .top nav a:hover, html[data-look="classic"] .top nav a[aria-current] { color: var(--blue-ink); }

/* floating contact tab */
html[data-look="classic"] .contact-tab { position: fixed; right: 0; top: 42%; z-index: 35; width: 50px; height: 50px; place-items: center; background: var(--orange); color: #222; border-radius: 3px 0 0 3px; }
html[data-look="classic"] .contact-tab:hover { background: var(--teal); }

/* ---------- hero (carousel) ---------- */
html[data-look="classic"] .slide { min-height: max(540px, min(calc(100svh - var(--sw-h, 0px)), 700px)); }
/* The wide photo fills the hero; the portrait is kept for the other looks. */
html[data-look="classic"] .s-intro__wide { display: block; position: absolute; inset: 0; min-height: 0; background: linear-gradient(120deg, #7FA9CC, #99C1E2); }
html[data-look="classic"] .s-intro__wide img { object-position: 60% 22%; }
html[data-look="classic"] .s-intro__wide::after { left: auto; right: 24px; bottom: 56px; }
html[data-look="classic"] .s-intro__img { display: none; }
html[data-look="classic"] .photo-break { display: none; }
html[data-look="classic"] .s-book { background: linear-gradient(120deg, var(--teal), var(--teal-deep)); }

/* the white card with a button pinned to its corner */
html[data-look="classic"] .s-intro__text, html[data-look="classic"] .s-book__text {
  position: absolute; z-index: 2; left: 0; top: 50%; transform: translateY(-50%);
  width: min(520px, 86%); padding: 34px clamp(28px, 3vw, 44px) 84px clamp(28px, 4vw, 56px);
  background: #fff; color: var(--text); display: block; text-align: left;
}
html[data-look="classic"] .kicker { font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 14px; }
html[data-look="classic"] .name, html[data-look="classic"] .book-title {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.12; font-weight: 700; font-style: italic; color: var(--teal); text-transform: none; margin: 0;
}
html[data-look="classic"] .name span { display: inline; animation: none; }
html[data-look="classic"] .roles { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.3; font-weight: 400; color: var(--teal); margin-top: 8px; }
html[data-look="classic"] .lede { display: none; }
html[data-look="classic"] .book-status { font-size: 1.05rem; color: var(--teal); margin: 8px 0 0; font-weight: 400; }
html[data-look="classic"] .book-blurb { display: none; }
html[data-look="classic"] .s-intro__text > .btn,
html[data-look="classic"] .s-book__text .actions { position: absolute; right: 0; bottom: 0; gap: 0; }
html[data-look="classic"] .btn { padding: 1.15em 1.9em; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; border: 0; }
html[data-look="classic"] .btn--ghost { background: #EDEDED; color: var(--teal); }
html[data-look="classic"] .btn--ghost:hover { background: var(--teal); color: #fff; }
html[data-look="classic"] .s-book__text .actions .btn--ghost { order: -1; }

/* the book, standing in the teal field */
html[data-look="classic"] .s-book .cover { position: absolute; right: max(10%, calc((100% - 1100px) / 2 + 40px)); top: 50%; width: min(290px, 24vw); transform: translateY(-48%) rotate(3deg); box-shadow: 0 30px 50px -14px rgba(0, 0, 0, .55); border-radius: 2px 6px 6px 2px; }
html[data-look="classic"] .s-book .cover__title { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.05; }

/* dots over the photo */
html[data-look="classic"] .carousel { position: relative; }
html[data-look="classic"] .car-ctrl { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: none; color: #fff; z-index: 3; pointer-events: none; }
html[data-look="classic"] .car-ctrl > * { pointer-events: auto; }
html[data-look="classic"] .car-btn, html[data-look="classic"] .count { display: none; }
html[data-look="classic"] .dots button { width: 11px; height: 11px; border-radius: 50%; opacity: .55; }
html[data-look="classic"] .dots button[aria-selected="true"] { opacity: 1; background: #fff; }

/* ---------- section titles (centred headings in teal) ---------- */
html[data-look="classic"] .sec-title { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 400; line-height: 1.1; color: var(--teal); }

/* ---------- Meet Billy ---------- */
html[data-look="classic"] .bio { grid-template-columns: minmax(220px, 340px) 1fr; gap: 28px clamp(32px, 5vw, 72px); align-items: center; padding: clamp(56px, 7vw, 96px) max(var(--gutter), calc((100% - 1120px) / 2)); background: #fff; }
html[data-look="classic"] .bio:has(.bio__img2) { grid-template-columns: minmax(150px, 230px) minmax(150px, 230px) 1fr; }
html[data-look="classic"] .bio__img, html[data-look="classic"] .bio__img2 { aspect-ratio: 2 / 3; min-height: 0; border-radius: 0; }
html[data-look="classic"] .bio__body { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
html[data-look="classic"] .bio .sec-title::before { content: "Meet "; }
html[data-look="classic"] .bio .sec-title::after { content: "Pastor. Author. Husband. Father."; display: block; font-size: 1.3rem; line-height: 1.3; margin-top: .6rem; color: var(--text); }
html[data-look="classic"] .bio__lead { font-size: 1.1rem; line-height: 1.6; }
html[data-look="classic"] .bio__body p { max-width: 60ch; font-size: 1.05rem; }
html[data-look="classic"] .bio .pull { margin: .4rem 0; padding: .1rem 0 .1rem 1.2rem; border-left: 3px solid var(--orange); }
html[data-look="classic"] .bio .pull p { font-size: 1.25rem; line-height: 1.35; font-style: italic; color: var(--teal); }
html[data-look="classic"] .bio .pull cite { font-size: .9rem; color: #6b6b6b; }

/* ---------- Blog band ---------- */
html[data-look="classic"] .writing { background: var(--soft); padding: clamp(56px, 7vw, 96px) var(--gutter); text-align: center; }
html[data-look="classic"] .writing__head { margin-bottom: 40px; }
html[data-look="classic"] .writing__sub { margin-top: .8rem; font-size: 1.05rem; }
html[data-look="classic"] .posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
html[data-look="classic"] .posts li:nth-child(n+4) { display: none; }
html[data-look="classic"] .post { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 0; color: #fff; overflow: hidden; background: var(--teal); transition: filter .2s; }
html[data-look="classic"] .posts li:nth-child(1) .post { background: radial-gradient(circle at 25% 20%, #6E9CC4, transparent 60%), linear-gradient(160deg, #3B6E96, #1B2F40); }
html[data-look="classic"] .posts li:nth-child(2) .post { background: radial-gradient(circle at 75% 25%, #99C1E2, transparent 55%), linear-gradient(160deg, #555, #222); }
html[data-look="classic"] .posts li:nth-child(3) .post { background: radial-gradient(circle at 30% 80%, #B4B4B4, transparent 55%), linear-gradient(160deg, #6A6A6A, #2B2B2B); }
html[data-look="classic"] .post:hover { filter: brightness(1.12); }
html[data-look="classic"] .post__date { position: absolute; left: 14px; top: 12px; font-size: .78rem; opacity: .85; }
html[data-look="classic"] .post__title { width: 100%; padding: 28px 22px; background: rgba(0, 0, 0, .38); font-size: 1.12rem; line-height: 1.35; font-weight: 400; text-align: center; text-transform: none; }
html[data-look="classic"] .post__sub { display: none; }
html[data-look="classic"] .writing__actions { justify-content: center; margin-top: 36px; }

/* ---------- Inquire / contact: the dark stage ---------- */
html[data-look="classic"] .inquire {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px);
  padding: clamp(64px, 8vw, 112px) max(var(--gutter), calc((100% - 1120px) / 2));
  color: #fff;
  background:
    radial-gradient(ellipse 60% 55% at 18% 0%, rgba(153, 193, 226, .30), transparent 70%),
    radial-gradient(ellipse 45% 45% at 88% 8%, rgba(180, 180, 180, .16), transparent 70%),
    #262626;
}
html[data-look="classic"] .inquire .sec-title { color: #fff; }
html[data-look="classic"] .inquire__lead { margin-top: .9rem; max-width: 46ch; font-size: 1.1rem; opacity: .92; }
html[data-look="classic"] .form { margin-top: 1.6rem; }
html[data-look="classic"] .field label { font-weight: 500; font-size: .9rem; }
html[data-look="classic"] .field :is(input, select, textarea):focus { outline: 3px solid var(--orange); outline-offset: 0; }
html[data-look="classic"] .form__note { opacity: .8; }
html[data-look="classic"] .inquire__side { display: grid; gap: 28px; align-content: start; padding-top: 3.4rem; }
html[data-look="classic"] .contact, html[data-look="classic"] .church { padding: 0 0 0 22px; border-left: 3px solid var(--orange); }
html[data-look="classic"] .contact h3, html[data-look="classic"] .church h3 { font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--orange); margin-bottom: .5rem; }
html[data-look="classic"] .contact__mail { font-size: 1.2rem; font-weight: 500; color: #fff; }
html[data-look="classic"] .church__name { font-size: 1.3rem; font-weight: 600; }
html[data-look="classic"] .church__tag { opacity: .85; margin: .2rem 0 .7rem; }
html[data-look="classic"] .church__links a { color: #fff; font-weight: 500; }

/* ---------- footer ---------- */
html[data-look="classic"] .foot { justify-content: center; text-align: center; background: #fff; color: #6b6b6b; font-size: .85rem; border-top: 1px solid var(--line); }
html[data-look="classic"] .foot p:last-child { display: none; }

/* ---------- blog page ---------- */
html[data-look="classic"] .blog-head { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: calc(var(--hdr) + clamp(48px, 7vw, 96px)) var(--gutter) 40px; background: var(--soft); }
html[data-look="classic"] .blog-title { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 400; color: var(--teal); }
html[data-look="classic"] .blog-head__side { justify-items: center; }
html[data-look="classic"] .blog-head__side .actions { justify-content: center; }
html[data-look="classic"] .mosaic { --mosaic-pad: 8px var(--gutter) 80px; background: var(--soft); max-width: none; }
html[data-look="classic"] .mosaic { padding-left: max(var(--gutter), calc((100% - 1160px) / 2)); padding-right: max(var(--gutter), calc((100% - 1160px) / 2)); }
html[data-look="classic"] .tile { border-radius: 3px; }
html[data-look="classic"] .tile__title { font-weight: 600; }
html[data-look="classic"] .tile.xl .tile__title { font-size: clamp(2rem, 3.4vw, 3rem); }
html[data-look="classic"] .tile.lg .tile__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
html[data-look="classic"] .tile.v0 { background: var(--teal); color: #fff; }
html[data-look="classic"] .tile.v1 { background: #fff; color: var(--teal); box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="classic"] .tile.v2 { background: #4A4A4A; color: #fff; }
html[data-look="classic"] .tile.v3 { background: #D5E6F3; color: var(--teal-deep); }
html[data-look="classic"] .tile.v0:hover, html[data-look="classic"] .tile.v2:hover { background: var(--orange); color: #222; }
html[data-look="classic"] .tile.v1:hover, html[data-look="classic"] .tile.v3:hover { background: var(--teal); color: #fff; }
html[data-look="classic"] .tile--sub { background: var(--orange); color: #222; border-radius: 3px; }
html[data-look="classic"] .tile--sub:hover { background: var(--teal); }
html[data-look="classic"] .tile--all { background: #fff; color: var(--teal); box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="classic"] .tile--all:hover { background: var(--teal); color: #fff; }

@media (max-width: 900px) {
  html[data-look="classic"] .s-intro__text, html[data-look="classic"] .s-book__text { top: auto; bottom: 56px; transform: none; width: calc(100% - 20px); padding: 24px 24px 80px var(--gutter); }
  html[data-look="classic"] .s-book .cover { top: 14%; right: 50%; width: min(150px, 36vw); transform: translateX(50%) rotate(3deg); }
  html[data-look="classic"] .bio, html[data-look="classic"] .bio:has(.bio__img2) { grid-template-columns: 1fr 1fr; }
  html[data-look="classic"] .bio__body { grid-column: 1 / -1; }
  html[data-look="classic"] .bio__img:only-of-type { grid-column: 1 / -1; max-width: 320px; }
  html[data-look="classic"] .inquire { grid-template-columns: 1fr; }
  html[data-look="classic"] .inquire__side { padding-top: 0; }
  html[data-look="classic"] .posts { grid-template-columns: 1fr; max-width: 420px; }
  html[data-look="classic"] .posts li:nth-child(n+4) { display: none; }
}
@media (max-width: 560px) {
  html[data-look="classic"] .s-book__text .btn--ghost { display: none; }
}
