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

  :root {
    --charcoal: #131313;
    --sage: #647152;
    --sage-dark: #4e5940;
    --cream: #F7F6F3;
    --gray-light: #D1CCC5;
    --gray-mid: #9A9590;
    --white: #ffffff;
    --nav-height: 68px;
    --font-head: 'Syne', sans-serif;
    --font-body: 'Lora', serif;
    --font-ui: 'Century Gothic', 'AppleGothic', 'Gill Sans MT', Calibri, sans-serif;
  }

  html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-ui);
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
  }
 
  /* ── NAV ── */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
  }
  .nav.scrolled {
    background: rgba(247, 246, 243, 0.90);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
  }
  .nav.scrolled .nav-logo-white { display: none; }
  .nav.scrolled .nav-logo-black { display: block; }
  .nav:not(.scrolled) .nav-logo-white { display: block; }
  .nav:not(.scrolled) .nav-logo-black { display: none; }

  .nav-logo img {
    height: 52px;
    width: auto;
    display: block;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
  }
  .nav-links a.active:not(.nav-cta) {
    font-weight: 800;
    color: var(--white) !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
  }
  .nav-links a.active.nav-cta {
    font-weight: 800 !important;
    background: #3d5435 !important;
    border-color: #3d5435 !important;
    color: var(--white) !important;
    opacity: 1 !important;
  }
  .nav.scrolled .nav-links a.active {
    color: var(--sage) !important;
  }
  .nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.88); }
  .nav:not(.scrolled) .nav-links a:hover:not(.active) { background: rgba(255,255,255,0.12); color: var(--white); }
  .nav.scrolled .nav-links a { color: var(--charcoal); }
  .nav.scrolled .nav-links a:hover:not(.active):not(.nav-cta) { background: rgba(107,143,94,0.12); color: var(--sage); }

  .nav-cta {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.5rem 1.4rem;
    border-radius: 2px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.6);
    background: transparent;
    transition: all 0.2s;
  }
  .nav-cta:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.9); }
  .nav.scrolled .nav-cta { background: var(--sage); border-color: var(--sage); color: var(--white) !important; opacity: 1; }
  .nav.scrolled .nav-cta:hover { background: #3d5435 !important; border-color: #3d5435 !important; color: var(--white) !important; opacity: 1; }

  /* Hamburger */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    transition: background 0.3s;
  }
  .nav:not(.scrolled) .nav-hamburger span { background: var(--white); }
  .nav.scrolled .nav-hamburger span { background: var(--charcoal); }

  .nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--cream);
    padding: 1.5rem 2rem 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 99;
  }
  .nav-mobile.open { display: block; }
  .nav-mobile a {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--charcoal);
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--gray-light);
    transition: color 0.2s, background 0.2s;
  }
  .nav-mobile a:hover { color: var(--sage); }
  .nav-mobile a.active {
    color: var(--sage);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
  }
  .nav-mobile a:last-child { border-bottom: none; }
  .nav-mobile .nav-mobile-cta {
    display: block;
    margin-top: 1.25rem;
    padding: 0.85rem 1.5rem;
    background: var(--sage);
    color: var(--white) !important;
    text-align: center;
    border-radius: 2px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: none !important;
    transition: background 0.2s;
  }
  .nav-mobile .nav-mobile-cta:hover { background: #3d5435 !important; color: var(--white) !important; }

  @media (max-width: 1000px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
  }

  /* ── HERO CAROUSEL ── */
  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #111;
  }
  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.6s ease;
  }
  .slide.active { opacity: 1; }
  .slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(19,30,20,0.55) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.45) 100%);
  }
  .hero-logo {
    height: clamp(80px, 14vw, 160px);
    width: auto;
    margin-bottom: 0;
    opacity: 0.95;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
  }
  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    z-index: 10;
  }
  .hero-tagline {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.45rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.15;
    max-width: 800px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;

  }
  @media (max-width: 768px) {
     .hero-content { padding: 0 1.25rem; }
  .hero-tagline {
    font-size: clamp(1.6rem, 7.5vw, 2.6rem);
    letter-spacing: -0.5px;
    line-height: 1.2;
  }
  .hero-ctas .btn { padding: 0.7rem 1.5rem; font-size: 0.72rem; 
  }
}
  @media (max-width: 380px) {
  .hero-tagline { font-size: 1.3rem; letter-spacing: -0.5px; }
}
  .hero-sub {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: 2.5rem;
    max-width: 520px;
    text-shadow: 0 1px 12px rgba(0,0,0,0.4);
  }
  .hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .btn {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
  }
  .btn-primary { background: var(--sage); color: var(--white); border: 2px solid var(--sage); }
  .btn-primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
  .btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
  .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

  .hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
  }
  .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
  }
  .dot.active { background: var(--white); }

  /* ── SECTIONS ── */
  section { padding: 6rem 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }

  .section-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1rem;
  }
  h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
    letter-spacing: -0.5px;
  }
  h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
  }
  p {
    font-family: var(--font-ui);
    font-size: 1rem;
    line-height: 1.8;
    color: #5a5650;
  }
  .divider { width: 40px; height: 2px; background: var(--sage); margin: 1.5rem 0; }

  /* ── INTRO ── */
  .intro { background: var(--sage); }
  .intro h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.3;
  }

  /* ── ABOUT ── */
  .about { background: var(--white); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .about-text .divider { margin-top: 1.5rem; }
  .about-text p { margin-top: 1.2rem; }
  .about-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
  .about-link {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
    text-decoration: none;
    border-bottom: 1px solid var(--sage);
    padding-bottom: 2px;
    margin-top: 2rem;
    display: inline-block;
    transition: color 0.2s;
  }
  .about-link:hover { color: var(--sage-dark); }

  /* ── SERVICES ── */
  #services-heading span { white-space: nowrap; display: inline-block; }
  .services { background: var(--cream); }
  .services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 3rem; }
  .service-card {
    background: var(--white);
    padding: 3rem;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
  }
  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(100, 113, 82, 0.12);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
  }
  .service-card::after { content: none; }
  .service-card:hover::before { opacity: 1; }
  .service-card > * { position: relative; z-index: 2; }
  .service-card:first-child { border-right: 2px solid var(--cream); }
  .service-num {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-light);
    line-height: 1;
    margin-bottom: 1.5rem;
  }
  .service-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
  .service-card p { margin-bottom: 1.5rem; }
  .service-list { list-style: none; margin-bottom: 2rem; }
  .service-list li {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: #5a5650;
    padding: 0.4rem 0 0.4rem 1rem;
    border-bottom: 1px solid var(--gray-light);
    position: relative;
  }
  .service-list li::before { content: '—'; position: absolute; left: 0; color: var(--sage); font-size: 0.8rem; }
  .service-arrow {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
    border-bottom: 1px solid var(--sage);
    padding-bottom: 2px;
    display: inline-block;
  }

  /* ── PROJECTS ── */
  .projects { background: var(--white); }
  .projects-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; }
  .projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .project-item { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer; }
  .project-item:first-child { grid-row: span 2; aspect-ratio: auto; }
  .project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
  .project-item:hover .project-img { transform: scale(1.04); }
  .project-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    opacity: 0;
    transition: opacity 0.3s;
  }
  .project-item:hover .project-caption { opacity: 1; }
  .project-caption span {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.05em;
  }

  /* ── CTA ── */
  .cta-section {
    background: var(--charcoal);
    /*background-image: url('../images/colin-st-bentleigh-east/bentleigh-exterior-deck-wide.webp');*/
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
  }
  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #232323;
    /*background: linear-gradient(rgba(19,19,19,0.72), rgba(19,19,19,0.82));*/
  }
  .cta-section .container { position: relative; z-index: 1; }
  .cta-section .section-label { color: #b8c4a8; }
  .cta-section h2 { color: var(--white); margin-bottom: 1rem; }
  .cta-section p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 2.5rem; }
  .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
  .btn-white {
    font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--charcoal); background: var(--white);
    border: 2px solid var(--white); padding: 0.85rem 2rem; border-radius: 2px;
    text-decoration: none; display: inline-block; transition: all 0.2s;
  }
  .btn-white:hover { background: var(--cream); border-color: var(--cream); }
  .btn-outline-white {
    font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--white); background: transparent;
    border: 2px solid rgba(255,255,255,0.5); padding: 0.85rem 2rem; border-radius: 2px;
    text-decoration: none; display: inline-block; transition: all 0.2s;
  }
  .btn-outline-white:hover { border-color: var(--white); }
  .cta-contact { font-family: var(--font-ui); font-size: 0.82rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; }

  /* ── CONTACT OBFUSCATION ── */
  .phone-link { color: rgba(255,255,255,0.75); text-decoration: none; border-bottom: none; transition: color 0.2s; cursor: pointer; }
  .phone-link:hover { color: var(--white); }
  .copy-email { cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.75); transition: color 0.2s; position: relative; }
  .copy-email:hover { color: var(--white); }
  .copy-hint { font-size: 0.7rem; opacity: 0.5; margin-left: 4px; }
  .copy-email.copied::after {
    content: '✓ Copied!';
    position: absolute; top: -1.8rem; left: 50%; transform: translateX(-50%);
    background: var(--sage); color: white; font-size: 0.7rem; padding: 2px 8px;
    border-radius: 2px; white-space: nowrap;
  }
  .footer-email {
    display: block; border-bottom: none; color: rgba(255,255,255,0.75);
    font-family: var(--font-ui); font-size: 0.9rem; margin-bottom: 0.5rem;
    cursor: pointer; transition: color 0.2s; position: relative;
  }
  .footer-email:hover { color: var(--white); }

  /* ── FOOTER ── */
  footer { background: var(--sage-dark); padding: 3rem 2rem; }
  .footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; align-items: start;
  }
  .footer-brand-link { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; text-decoration: none; margin-bottom: 0.75rem; transition: opacity 0.2s; }
  .footer-brand-link:hover { opacity: 0.82; }
  .footer-logo { height: 48px; width: auto; display: block; }
  .footer-brand { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; }
  .footer-tagline { font-family: var(--font-body); font-style: italic; font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
  .footer-col h4 { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
  .footer-col a { display: block; font-family: var(--font-ui); font-size: 0.9rem; color: rgba(255,255,255,0.75); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; }
  .footer-col a:hover { color: var(--white); }
  .footer-bottom {
    max-width: 1100px; margin: 2.5rem auto 0; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-bottom p { font-family: var(--font-ui); font-size: 0.72rem; color: rgba(255,255,255,0.4); letter-spacing: 0.05em; }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card:first-child { border-right: none; border-bottom: 2px solid var(--cream); }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .project-item:first-child { grid-row: span 1; aspect-ratio: 3/4; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .projects-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  }

  /* ── SUB-PAGE NAV (starts scrolled) ── */
  .nav-scrolled-default {
    background: rgba(247, 246, 243, 0.90) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.08) !important;
  }
  .nav-scrolled-default .nav-logo-white { display: none !important; }
  .nav-scrolled-default .nav-logo-black { display: block !important; }
  .nav-scrolled-default .nav-links a { color: var(--charcoal) !important; }
  .nav-scrolled-default .nav-links a.nav-cta { background: var(--sage) !important; border-color: var(--sage) !important; color: var(--white) !important; opacity: 1 !important; }
  .nav-scrolled-default .nav-links a.nav-cta:hover { background: #3d5435 !important; border-color: #3d5435 !important; color: var(--white) !important; opacity: 1 !important; }

  /* ── PROJECT PAGE GALLERIES ── */
  .project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 2.5rem;
  }
  .gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--gray-light);
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }
  .gallery-item:hover img { transform: scale(1.05); }
  @media (max-width: 768px) {
    .project-gallery { grid-template-columns: 1fr 1fr; gap: 3px; }
  }
 /* CONTACT PAGE */

