/* Creative Christianity — Mobile refinement v1.1.0.
   Desktop layout and editable WordPress content remain unchanged. */
@media (max-width: 980px) {
  /* Prevent the two-column contact section from clipping at tablet widths. */
  .contact-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .contact-right, .contact-top > *, .contact .form-grid, .form-field {
    min-width: 0;
    max-width: 100%;
  }
  .contact-right { padding-top: 0; }
  .contact .section-heading { max-width: 100%; }
  .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-head { padding-bottom: 64px; }
  .global-church-story { pointer-events:none; }
  /* Keep anchor targets below sticky WordPress/header chrome. */
  [id="renaissance"], [id="church-life"], [id="expertise"], [id="studio"],
  [id="team"], [id="work"], [id="approach"], [id="global"], [id="contact"],
  [id="our-story"], [id="mission"], [id="people"] {
    scroll-margin-top: 94px;
  }
}
@media (max-width: 940px) {
  .header { background: rgba(0,21,58,.97); }
  .header.scrolled { background: rgba(0,21,58,.98); }
  .header-inner { gap: 14px; }
  .header .brand { min-width:0; flex-shrink:1; }
  .header .cc-icon { width: clamp(46px,8vw,61px); }
  .header .cc-lockup { font-size:clamp(12px,2.2vw,15px); line-height:.91; }
  .menu-toggle { flex:none; border-color:rgba(176,218,255,.38); }
  .menu-toggle:focus-visible { outline: 3px solid #0E9CFE; }
  .nav {
    left:0; right:0; top:100%;
    max-height:calc(100dvh - 76px);
    overflow-y:auto;
    padding:16px var(--pad) 28px;
    background:#00153A;
    border-top:1px solid rgba(255,255,255,.1);
    border-bottom:1px solid rgba(255,255,255,.12);
    gap:0;
    box-shadow:0 22px 34px rgba(0,0,0,.25);
    z-index:80;
  }
  .nav a {
    display:flex;
    align-items:center;
    min-height:53px;
    width:100%;
    font-size:17px;
    line-height:1.28;
    border-bottom:1px solid rgba(255,255,255,.11);
    color:#fff;
  }
  .nav a:hover,.nav a:focus-visible { color:#64c4ff; }
  .nav .mobile-contact {
    display:flex;
    justify-content:center;
    margin-top:17px;
    min-height:49px;
    border:0;
    border-radius:999px;
    background:#0E9CFE;
    color:#00153A;
    font-size:15px;
    font-weight:800;
  }
}
@media (min-width: 941px) {
  .nav .mobile-contact { display:none; }
}
@media (max-width: 700px) {
  :root { --pad:clamp(19px,5.5vw,25px); }
  .header { height:70px; }
  .header.scrolled { height:68px; }
  .header .cc-icon { width:49px; }
  .header .cc-lockup { font-size:13px; }
  .header .brand { gap:10px; }
  .header-inner { justify-content:space-between; }
  .header-cta { margin-left:auto; gap:0; }
  .nav { max-height:calc(100dvh - 70px); padding-top:12px; }
  .hero { min-height:calc(100svh - 4px); padding-top:clamp(106px,17vh,145px); padding-bottom:80px; }
  .hero-inner { padding-top: 22px; }
  .hero .eyebrow { max-width:320px; line-height:1.55; letter-spacing:.09em; font-size:10px; margin-bottom:26px; }
  .hero-title.renaissance-title {
    font-size:clamp(42px,10.5vw,67px);
    line-height:.97;
    letter-spacing:-.085em;
    margin-bottom:26px;
  }
  .hero-title.renaissance-title .renaissance-word em { font-size:.77em; }
  .hero .hero-tagline { font-size: clamp(18px,4.7vw,21px); line-height:1.28; }
  .hero .hero-description { font-size:clamp(14px,3.6vw,16px); line-height:1.62; max-width:35ch; }
  .hero-actions { gap:10px; }
  .hero .pill { min-height:47px; font-size:12px; padding:0 16px; gap:12px; }
  .hero .hero-foot { margin-top:35px; gap:11px; font-size:9px; }
  .hero .hero-foot .vertical-line { width:13px; }
  .hero-photocaption { left:var(--pad); right:var(--pad); bottom:12px; font-size:8px; max-width:calc(100% - 2*var(--pad)); }
  .church-life { padding:68px 0 64px; }
  .life-top h2 { font-size:clamp(44px,10vw,62px); line-height:1; }
  .life-gallery { margin-top:23px; }
  .life-card { min-height:360px; }
  .renaissance-section { padding-top:75px; }
  .renaissance-intro h2 { font-size:clamp(42px,10.9vw,67px); line-height:.99; }
  .renaissance-right .renaissance-lead { font-size:clamp(23px,6vw,29px); line-height:1.17; }
  .renaissance-card { min-height:218px; padding:24px; }
  .renaissance-card h3 { font-size:clamp(37px,10vw,46px); }
  .section { padding-top:76px; padding-bottom:76px; }
  .section-heading { overflow-wrap:normal; }
  .services .section-heading { font-size:clamp(45px,12vw,65px); }
  .service-toggle { gap:12px; }
  .service-name { font-size:clamp(23px,6.7vw,32px); line-height:1.1; }
  .service-panel-copy { padding-left:28px; }
  .projects-top { gap:16px; }
  .projects .section-heading { font-size:clamp(42px,11vw,64px); }
  .filters { gap:7px; }
  .filter { min-height:42px; font-size:12px; padding:9px 13px; }
  .work-grid { gap:30px; }
  .work-card { min-width:0; }
  .work-cover { aspect-ratio:1.2; min-height:0; }
  .work-info { gap:8px; }
  .work-info h3 { font-size:20px; }
  .approach-top { margin-bottom:40px; }
  .steps { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .step { min-height:220px; padding:16px; }
  .step h3 { font-size:21px; }
  .step p { font-size:12px; line-height:1.45; }
  .global { padding-top:88px; }
  .global .section-heading { font-size:clamp(45px,11.5vw,66px); line-height:1; }
  .contact { padding:82px 0; }
  .contact .section-heading { font-size:clamp(49px,13vw,76px); }
  .form-grid { grid-template-columns:minmax(0,1fr); }
  .form-field input,.form-field select,.form-field textarea { width:100%; max-width:100%; }
  .footer { padding-top:44px; }
  .footer-head { padding-bottom:20px; }
  .footer-title { font-size:clamp(60px,14vw,83px); line-height:.93; margin:39px 0 22px; }
  .footer-sub { max-width:36ch; }
  .about-hero { padding-top:128px; }
  .about-hero .container { gap:22px; }
  .about-display { font-size:clamp(55px,12vw,75px); line-height:.96; }
  .about-hero-copy { font-size:16px; line-height:1.55; }
  .about-hero-photos { height:310px; margin-top:10px; }
  .about-float-chip { white-space:normal; max-width:65%; line-height:1.4; }
  .about-wordmark-card { z-index:2; }
  .about-team .team-people { gap:16px; }
  .about-team .person-card { grid-template-columns:minmax(115px,39%) minmax(0,1fr); min-height:195px; }
  .about-team .person-copy { min-width:0; padding:17px; }
  .about-team .person-copy p { font-size:12px; }
  .about-team .person-email { overflow-wrap:anywhere; }
  .about-founders { padding:70px 0; }
  .about-founder-card { min-width:0; }
  .about-founder-body { font-size:16px; line-height:1.7; }
  .modal-box { max-height:calc(100dvh - 34px); }
  .modal-art { min-height:165px; max-height:185px; }
  .modal-copy { padding:26px 24px 30px; }
  .modal-copy h2 { font-size:clamp(38px,10vw,52px); }
}
@media (max-width: 370px) {
  .hero-title.renaissance-title { font-size:clamp(39px,10.9vw,42px); }
  .hero .hero-foot { flex-wrap:wrap; }
  .hero .hero-foot .vertical-line { display:none; }
  .hero .hero-foot span { width:100%; }
  .nav a { min-height:49px; }
  .about-display { font-size:clamp(52px,12.7vw,61px); }
  .about-hero-photos { height:270px; }
  .about-logo-card.main-card { width:60%; }
  .about-float-chip { font-size:7px; }
  .about-team .person-card { grid-template-columns: minmax(100px,36%) minmax(0,1fr); }
  .about-team .person-copy { padding:12px; }
  .about-team .person-copy h3 { font-size:22px; }
  .about-team .person-copy p { font-size:11px; }
  .about-founder-head>img { width:96px; height:96px; min-width:96px; max-width:96px; }
}
@media (max-width: 782px) {
 body.admin-bar .header { top:46px; }
 body.admin-bar .nav { max-height:calc(100dvh - 116px); }
 body.admin-bar [id="renaissance"], body.admin-bar [id="work"],
 body.admin-bar [id="about"], body.admin-bar [id="contact"] { scroll-margin-top:126px; }
}

/* v1.1.1 — Fix only the 7IAM artwork on phone/tablet screens.
   Scale the artwork to its card, not the viewport. Keep all other cards
   and the desktop design unchanged; do not modify saved WordPress data. */
@media (max-width: 940px) {
  .work-cover.cover-7iam {
    container-type: inline-size;
  }
  .cover-7iam .seven {
    left: 8%;
    top: 56%;
    bottom: auto;
    font-size: clamp(150px, 29vw, 290px);
    line-height: .9;
    letter-spacing: -.08em;
    transform: translateY(-50%);
  }
  .cover-7iam .iam-label {
    left: 52%;
    right: 7%;
    top: 56%;
    bottom: auto;
    display: flex;
    align-items: baseline;
    gap: .16em;
    font-size: clamp(28px, 5.4vw, 50px);
    line-height: 1;
    letter-spacing: -.055em;
    white-space: nowrap;
    transform: translateY(-50%);
  }
  .cover-7iam .iam-label br { display: none; }
  .cover-7iam .iam-label > span { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .cover-7iam .seven { font-size: clamp(160px, 56vw, 350px); }
  .cover-7iam .iam-label { font-size: clamp(29px, 11vw, 70px); }
}
@supports (font-size: 1cqw) {
  @media (max-width: 940px) {
    .cover-7iam .seven { font-size: 65cqw; }
    .cover-7iam .iam-label { font-size: 13cqw; }
  }
}
