
  :root {
    --bg:      #1c1510;
    --bg2:     #221a13;
    --bg3:     #2a2018;
    --border:  #3d3025;
    --muted:   #7a6a55;
    --body:    #c4aa8a;
    --light:   #e8d8c0;
    --white:   #f7f0e6;
    --gold:    #c8924a;
    --gold-lt: #e0b06a;
    --warm:    #d4a574;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { cursor: none; }
  a, button, [onclick] { cursor: none; }
  .cursor-dot {
    position: fixed; top: 0; left: 0; width: 8px; height: 8px;
    background: var(--white); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: background 0.2s ease;
    opacity: 0;
  }
  .cursor-ring {
    position: fixed; top: 0; left: 0; width: 32px; height: 32px;
    border: 1px solid rgba(255,255,255,0.45); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    opacity: 0;
  }
  .cursor-dot.active, .cursor-ring.active { opacity: 1; }
  body:has(a:hover) .cursor-ring,
  body:has(button:hover) .cursor-ring,
  body:has([onclick]:hover) .cursor-ring { width: 48px; height: 48px; border-color: var(--gold); }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--body);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none;
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 26px 52px;
    border-bottom: 1px solid transparent;
    transition: background .4s ease, padding .4s ease, border-color .4s ease;
  }
  nav.scrolled {
    background: rgba(28,21,16,0.94);
    backdrop-filter: blur(14px);
    padding: 18px 52px;
    border-bottom-color: var(--border);
  }
  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px; font-weight: 300; letter-spacing: 0.55em;
    color: var(--white); text-decoration: none;
    display: inline-flex; flex-direction: column; align-items: center; gap: 0;
  }
  /* Letter-spacing adds a trailing gap after the final glyph, which makes a
     centred lockup sit visibly left. The negative margin cancels that gap so
     the word, the rule and the sub-line all share one true optical centre. */
  .nav-logo-word {
    display: block;
    letter-spacing: 0.55em; margin-right: -0.55em;
  }
  .nav-logo-sep {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--gold); opacity: 0.85;
    margin: 5px 0;
  }
  .nav-logo-sub {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 8px; font-weight: 300;
    letter-spacing: 0.28em; margin-right: -0.28em;
    text-transform: uppercase; text-align: center;
    color: var(--light);
  }

  /* TAB NAV */
  .nav-tabs {
    display: flex; list-style: none; gap: 4px;
  }
  .nav-tabs li a {
    display: block; padding: 8px 16px;
    font-size: 10px; font-weight: 300; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--light);
    text-decoration: none;
    border-radius: 2px;
    transition: background .25s ease, color .25s ease;
    white-space: nowrap;
  }
  .nav-tabs li a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
  .nav-tabs li a.active { background: var(--gold); color: var(--bg); }

  /* HAMBURGER */
  .hamburger {
    display: none; flex-direction: column; gap: 5px;
     background: none; border: none; padding: 4px;
  }
  .hamburger span { display: block; width: 24px; height: 1px; background: var(--light); transition: all .3s ease; }

  /* MOBILE NAV */
  .mobile-nav {
    position: fixed; inset: 0;
    background: rgba(28,21,16,0.98); z-index: 200;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 32px;
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px; font-weight: 300; color: var(--white);
    text-decoration: none; letter-spacing: 0.1em; 
    transition: color .3s ease;
  }
  .mobile-nav a:hover { color: var(--gold); }
  .mobile-close {
    position: absolute; top: 28px; right: 52px;
    background: none; border: none;
    color: var(--muted); font-size: 22px; 
    transition: color .3s ease;
  }
  .mobile-close:hover { color: var(--white); }

  /* HERO */
  .hero {
    height: 100vh; position: relative;
    display: flex; align-items: flex-end;
    padding: 0 52px 68px; overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background-image: url('images/Boyd_Architects_Mount_Zion_03.jpg');
    background-size: cover; background-position: center;
    animation: heroZoom 14s ease-out forwards;
  }
  @keyframes heroZoom {
    from { transform: scale(1.07); }
    to   { transform: scale(1.0); }
  }
  .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg,
      rgba(28,21,16,0.25) 0%,
      rgba(28,21,16,0.05) 35%,
      rgba(28,21,16,0.55) 65%,
      rgba(28,21,16,0.97) 100%);
  }
  .hero-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(28,21,16,0.6) 100%);
    pointer-events: none;
  }
  .hero-content {
    position: relative; z-index: 2; max-width: 860px;
    animation: fadeUp 1.4s ease 0.2s both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero-eyebrow {
    font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 22px; font-weight: 300;
  }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(58px, 8.5vw, 124px);
    font-weight: 300; line-height: 0.93;
    letter-spacing: -0.01em; color: var(--white); margin-bottom: 30px;
  }
  .hero-title em { font-style: italic; color: var(--warm); }
  .hero-sub {
    font-size: 13px; font-weight: 200; letter-spacing: 0.07em;
    color: var(--muted); max-width: 340px; line-height: 1.85;
  }
  .hero-scroll {
    position: absolute; right: 52px; bottom: 68px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    z-index: 2; animation: fadeUp 1.4s ease 0.8s both;
  }
  .hero-scroll span {
    font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--muted); writing-mode: vertical-rl;
  }
  .scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: pulse 2.2s ease infinite;
  }
  @keyframes pulse { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }

  /* MARQUEE */
  .marquee-wrap { background: var(--gold); padding: 13px 0; overflow: hidden; white-space: nowrap; }
  .marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
  .marquee-track span {
    font-size: 10px; font-weight: 300; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--bg); padding: 0 44px;
  }
  .marquee-track span.dot { padding: 0; opacity: 0.4; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* SECTIONS */
  section { padding: 120px 52px; }
  .section-label {
    font-size: 9px; letter-spacing: 0.38em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 18px;
    display: flex; align-items: center; gap: 14px;
  }
  .section-label::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }

  /* ABOUT */
  .about {
    background: var(--bg2);
    display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center;
  }
  .about-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 70px); font-weight: 300; line-height: 1.08;
    color: var(--white); margin-bottom: 30px;
  }
  .about-text h2 em { font-style: italic; color: var(--warm); }
  .about-text p { font-size: 14px; line-height: 1.95; color: var(--muted); margin-bottom: 18px; font-weight: 300; text-align: justify; }
  .about-text .mantra {
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px; font-style: italic; color: var(--warm);
    margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border);
  }
  .about-image { position: relative; }
  .about-image img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
    position: relative; z-index: 1;
  }
  .about-image::before {
    content: ''; position: absolute;
    top: -18px; left: -18px; right: 18px; bottom: 18px;
    border: 1px solid var(--border); z-index: 0; pointer-events: none;
  }

  /* PROJECTS */
  .projects { background: var(--bg); }
  .projects-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
  .projects-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 70px); font-weight: 300; color: var(--white); line-height: 1;
  }
  .view-all {
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--muted); text-decoration: none; 
    display: flex; align-items: center; gap: 10px;
    transition: color .3s ease; white-space: nowrap; margin-bottom: 6px;
  }
  .view-all::after { content: '→'; font-size: 14px; transition: transform .3s ease; }
  .view-all:hover { color: var(--gold); }
  .view-all:hover::after { transform: translateX(4px); }
  .projects-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
  .project-card { position: relative; overflow: hidden;  background: var(--bg3); }







  .project-card img {
    width: 100%; height: 520px; object-fit: cover; object-position: center 30%; display: block;
    transition: transform .8s cubic-bezier(.25,.46,.45,.94), filter .5s ease;
    filter: saturate(0.85) brightness(0.9);
  }

  .project-card:hover img { transform: scale(1.05); filter: saturate(1.1) brightness(1.0); }
  .project-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(28,21,16,0.92) 0%, transparent 55%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
    transition: background .4s ease;
  }
  .project-card:hover .project-card-overlay {
    background: linear-gradient(to top, rgba(28,21,16,0.88) 0%, rgba(28,21,16,0.15) 65%);
  }
  .project-card-num { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 5px; }
  .project-card-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--white); letter-spacing: 0.05em; }
  .project-card-arrow {
    position: absolute; top: 18px; right: 18px;
    width: 34px; height: 34px;
    border: 1px solid rgba(200, 146, 74,0.3); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 13px;
    opacity: 0; transform: scale(0.8); transition: all .3s ease;
  }
  .project-card:hover .project-card-arrow { opacity: 1; transform: scale(1); border-color: var(--gold); }

  /* SERVICES */
  .services { background: #000; position: relative; overflow: hidden; }
  .services::before {
    content: 'NOTRE'; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(90px, 18vw, 240px); font-weight: 300;
    color: rgba(200, 146, 74,0.04); white-space: nowrap;
    pointer-events: none; letter-spacing: 0.15em;
  }
  .services-header { margin-bottom: 72px; }
  .services-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 70px); font-weight: 300; color: var(--white); max-width: 580px; line-height: 1.08;
  }
  .services-intro { max-width: 580px; font-size: 14px; line-height: 1.95; color: var(--muted); margin-top: 22px; text-align: justify; }
  .services-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
  .service-item { background: var(--bg3); padding: 48px 38px; transition: background .3s ease;  }
  .service-item:hover { background: var(--bg2); }
  .service-num { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 18px; }
  .service-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; color: var(--white); margin-bottom: 14px; line-height: 1.2; }
  .service-desc { font-size: 13px; line-height: 1.85; color: var(--muted); font-weight: 300; text-align: justify; }

  /* INVEST */
  .invest { background: var(--bg2); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .invest-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 4vw, 62px); font-weight: 300; color: var(--white); line-height: 1.08; margin-bottom: 22px;
  }
  .invest-content h2 em { font-style: italic; color: var(--warm); }
  .invest-content p { font-size: 14px; line-height: 1.95; color: var(--muted); margin-bottom: 16px; text-align: justify; }
  .invest-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; padding-top: 44px; border-top: 1px solid var(--border); }
  .stat-num { font-family: 'Cormorant Garamond', serif; font-size: 54px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 8px; }
  .stat-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
  .invest-visual { position: relative; height: 520px; background: var(--bg3); overflow: hidden; }
  .invest-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: 0.85; transition: opacity .5s ease; filter: saturate(0.9); }
  .invest-visual:hover img { opacity: 0.95; }
  .invest-visual-label { position: absolute; bottom: 22px; left: 22px; font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--warm); }

  /* CTA */
  .cta { background: var(--bg); text-align: center; padding: 160px 52px; }
  .cta h1,
  .cta h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(52px, 7vw, 104px); font-weight: 300; line-height: 1; color: var(--white); margin-bottom: 28px; }
  .cta h1 em,
  .cta h2 em { font-style: italic; color: var(--warm); }
  .cta p { font-size: 14px; color: var(--muted); margin-bottom: 52px; letter-spacing: 0.05em; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 14px;
    border: 1px solid var(--gold); color: var(--gold); text-decoration: none;
    font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
    padding: 18px 42px; 
    transition: color .35s ease; position: relative; overflow: hidden;
  }
  .btn-primary::before {
    content: ''; position: absolute; inset: 0; background: var(--gold);
    transform: translateX(-100%);
    transition: transform .4s cubic-bezier(.25,.46,.45,.94);
  }
  .btn-primary:hover { color: var(--bg); }
  .btn-primary:hover::before { transform: translateX(0); }
  .btn-primary span { position: relative; z-index: 1; }

  /* FOOTER */
  footer { background: var(--bg2); padding: 80px 52px 40px; border-top: 1px solid var(--border); }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
  .footer-brand .logo { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; letter-spacing: 0.35em; color: var(--white); margin-bottom: 14px; }
  .footer-brand p { font-size: 12px; color: var(--muted); line-height: 1.85; max-width: 250px; text-align: justify; }
  .footer-col h4 { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 11px; }
  .footer-col ul li a { font-size: 12px; color: var(--muted); text-decoration: none;  transition: color .3s ease; letter-spacing: 0.05em; }
  .footer-col ul li a:hover { color: var(--light); }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; }
  .footer-copy { font-size: 11px; color: var(--border); letter-spacing: 0.1em; }
  .social-links { display: flex; gap: 20px; }
  .social-links a { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-decoration: none;  transition: color .3s ease; }
  .social-links a:hover { color: var(--light); }

  /* LIGHTBOX */
  .lightbox {
    display: flex; visibility: hidden; opacity: 0; pointer-events: none; position: fixed; inset: 0; z-index: 9000;
    background: rgba(28,21,16,0.97);
    align-items: center; justify-content: center;
  }
  .lightbox.active { visibility: visible; opacity: 1; pointer-events: all; touch-action: manipulation; }
  .lightbox-inner {
    position: relative; max-width: 90vw; max-height: 90vh;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
  }
  .lightbox-img {
    max-width: 90vw; max-height: 78vh;
    object-fit: contain; display: block;
  }
  .lightbox-close {
    position: fixed; top: 28px; right: 40px;
    background: none; border: 1px solid var(--border); color: var(--muted);
    font-size: 18px; width: 42px; height: 42px; border-radius: 50%;
    cursor: none; display: flex; align-items: center; justify-content: center;
    transition: all .3s ease;
  }
  .lightbox-close:hover { border-color: var(--gold); color: var(--gold); }
  .lightbox-nav {
    position: fixed; top: 50%; transform: translateY(-50%);
    background: none; border: 1px solid var(--border); color: var(--muted);
    font-size: 20px; width: 48px; height: 48px; border-radius: 50%;
    cursor: none; display: flex; align-items: center; justify-content: center;
    transition: all .3s ease;
  }
  .lightbox-nav:hover { border-color: var(--gold); color: var(--gold); }
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
  .lightbox-counter {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.2em; color: var(--muted);
  }
  .lightbox-thumbs {
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
    max-width: 90vw;
  }
  .lightbox-thumb {
    width: 54px; height: 36px; object-fit: cover;
    opacity: 0.45; cursor: none; border: 1px solid transparent;
    transition: opacity .3s ease, border-color .3s ease;
  }
  .lightbox-thumb.active, .lightbox-thumb:hover { opacity: 1; border-color: var(--gold); }
  .project-card[onclick] { cursor: none; }


  .project-thumbs { display:flex; gap:8px; flex-wrap:wrap; margin-top:28px; padding-top:24px; border-top:1px solid var(--border); }
  .project-thumb { width:80px; height:56px; object-fit:cover; opacity:0.6; cursor:none; border:1px solid transparent; transition:opacity .3s ease,border-color .3s ease,transform .3s ease; pointer-events:auto; touch-action:manipulation; -webkit-tap-highlight-color: transparent; }
  .project-thumb:hover { opacity:1; border-color:var(--gold); transform:scale(1.05); }

  /* HIDE CUSTOM CURSOR ON MOBILE */
  @media (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none !important; }
    body, a, button, [onclick] { cursor: auto; }
  }

  /* SCROLL REVEAL */
  .reveal { opacity: 1; transform: translateY(0); transition: opacity .85s ease, transform .85s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: .1s; }
  .reveal-delay-2 { transition-delay: .2s; }
  .reveal-delay-3 { transition-delay: .3s; }
  .reveal-delay-4 { transition-delay: .4s; }
  .reveal-delay-5 { transition-delay: .5s; }

  /* RESPONSIVE — TABLET (max 960px) */
  @media (max-width: 960px) {
    nav { padding: 24px 24px; }
    nav.scrolled { padding: 16px 24px; }
    .nav-tabs { display: none; }
    .hamburger { display: flex; }
    section { padding: 80px 24px; }
    .hero { padding: 0 24px 52px; }
    .hero-scroll { display: none; }
    .about { grid-template-columns: 1fr; gap: 48px; }
    .about-image { order: -1; }
    .about-image::before { display: none; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .project-card { grid-column: auto !important; }
    .project-card:nth-child(1) { grid-column: 1 / 3 !important; }
    .services-list { grid-template-columns: 1fr 1fr; }
    .invest { grid-template-columns: 1fr; gap: 48px; }
    .invest-visual { height: 340px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
    .mobile-close { right: 24px; }
    .cta { padding: 100px 24px; }
  }

  /* RESPONSIVE — MOBILE (max 560px) */
  @media (max-width: 560px) {
    /* Nav */
    nav { padding: 20px 20px; }
    nav.scrolled { padding: 14px 20px; }
    .nav-logo { font-size: 20px; }

    /* Hero */
    .hero { padding: 0 20px 44px; }
    .hero-title { font-size: clamp(44px, 13vw, 72px); }
    .hero-eyebrow { margin-bottom: 14px; }
    .hero-sub { font-size: 12px; max-width: 100%; }

    /* Sections */
    section { padding: 64px 20px; }

    /* About */
    .about { gap: 32px; }
    .about-text h2 { font-size: clamp(34px, 9vw, 52px); }
    .about-text p { font-size: 13px; }

    /* Projects */
    .projects-grid { grid-template-columns: 1fr; }
    .project-card { grid-column: 1 / 2 !important; }
    .project-card img { height: 260px; }
    .project-thumbs { gap: 6px; }
    .project-thumb { width: 60px; height: 42px; }

    /* Project descriptions — stack vertically on mobile */
    .proj-desc-inner { flex-direction: column !important; gap: 20px !important; }
    .proj-desc-title { white-space: normal !important; }

    /* Services */
    .services-list { grid-template-columns: 1fr; }
    .service-item { padding: 32px 24px; }
    .service-title { font-size: 22px; }

    /* Invest */
    .invest-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
    .stat-num { font-size: 40px; }
    .invest-visual { height: 240px; }

    /* Team */
    .team-grid { grid-template-columns: 1fr !important; }

    /* CTA */
    .cta { padding: 80px 20px; }
    .cta h1,
    .cta h2 { font-size: clamp(40px, 11vw, 72px); }

    /* Footer */
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
    footer { padding: 60px 20px 32px; }

    /* Lightbox */
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-thumbs { display: flex; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
    .lightbox-thumbs::-webkit-scrollbar { display: none; }
    .lightbox-img { max-height: 70vh; }
  }

/* ==========================================================================
   NOTRE PLATFORM — added for the multi-business architecture.
   Everything above this line is the original single-page stylesheet, kept
   intact so Projects and the galleries render exactly as they did before.
   ========================================================================== */

/* --- Accent --------------------------------------------------------------
   Gold is the single Notre accent, used on every page for eyebrows, numerals,
   hairlines and primary buttons. */
:root { --accent: #c8924a; --accent-soft: rgba(200,146,74,0.14); }
/* One accent across the whole platform. The three businesses are distinguished
   by their content and page, not by color — gold is the Notre constant. */

.section-label        { color: var(--accent); }
.section-label::before{ background: var(--accent); }

/* --- Cursor: only hide the real one when there's a precise pointer and JS
   has actually started drawing a replacement. Prevents an invisible cursor
   on hybrid devices or if the script fails. --------------------------------- */
body { cursor: auto; }
a, button, [onclick] { cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor [onclick] { cursor: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .hero-bg { animation: none; }
}

/* --- Skip link ----------------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--gold); color: var(--bg); padding: 12px 20px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* --- Nav: active page state --------------------------------------------- */
.nav-tabs li a[aria-current="page"] { color: var(--accent); }
.nav-tabs li a[aria-current="page"]::after {
  content: ''; display: block; height: 1px; background: var(--accent);
  margin-top: 5px;
}
.mobile-nav a[aria-current="page"] { color: var(--accent); }

/* --- Page hero (shorter than the homepage hero) -------------------------- */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  padding: 0 52px 72px; overflow: hidden; background: var(--bg2);
}
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: saturate(0.85) brightness(0.55);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 2%, rgba(28,21,16,0.72) 45%, rgba(28,21,16,0.45) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 880px; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(42px, 6.2vw, 86px); line-height: 1.02; color: var(--white);
  margin-bottom: 22px;
}
.page-hero h1 em { font-style: italic; color: var(--warm); }
.page-hero .lede {
  font-size: 15px; line-height: 1.95; color: var(--body); font-weight: 300;
  max-width: 62ch;
}
.page-hero .eyebrow {
  font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}

/* --- Generic section scaffolding ----------------------------------------- */
.sec { padding: 110px 52px; }
.sec-tight { padding: 76px 52px; }
.sec-alt { background: var(--bg2); }
.sec h1,
.sec h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(34px, 4.4vw, 62px); line-height: 1.05; color: var(--white);
  margin-bottom: 20px;
}
.sec h1 em,
.sec h2 em { font-style: italic; color: var(--warm); }
.sec h3 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 25px; color: var(--white); margin-bottom: 10px; line-height: 1.2;
}
.sec p { font-size: 14px; line-height: 1.95; color: var(--muted); font-weight: 300; }
.sec p + p { margin-top: 15px; }
.measure { max-width: 68ch; }
.sec-head { max-width: 760px; margin-bottom: 58px; }

/* --- Three pathways (homepage) ------------------------------------------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.path {
  background: var(--bg); padding: 54px 40px 46px; display: flex; flex-direction: column;
  text-decoration: none; transition: background .45s ease; min-height: 420px;
}
.path:hover { background: var(--bg3); }
.path-num {
  font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.1em;
  margin-bottom: 26px;
}
.path-num  { color: var(--gold); }
.path-rule { background: var(--gold); }
.path-rule { width: 34px; height: 1px; margin-bottom: 26px; }
.path h3 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 34px;
  color: var(--white); line-height: 1.05; margin-bottom: 8px;
}
.path-kicker {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.path p { font-size: 13.5px; line-height: 1.9; color: var(--muted); font-weight: 300; flex: 1; }
.path-cta {
  margin-top: 28px; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--light); display: inline-flex; align-items: center; gap: 10px;
}
.path:hover .path-cta { color: var(--white); }
.path-cta span { transition: transform .35s ease; }
.path:hover .path-cta span { transform: translateX(5px); }

/* --- Audience / offer cards ---------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg2); border: 1px solid var(--border); padding: 36px 32px;
  display: flex; flex-direction: column;
}
.card .card-num {
  font-family: 'Space Mono', monospace; font-size: 10px; color: var(--accent);
  letter-spacing: 0.1em; margin-bottom: 16px;
}
.card p { font-size: 13.5px; }
.card ul { list-style: none; margin-top: 16px; }
.card ul li {
  font-size: 13px; line-height: 1.7; color: var(--muted); font-weight: 300;
  padding-left: 18px; position: relative; margin-bottom: 9px;
}
.card ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 1px; background: var(--accent);
}

/* --- Process steps -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { border-top: 1px solid var(--border); padding-top: 22px; }
.step-num {
  font-family: 'Space Mono', monospace; font-size: 10px; color: var(--accent);
  letter-spacing: 0.1em; margin-bottom: 12px;
}
.step h4 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 21px;
  color: var(--white); margin-bottom: 8px;
}
.step p { font-size: 13px; line-height: 1.8; }

/* --- Forms ---------------------------------------------------------------- */
.form-wrap { background: var(--bg2); border: 1px solid var(--border); padding: 44px 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  background: var(--bg3); border: 1px solid var(--border); color: var(--light);
  padding: 13px 16px; font-family: 'DM Sans', sans-serif; font-size: 13px;
  outline: none; width: 100%; border-radius: 0;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: #6a5a48; }
.field select { appearance: none; background-image: none; }
.form-note { font-size: 11.5px; line-height: 1.7; color: var(--muted); margin-top: 18px; }
.form-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.checkline { display: flex; gap: 10px; align-items: flex-start; grid-column: 1 / -1; }
.checkline input { width: auto; margin-top: 3px; }
.checkline label { font-size: 12px; letter-spacing: 0; text-transform: none; line-height: 1.6; }

/* --- Brokerage affiliation (external brand, on the Notre ground) ---------
   Shown as supplied, reversed to cream + brand gold for a dark background.
   A hairline frame marks it as another company's mark rather than Notre's. */
.affil {
  border: 1px solid var(--border); border-left: 2px solid var(--gold);
  background: var(--bg2);
  padding: 34px 38px; display: flex; align-items: center; gap: 40px;
  flex-wrap: wrap; margin-bottom: 52px;
}
.affil-mark { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.affil-mark img { width: 200px; height: auto; display: block; }
.affil-note {
  flex: 1; min-width: 280px; font-size: 12.5px; line-height: 1.85;
  color: var(--muted); font-weight: 300;
}
.affil-note strong { color: var(--light); font-weight: 400; }

/* --- Team ---------------------------------------------------------------
   Horizontal member cards — photo left, copy right — two per row so the
   section fills the page rather than sitting in a column on the left. */
.team-role-head {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 10px;
  border-top: 1px solid var(--border); padding-top: 26px;
}
.team-role-head h3 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 30px; color: var(--white);
}
.team-role-note {
  font-size: 13.5px; line-height: 1.9; color: var(--muted); font-weight: 300;
  max-width: 78ch; margin-bottom: 46px;
}

.team-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 56px; }
.member { display: grid; grid-template-columns: 232px 1fr; gap: 26px; align-items: start; }
.member-photo { overflow: hidden; aspect-ratio: 3/4; background: var(--bg3); }
.member-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: saturate(0.9) brightness(0.95);
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.member:hover .member-photo img { transform: scale(1.04); }
.member-body { padding-top: 2px; }
.member-name {
  font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400;
  color: var(--white); margin-bottom: 6px; line-height: 1.15;
}
.member-title {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px; line-height: 1.6;
}
.member-firm { font-size: 11px; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 12px; }
.member-mail {
  display: inline-block; color: var(--bg); background: var(--gold);
  padding: 4px 10px; font-size: 11px; letter-spacing: 0.06em;
  text-decoration: none; margin-bottom: 14px; word-break: break-word;
}
.member-bio { font-size: 13px; line-height: 1.85; color: var(--muted); font-weight: 300; }

@media (max-width: 1240px) {
  .team-row { grid-template-columns: 1fr; gap: 42px; }
  .member { grid-template-columns: 250px 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .member { grid-template-columns: 1fr; gap: 20px; }
  .member-photo { max-width: 320px; }
}

/* --- Cross-links between the businesses ---------------------------------- */
.crosslinks { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); }
.crosslink {
  background: var(--bg2); padding: 34px 32px; text-decoration: none; display: block;
  transition: background .4s ease;
}
.crosslink:hover { background: var(--bg3); }
.crosslink .xl-label {
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.crosslink h4 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 26px;
  color: var(--white); margin-bottom: 7px;
}
.crosslink p { font-size: 13px; line-height: 1.8; color: var(--muted); font-weight: 300; }

/* --- Disclosure / caveat block ------------------------------------------- */
.disclosure {
  border-left: 1px solid var(--accent); padding: 4px 0 4px 20px;
  font-size: 12.5px; line-height: 1.85; color: var(--muted); font-weight: 300;
}

/* --- Stat row ------------------------------------------------------------- */
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.statrow .stat-num { color: var(--accent); }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .paths { grid-template-columns: 1fr; }
  .path { min-height: 0; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 0 32px 56px; min-height: 52vh; }
  .sec, .sec-tight { padding: 80px 32px; }
}
@media (max-width: 760px) {
  .cards, .cards-2, .steps, .crosslinks, .form-grid, .statrow { grid-template-columns: 1fr; }
  .page-hero { padding: 0 24px 44px; min-height: 46vh; }
  .sec, .sec-tight { padding: 64px 24px; }
  .form-wrap { padding: 30px 22px; }
  .affil { gap: 20px; padding: 24px; }
  .affil img { width: 150px; }
  .member-bio { text-align: left; }
}