.contact-section {
  background: var(--white);
  padding: 5rem 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-label {
  margin-bottom: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.contact-coming-soon {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin-bottom: 2rem;
}

.divider {
  width: 40px;
  height: 2px;
  background: var(--sage);
  margin: 1.5rem 0;
}

/* MOBILE */

@media (max-width: 768px) {

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

}


/* ── FORMS ── */

.ebd-form {
  display: grid;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

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

.form-field { display: flex; flex-direction: column; }

.form-field label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

.req { color: var(--sage); }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--gray-light);
  border-radius: 2px;
  padding: 0.65rem 0.8rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-field textarea { min-height: 80px; resize: vertical; line-height: 1.6; }

.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23647152' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(100, 113, 82, 0.15);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--gray-mid); }

.form-hint {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: 0.5rem;
}

.form-hint .copy-email {
  color: var(--sage-dark);
  border-bottom-color: rgba(78, 89, 64, 0.3);
}

.form-hint .copy-email:hover {
  color: var(--sage-dark);
}

/* Radios & checkboxes */
.choice-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--gray-light);
  border-radius: 2px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 0;
}

.choice input { position: absolute; opacity: 0; pointer-events: none; }

.choice .mark {
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gray-mid);
  background: var(--white);
  transition: all 0.15s;
}
.choice input[type="radio"] + .mark { border-radius: 50%; }
.choice input[type="checkbox"] + .mark { border-radius: 2px; }

