/* One mobile composition, using the established Skyline brand and content. */
@media (max-width:700px) {
  :root {
    --gutter:clamp(20px,5.6vw,32px);
    --mobile-rule:#d8d3bf;
  }
  body {background:var(--ivory)}
  html {scroll-behavior:auto}
  main>.section {
    position:relative;
    padding:60px var(--gutter);
    max-width:none;
    border:0;
    background:var(--ivory);
  }
  main>.section+.section::before {
    content:'';
    position:absolute;
    top:0;
    left:var(--gutter);
    right:var(--gutter);
    height:1px;
    background:var(--mobile-rule);
  }
  main>.section .eyebrow {
    margin:0 0 20px;
    font:700 16px/1.45 Manrope,Arial,sans-serif;
    letter-spacing:.035em;
    color:var(--ink);
  }
  main>.section h2,
  .skyline-story h2,
  .living-balanced .living-heading h2 {
    font-size:clamp(30px,8.4vw,36px);
    line-height:1.16;
    letter-spacing:-.025em;
    text-wrap:pretty;
    padding-bottom:4px;
  }
  .section p {color:#486b66}
  .section .button {
    min-height:48px;
    padding:12px 18px;
    font-size:13px;
    font-weight:600;
    border-radius:4px;
  }
  .section .text-link {
    min-height:44px;
    font-size:13px;
    font-weight:600;
    padding-block:9px;
    border-color:#a5b6a6;
  }
  .section button:active,.header-cta:active {transform:scale(.985)}
  .section>.reveal-block {transition-duration:.45s}

  /* Let the photograph lead into the copy without changing the film behavior. */
  .hero-content {left:var(--gutter);right:var(--gutter)}
  .hero-content h1 {font-size:clamp(34px,9.8vw,43px);line-height:1.1;letter-spacing:-.025em}
  .hero-actions {gap:22px;margin-top:22px}
  .hero-content .hero-actions .button {min-height:46px;padding:11px 16px;font-size:12px;border-radius:4px}
  .hero-enquire {font-size:12px;min-height:44px;border-color:#9cab94}
  .story-bottom {left:var(--gutter);right:var(--gutter);gap:18px}
  .story-chapters {gap:14px}
  .story-chapters button {font-size:10px;color:#486b66;border-color:#bfc8b8}

  /* Story: the experience statement belongs to the image, without a bulky badge. */
  .skyline-story {grid-template-columns:1fr;gap:28px}
  .skyline-story .about-heading {max-width:none}
  .skyline-story #about-text {
    margin-top:20px;
    max-width:42ch;
    font-size:14px;
    line-height:1.75;
    color:#486b66;
  }
  .skyline-story #about-text strong {font-weight:600;color:var(--ink)}
  .skyline-story .story-discover {margin-top:18px;gap:24px}
  .story-architecture {margin:0;padding:0}
  .story-architecture>img {width:100%;height:auto;max-height:420px;aspect-ratio:5/4;object-fit:cover;object-position:center 48%;border-radius:4px}
  .story-experience {position:static;display:flex;gap:18px;align-items:center;padding:18px 0 0;background:none}
  .experience-number {font-size:62px;line-height:.95;color:#9b8351}
  .experience-number>span {font-size:32px}
  .experience-caption {gap:4px;padding-left:18px;border-left:1px solid #c7b68e}
  .experience-caption strong {font-size:10px;font-weight:600;letter-spacing:.14em}
  .experience-caption>span {font-size:12px;line-height:1.5}

  /* Retain the approved project layout, with consistent control and type sizing. */
  #projects .section-heading {margin:0 0 24px}
  #projects .section-heading .eyebrow {margin:0}
  #projects .section-heading>p:last-child:not(.eyebrow) {display:none}
  #projects .project-discovery {display:flex;flex-direction:column;gap:12px;margin:0 0 26px;padding:0;background:none;border:0}
  #projects .project-search {display:block;width:100%;max-width:none;font-size:0;margin:0;letter-spacing:0}
  #projects .project-search input {font:400 16px/1.5 Manrope,Arial,sans-serif;min-height:48px;margin:0;padding:11px 14px;border:1px solid #c9d1c0;border-radius:4px;background:#fffaf2;color:var(--ink)}
  #projects .project-search input::placeholder {color:#536e63;font-size:14px}
  #projects .project-toolbar {display:block;margin:0;padding:0;border:0}
  #projects .filters {display:flex;justify-content:space-between;gap:4px;border-bottom:1px solid #ccd3c2}
  #projects .filters button {min-height:44px;width:auto;flex:0 1 auto;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;border-radius:0;padding:10px 3px;background:none;font-size:11px;color:#486b66;font-weight:400;white-space:nowrap}
  #projects .filters button.active {border-bottom-color:var(--teal);color:var(--teal);font-weight:700;background:none}
  #projects #project-count {display:block;margin-top:12px;font-size:11px}
  #projects .project-grid {grid-template-columns:1fr;gap:32px}
  #projects .project-card {padding:0;border:0;background:none;overflow:visible}
  #projects .project-card .card-image {height:auto;aspect-ratio:3/2;border-radius:4px}
  #projects .card-status {top:12px;left:12px;padding:5px 10px;background:var(--ivory);font-size:10px;font-weight:600;border-radius:3px}
  #projects .card-content {padding:18px 0 0}
  #projects .card-meta {display:none}
  #projects .project-card h3 {font-size:29px;line-height:1.15;margin:0;letter-spacing:-.02em}
  #projects .project-card .location {margin-top:7px;font-size:13px;line-height:1.5;color:#486b66}
  #projects .card-actions {display:grid;grid-template-columns:1fr auto;gap:22px;margin-top:16px;padding:0 0 28px;border-top:0;border-bottom:1px solid var(--mobile-rule)}
  #projects .card-actions button {min-height:46px;font-size:13px;padding:10px 16px}
  #projects .card-actions button:first-child {background:var(--teal);color:var(--ivory);font-weight:600;border:0;border-radius:4px;text-align:center}
  #projects .card-actions button:last-child {padding-inline:4px;border:0;background:none;text-decoration:underline;text-underline-offset:6px;text-decoration-color:#9bae99}
  #projects .project-card:last-child .card-actions {padding-bottom:0;border-bottom:0}

  /* A single visual story, followed by concise, evenly paced design values. */
  #lifestyle.living-balanced {grid-template-columns:1fr;grid-template-rows:auto auto auto;row-gap:0;background:var(--ivory)}
  .living-balanced .living-heading {grid-column:1;grid-row:1;margin:0 0 18px}
  .living-balanced .living-photo {grid-column:1;grid-row:2;aspect-ratio:5/4;min-height:0;max-height:420px;mask-image:linear-gradient(to bottom,transparent,#000 7%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 7%);border-radius:0 0 4px 4px}
  .living-balanced .living-photo img {object-position:52% center;position:static;mask-image:none;-webkit-mask-image:none}
  .living-balanced .living-values {grid-column:1;grid-row:3;grid-template-columns:1fr 1fr;gap:26px 22px;margin:26px 0 0;padding:0}
  .living-values article {padding:18px 0 0;border-top:1px solid var(--mobile-rule)}
  .living-values article>img {width:28px;height:28px;margin-bottom:12px}
  .living-values h3 {font:600 14px/1.45 Manrope,Arial,sans-serif;letter-spacing:-.02em}
  .living-values p {font-size:12px;line-height:1.65;margin-top:6px;max-width:23ch}

  /* Questions and enquiries finish the page in the same architectural rhythm. */
  .faq-list details,.faq-list details:first-child {padding:20px 0;border-color:var(--mobile-rule)}
  .faq-list details:first-child {border-top:1px solid var(--mobile-rule)}
  .faq-list summary {min-height:32px;align-items:center;gap:20px;font-size:14px;line-height:1.5;color:var(--ink);font-weight:500}
  .faq-list summary:after {font-size:22px;flex-shrink:0;color:#8f7c52}
  .faq-list details p {padding:12px 26px 0 0;font-size:13px;line-height:1.75}
  #enquiry-form .form-grid {grid-template-columns:1fr;gap:0}
  #enquiry-form label {font-size:12px;line-height:1.5;font-weight:600;margin-bottom:18px;color:var(--ink)}
  #enquiry-form input,#enquiry-form select,#enquiry-form textarea {min-height:46px;font-size:16px;font-weight:400;line-height:1.5;padding:10px 0;border-bottom:1px solid #bfcab8;border-radius:0;color:var(--ink);background:transparent}
  #enquiry-form input::placeholder,#enquiry-form textarea::placeholder {color:#536e63;opacity:1;font-size:14px}
  #enquiry-form textarea {min-height:90px;resize:vertical}
  #enquiry-form>.button {width:100%;margin-top:4px}
  #enquiry-form .privacy-note {font-size:11px;line-height:1.65;margin-top:14px;color:#486b66}
  body:has(#enquiry-form :focus) .whatsapp-float {visibility:hidden;opacity:0;pointer-events:none}

  /* The compact footer keeps the same type weights and fine rules. */
  .site-footer.skyline-footer {grid-template-columns:1fr 1fr;gap:18px 24px;padding:26px var(--gutter) 12px;background:#edf1e8;border-top:1px solid #c1b38b}
  .skyline-footer .footer-signature {grid-column:1/-1;flex-direction:row;align-items:center;gap:20px;padding-bottom:18px;border-bottom:1px solid #ccd4c5;background:transparent}
  .skyline-footer .footer-office-block {grid-column:1/-1}
  .skyline-footer h3 {font-size:12px;font-weight:600;margin-bottom:6px;letter-spacing:0}
  .skyline-footer .footer-group a,.skyline-footer .footer-group button {min-height:40px;font-size:12px}
  .skyline-footer .footer-group:last-of-type nav {flex-direction:column;gap:0}
  .skyline-footer .footer-bottom {display:grid;grid-template-columns:1fr auto;gap:0 16px;padding-top:10px}
  .skyline-footer .footer-bottom>p {grid-column:1/-1;margin:0 0 2px;font-size:10px;line-height:1.8}
  .skyline-footer .footer-bottom>button {justify-self:start;font-size:11px}
  .skyline-footer .footer-top {font-size:11px}
}

@media (max-width:359px) {
  main>.section {padding-block:52px}
  main>.section .eyebrow {font-size:15px}
  main>.section h2,.skyline-story h2,.living-balanced .living-heading h2 {font-size:29px}
  .hero-actions {gap:16px}
  .hero-content .hero-actions .button {gap:16px;padding-inline:12px}
  .living-balanced .living-values {column-gap:18px}
  .living-values h3 {font-size:13px}
  .skyline-footer .footer-statement {font-size:22px}
}

@media (max-width:700px) and (prefers-reduced-motion:reduce) {
  .section button:active,.header-cta:active {transform:none}
}

/* Three projects per page on phones, with a quiet numbered pager beneath them. */
@media (max-width:700px) {
  #projects .project-list-pager {display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:32px;padding:12px 0;border-block:1px solid var(--mobile-rule)}
  #projects .project-list-pager[hidden] {display:none}
  #projects .project-list-pager button {min-height:44px;padding:0;border:0;background:none;font-size:13px;color:var(--ink)}
  #projects .project-pager-step {display:inline-flex;align-items:center;gap:8px}
  #projects .project-pager-step.is-next {justify-self:end;color:var(--teal);font-weight:600}
  #projects .project-pager-step:disabled {opacity:.35;cursor:default}
  #projects .project-pager-numbers {display:flex;justify-content:center;gap:4px}
  #projects .project-pager-numbers button {width:44px;border:1px solid transparent;border-radius:50%;font:400 16px/1 Display,Georgia,serif;color:#486b66}
  #projects .project-pager-numbers button[aria-current="page"] {border-color:var(--teal);color:var(--teal)}
}

/* Let’s connect on phones: the deep panel and the enquiry card stack as one piece. */
@media (max-width:700px) {
  #contact {padding:48px var(--gutter)}
  .contact-panel {gap:28px;padding:32px 22px 18px}
  .contact-panel-image {object-position:72% center}
  .contact-panel::after {background:linear-gradient(180deg,rgba(23,61,62,.72) 0%,rgba(23,61,62,.38) 38%,rgba(23,61,62,.62) 62%,rgba(23,61,62,.9) 100%)}
  #contact .contact-panel h2 {font-size:clamp(30px,8.4vw,36px);line-height:1.16}
  #contact .contact-copy>p:not(.eyebrow) {margin-top:14px;font-size:14px;line-height:1.7;color:rgba(255,248,238,.78)}
  .contact-channels {border-bottom:0}
  .contact-channels a {grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;min-height:66px;padding:12px 0}
  .channel-label {grid-column:1;grid-row:1}
  .channel-value {grid-column:1;grid-row:2;font-size:21px}
  .channel-arrow {grid-column:2;grid-row:1/3}
  #enquiry-form {padding:26px 18px 24px}
  .contact-form-head {margin-bottom:24px}
  .contact-form-head h3 {font-size:25px}
  #enquiry-form .form-note {margin:10px 0 0;font-size:11px}
  .intent-options>div {grid-template-columns:repeat(2,minmax(0,1fr))}
  .intent-option span {font-size:12px}
}

/* Where we build and the collection toolbar on phones. */
@media (max-width:700px) {
  #footprint {gap:22px}
  .footprint-list {grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}
  .footprint-list>li:nth-child(odd) {border-left:0}
  .footprint-list>li:nth-child(n+3) {border-top:1px solid var(--line)}
  .footprint-total {padding:18px 12px 18px 0;gap:10px}
  .footprint-total strong {font-size:48px}
  .footprint-total span {font-size:11px}
  .footprint-list button {min-height:84px;padding:18px 30px 18px 16px}
  .footprint-list>li:nth-child(odd) button {padding-left:0}
  .footprint-city {font-size:23px}
  .footprint-meta {font-size:11px}
  .footprint-arrow {top:20px;right:8px;font-size:16px}
  #projects .project-toolbar {display:block;border-bottom:0}
  .project-toolbar-end {justify-content:space-between;padding:12px 0 0}
  #projects .project-toolbar-end #project-count {margin:0}
  #projects .card-price {margin-top:12px;font-size:21px}
  #projects .project-card.is-featured h3 {font-size:32px}
}
