/* Aurum Homes — signature mobile experience */
.mobile-project-launch,
.mobile-action-bar { display: none; }

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 36px); }
  html { scroll-padding-top: 72px; }
  body { padding-bottom: 76px; background: #faf7f1; }
  .section { padding: 78px 0; }

  /* Header and immersive editorial menu */
  .site-header,
  .site-header-overlay {
    position: sticky;
    inset: auto;
    top: 0;
    z-index: 200;
    height: 72px;
    color: var(--teal-deep);
    background: rgba(250, 247, 241, .95);
    border-bottom: 1px solid rgba(8, 47, 56, .12);
    backdrop-filter: blur(18px);
  }
  .header-inner { display: flex; justify-content: space-between; width: calc(100vw - 32px); }
  .brand { width: 126px; }
  .desktop-nav,
  .header-cta { display: none; }
  .mobile-menu { position: relative; z-index: 220; display: block; }
  .mobile-menu summary {
    position: relative;
    z-index: 260;
    display: grid;
    place-content: center;
    gap: 6px;
    width: 47px;
    height: 47px;
    padding: 0;
    list-style: none;
    cursor: pointer;
    background: var(--teal-deep);
    border: 1px solid var(--teal-deep);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(8, 47, 56, .15);
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 17px; height: 1px; background: #fff; transition: transform .25s ease; }
  .mobile-menu[open] summary { position: fixed; top: 12px; right: 16px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.26); box-shadow: none; }
  .mobile-menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .mobile-menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu-surface {
    position: fixed;
    inset: 0;
    z-index: 240;
    min-height: 100svh;
    padding: 18px 18px 42px;
    overflow-y: auto;
    color: #fff;
    background: radial-gradient(circle at 90% 12%, rgba(182,141,95,.2), transparent 30%), linear-gradient(150deg, #0b3b45, #062831 72%);
    overscroll-behavior: contain;
  }
  .mobile-menu-surface::after { content: "A"; position: fixed; right: -28px; bottom: -92px; color: rgba(255,255,255,.035); font-family: var(--serif); font-size: 330px; line-height: 1; pointer-events: none; }
  .mobile-menu-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding-right: 66px; }
  .mobile-menu-top .brand { width: 122px; }
  .mobile-menu-top > span { color: rgba(255,255,255,.48); font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
  .mobile-menu .mobile-menu-surface nav { position: relative; inset: auto; z-index: 1; display: block; padding: 34px 0 0; color: #fff; background: none; border: 0; box-shadow: none; }
  .mobile-nav-primary { border-top: 1px solid rgba(255,255,255,.16); }
  .mobile-menu .mobile-nav-primary > a {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 75px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }
  .mobile-menu .mobile-nav-primary > a small { color: var(--sand-light); font-family: var(--sans); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
  .mobile-menu .mobile-nav-primary > a strong { font-family: var(--serif); font-size: clamp(34px, 10vw, 43px); font-weight: 400; letter-spacing: -.04em; }
  .mobile-menu .mobile-nav-primary > a b { color: rgba(255,255,255,.6); font-size: 16px; font-weight: 400; }
  .mobile-menu .mobile-nav-primary > a.active strong { color: var(--sand-light); }
  .mobile-menu-projects { margin-top: 32px; }
  .mobile-menu-projects > p { margin: 0 0 13px; color: rgba(255,255,255,.48); font-size: 8px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
  .mobile-menu-projects > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mobile-menu .mobile-menu-projects a { position: relative; display: block; height: 138px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
  .mobile-menu-projects img { width: 100%; height: 100%; object-fit: cover; }
  .mobile-menu-projects a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,29,38,.84), transparent 68%); }
  .mobile-menu-projects a > span { position: absolute; right: 12px; bottom: 11px; left: 12px; z-index: 1; display: flex; flex-direction: column; }
  .mobile-menu-projects small { color: var(--sand-light); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-menu-projects strong { margin-top: 4px; font-family: var(--serif); font-size: 17px; font-weight: 400; }
  .mobile-menu-contact { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
  .mobile-menu .mobile-menu-contact a { min-height: auto; color: rgba(255,255,255,.72); border: 0; font-family: var(--sans); font-size: 8px; font-weight: 700; letter-spacing: .08em; }

  /* Thumb-friendly quick actions */
  .mobile-action-bar {
    position: fixed;
    right: 12px;
    bottom: 10px;
    left: 12px;
    z-index: 170;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60px;
    overflow: hidden;
    color: #fff;
    background: rgba(7, 43, 52, .96);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 4px;
    box-shadow: 0 16px 48px rgba(4, 27, 33, .28);
    backdrop-filter: blur(16px);
  }
  .mobile-action-bar a { display: flex; flex-direction: column; justify-content: center; padding: 10px 18px; }
  .mobile-action-bar a + a { border-left: 1px solid rgba(255,255,255,.18); }
  .mobile-action-bar span { color: rgba(255,255,255,.5); font-size: 7px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
  .mobile-action-bar strong { margin-top: 3px; font-family: var(--serif); font-size: 18px; font-weight: 400; }

  /* Home: one immersive first impression */
  .hero {
    height: calc(100svh - 72px);
    min-height: 690px;
    color: #fff;
    background: var(--teal-deep);
  }
  .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    object-fit: cover;
    object-position: 60% center;
    border-radius: 0;
    box-shadow: none;
  }
  .hero-wash {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: linear-gradient(0deg, rgba(3,28,35,.92) 0%, rgba(3,28,35,.52) 48%, rgba(3,28,35,.15) 78%), linear-gradient(90deg, rgba(3,28,35,.42), transparent 78%);
    border-radius: 0;
  }
  .hero-content {
    position: relative;
    z-index: 2;
    justify-content: flex-end;
    min-height: 100%;
    padding: 88px 0 42px;
  }
  .hero-content > * { width: 100%; }
  .hero .eyebrow-light { color: var(--sand-light); }
  .display { max-width: 94%; font-size: clamp(52px, 14.4vw, 66px); line-height: .87; }
  .display span { margin: 8px 0 0; color: #fff; }
  .hero-copy { max-width: 92%; margin-top: 24px; color: rgba(255,255,255,.74); font-size: 12px; line-height: 1.7; }
  .hero-actions { flex-direction: row; gap: 12px; margin-top: 28px; }
  .hero-actions .button { width: auto; min-width: 0; min-height: 48px; padding-inline: 16px; color: var(--teal-deep); background: var(--sand-light); border-color: var(--sand-light); font-size: 7px; }
  .hero .text-link-light { min-height: 48px; padding-inline: 4px; color: #fff; border-color: rgba(255,255,255,.38); font-size: 7px; }
  .hero-upcoming { grid-template-columns: auto 1fr auto; margin-top: 25px; padding: 14px 15px; color: #fff; background: rgba(6,40,48,.64); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); }
  .hero-upcoming span { display: block; color: var(--sand-light); }
  .hero-upcoming strong { color: #fff; font-size: 16px; }
  .hero-upcoming small { display: none; }
  .hero-project,
  .hero-scroll { display: none; }

  /* Immediate project discovery under the hero */
  .mobile-project-launch { display: block; padding: 30px 0 68px; overflow: hidden; background: var(--paper); }
  .mobile-project-launch-head { display: flex; align-items: end; justify-content: space-between; width: var(--shell); margin: 0 auto 18px; }
  .mobile-project-launch-head span { color: var(--teal-mid); font-size: 7px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
  .mobile-project-launch-head strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
  .mobile-project-rail { display: flex; gap: 12px; padding: 0 18px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .mobile-project-rail::-webkit-scrollbar { display: none; }
  .mobile-project-tile { position: relative; flex: 0 0 82vw; height: 420px; overflow: hidden; scroll-snap-align: center; background: var(--teal-deep); border-radius: 3px; box-shadow: 0 16px 42px rgba(8,47,56,.14); }
  .mobile-project-tile > img,
  .mobile-project-tile > .dale-visual { width: 100%; height: 100%; object-fit: cover; }
  .mobile-project-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,28,35,.88), transparent 62%); }
  .mobile-project-tile > span { position: absolute; right: 22px; bottom: 22px; left: 22px; z-index: 2; display: flex; flex-direction: column; color: #fff; }
  .mobile-project-tile small { color: var(--sand-light); font-size: 7px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .mobile-project-tile strong { margin-top: 8px; font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.035em; }
  .mobile-project-tile b { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.3); font-size: 7px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
  .mobile-project-tile-dale::after { background: linear-gradient(0deg, rgba(3,28,35,.7), transparent 62%); }
  .mobile-project-swipe { display: flex; justify-content: space-between; width: var(--shell); margin: 10px auto 0; color: var(--muted); font-size: 7px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

  /* Cleaner mobile rhythm across the whole site */
  .home-intro { border-top: 1px solid var(--line); }
  .statement,
  .section-heading h2 { font-size: 42px; line-height: .98; }
  .intro-side p { font-size: 12px; line-height: 1.75; }
  .intro-image-main { height: 420px; }
  .experience-card { right: 12px; bottom: -28px; width: 156px; height: 156px; border-radius: 2px; }
  .experience-card strong { font-size: 48px; }
  .selected-projects { padding-top: 108px; }
  .home-project-grid { gap: 14px; }
  .home-project-grid > .project-card,
  .home-project-grid > .project-card-tall { height: 520px; }
  .project-card-copy { padding: 22px; }
  .project-card-bottom strong { font-size: 38px; }
  .project-card-cta { min-height: 46px; }
  .dale-home-card { border-radius: 3px; }
  .dale-home-copy strong { font-size: 45px; }
  .upcoming-projects { padding-top: 76px; }
  .upcoming-project-heading { margin-bottom: 28px; }
  .upcoming-project-heading h2 { font-size: 44px; }
  .upcoming-projects .dale-home-card > a { display: flex; flex-direction: column; }
  .upcoming-projects .dale-visual { order: 1; min-height: 320px; }
  .upcoming-projects .dale-home-copy { order: 2; }
  .quality-grid { display: flex; gap: 12px; margin-right: -18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .quality-grid article,
  .quality-grid article + article { flex: 0 0 82vw; min-height: 270px; scroll-snap-align: start; }
  .process-list li { grid-template-columns: 38px 1fr; padding: 25px 0; }
  .home-quote { height: 560px; }
  .home-quote blockquote { bottom: 48px; width: calc(100% - 40px); font-size: 39px; line-height: 1; }

  /* Projects index and details */
  .page-hero { padding: 70px 0 54px; }
  .page-hero h1 { font-size: clamp(55px, 16vw, 68px); }
  .page-hero-grid { gap: 26px; }
  .page-hero-grid > p { max-width: 100%; font-size: 12px; line-height: 1.72; }
  .project-quick-links { margin-top: 36px; border: 1px solid rgba(255,255,255,.13); }
  .project-quick-links > a { min-height: 116px; padding: 18px 16px; }
  .project-quick-links strong { font-size: 25px; }
  .project-choice-grid { gap: 18px; }
  .project-choice-card { border-radius: 3px; box-shadow: 0 12px 40px rgba(8,47,56,.08); }
  .project-choice-image { height: 410px; }
  .project-choice-content { padding: 28px 22px; }
  .project-choice-description { font-size: 12px; }
  .project-choice-button { min-height: 50px; }
  .project-detail-hero { min-height: 690px; height: calc(100svh - 72px); }
  .project-detail-wash { background: linear-gradient(0deg, rgba(3,28,36,.88), rgba(3,28,36,.06) 72%); }
  .project-title-block { bottom: 132px; }
  .project-title-block h1 { font-size: clamp(58px, 17vw, 76px); line-height: .86; }
  .project-status-card { right: 0; bottom: 20px; left: 0; width: 100%; }
  .project-gallery { padding-top: 12px; }
  .project-gallery-grid { display: flex; gap: 10px; margin-right: -18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .project-gallery figure,
  .project-gallery figure.gallery-wide,
  .project-gallery figure.gallery-tall { flex: 0 0 88vw; height: 520px; margin: 0; scroll-snap-align: center; }
  .project-gallery figcaption { right: 10px; bottom: 10px; }

  /* Image-led secondary-page openings */
  .about-hero { position: relative; min-height: calc(100svh - 72px); padding: 0; overflow: hidden; }
  .about-hero-grid { position: relative; min-height: calc(100svh - 72px); width: 100%; }
  .about-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
  .about-hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,28,35,.9), rgba(3,28,35,.12) 74%); }
  .about-hero-copy { position: relative; z-index: 2; align-self: end; padding: 90px 18px 54px; }
  .about-hero h1 { max-width: 95%; font-size: 52px; line-height: .92; }
  .about-hero h1 span { color: var(--sand-light); }
  .about-story-copy { font-size: 12px; }
  .about-image-break { height: 540px; }
  .values-grid { display: flex; gap: 12px; margin-right: -18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .values-grid article,
  .values-grid article + article { flex: 0 0 82vw; min-height: 280px; scroll-snap-align: start; }

  .contact-hero { padding-top: 58px; }
  .contact-hero-copy { padding-bottom: 42px; }
  .contact-hero-copy h1 { font-size: 51px; line-height: .9; }
  .contact-hero-intro { font-size: 12px; }
  .contact-hero-actions { flex-direction: row; align-items: center; gap: 13px; }
  .contact-hero-actions .button { width: auto; min-width: 0; padding-inline: 14px; font-size: 7px; }
  .contact-hero-visual { min-height: 430px; margin: 0 -18px; }
  .contact-paths { margin-top: 0; }
  .enquiry-form { border-radius: 3px; }
  .contact-directory-grid > a { min-height: 180px; }
  .footer { padding-bottom: 105px; }
}

@media (max-width: 390px) {
  .display { font-size: 50px; }
  .hero-copy { max-width: 100%; }
  .hero-actions { gap: 8px; }
  .hero-actions .button,
  .hero .text-link-light { font-size: 6.5px; }
  .mobile-project-tile { flex-basis: 86vw; height: 395px; }
  .contact-hero-actions { align-items: stretch; flex-direction: column; }
  .contact-hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu summary span,
  .hero-media { animation: none; transition: none; }
}