/* --- Hero legibility -----------------------------------------------------
   The homepage photograph is brighter than the one this gradient was tuned
   for, so the eyebrow and sub-line were failing contrast over the lawn.
   Adds a bottom scrim behind the text block only. */
.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 62%;
  background: linear-gradient(to top, rgba(22,16,12,0.92) 0%, rgba(22,16,12,0.62) 38%, rgba(22,16,12,0) 100%);
  pointer-events: none; z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-scroll  { z-index: 2; }
.hero-sub     { color: var(--body); }

/* --- Page hero: clear the fixed nav, and hold contrast on narrow screens --- */
.page-hero { padding-top: 150px; }
.page-hero-overlay {
  background: linear-gradient(to top,
    var(--bg) 0%, rgba(28,21,16,0.90) 30%, rgba(28,21,16,0.70) 62%, rgba(28,21,16,0.50) 100%);
}
@media (max-width: 760px) {
  .page-hero { padding-top: 128px; min-height: 0; }
  .page-hero .lede { font-size: 14px; }
}

/* --- Anchored sections must clear the fixed navbar ----------------------- */
html { scroll-behavior: smooth; }
section[id], div[id^="proj-"] { scroll-margin-top: 118px; }
@media (max-width: 760px) { section[id], div[id^="proj-"] { scroll-margin-top: 92px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* --- Pathway cards that are links ---------------------------------------- */
a.card { transition: background .4s ease, border-color .4s ease; }
a.card:hover { background: var(--bg3); border-color: var(--accent); }
a.card h3 { transition: color .3s ease; }
a.card:hover .path-cta { color: var(--white); }
a.card .path-cta { color: var(--light); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
a.card:hover .path-cta span { transform: translateX(5px); }
a.card .path-cta span { transition: transform .35s ease; display: inline-block; }

/* --- Inline grid-template overrides must still collapse on small screens --- */
@media (max-width: 1100px) {
  .steps, .cards { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 760px) {
  .steps, .cards, .cards-2, .crosslinks, .form-grid, .statrow, .paths {
    grid-template-columns: 1fr !important;
  }
}

/* --- Project cards show the WHOLE photograph ------------------------------
   These were cropped to a fixed 520px band, which cut the top and bottom off
   every shot. Every project card image is landscape and six of the eight are
   exactly 3:2, so a 3:2 frame with object-fit:contain shows most of them edge
   to edge with no letterboxing at all, and the two odd ratios get a thin band
   of the card colour rather than a crop. The hover zoom is gone for the same
   reason — scaling up would have cropped the photo again on hover. */
.project-card img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
}
.project-card:hover img { transform: none; }
@media (max-width: 760px) {
  .project-card img { height: auto; }
}

/* ==========================================================================
   REPOSITIONING — Nov 2026. Notre as an integrated property company.
   ========================================================================== */

/* --- Standing call to action in the navbar -------------------------------- */
.nav-cta {
  font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--bg); background: var(--gold);
  padding: 12px 20px; white-space: nowrap; margin-left: 28px;
  transition: background .35s ease, color .35s ease;
}
.nav-cta:hover { background: var(--white); color: var(--bg); }
.mobile-cta {
  display: inline-block; margin-top: 26px;
  font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none;
  color: var(--bg); background: var(--gold); padding: 15px 26px;
}
@media (max-width: 1180px) { .nav-cta { display: none; } }

/* --- Footer entity disclosure --------------------------------------------- */
.footer-entity {
  font-size: 11.5px; line-height: 1.85; color: var(--muted); font-weight: 300;
  max-width: 86ch; margin: 0 0 22px; padding-top: 22px;
  border-top: 1px solid var(--border);
}

/* --- Division blocks on the homepage --------------------------------------
   A full-bleed photograph beside the copy, alternating sides, so the three
   businesses read as equals rather than as a list. */
.division { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.division + .division { margin-top: 0; }
.division-media { position: relative; overflow: hidden; min-height: 560px; background: var(--bg3); }
.division-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: saturate(0.92) brightness(0.94);
  transition: transform 1.1s cubic-bezier(.25,.46,.45,.94);
}
.division:hover .division-media img { transform: scale(1.04); }
.division-body { padding: 76px 72px; display: flex; flex-direction: column; justify-content: center; }
.division-body.alt { background: var(--bg2); }
.division-kicker {
  font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.division-body h2 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 300; color: var(--white); line-height: 1.08; margin-bottom: 20px;
}
.division-body h2 em { font-style: italic; color: var(--gold); }
.division-body > p { font-size: 14.5px; line-height: 1.95; color: var(--body); margin-bottom: 26px; max-width: 46ch; }
.division-caps { list-style: none; padding: 0; margin: 0 0 32px; columns: 2; column-gap: 34px; }
.division-caps li {
  font-size: 12.5px; line-height: 1.6; color: var(--light); font-weight: 300;
  padding: 7px 0 7px 16px; position: relative; break-inside: avoid;
}
.division-caps li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 6px; height: 1px; background: var(--gold);
}
.division-link {
  font-family: 'DM Sans', sans-serif; font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  border-bottom: 1px solid var(--gold); padding-bottom: 8px;
  transition: color .3s ease, gap .3s ease;
}
.division-link:hover { color: var(--gold); gap: 18px; }

/* The reversed block puts the photograph on the right without reordering the
   DOM, so the reading order stays correct for screen readers. */
.division.reverse .division-media { order: 2; }
.division.reverse .division-body { order: 1; }

@media (max-width: 1000px) {
  .division, .division.reverse { grid-template-columns: 1fr; }
  .division.reverse .division-media,
  .division.reverse .division-body { order: initial; }
  .division-media { min-height: 340px; }
  .division-body { padding: 52px 30px; }
  .division-caps { columns: 1; }
}

/* --- Numbered process steps ------------------------------------------------ */
.howto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); }
.howto-step { padding: 42px 34px 46px; border-right: 1px solid var(--border); position: relative; }
.howto-step:last-child { border-right: none; }
.howto-num {
  font-family: 'Space Mono', monospace; font-size: 11px; color: var(--gold);
  letter-spacing: 0.2em; margin-bottom: 22px;
}
.howto-step h4 {
  font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 400;
  color: var(--white); line-height: 1.2; margin-bottom: 12px;
}
.howto-step p { font-size: 13px; line-height: 1.85; color: var(--body); font-weight: 300; }
@media (max-width: 900px) {
  .howto { grid-template-columns: 1fr; }
  .howto-step { border-right: none; border-bottom: 1px solid var(--border); }
  .howto-step:last-child { border-bottom: none; }
}

