/*
Theme Name: LightWork3r Independent Living
Theme URI: https://example.com/lightwork3r
Author: 500buckswebsite.com
Description: Custom WordPress theme converted from the LightWork3r Independent Living HTML site. Includes multi-page templates, preserved animations, scrolling effects, photos, gallery, pre-screen form, and responsive layout.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: lightwork3r
*/

    :root {
      --navy: #1B2A4A;
      --navy-dark: #111e35;
      --blue: #1A6FAF;
      --green: #76B82A;
      --gold: #D4A843;
      --gold-light: #e8c06a;
      --white: #FFFFFF;
      --off-white: #F4F7FB;
      --gray: #6B7280;
      --light-gray: #F3F4F6;
      --text: #1a1a2e;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      color: var(--text);
      background: var(--white);
      overflow-x: hidden;
    }

    /* ===== NAV ===== */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.97);
      backdrop-filter: blur(12px);
      border-bottom: 2px solid var(--gold);
      box-shadow: 0 2px 20px rgba(0,0,0,0.1);
      padding: 0 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }

    .nav-logo img {
      height: 48px;
      width: auto;
    }

    .nav-logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
    }

    .nav-logo-text .brand {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--navy);
      letter-spacing: 0.02em;
    }

    .nav-logo-text .brand span { color: var(--gold); }

    .nav-logo-text .tagline {
      font-size: 0.62rem;
      color: var(--blue);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-weight: 400;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      color: var(--navy);
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--gold); }

    .nav-cta {
      background: var(--green);
      color: var(--white) !important;
      padding: 0.5rem 1.2rem;
      border-radius: 4px;
      font-weight: 600 !important;
      transition: background 0.2s !important;
    }

    .nav-cta:hover { background: #68a425 !important; color: var(--white) !important; }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--navy);
      border-radius: 2px;
      transition: all 0.3s;
    }

    /* ===== HERO ===== */
    #home {
      min-height: 100vh;
      background: var(--navy-dark);
      position: relative;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    /* Nature photo layer */
    .hero-photo {
      position: absolute;
      inset: 0;
      background-image: url('https://images.unsplash.com/photo-1470770903676-69b98201ea1c?w=1920&q=85');
      background-size: cover;
      background-position: center 40%;
      opacity: 0.45;
      transform: scale(1.03);
      animation: heroZoom 18s ease-in-out infinite alternate;
    }

    @keyframes heroZoom {
      from { transform: scale(1.03); }
      to   { transform: scale(1.10); }
    }

    /* Directional overlay — darker on left for text, opens up on right for logo */
    .hero-bg {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(105deg,
          rgba(11,20,40,0.92) 0%,
          rgba(11,20,40,0.75) 42%,
          rgba(11,20,40,0.35) 65%,
          rgba(11,20,40,0.15) 100%),
        linear-gradient(to top, rgba(11,20,40,0.6) 0%, transparent 40%);
    }

    /* Subtle brand-color bloom on right side behind logo */
    .hero-grid {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 50% 70% at 78% 50%, rgba(118,184,42,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 70% 80%, rgba(212,168,67,0.07) 0%, transparent 50%);
    }

    /* Large grayscale watermark logo */
    .hero-watermark {
      position: absolute;
      right: -4%;
      top: 50%;
      transform: translateY(-50%);
      width: min(680px, 70vw);
      height: auto;
      opacity: 0.07;
      filter: grayscale(100%) brightness(3);
      pointer-events: none;
      z-index: 1;
      animation: heroZoom 18s ease-in-out infinite alternate;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 1200px;
      margin: 0 auto;
      padding: 140px 2rem 100px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
    }

    .hero-text {
      max-width: 680px;
    }

    .hero-text .eyebrow {
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
      font-weight: 600;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .hero-text .eyebrow::before {
      content: '';
      display: block;
      width: 32px;
      height: 2px;
      background: rgba(255,255,255,0.5);
    }

    .hero-text h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 5vw, 4.2rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.1;
      margin-bottom: 1.5rem;
    }

    .hero-text h1 em {
      font-style: italic;
      color: var(--gold);
    }

    .hero-text p {
      font-size: 1.05rem;
      color: rgba(255,255,255,0.72);
      line-height: 1.8;
      margin-bottom: 2.5rem;
      max-width: 480px;
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--green);
      color: var(--white);
      padding: 0.85rem 2rem;
      border-radius: 4px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.9rem;
      letter-spacing: 0.04em;
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      border: none;
      cursor: pointer;
    }

    .btn-primary:hover {
      background: #68a425;
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(118,184,42,0.3);
    }

    .btn-outline {
      background: transparent;
      color: var(--white);
      padding: 0.85rem 2rem;
      border-radius: 4px;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.9rem;
      letter-spacing: 0.04em;
      border: 1px solid rgba(255,255,255,0.35);
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-outline:hover {
      border-color: var(--white);
      color: var(--white);
    }



    .hero-stats {
      display: flex;
      gap: 3rem;
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(255,255,255,0.15);
    }

    .stat { text-align: left; }

    .stat .number {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
    }

    .stat .label {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.5);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-top: 0.25rem;
    }

    /* ===== SECTIONS ===== */
    section { padding: 5rem 2rem; }

    .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-label {
      font-size: 0.7rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--green);
      font-weight: 600;
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .section-label::before {
      content: '';
      display: block;
      width: 24px;
      height: 2px;
      background: var(--green);
    }

    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 2.8rem);
      font-weight: 700;
      color: var(--navy);
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    .section-title.light { color: var(--white); }

    .section-sub {
      font-size: 1rem;
      color: var(--gray);
      line-height: 1.8;
      max-width: 560px;
    }

    .section-sub.light { color: rgba(255,255,255,0.7); }

    /* ===== ABOUT — REDESIGN ===== */
    #about {
      background: #F4F6F4;
      padding: 5rem 2rem;
      overflow: hidden;
      position: relative;
    }

    /* Subtle warm texture — soft green + gold bleed from corners */
    #about::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 50% 60% at 100% 0%,   rgba(26,111,175,0.05) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 0%   100%, rgba(26,111,175,0.04) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 50%  100%, rgba(27,42,74,0.03) 0%, transparent 60%);
      pointer-events: none;
    }

    .about-layout {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 3.5rem;
      align-items: start;
      position: relative;
      z-index: 1;
    }

    /* ── LEFT ── */
    .about-left { display: flex; flex-direction: column; }

    .about-eyebrow {
      font-size: 0.7rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--blue);
      font-weight: 600;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .about-eyebrow::before {
      content: '';
      display: block;
      width: 24px;
      height: 2px;
      background: var(--blue);
    }

    .about-heading {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      font-weight: 700;
      color: var(--navy);
      line-height: 1.1;
      margin-bottom: 1.25rem;
    }

    .about-heading em { font-style: italic; color: var(--green); }

    .about-intro-text {
      font-size: 0.95rem;
      color: #555;
      line-height: 1.8;
      margin-bottom: 2rem;
      max-width: 440px;
    }

    .about-intro-text strong { color: var(--navy); }

    /* Tab switcher */
    .about-tabs {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
    }

    .about-tab {
      padding: 0.55rem 1.25rem;
      border-radius: 30px;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      border: 1.5px solid rgba(27,42,74,0.18);
      color: rgba(27,42,74,0.45);
      background: transparent;
      transition: all 0.25s;
      font-family: 'DM Sans', sans-serif;
    }

    .about-tab.active {
      background: var(--navy);
      border-color: var(--navy);
      color: var(--white);
    }

    .about-tab:not(.active):hover {
      border-color: var(--navy);
      color: var(--navy);
    }

    /* Tab content panel */
    .about-panel-wrap {
      position: relative;
      min-height: 200px;
    }

    .about-panel {
      background: #FFFFFF;
      border: 1.5px solid #C8D8C5;
      border-radius: 16px;
      padding: 1.75rem 2rem;
      position: absolute;
      inset: 0;
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 0.4s ease, transform 0.4s ease;
      pointer-events: none;
    }

    .about-panel.active {
      opacity: 1;
      transform: none;
      pointer-events: auto;
      position: relative;
      inset: auto;
    }

    .about-panel-label {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 0.85rem;
    }

    .about-panel p {
      font-size: 0.92rem;
      color: #4a4a5a;
      line-height: 1.85;
    }

    .about-read-more {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      color: var(--blue);
      font-size: 0.82rem;
      font-weight: 600;
      text-decoration: none;
      margin-top: 1rem;
      transition: gap 0.2s;
    }

    .about-read-more:hover { gap: 0.75rem; }

    /* stat strip */
    .about-stats {
      display: flex;
      gap: 2rem;
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 1.5px solid rgba(27,42,74,0.1);
    }

    .about-stat-item { display: flex; flex-direction: column; gap: 0.2rem; }

    .about-stat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--navy);
      line-height: 1;
    }

    .about-stat-lbl {
      font-size: 0.7rem;
      color: #999;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    /* ── RIGHT — Photo cards ── */
    .about-right {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .apc {                          /* about photo card */
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      height: 220px;
      cursor: default;
    }

    .apc-photo {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      transition: transform 0.5s ease;
    }

    .apc:hover .apc-photo { transform: scale(1.07); }

    /* default dark overlay + bottom label */
    .apc-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(17,30,53,0.85) 0%, rgba(17,30,53,0.25) 55%, transparent 100%);
      transition: opacity 0.35s;
    }

    /* slide-up reveal panel */
    .apc-reveal {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 1.25rem 1.5rem;
      transform: translateY(0);
      transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
    }

    .apc-icon {
      font-size: 1.4rem;
      margin-bottom: 0.4rem;
      display: block;
    }

    .apc-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.25;
      margin-bottom: 0;
      transition: margin-bottom 0.3s;
    }

    .apc-body {
      font-size: 0.8rem;
      color: rgba(255,255,255,0.85);
      line-height: 1.6;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.4s ease, opacity 0.35s ease 0.05s;
      margin-top: 0;
    }

    .apc:hover .apc-body {
      max-height: 120px;
      opacity: 1;
      margin-top: 0.5rem;
    }

    .apc:hover .apc-overlay {
      background: linear-gradient(to top, rgba(17,30,53,0.92) 0%, rgba(17,30,53,0.5) 60%, rgba(17,30,53,0.15) 100%);
    }

    /* accent color strip on hover per card */
    .apc::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 3px;
      transform: scaleX(0);
      transition: transform 0.35s;
    }

    .apc:hover::after { transform: scaleX(1); }
    .apc:nth-child(1)::after { background: var(--blue); }
    .apc:nth-child(2)::after { background: var(--green); }
    .apc:nth-child(3)::after { background: var(--gold); }
    .apc:nth-child(4)::after { background: var(--blue); }

    @media (max-width: 900px) {
      .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
      .about-right { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 500px) {
      .about-right { grid-template-columns: 1fr; }
    }

    /* ===== HOW IT WORKS ===== */

    #offerings {
      background: #F4F6F4;
      padding: 5rem 2rem;
      position: relative;
      overflow: hidden;
    }

    .hiw-header {
      text-align: center;
      max-width: 600px;
      margin: 0 auto 4rem;
    }

    .hiw-steps {
      display: grid;
      grid-template-columns: 1fr auto 1fr auto 1fr;
      align-items: start;
      gap: 0;
      max-width: 960px;
      margin: 0 auto;
    }

    .hiw-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 1rem;
      position: relative;
    }

    .hiw-step-circle {
      width: 88px;
      height: 88px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
      position: relative;
      transition: transform 0.3s;
      flex-shrink: 0;
    }

    .hiw-step:hover .hiw-step-circle { transform: scale(1.08); }

    .hiw-step-circle svg {
      width: 36px;
      height: 36px;
    }

    .hiw-step-num {
      position: absolute;
      top: -8px;
      right: -8px;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: var(--white);
      border: 2px solid currentColor;
      font-size: 0.7rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'DM Sans', sans-serif;
    }

    .hiw-step:nth-child(1) .hiw-step-circle { background: rgba(26,111,175,0.12); color: var(--blue); }
    .hiw-step:nth-child(1) .hiw-step-num    { color: var(--blue); }
    .hiw-step:nth-child(3) .hiw-step-circle { background: rgba(212,168,67,0.15); color: var(--gold); }
    .hiw-step:nth-child(3) .hiw-step-num    { color: var(--gold); }
    .hiw-step:nth-child(5) .hiw-step-circle { background: rgba(118,184,42,0.15); color: var(--green); }
    .hiw-step:nth-child(5) .hiw-step-num    { color: var(--green); }

    .hiw-step h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 0.6rem;
    }

    .hiw-step p {
      font-size: 0.88rem;
      color: #666;
      line-height: 1.75;
      max-width: 220px;
    }

    .hiw-step .hiw-tag {
      display: inline-block;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.3rem 0.75rem;
      border-radius: 20px;
      margin-bottom: 0.75rem;
    }

    .hiw-step:nth-child(1) .hiw-tag { background: rgba(26,111,175,0.1);  color: var(--blue); }
    .hiw-step:nth-child(3) .hiw-tag { background: rgba(212,168,67,0.18); color: #8a6210; }
    .hiw-step:nth-child(5) .hiw-tag { background: rgba(118,184,42,0.15); color: #4d7a1c; }

    /* Arrow connector */
    .hiw-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 32px;
      color: #ccc;
    }

    .hiw-arrow svg { width: 32px; height: 32px; }

    /* Bottom CTA bar */
    .hiw-cta-bar {
      max-width: 760px;
      margin: 4rem auto 0;
      background: var(--navy);
      border-radius: 20px;
      padding: 2rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .hiw-cta-bar p {
      color: rgba(255,255,255,0.75);
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .hiw-cta-bar p strong { color: var(--white); }

    @media (max-width: 760px) {
      .hiw-steps {
        grid-template-columns: 1fr;
        max-width: 360px;
        gap: 0;
      }
      .hiw-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
      .hiw-cta-bar { flex-direction: column; text-align: center; }
    }

    /* ===== GALLERY ===== */
    #gallery { background: #F4F6F4; }

    .gallery-intro {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      margin-bottom: 3rem;
    }

    .gallery-hero-img {
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 16px 48px rgba(0,0,0,0.15);
      position: relative;
    }

    .gallery-hero-img img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      display: block;
    }

    .gallery-hero-img .img-badge {
      position: absolute;
      bottom: 16px;
      left: 16px;
      background: var(--navy);
      color: var(--white);
      padding: 0.4rem 1rem;
      border-radius: 20px;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: 1px solid var(--gold);
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    .gallery-item {
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
      cursor: pointer;
    }

    .gallery-item img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      transition: transform 0.4s;
    }

    .gallery-item:hover img { transform: scale(1.05); }

    .gallery-item .overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(17,30,53,0.75) 0%, transparent 60%);
      display: flex;
      align-items: flex-end;
      padding: 1rem;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .gallery-item:hover .overlay { opacity: 1; }

    .gallery-item .overlay span {
      color: var(--white);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .gallery-note {
      margin-top: 1.5rem;
      text-align: center;
      font-size: 0.8rem;
      color: var(--gray);
      font-style: italic;
    }

    /* ===== WHO WE SERVE ===== */
    #serve { background: #F4F6F4; }

    .serve-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin-top: 2.5rem;
    }

    .serve-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      background: #EAEFE9;
      border-radius: 10px;
      padding: 1.25rem 1.5rem;
      border: 1px solid transparent;
      transition: border-color 0.2s;
    }

    .serve-item:hover { border-color: var(--green); }

    .serve-check {
      width: 32px;
      height: 32px;
      background: var(--green);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: white;
      font-size: 0.9rem;
    }

    .serve-item span {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--navy);
    }

    .serve-intro {
      background: var(--navy);
      border-radius: 16px;
      padding: 2.5rem;
      margin-top: 2.5rem;
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .serve-intro p {
      color: rgba(255,255,255,0.8);
      font-size: 0.95rem;
      line-height: 1.8;
    }

    .serve-intro .apply-badge {
      flex-shrink: 0;
      text-align: center;
      background: rgba(212,168,67,0.15);
      border: 1px solid var(--gold);
      border-radius: 12px;
      padding: 1.5rem 2rem;
    }

    .apply-badge .amount {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
    }

    .apply-badge .type {
      font-size: 0.72rem;
      color: rgba(255,255,255,0.6);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-top: 0.4rem;
    }

    .apply-badge .cta-note {
      font-size: 0.72rem;
      color: var(--green);
      margin-top: 0.5rem;
      font-weight: 600;
    }

    /* ===== CORE VALUES ===== */
    #values {
      background: var(--navy);
      padding: 5rem 2rem;
    }

    .values-intro {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 2rem;
      margin-bottom: 3rem;
    }

    .values-intro-left { max-width: 480px; }

    .values-hint {
      font-size: 0.78rem;
      color: rgba(255,255,255,0.4);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      white-space: nowrap;
      padding-bottom: 0.25rem;
    }

    .values-hint svg { opacity: 0.5; }

    /* Grid */
    .values-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }

    /* Flip card shell */
    .vc-scene {
      perspective: 900px;
      height: 260px;
      cursor: pointer;
    }

    .vc-scene.wide {
      grid-column: span 3;
      height: 120px;
    }

    .vc-card {
      width: 100%;
      height: 100%;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
    }

    .vc-scene:hover .vc-card,
    .vc-scene.flipped .vc-card {
      transform: rotateY(180deg);
    }

    /* Shared face styles */
    .vc-front, .vc-back {
      position: absolute;
      inset: 0;
      border-radius: 16px;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      display: flex;
      flex-direction: column;
      padding: 1.75rem;
    }

    /* FRONT */
    .vc-front {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      justify-content: space-between;
      transition: background 0.3s;
      overflow: hidden;
    }

    .vc-front-photo {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0.22;
      transition: opacity 0.35s;
      border-radius: 16px;
    }

    .vc-scene:hover .vc-front-photo {
      opacity: 0.32;
    }

    .vc-front > *:not(.vc-front-photo) {
      position: relative;
      z-index: 1;
    }

    .vc-scene:hover .vc-front {
      background: rgba(255,255,255,0.08);
    }

    .vc-front-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .vc-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 4.5rem;
      font-weight: 700;
      line-height: 1;
      color: rgba(255,255,255,0.1);
      user-select: none;
    }

    .vc-icon-wrap {
      width: 52px;
      height: 52px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .vc-front h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.25;
    }

    .vc-flip-hint {
      font-size: 0.65rem;
      color: rgba(255,255,255,0.3);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 0.3rem;
      margin-top: auto;
    }

    /* Wide front (bottom banner card) */
    .vc-scene.wide .vc-front {
      flex-direction: row;
      align-items: center;
      gap: 2rem;
    }

    .vc-scene.wide .vc-front-top { flex-direction: row; gap: 1rem; align-items: center; }
    .vc-scene.wide .vc-num { font-size: 2.5rem; }
    .vc-scene.wide .vc-flip-hint { margin-top: 0; margin-left: auto; }

    /* BACK */
    .vc-back {
      background: var(--gold);
      transform: rotateY(180deg);
      justify-content: center;
      gap: 0.75rem;
    }

    .vc-back h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--navy-dark);
    }

    .vc-back p {
      font-size: 0.85rem;
      color: rgba(17,30,53,0.82);
      line-height: 1.75;
    }

    /* each card gets its own accent color on back */
    .vc-scene:nth-child(1) .vc-back { background: #1A6FAF; }
    .vc-scene:nth-child(1) .vc-back h3,
    .vc-scene:nth-child(1) .vc-back p { color: rgba(255,255,255,0.92); }

    .vc-scene:nth-child(2) .vc-back { background: #76B82A; }
    .vc-scene:nth-child(2) .vc-back h3 { color: #fff; }
    .vc-scene:nth-child(2) .vc-back p { color: rgba(255,255,255,0.9); }

    .vc-scene:nth-child(3) .vc-back { background: #D4A843; }
    .vc-scene:nth-child(3) .vc-back h3 { color: var(--navy-dark); }
    .vc-scene:nth-child(3) .vc-back p { color: rgba(17,30,53,0.85); }

    .vc-scene:nth-child(4) .vc-back { background: #1A6FAF; }
    .vc-scene:nth-child(4) .vc-back h3,
    .vc-scene:nth-child(4) .vc-back p { color: rgba(255,255,255,0.92); }

    .vc-scene:nth-child(5) .vc-back { background: #76B82A; }
    .vc-scene:nth-child(5) .vc-back h3 { color: #fff; }
    .vc-scene:nth-child(5) .vc-back p { color: rgba(255,255,255,0.9); }

    .vc-scene:nth-child(6) .vc-back { background: #D4A843; }
    .vc-scene:nth-child(6) .vc-back h3 { color: var(--navy-dark); }
    .vc-scene:nth-child(6) .vc-back p { color: rgba(17,30,53,0.85); }

    @media (max-width: 900px) {
      .values-grid { grid-template-columns: 1fr 1fr; }
      .vc-scene.wide { grid-column: span 2; }
      .values-hint { display: none; }
    }

    @media (max-width: 540px) {
      .values-grid { grid-template-columns: 1fr; }
      .vc-scene.wide { grid-column: span 1; height: 220px; }
      .vc-scene.wide .vc-front { flex-direction: column; }
      .vc-scene.wide .vc-flip-hint { margin-left: 0; margin-top: auto; }
    }

    /* ===== HOUSE CULTURE ===== */
    #culture {
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    }

    .culture-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      margin-top: 3rem;
    }

    .culture-list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .culture-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      padding: 1rem 1.25rem;
      background: rgba(255,255,255,0.04);
      border-radius: 8px;
      border-left: 2px solid var(--gold);
    }

    .culture-item p {
      color: rgba(255,255,255,0.8);
      font-size: 0.9rem;
      line-height: 1.6;
    }

    .culture-item p strong { color: var(--white); }

    .culture-note {
      background: rgba(118,184,42,0.12);
      border: 1px solid rgba(118,184,42,0.3);
      border-radius: 12px;
      padding: 2rem;
    }

    .culture-note h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.4rem;
      color: var(--white);
      margin-bottom: 1rem;
    }

    .culture-note p {
      color: rgba(255,255,255,0.72);
      font-size: 0.9rem;
      line-height: 1.8;
    }

    /* ===== PRE-SCREEN FORM ===== */
    #prescreen { background: #F4F6F4; }

    .form-header {
      text-align: center;
      max-width: 640px;
      margin: 0 auto 3rem;
    }

    .form-wrapper {
      max-width: 760px;
      margin: 0 auto;
      background: #EAEFE9;
      border-radius: 16px;
      padding: 2.5rem;
      box-shadow: 0 4px 32px rgba(0,0,0,0.08);
      border: 1px solid rgba(0,0,0,0.06);
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .form-group.full { grid-column: 1 / -1; }

    .form-group label {
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--navy);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      background: var(--white);
      border: 1px solid rgba(0,0,0,0.12);
      border-radius: 6px;
      padding: 0.65rem 1rem;
      font-size: 0.9rem;
      font-family: 'DM Sans', sans-serif;
      color: var(--text);
      transition: border-color 0.2s;
      outline: none;
      width: 100%;
    }

    .form-group textarea { resize: vertical; min-height: 100px; }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(26,111,175,0.1);
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder { color: #aaa; }

    .radio-group {
      display: flex;
      gap: 1rem;
      margin-top: 0.2rem;
    }

    .radio-option {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
      font-size: 0.9rem;
    }

    .radio-option input { width: auto; }

    .checkbox-group {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
      margin-top: 0.2rem;
    }

    .checkbox-option {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      cursor: pointer;
    }

    .checkbox-option input { width: auto; }

    .form-section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--navy);
      margin: 1.5rem 0 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid rgba(0,0,0,0.1);
      grid-column: 1 / -1;
    }

    .form-submit-row {
      margin-top: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .form-note {
      font-size: 0.78rem;
      color: var(--gray);
      line-height: 1.5;
      max-width: 320px;
    }

    #form-success {
      display: none;
      text-align: center;
      padding: 3rem;
      background: rgba(118,184,42,0.08);
      border-radius: 12px;
      border: 1px solid rgba(118,184,42,0.2);
    }

    #form-success h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.8rem;
      color: var(--navy);
      margin-bottom: 0.75rem;
    }

    #form-success p { color: var(--gray); font-size: 0.95rem; }

    /* ===== FOOTER (contact + copyright merged) ===== */
    footer {
      background: #0a1120;
      position: relative;
      overflow: hidden;
    }

    /* Giant logo watermark — left side, spans full footer height */
    .footer-watermark {
      position: absolute;
      left: -4%;
      top: 50%;
      transform: translateY(-50%);
      width: min(520px, 44vw);
      height: auto;
      opacity: 0.055;
      filter: grayscale(100%) brightness(3);
      pointer-events: none;
      user-select: none;
      z-index: 0;
    }

    /* ── Contact area ── */
    .footer-contact {
      padding: 5rem 2rem 3.5rem;
      position: relative;
      z-index: 1;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
      max-width: 1200px;
      margin: 0 auto;
    }

    .contact-info h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.5rem;
      color: var(--white);
      margin-bottom: 1rem;
      line-height: 1.2;
    }

    .contact-info p {
      color: rgba(255,255,255,0.55);
      font-size: 0.95rem;
      line-height: 1.8;
      margin-bottom: 2rem;
    }

    .contact-items {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
    }

    .contact-icon {
      width: 40px;
      height: 40px;
      background: rgba(212,168,67,0.12);
      border: 1px solid rgba(212,168,67,0.22);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 1rem;
    }

    .contact-detail .label {
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--gold);
      margin-bottom: 0.2rem;
      font-weight: 600;
    }

    .contact-detail a,
    .contact-detail p {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      font-size: 0.9rem;
      line-height: 1.65;
    }

    .contact-detail a:hover { color: var(--gold); }

    .contact-cta {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 16px;
      padding: 2.5rem;
    }

    .contact-cta h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      color: var(--white);
      margin-bottom: 1rem;
    }

    .contact-cta p {
      color: rgba(255,255,255,0.6);
      font-size: 0.9rem;
      line-height: 1.7;
      margin-bottom: 1.5rem;
    }

    .call-button {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      background: var(--gold);
      color: var(--navy-dark);
      padding: 1rem 1.5rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: 0.75rem;
      transition: all 0.2s;
    }

    .call-button:hover { background: var(--gold-light); transform: translateY(-1px); }

    .call-button-2 {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      background: transparent;
      color: var(--white);
      padding: 1rem 1.5rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      border: 1px solid rgba(255,255,255,0.2);
      transition: all 0.2s;
    }

    .call-button-2:hover { border-color: var(--gold); color: var(--gold); }

    .contact-apply { margin-top: 1.25rem; }

    .contact-apply a {
      display: block;
      text-align: center;
      background: var(--green);
      color: white;
      padding: 0.9rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      transition: background 0.2s;
    }

    .contact-apply a:hover { background: #68a425; }

    /* ── Copyright bar ── */
    .footer-bar {
      padding: 1.25rem 2rem;
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.6rem;
      border-top: 1px solid rgba(255,255,255,0.05);
    }

    .footer-bar p {
      color: rgba(255,255,255,0.28);
      font-size: 0.78rem;
    }

    .footer-bar span { color: var(--gold); }

    .footer-powered {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      opacity: 0.38;
      transition: opacity 0.2s;
    }

    .footer-powered:hover { opacity: 0.7; }

    .footer-powered img {
      height: 14px;
      width: auto;
    }

    .footer-powered span {
      font-size: 0.68rem;
      color: rgba(255,255,255,0.7);
      letter-spacing: 0.06em;
      font-weight: 400;
    }

    /* ===== MOBILE ===== */
    @media (max-width: 900px) {
      .hero-stats { grid-template-columns: repeat(3,1fr); }
      .stat { text-align: center; }
      .culture-grid, .gallery-intro { grid-template-columns: 1fr; gap: 2rem; }
      .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
      .values-grid { grid-template-columns: 1fr 1fr; }
      .serve-intro { flex-direction: column; text-align: center; }
    }

    @media (max-width: 600px) {
      .nav-links { display: none; }
      .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: var(--white);
        padding: 1.5rem 2rem;
        gap: 1.5rem;
        border-bottom: 2px solid var(--gold);
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
      }
      .hamburger { display: flex; }
      .values-grid { grid-template-columns: 1fr; }
      .serve-grid { grid-template-columns: 1fr; }
      .form-grid { grid-template-columns: 1fr; }
      .checkbox-group { grid-template-columns: 1fr; }
      .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
    }


    /* Section dividers — separates adjacent light sections cleanly */
    #offerings { border-top: 1px solid rgba(27,42,74,0.07); }
    #gallery   { border-top: 1px solid rgba(27,42,74,0.07); }
    #serve     { border-top: 1px solid rgba(27,42,74,0.07); }
    #prescreen { border-top: 1px solid rgba(27,42,74,0.07); }
    /* ===== SCROLL REVEAL ===== */
    [data-reveal] {
      opacity: 0;
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    [data-reveal="fade-up"]    { transform: translateY(48px); }
    [data-reveal="fade-left"]  { transform: translateX(-56px); }
    [data-reveal="fade-right"] { transform: translateX(56px); }
    [data-reveal="fade-scale"] { transform: scale(0.88); }
    [data-reveal="fade-down"]  { transform: translateY(-32px); }

    [data-reveal].revealed {
      opacity: 1;
      transform: none;
    }

    /* stagger children inside a parent with data-stagger */
    [data-stagger] > * {
      opacity: 0;
      transform: translateY(36px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }

    [data-stagger].revealed > * {
      opacity: 1;
      transform: none;
    }

    [data-stagger].revealed > *:nth-child(1)  { transition-delay: 0.05s; }
    [data-stagger].revealed > *:nth-child(2)  { transition-delay: 0.13s; }
    [data-stagger].revealed > *:nth-child(3)  { transition-delay: 0.21s; }
    [data-stagger].revealed > *:nth-child(4)  { transition-delay: 0.29s; }
    [data-stagger].revealed > *:nth-child(5)  { transition-delay: 0.37s; }
    [data-stagger].revealed > *:nth-child(6)  { transition-delay: 0.45s; }
    [data-stagger].revealed > *:nth-child(7)  { transition-delay: 0.53s; }
    [data-stagger].revealed > *:nth-child(8)  { transition-delay: 0.61s; }

  

/* WordPress admin bar spacing */
.admin-bar nav { top: 32px; }
@media (max-width: 782px) { .admin-bar nav { top: 46px; } }
body.page-template-default main, body:not(.home) main { padding-top:72px; }

/* Hidden anti-spam honeypot field for the custom Pre-Screen form. */
.lightwork3r-hp-field {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