.choice input:checked + .mark {
  background: var(--sage);
  border-color: var(--sage);
  box-shadow: inset 0 0 0 3px var(--white);
}

.choice:has(input:checked) {
  border-color: var(--sage);
  background: rgba(100, 113, 82, 0.08);
}

.choice:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(100, 113, 82, 0.2);
}

/* Conditional service sections */
.form-conditional {
  display: none;
  border-left: 2px solid var(--sage);
  padding: 1rem 0 1rem 1.4rem;
}
.form-conditional.visible { display: block; animation: condIn 0.3s ease; }

@keyframes condIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .form-conditional.visible { animation: none; }
}

.form-conditional > label,
.group-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
  display: block;
}

/* File upload */
.file-field input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.file-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--gray-mid);
  background: var(--cream);
  border: 1px dashed var(--gray-mid);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 0;
}
.file-trigger:hover { border-color: var(--sage); color: var(--sage); }
.file-field:has(input:focus-visible) .file-trigger { box-shadow: 0 0 0 3px rgba(100, 113, 82, 0.2); }
.file-trigger.has-file { border-style: solid; border-color: var(--sage); color: var(--charcoal); }
.file-trigger svg { flex: none; }

/* Submit */
.form-submit {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--white);
  border: 2px solid var(--sage);
  border-radius: 2px;
  padding: 0.95rem 2.5rem;
  cursor: pointer;
  justify-self: start;
  transition: all 0.2s ease;
}
.form-submit:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
.form-submit:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(100, 113, 82, 0.3); }