/* --- Membership plan comparison -------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); }
.plan { padding: 44px 36px 48px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.plan:last-child { border-right: none; }
.plan.featured { background: var(--bg2); }
.plan-name {
  font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400;
  color: var(--white); margin-bottom: 8px;
}
.plan-for { font-size: 12px; line-height: 1.75; color: var(--gold); font-weight: 300; margin-bottom: 24px; min-height: 42px; }
.plan-rule { height: 1px; background: var(--border); margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; }
.plan li {
  font-size: 12.5px; line-height: 1.6; color: var(--body); font-weight: 300;
  padding: 10px 0 10px 18px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.plan li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 7px; height: 1px; background: var(--gold); opacity: .8;
}
.plan-foot { margin-top: auto; font-size: 11.5px; line-height: 1.8; color: var(--muted); font-weight: 300; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: none; border-bottom: 1px solid var(--border); }
  .plan:last-child { border-bottom: none; }
}

/* --- Service category blocks (Notre Living) --------------------------------- */
.svc { display: grid; grid-template-columns: 260px 1fr; gap: 42px; padding: 46px 0; border-top: 1px solid var(--border); }
.svc-head h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400;
  color: var(--white); line-height: 1.15; margin-bottom: 10px;
}
.svc-letter { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.24em; color: var(--gold); margin-bottom: 14px; }
.svc-body > p { font-size: 14px; line-height: 1.95; color: var(--body); margin-bottom: 22px; max-width: 62ch; }
.svc-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.svc-list li {
  font-size: 12.5px; line-height: 1.6; color: var(--light); font-weight: 300;
  padding: 8px 0 8px 17px; position: relative; break-inside: avoid;
}
.svc-list li::before { content:''; position:absolute; left:0; top:16px; width:7px; height:1px; background:var(--gold); }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 20px; }
  .svc-list { columns: 1; }
}

/* --- The house-manager feature block ---------------------------------------- */
.manager { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: stretch; border: 1px solid var(--border); }
.manager-body { padding: 60px 58px; display: flex; flex-direction: column; justify-content: center; }
.manager-media { position: relative; min-height: 420px; overflow: hidden; background: var(--bg3); }
.manager-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.9); }
.manager-body h3 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3vw, 40px);
  font-weight: 300; color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.manager-body h3 em { font-style: italic; color: var(--gold); }
.manager-body p { font-size: 14px; line-height: 1.95; color: var(--body); margin-bottom: 16px; max-width: 52ch; }
@media (max-width: 900px) {
  .manager { grid-template-columns: 1fr; }
  .manager-body { padding: 44px 28px; }
  .manager-media { min-height: 280px; }
}

/* --- Small print that has to be read, not skimmed --------------------------- */
.disclosure {
  border-left: 2px solid var(--gold); background: var(--bg2);
  padding: 26px 30px; margin: 34px 0;
}
.disclosure p { font-size: 12.5px; line-height: 1.9; color: var(--body); font-weight: 300; margin: 0 0 10px; }
.disclosure p:last-child { margin-bottom: 0; }
.disclosure strong { color: var(--white); font-weight: 400; }

/* New blocks must collapse on small screens like everything else. */
@media (max-width: 760px) {
  .howto, .plans, .svc-list, .division-caps { grid-template-columns: 1fr !important; }
}