/* Form page layout (standalone pages) */
.form-page { background: var(--white); padding: 5rem 2rem; }
.form-page-inner { max-width: 680px; margin: 0 auto; }
.form-page-inner > p.form-intro { margin: 0 0 2.5rem; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

/* File hint email link + error state */
.form-hint a { color: var(--sage); text-decoration: none; border-bottom: 1px solid var(--sage); padding-bottom: 1px; transition: color 0.2s; }
.form-hint a:hover { color: var(--sage-dark); }
.form-hint.error { color: #8a4a35; }
.form-hint.error a { color: #8a4a35; border-bottom-color: #8a4a35; }

/* ── SHOWCASE (service pages) ── */

.showcase {
  background: var(--cream);
  padding: 7rem 2rem;
  overflow: hidden;
}

.showcase .container { max-width: 1100px; }

.showcase-item {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  margin-bottom: 7rem;
}
.showcase-item:last-child { margin-bottom: 0; }

.showcase-media {
  grid-column: 1 / span 5;
  grid-row: 1;
  z-index: 1;
}

.showcase-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 440px;
  object-fit: cover;
}

.showcase-card {
  grid-column: 5 / span 8;
  grid-row: 1;
  z-index: 2;
  background: var(--white);
  padding: 3.5rem 4rem;
  box-shadow: 0 20px 60px rgba(19, 19, 19, 0.07);
}

.showcase-item.flip .showcase-media { grid-column: 8 / span 5; }
.showcase-item.flip .showcase-card  { grid-column: 1 / span 8; }

.showcase-card h2 { margin: 0; }

.showcase-card .rule {
  width: 40px;
  height: 2px;
  background: var(--sage);
  margin: 1.5rem 0;
}

.showcase-card p {
  margin: 0;
  max-width: 540px;
}

/* Scroll reveal */
.reveal .showcase-media,
.reveal .showcase-card {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal .showcase-card { transition-delay: 0.15s; }

.reveal.in-view .showcase-media,
.reveal.in-view .showcase-card {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal .showcase-media,
  .reveal .showcase-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .showcase { padding: 4rem 1.25rem; }
  .showcase-item { display: block; margin-bottom: 5rem; }
  .showcase-media img { aspect-ratio: 3 / 2; }
  .showcase-card {
    margin: -3rem 1.25rem 0;
    padding: 2.25rem 1.75rem;
    position: relative;
  }
}


/* ── CONTACT MODAL ── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;

  background: rgba(19, 19, 19, 0.55);

  /* Optional: remove if Safari/mobile performance is poor */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding: 4rem 1.25rem;
  overflow-y: auto;

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 640px;
  padding: 3rem 3rem 3.5rem;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(19, 19, 19, 0.3);

  transform: translateY(24px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  margin: 0 0 2rem;
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--gray-mid);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--charcoal);
}

.modal-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(100, 113, 82, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal {
    transition: none;
  }
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 1rem 0.75rem;
  }

  .modal {
    padding: 2.25rem 1.5rem 2.5rem;
  }
}
/* thank-you button stacking */
.thank-you-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