/* --- Hero call-to-action pair ---------------------------------------------
   The hero now has to carry two actions, a primary and a quieter secondary. */
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.btn-ghost {
  font-family: 'DM Sans', sans-serif; font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 7px; transition: color .3s ease, border-color .3s ease;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
@media (max-width: 560px) { .hero-actions { gap: 20px; } }

/* --- Body calls to action --------------------------------------------------
   Four audiences arrive for four reasons, so service pages end with their own
   action rather than one generic contact link. Solid for the page's own
   audience, ghost for the adjacent one. */
.btn-cta {
  display: inline-block; font-family: 'DM Sans', sans-serif;
  font-size: 10.5px; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; text-decoration: none;
  background: var(--gold); color: var(--bg);
  padding: 17px 34px; border: 1px solid var(--gold);
  transition: background .3s ease, color .3s ease;
}
.btn-cta:hover { background: transparent; color: var(--gold); }
.btn-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 36px; }

/* Two-up feature block: a named offering with its own lede and list. */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }
.offer + .offer { margin-top: 76px; padding-top: 76px; border-top: 1px solid var(--border); }
.offer h3 { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 300;
  color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.offer p { font-size: 13.5px; line-height: 1.95; color: var(--body); font-weight: 300; }
.offer ul { list-style: none; margin: 18px 0 0; padding: 0; }
.offer ul li { position: relative; padding: 9px 0 9px 22px; font-size: 13px;
  color: var(--body); font-weight: 300; border-bottom: 1px solid var(--border); }
.offer ul li:last-child { border-bottom: none; }
.offer ul li::before { content: ''; position: absolute; left: 0; top: 19px;
  width: 11px; height: 1px; background: var(--gold); }
@media (max-width: 860px) {
  .offer { grid-template-columns: 1fr; gap: 26px; }
  .offer + .offer { margin-top: 52px; padding-top: 52px; }
}

/* --- Homepage hero: three statements, three lines --------------------------
   "Home Management." is far longer than the one-word lines the hero scale was
   built for, so it wrapped to a fourth line. Scaled to the longest line and
   kept from breaking. */
.hero-title { text-wrap: balance; }
body.page-home .hero-title { font-size: clamp(44px, 6.4vw, 92px); }
body.page-home .hero-title br + * , body.page-home .hero-title { white-space: normal; }
@media (max-width: 620px) { body.page-home .hero-title { font-size: clamp(36px, 10vw, 56px); } }

/* --- Legal documents ------------------------------------------------------
   A privacy policy is read for reference, not scanned, so this is set for
   sustained reading: one column, generous leading, clear heading hierarchy. */
.legal-mast {
  border-left: 2px solid var(--gold); padding: 18px 24px; background: var(--bg2);
  margin-bottom: 42px; max-width: 72ch;
}
.legal-mast div { font-size: 13px; line-height: 1.9; color: var(--body); }
.legal-mast strong { color: var(--white); font-weight: 400; }

.legal, .legal-mast { overflow-wrap: anywhere; }
.legal { max-width: 74ch; }
.legal h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 300;
  color: var(--white); line-height: 1.15; margin: 52px 0 16px;
  padding-top: 26px; border-top: 1px solid var(--border);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal h3 {
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  margin: 34px 0 12px;
}
.legal p { font-size: 14.5px; line-height: 1.95; color: var(--body); margin: 0 0 16px; }
.legal ul { list-style: none; padding: 0; margin: 0 0 20px; }
.legal li {
  font-size: 14px; line-height: 1.8; color: var(--body); font-weight: 300;
  position: relative; padding: 7px 0 7px 20px;
}
.legal li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 8px; height: 1px; background: var(--gold); opacity: .75;
}
.legal strong { color: var(--white); font-weight: 400; }
.legal a { color: var(--gold); }

/* --- Customer lifecycle ----------------------------------------------------
   PLAN - DESIGN - BUILD - TRANSITION - MANAGE - IMPROVE. Six stages, and the
   point of the component is the last column of each cell: which company holds
   that stage. The three businesses are separate, so the lifecycle has to show
   the handoffs rather than imply one continuous entity. */
.lifecycle { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); }
.lc { background: var(--bg); padding: 30px 22px 32px; display: flex; flex-direction: column; }
.lc-stage { font-family: 'Space Mono', monospace; font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lc h4 { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 400;
  color: var(--white); line-height: 1.1; margin: 0 0 10px; }
.lc p { font-size: 12.5px; line-height: 1.8; color: var(--body); font-weight: 300; margin: 0; }
.lc-who { margin-top: auto; padding-top: 18px; font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); }
@media (max-width: 1100px) { .lifecycle { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .lifecycle { grid-template-columns: 1fr; } }

/* --- Homepage hero scrim ---------------------------------------------------
   The headline and eyebrow sit bottom-left over a bright facade. The original
   gradient was built for a darker image and left the eyebrow at roughly 2:1.
   This adds a second wash weighted to the corner the type actually occupies. */
.hero-overlay {
  background:
    linear-gradient(160deg, rgba(28,21,16,0.25) 0%, rgba(28,21,16,0.05) 35%,
                            rgba(28,21,16,0.55) 65%, rgba(28,21,16,0.88) 100%),
    linear-gradient(to top, rgba(28,21,16,0.92) 0%, rgba(28,21,16,0.55) 32%,
                            rgba(28,21,16,0.12) 62%, rgba(28,21,16,0) 100%),
    linear-gradient(to right, rgba(28,21,16,0.70) 0%, rgba(28,21,16,0.22) 46%,
                              rgba(28,21,16,0) 78%);
}
.hero-eyebrow { color: var(--gold-lt); }

/* --- Progression rail ------------------------------------------------------
   IDENTIFY - EVALUATE - ENTITLE - DEVELOP - REALIZE. The point of the
   component is that a client can enter at any stage and stop at any stage, so
   the stages are equal-weight cells rather than a funnel narrowing to one end. */
.rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); }
.rail-step { background: var(--bg); padding: 34px 24px 36px; display: flex; flex-direction: column; }
.rail-num { font-family: 'Space Mono', monospace; font-size: 9.5px; letter-spacing: 0.2em;
  color: var(--gold); margin-bottom: 16px; }