@media (max-width: 600px) {
  .thank-you-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .thank-you-actions .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/*hero text */
.hero-tagline span {
  white-space: nowrap;
  display: inline-block;
}
/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0;
  margin: 1.5rem 0 1rem;
}
.process-steps span {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
}
.process-steps span:not(:last-child)::after {
  content: '→';
  color: var(--sage);
  font-weight: 400;
  margin: 0 1rem;
}
.process-note {
  font-size: 0.9rem;
  color: var(--gray-mid);
}

/* ── GLOBAL SCROLL REVEAL ──
   .rv is added by JS only (no-JS users see everything instantly).
   Elements fade up as they enter the viewport; siblings stagger. */

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--rv-delay, 0s);
  will-change: opacity, transform;
}
.rv.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── THANK YOU PAGE ── */
.thank-you-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ── CTA LOGO (replaces Get Started label) ── */
.cta-logo {
  height: clamp(130px, 18vw, 180px);
  width: auto;
  margin-bottom: 0;
  opacity: 1;
}

/* ── LIGHT-BACKGROUND CONTACT OBFUSCATION (contact page) ── */
.contact-section .phone-link,
.contact-section .copy-email {
  color: var(--charcoal);
  border-bottom-color: rgba(19, 19, 19, 0.25);
}
.contact-section .phone-link:hover,
.contact-section .copy-email:hover { color: var(--sage); }

/* ── EQUAL-WIDTH STACKED BUTTONS (mobile) ── */
@media (max-width: 600px) {
  .hero-ctas,
  .cta-btns,
  .thank-you-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas .btn,
  .cta-btns .btn-white,
  .cta-btns .btn-outline-white,
  .thank-you-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(19, 19, 19, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 80vh;
  object-fit: contain;
  display: block;
}
.lightbox-caption {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  margin-top: 1rem;
  text-align: center;
  max-width: 640px;
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  width: 44px; height: 44px;
  border: none; background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 2rem; line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border: none; background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 2rem; cursor: pointer;
  transition: color 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { color: var(--white); }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.gallery-item, .project-item { cursor: zoom-in; }
@media (prefers-reduced-motion: reduce) { .lightbox { transition: none; } }