.rail-step h4 { font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 300;
  color: var(--white); line-height: 1.05; margin: 0 0 12px; letter-spacing: 0.01em; }
.rail-step p { font-size: 12.5px; line-height: 1.85; color: var(--body); font-weight: 300; margin: 0; }
/* !important because the four-stage rails set grid-template-columns inline;
   without it the inline value wins and the rail forces a horizontal scroll. */
@media (max-width: 1000px) { .rail { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px)  { .rail { grid-template-columns: 1fr !important; } }

/* A whole card used as a link must not inherit anchor colour or underline:
   the Development stylesheet had no rule for this because no card was ever a
   link before the capability grid. */
a.card { text-decoration: none; color: inherit; display: block;
  transition: border-color .3s ease, background .3s ease; }
a.card h3 { color: var(--white); }
a.card p { color: var(--body); text-decoration: none; }
a.card:hover { border-color: var(--gold); }
a.card:hover h3 { color: var(--gold-lt); }
a.card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --- Showcase: photograph + caption, linking into Projects ----------------
   Added for the Nov 2026 rebalancing. The homepage and the service pages
   needed real imagery for each of the three service lines; the project cards
   on projects.html are wired to the lightbox gallery and cannot be lifted out
   of it, so this is a plain linked figure with the caption on a scrim. */
.showcase { display: grid; gap: 2px; grid-template-columns: repeat(3, 1fr); }
.showcase.two { grid-template-columns: repeat(2, 1fr); }
.showcase-item {
  position: relative; display: block; text-decoration: none;
  overflow: hidden; background: var(--bg3);
}
.showcase-item img {
  width: 100%; display: block; aspect-ratio: 4 / 3;
  object-fit: cover; object-position: center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.showcase-item:hover img { transform: scale(1.045); }
.showcase-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 26px 26px;
  /* The scrim has to carry the gold label, not just the white heading — over a
     bright sky a two-stop gradient left it unreadable. Deeper, taller, and the
     label gets its own shadow. */
  background: linear-gradient(to top,
    rgba(16,12,9,0.97) 0%, rgba(16,12,9,0.93) 30%, rgba(16,12,9,0.82) 55%,
    rgba(16,12,9,0.52) 78%, rgba(16,12,9,0) 100%);
}
.showcase-label {
  font-family: 'Space Mono', monospace; font-size: 9.5px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 9px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}
.showcase-cap h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 300;
  line-height: 1.2; color: var(--white); margin: 0 0 7px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.showcase-item:hover .showcase-cap h3 { color: var(--gold-lt); }
.showcase-cap h3, .showcase-item:hover .showcase-cap h3 { transition: color .3s ease; }
.showcase-cap p {
  font-size: 12.5px; line-height: 1.68; font-weight: 300;
  color: var(--body); margin: 0; max-width: 42ch;
}
.showcase-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 980px) {
  .showcase, .showcase.two { grid-template-columns: 1fr !important; }
  .showcase-cap { padding: 24px 20px 20px; }
}
