/* =========================================================
   REPUTEX PROPERTY SOLUTIONS LTD - WEBSITE STYLES
   Modern design: floating glass header, big type, rounded
   panels and scroll animations.
   One stylesheet for index.html, services.html, about.html
   and contacts.html. (sell.html still uses styles.css.)
   ========================================================= */

/* ---------- 1. Colours, fonts and sizes ---------- */
:root {
    /* ===== CHANGE THE WEBSITE COLOURS HERE ===== */
    --primary: #123f8c;        /* royal blue: buttons, blue panels */
    --primary-deep: #0b1f4b;   /* deep blue: footer and phone menu */
    --primary-bright: #2f6fed; /* bright blue: glows and focus rings */
    --accent: #ffc83d;         /* sunshine yellow: buttons, highlights */
    --accent-soft: #ffe08a;    /* lighter yellow: button hover */
    --canvas: #f5f7fc;         /* page background */
    --tint: #e8eefb;           /* light blue cards */
    --ink: #0b1f4b;            /* headings and dark text */
    --body: #4a5568;           /* normal paragraph text */
    --muted: #5f6b80;          /* small grey text */
    /* ===== END OF COLOURS ===== */
  
    --white: #ffffff;
    --line: color-mix(in srgb, var(--ink) 11%, transparent);
    --line-strong: color-mix(in srgb, var(--ink) 24%, transparent);
    --line-on-dark: rgba(255, 255, 255, 0.14);
    --text-on-dark: rgba(255, 255, 255, 0.76);
  
    --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
    --font-logo: "Cinzel", Georgia, serif;
  
    --r-xl: 40px;
    --r-lg: 28px;
    --r-md: 20px;
    --r-sm: 14px;
  
    --shadow-sm: 0 1px 2px rgba(11, 31, 75, 0.06), 0 8px 20px -10px rgba(11, 31, 75, 0.12);
    --shadow-md: 0 2px 6px rgba(11, 31, 75, 0.05), 0 24px 48px -18px rgba(11, 31, 75, 0.24);
    --shadow-lg: 0 40px 90px -30px rgba(11, 31, 75, 0.38);
  
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-top: 14px;
    --header-h: 72px;
    --section: clamp(4.5rem, 9vw, 7.5rem);
  
    /* London skyline used in the blue panel and the footer */
    --skyline-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='120' viewBox='0 0 2400 120'%3E%3Cpath d='M0 120V57H28V60H56V62H88V64H104V58H120V108H160V101H186V98H222V95H236V108H250V99H270V72H298V78H330V87H370V87H402V60H422V56H438V86H464V92H478V62H492V74H498V66H512V74H518V104H558V103H580V96H606V77H624V89H638V81H666V80H698V51H724V92H744V73H780V67H798V98H834V106H848V92H870V76H876V68H886V76H892V60H898V52H922V60H928V53H952V64H958V56H974V64H980V83H1020V105H1056V97H1074V105H1106V62H1132V86H1148V77H1170V54H1196V84H1212V51H1244V79H1266V88H1280V85H1286V77H1302V85H1308V100H1332V107H1350V71H1378V84H1414V70H1442V54H1456V88H1484V88H1500V90H1524V71H1542V62H1582V91H1608V50H1644V96H1650V88H1674V96H1680V66H1702V63H1738V100H1754V104H1768V108H1796V61H1812V69H1818V61H1846V69H1852V83H1874V71H1892V61H1920V84H1926V76H1954V84H1960V79H1980V80H1986V72H2010V80H2016V90H2040V90H2046V82H2056V90H2062V66H2082V61H2114V64H2150V62H2156V54H2166V62H2172V70H2208V51H2222V88H2228V80H2244V88H2250V83H2270V85H2310V52H2350V88H2356V80H2384V88H2390V92H2400V120Z'/%3E%3Cpath d='M542 120C540 74 551 48 563 44C575 48 586 74 584 120ZM796 120L818 6H823L848 120ZM1032 120V86H1094V120ZM1038 87A25 25 0 0 1 1088 87ZM1061 56H1065V63H1061ZM1062 48H1064V56H1062ZM1322 120V40H1344V120ZM1320 40L1333 12L1346 40ZM1332 4H1334V14H1332ZM1752 120V24H1784V120ZM1752 24L1768 8L1784 24ZM410 120V40H412V120ZM1196 120V44H1198V120ZM1513 120V38H1515V120ZM2102 120V42H2104V120Z'/%3E%3Ccircle cx='210' cy='58' r='46' fill='none' stroke='%23000' stroke-width='3'/%3E%3Ccircle cx='210' cy='58' r='50' fill='none' stroke='%23000' stroke-width='5' stroke-dasharray='3 10.1'/%3E%3Cpath d='M164 58H256M210 12V104M170.2 35L249.8 81M170.2 81L249.8 35M187 18.2L233 97.8M233 18.2L187 97.8' stroke='%23000' stroke-width='1.2'/%3E%3Cpath d='M210 58L186 120M210 58L234 120' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='210' cy='58' r='5'/%3E%3C/svg%3E");
  }
  
  /* ---------- 2. Base ---------- */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-top) + var(--header-h) + 24px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  body {
    min-height: 100vh;
    overflow-x: clip;
    background: var(--canvas);
    color: var(--body);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  img,
  svg,
  iframe {
    display: block;
    max-width: 100%;
  }
  
  img {
    height: auto;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button,
  input,
  select,
  textarea {
    color: inherit;
    font: inherit;
  }
  
  button {
    cursor: pointer;
  }
  
  ul,
  ol {
    list-style: none;
  }
  
  h1,
  h2,
  h3,
  h4 {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }
  
  p {
    text-wrap: pretty;
  }
  
  ::selection {
    background: var(--accent);
    color: var(--ink);
  }
  
  :focus-visible {
    outline: 3px solid var(--primary-bright);
    outline-offset: 3px;
  }
  
  /* Icons (Google Material Symbols) */
  .material-symbols-rounded {
    display: inline-block;
    flex-shrink: 0;
    width: 1em;
    overflow: hidden;
    font-family: "Material Symbols Rounded";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    font-feature-settings: "liga";
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    -webkit-user-select: none;
    user-select: none;
  }
  
  .material-symbols-rounded.fill {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
  }
  
  /* ---------- 3. Shared pieces ---------- */
  .container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
  }
  
  .section {
    padding-block: var(--section);
  }
  
  .section--white {
    background: var(--white);
  }
  
  .section--tight {
    padding-block: calc(var(--section) * 0.5);
  }
  
  .section--flush-top {
    padding-top: 0;
  }
  
  .sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  .skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-weight: 600;
    transform: translateY(-200%);
    transition: transform 0.3s var(--ease);
  }
  
  .skip-link:focus {
    transform: none;
  }
  
  /* Headings and text */
  .display {
    font-size: clamp(2.9rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }
  
  .h2 {
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }
  
  .lead {
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
    line-height: 1.6;
  }
  
  .accent-text {
    color: var(--accent);
  }
  
  /* Yellow highlighter behind a word */
  .mark {
    margin-inline: -0.06em;
    padding-inline: 0.06em;
    background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% 0.3em no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  
  /* Small label above a heading */
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    padding: 0.45rem 1rem 0.45rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  .eyebrow::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
  }
  
  .eyebrow--dark {
    border-color: var(--line-on-dark);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }
  
  /* Section titles */
  .section-head {
    display: grid;
    gap: 1.1rem;
    max-width: 760px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
  }
  
  .section-head > p:not(.eyebrow) {
    max-width: 60ch;
    font-size: 1.125rem;
  }
  
  .section-head--center {
    justify-items: center;
    margin-inline: auto;
    text-align: center;
  }
  
  .section-head--split {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
    column-gap: 3rem;
    max-width: none;
  }
  
  .section-head--split > div {
    display: grid;
    gap: 1.1rem;
  }
  
  /* Buttons: rounded pills, some with a round arrow at the end */
  .btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--white);
    --btn-icon-bg: var(--accent);
    --btn-icon-fg: var(--ink);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease),
      transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  }
  
  .btn:hover {
    --btn-bg: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  .btn:active {
    transform: translateY(0);
  }
  
  .btn > .material-symbols-rounded {
    font-size: 1.25rem;
  }
  
  .btn-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    margin: -0.45rem -1.05rem -0.45rem 0.15rem;
    border-radius: 50%;
    background: var(--btn-icon-bg);
    color: var(--btn-icon-fg);
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  }
  
  .btn-icon .material-symbols-rounded {
    font-size: 1.2rem;
    transform: rotate(-45deg);
    transition: transform 0.5s var(--ease);
  }
  
  .btn:hover .btn-icon .material-symbols-rounded {
    transform: rotate(0);
  }
  
  .btn-sun {
    --btn-bg: var(--accent);
    --btn-fg: var(--ink);
    --btn-icon-bg: var(--ink);
    --btn-icon-fg: var(--accent);
  }
  
  .btn-sun:hover {
    --btn-bg: var(--accent-soft);
  }
  
  .btn-royal {
    --btn-bg: var(--primary);
  }
  
  .btn-royal:hover {
    --btn-bg: var(--primary-deep);
  }
  
  .btn-ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-icon-bg: var(--ink);
    --btn-icon-fg: var(--white);
    border-color: var(--line-strong);
  }
  
  .btn-ghost:hover {
    --btn-bg: var(--ink);
    --btn-fg: var(--white);
    --btn-icon-bg: var(--accent);
    --btn-icon-fg: var(--ink);
    border-color: var(--ink);
  }
  
  .btn-light {
    --btn-bg: var(--white);
    --btn-fg: var(--ink);
    --btn-icon-bg: var(--primary);
    --btn-icon-fg: var(--white);
  }
  
  .btn-light:hover {
    --btn-bg: var(--accent);
  }
  
  .btn-outline-light {
    --btn-bg: transparent;
    --btn-fg: var(--white);
    border-color: rgba(255, 255, 255, 0.32);
  }
  
  .btn-outline-light:hover {
    --btn-bg: var(--white);
    --btn-fg: var(--ink);
    border-color: var(--white);
  }
  
  .btn-sm {
    padding: 0.65rem 1.1rem;
    font-size: 0.92rem;
  }
  
  .btn-sm .btn-icon {
    width: 2rem;
    height: 2rem;
    margin: -0.4rem -0.85rem -0.4rem 0.1rem;
  }
  
  .btn-block {
    width: 100%;
  }
  
  .btn[disabled] {
    cursor: progress;
    opacity: 0.7;
    transform: none;
  }
  
  /* Text link with a moving arrow */
  .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    padding-bottom: 2px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    color: var(--primary);
    font-weight: 700;
    transition: background-size 0.4s var(--ease);
  }
  
  .link-arrow:hover {
    background-size: 100% 1.5px;
  }
  
  .link-arrow .material-symbols-rounded {
    font-size: 1.15rem;
    transition: transform 0.4s var(--ease);
  }
  
  .link-arrow:hover .material-symbols-rounded {
    transform: translateX(4px);
  }
  
  /* List with yellow ticks */
  .tick-list {
    display: grid;
    gap: 0.75rem;
  }
  
  .tick-list li {
    position: relative;
    padding-left: 2.1rem;
    line-height: 1.45;
  }
  
  .tick-list li::before {
    content: "check";
    position: absolute;
    top: 0.02em;
    left: 0;
    display: grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    overflow: hidden;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    font-family: "Material Symbols Rounded";
    font-size: 1rem;
    font-weight: normal;
    line-height: 1;
    -webkit-font-feature-settings: "liga";
    font-feature-settings: "liga";
    font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 0, "opsz" 24;
  }
  
  .tick-list--2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    column-gap: 1.5rem;
  }
  
  /* Photos with rounded corners (the picture drifts as you scroll) */
  .photo {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--r-lg);
    background: var(--tint);
  }
  
  .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(0, var(--parallax, 0px), 0) scale(1.14);
    will-change: transform;
  }
  
  /* Round yellow badge with turning text */
  .sun-badge {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: clamp(118px, 12vw, 164px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
  }
  
  .sun-badge .ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin 24s linear infinite;
  }
  
  .sun-badge text {
    fill: currentColor;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.45em;
  }
  
  .badge-mark {
    display: grid;
    place-items: center;
    width: 44%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--ink);
    color: var(--accent);
  }
  
  .badge-mark svg {
    width: 62%;
  }
  
  /* Blue panel with soft glows */
  .panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--r-xl);
  }
  
  .panel--royal {
    background: var(--primary);
    color: var(--text-on-dark);
  }
  
  .panel--royal h2,
  .panel--royal h3 {
    color: var(--white);
  }
  
  .panel--royal::before,
  .panel--royal::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
  }
  
  .panel--royal::before {
    top: -320px;
    left: -220px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent), transparent 62%);
  }
  
  .panel--royal::after {
    right: -260px;
    bottom: -400px;
    width: 760px;
    height: 760px;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary-bright) 60%, transparent), transparent 62%);
  }
  
  /* London skyline silhouette */
  .skyline {
    height: 90px;
    background: currentColor;
    -webkit-mask: var(--skyline-shape) left bottom / auto 100% repeat-x;
    mask: var(--skyline-shape) left bottom / auto 100% repeat-x;
    pointer-events: none;
  }
  
  /* ---------- 4. Header and menu ---------- */
  .progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 120;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-bright));
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
  }
  
  .site-header {
    position: fixed;
    top: var(--header-top);
    right: 0;
    left: 0;
    z-index: 100;
    pointer-events: none;
    animation: header-in 1s var(--ease) 0.1s backwards;
  }
  
  .header-bar {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: min(100% - 2 * var(--gutter), var(--container));
    height: var(--header-h);
    margin-inline: auto;
    padding: 0 0.6rem 0 1rem;
    border-radius: 999px;
    pointer-events: auto;
    transition: height 0.4s var(--ease);
  }
  
  /* The frosted glass sits on its own layer so the phone menu can cover the screen */
  .header-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    backdrop-filter: saturate(1.6) blur(18px);
    transition: background-color 0.4s, box-shadow 0.4s, opacity 0.3s;
  }
  
  .site-header.scrolled .header-bar {
    height: calc(var(--header-h) - 8px);
  }
  
  .site-header.scrolled .header-bar::before {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-md);
  }
  
  .brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.7rem;
    color: var(--ink);
  }
  
  .brand-mark {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--primary);
    color: var(--accent);
    transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s;
  }
  
  .brand-mark svg {
    width: 28px;
  }
  
  .brand:hover .brand-mark {
    transform: rotate(-8deg) scale(1.05);
  }
  
  .brand-words {
    display: grid;
    line-height: 1;
  }
  
  .brand-name {
    font-family: var(--font-logo);
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: 0.08em;
  }
  
  .brand-sub {
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s;
  }
  
  .nav {
    display: flex;
    flex: 1;
    justify-content: center;
  }
  
  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }
  
  .nav-link {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 1rem;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .nav-link:hover {
    background: var(--tint);
  }
  
  .nav-link[aria-current="page"] {
    background: var(--ink);
    color: var(--white);
  }
  
  .nav-extra {
    display: none;
  }
  
  .header-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .icon-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--tint);
    color: var(--primary);
    transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease), opacity 0.3s;
  }
  
  .icon-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(-12deg);
  }
  
  .icon-btn .material-symbols-rounded {
    font-size: 1.3rem;
  }
  
  .menu-btn {
    position: relative;
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    transition: background-color 0.3s;
  }
  
  .menu-btn span {
    position: absolute;
    left: 15px;
    right: 15px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: top 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.3s;
  }
  
  .menu-btn span:first-child {
    top: 20px;
  }
  
  .menu-btn span:last-child {
    top: 27px;
  }
  
  .menu-open .menu-btn {
    background: var(--accent);
  }
  
  .menu-open .menu-btn span {
    top: 23px;
    background: var(--ink);
  }
  
  .menu-open .menu-btn span:first-child {
    transform: rotate(45deg);
  }
  
  .menu-open .menu-btn span:last-child {
    transform: rotate(-45deg);
  }

/* ---------- 5. Animations ---------- */
@keyframes header-in {
    from {
      opacity: 0;
      transform: translateY(-24px);
    }
  }
  
  @keyframes word-rise {
    from {
      transform: translateY(110%) rotate(5deg);
    }
  }
  
  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(26px);
    }
  }
  
  @keyframes media-in {
    from {
      clip-path: inset(24% 7% 0 7% round 40px);
    }
    to {
      clip-path: inset(0 0 0 0 round 40px);
    }
  }
  
  @keyframes img-in {
    from {
      transform: scale(1.4);
    }
  }
  
  @keyframes pop {
    from {
      opacity: 0;
      transform: translateY(24px) scale(0.86);
    }
  }
  
  @keyframes bob {
    50% {
      transform: translateY(-10px);
    }
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  @keyframes chip-open {
    from {
      width: 0;
      opacity: 0;
    }
  }
  
  @keyframes mark-in {
    from {
      background-size: 0% 0.3em;
    }
  }
  
  @keyframes pulse {
    from {
      box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 75%, transparent);
    }
    to {
      box-shadow: 0 0 0 14px transparent;
    }
  }
  
  @keyframes live {
    from {
      box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }
    to {
      box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
  }
  
  @keyframes ring {
    0%,
    55%,
    100% {
      transform: rotate(0);
    }
    60% {
      transform: rotate(-14deg);
    }
    65% {
      transform: rotate(14deg);
    }
    70% {
      transform: rotate(-10deg);
    }
    75% {
      transform: rotate(10deg);
    }
    80% {
      transform: rotate(-4deg);
    }
  }
  
  @keyframes marquee {
    to {
      transform: translateX(-50%);
    }
  }
  
  @keyframes blob {
    to {
      transform: translate(-6%, 8%) scale(1.12);
    }
  }
  
  @keyframes reveal-up {
    from {
      opacity: 0;
      transform: translateY(44px);
    }
  }
  
  @keyframes reveal-clip {
    from {
      clip-path: inset(14% 14% 14% 14% round 28px);
    }
    to {
      clip-path: inset(0 0 0 0 round 28px);
    }
  }
  
  /* Big titles: each word slides up into place */
  .w {
    display: inline-block;
    margin: 0 -0.04em -0.14em;
    padding: 0 0.04em 0.14em;
    overflow: hidden;
    vertical-align: top;
  }
  
  .w > span {
    display: inline-block;
    animation: word-rise 1.1s var(--ease) calc(0.15s + var(--i, 0) * 0.08s) backwards;
  }
  
  .mark--intro {
    animation: mark-in 1.2s var(--ease) 1s backwards;
  }
  
  /* Fades in when the page opens (style="--d: 0.5s" sets the delay) */
  .intro {
    animation: fade-up 1s var(--ease) var(--d, 0s) backwards;
  }
  
  /* Sections that fade up as you scroll (switched on by reputex.js) */
  .js-reveal [data-reveal]:not(.is-in) {
    opacity: 0;
  }
  
  .js-reveal [data-reveal].is-in {
    animation: reveal-up 1.1s var(--ease) var(--delay, 0s) backwards;
  }
  
  .js-reveal [data-reveal="clip"].is-in {
    animation-name: reveal-clip;
  }
  
  .js-reveal [data-reveal] .mark {
    background-size: 0% 0.3em;
    transition: background-size 1.2s var(--ease) 0.4s;
  }
  
  .js-reveal [data-reveal].is-in .mark {
    background-size: 100% 0.3em;
  }
  
  /* Words that light up as you scroll */
  .hl-word {
    color: color-mix(in srgb, var(--ink) 18%, transparent);
    transition: color 0.4s ease;
  }
  
  .hl-word.is-lit {
    color: var(--ink);
  }
  
  /* ---------- 6. Home page ---------- */
  /* Hero */
  .hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-top) + var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(4rem, 7vw, 6rem);
  }
  
  .hero::before,
  .hero::after,
  .page-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    animation: blob 16s ease-in-out infinite alternate;
  }
  
  .hero::before,
  .page-hero::before {
    top: -30%;
    right: -16%;
    width: min(72vw, 840px);
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent), transparent 64%);
  }
  
  .hero::after {
    top: 20%;
    left: -24%;
    width: min(62vw, 720px);
    background: radial-gradient(circle, color-mix(in srgb, var(--primary-bright) 16%, transparent), transparent 64%);
    animation-duration: 20s;
    animation-direction: alternate-reverse;
  }
  
  .hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1.1rem 0.45rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
  }
  
  .hero-pill .dot {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2.2s ease-out infinite;
  }
  
  .hero-pill .dot::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ink);
  }
  
  .hero-title {
    margin-top: 1.4rem;
  }
  
  /* Small rounded photo inside the headline */
  .chip {
    display: inline-block;
    width: 1.7em;
    height: 0.8em;
    margin: 0 0.06em;
    overflow: hidden;
    vertical-align: 0.04em;
    border-radius: 999px;
    background: var(--tint);
    animation: chip-open 1.2s var(--ease) 0.55s backwards;
  }
  
  .chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1.75rem 4rem;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
  }
  
  .hero-row .lead {
    max-width: 560px;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .hero-media {
    position: relative;
    margin-top: clamp(2.5rem, 5vw, 4rem);
  }
  
  .hero-image {
    height: clamp(340px, 46vw, 640px);
    border-radius: var(--r-xl);
    animation: media-in 1.5s var(--ease) 0.45s backwards;
  }
  
  .hero-image img {
    animation: img-in 1.8s var(--ease) 0.45s backwards;
  }
  
  /* Frosted cards floating on the hero photo */
  .float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1.3rem 0.8rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-md);
    color: var(--ink);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    animation: pop 0.9s var(--ease) var(--d, 1.2s) backwards, bob 7s ease-in-out calc(var(--d, 1.2s) + 1s) infinite;
  }
  
  .float-card--a {
    bottom: clamp(16px, 3vw, 36px);
    left: clamp(16px, 3vw, 36px);
    --d: 1.2s;
  }
  
  .float-card--b {
    top: clamp(16px, 3vw, 36px);
    right: clamp(16px, 3vw, 36px);
    --d: 1.45s;
  }
  
  .float-card small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
  }
  
  .float-card strong {
    display: block;
    font-size: 1rem;
    line-height: 1.25;
  }
  
  .fc-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--accent);
    color: var(--ink);
  }
  
  .live-dot {
    width: 12px;
    height: 12px;
    margin: 0 0.35rem 0 0.5rem;
    border-radius: 50%;
    background: #22c55e;
    animation: live 1.8s ease-out infinite;
  }
  
  .hero-media .sun-badge {
    right: clamp(24px, 6vw, 90px);
    bottom: calc(-1 * clamp(44px, 5vw, 70px));
    animation: pop 1s var(--ease) 1.7s backwards;
  }
  
  /* Moving strip of services */
  .marquee {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
    background: var(--primary);
    color: var(--white);
  }
  
  .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
  }
  
  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
  
  .marquee-list {
    display: flex;
    flex-shrink: 0;
    align-items: center;
  }
  
  .marquee-list li {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    padding-right: 2.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
  
  .marquee-list li:nth-child(even) {
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.85);
  }
  
  .marquee-list li::after {
    content: "";
    flex-shrink: 0;
    width: 0.36em;
    height: 0.36em;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0.12em color-mix(in srgb, var(--accent) 30%, transparent);
  }
  
  /* Services grid (bento) */
  .bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(250px, auto);
    gap: clamp(12px, 1.4vw, 18px);
  }
  
  .tile {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
    min-height: 250px;
    padding: clamp(1.3rem, 2vw, 1.8rem);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
    color: var(--ink);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.4s, border-color 0.4s;
  }
  
  .tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
  }
  
  /* Soft glow that follows the mouse */
  .tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 24%, transparent), transparent 62%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
  }
  
  .tile:hover::after {
    opacity: 1;
  }
  
  .tile--lg {
    grid-row: span 2;
    grid-column: span 2;
  }
  
  .tile--wide {
    grid-column: span 2;
  }
  
  .tile-icon {
    position: absolute;
    top: clamp(1.3rem, 2vw, 1.8rem);
    left: clamp(1.3rem, 2vw, 1.8rem);
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 17px;
    background: var(--tint);
    color: var(--primary);
  }
  
  .tile-arrow {
    position: absolute;
    top: clamp(1.3rem, 2vw, 1.8rem);
    right: clamp(1.3rem, 2vw, 1.8rem);
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
  }
  
  .tile-arrow .material-symbols-rounded {
    font-size: 1.3rem;
  }
  
  .tile:hover .tile-arrow {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
    transform: rotate(45deg);
  }
  
  .tile-body {
    display: grid;
    gap: 0.45rem;
    max-width: 34ch;
  }
  
  .tile h3 {
    font-size: clamp(1.35rem, 1.9vw, 1.7rem);
    letter-spacing: -0.03em;
  }
  
  .tile p {
    font-size: 0.98rem;
    line-height: 1.5;
  }
  
  .tile--photo {
    border: 0;
    color: var(--white);
  }
  
  .tile--photo img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
  }
  
  .tile--photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 31, 75, 0) 30%, rgba(11, 31, 75, 0.88));
  }
  
  .tile--photo:hover img {
    transform: scale(1.06);
  }
  
  .tile--photo h3 {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
  }
  
  .tile--photo p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
  }
  
  .tile--photo .tile-icon {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  
  .tile--photo .tile-arrow {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
  }
  
  .tile--photo:hover .tile-arrow {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
  }
  
  .tile--sun {
    border-color: transparent;
    background: var(--accent);
  }
  
  .tile--sun p {
    color: color-mix(in srgb, var(--ink) 82%, transparent);
  }
  
  .tile--sun .tile-icon {
    background: var(--ink);
    color: var(--accent);
  }
  
  .tile--sun .tile-arrow {
    border-color: color-mix(in srgb, var(--ink) 28%, transparent);
  }
  
  .tile--royal {
    border-color: transparent;
    background: var(--primary);
    color: var(--white);
  }
  
  .tile--royal h3 {
    color: var(--white);
  }
  
  .tile--royal p {
    color: var(--text-on-dark);
  }
  
  .tile--royal .tile-icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent);
  }
  
  .tile--royal .tile-arrow {
    border-color: var(--line-on-dark);
    color: var(--white);
  }
  
  .tile--royal:hover .tile-arrow {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
  }
  
  .tile--royal::after {
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.14), transparent 62%);
  }
  
  .tile--tint {
    border-color: transparent;
    background: var(--tint);
  }
  
  .tile--tint .tile-icon {
    background: var(--white);
  }
  
  .tile--cta {
    justify-content: space-between;
    border: 1.5px dashed var(--line-strong);
    background: transparent;
  }
  
  .tile--cta h3 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    transition: color 0.4s;
  }
  
  .tile--cta .tile-arrow {
    position: static;
    width: 64px;
    height: 64px;
    border: 0;
    background: var(--ink);
    color: var(--white);
  }
  
  .tile--cta:hover {
    border-color: var(--ink);
    background: var(--ink);
  }
  
  .tile--cta:hover h3 {
    color: var(--white);
  }
  
  .tile--cta:hover .tile-arrow {
    background: var(--accent);
    color: var(--ink);
  }
  
  /* Big statement that lights up word by word */
  .statement-text {
    max-width: 21ch;
    margin-top: 1.5rem;
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.04em;
  }
  
  .benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--line);
  }
  
  .benefit {
    padding: 2rem 1.75rem 0 0;
  }
  
  .benefit + .benefit {
    padding-left: 1.75rem;
    border-left: 1px solid var(--line);
  }
  
  .benefit-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.25rem;
    border-radius: 17px;
    background: var(--tint);
    color: var(--primary);
    transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s;
  }
  
  .benefit:hover .benefit-icon {
    background: var(--accent);
    color: var(--ink);
    transform: rotate(-8deg) scale(1.05);
  }
  
  .benefit h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
  }
  
  .benefit p {
    font-size: 0.98rem;
  }
  
  .statement-foot {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
  }
  
  /* Find. Rent. Relax. (cards that stack as you scroll) */
  .lettings-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 6rem);
  }
  
  .lettings-intro {
    position: sticky;
    top: calc(var(--header-top) + var(--header-h) + 48px);
    display: grid;
    justify-items: start;
    gap: 1.25rem;
  }
  
  .lettings-lines {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
  }
  
  .stack {
    display: grid;
    gap: 24px;
    padding-bottom: 4vh;
  }
  
  .stack-card {
    position: sticky;
    top: calc(var(--header-top) + var(--header-h) + 40px + var(--i, 0) * 28px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    min-height: 380px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
  }
  
  .stack-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
  }
  
  .stack-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .stack-word {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.6vw, 4.8rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.05em;
  }
  
  .stack-num {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
  }
  
  .stack-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: var(--tint);
    color: var(--primary);
  }
  
  .stack-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.45rem;
  }
  
  .stack-photo {
    position: relative;
    min-height: 220px;
    margin: 10px;
    overflow: hidden;
    border-radius: calc(var(--r-xl) - 10px);
  }
  
  .stack-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .stack-card--sun {
    border-color: transparent;
    background: var(--accent);
  }
  
  .stack-card--sun p {
    color: color-mix(in srgb, var(--ink) 82%, transparent);
  }
  
  .stack-card--sun .stack-num {
    color: var(--ink);
  }
  
  .stack-card--sun .stack-icon {
    background: var(--ink);
    color: var(--accent);
  }
  
  .stack-card--royal {
    border-color: transparent;
    background: var(--primary);
    color: var(--text-on-dark);
  }
  
  .stack-card--royal .stack-word,
  .stack-card--royal h3 {
    color: var(--white);
  }
  
  .stack-card--royal .stack-num {
    color: var(--accent);
  }
  
  .stack-card--royal .stack-icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent);
  }
  
  /* Maintenance (blue panel) */
  .maint {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.75rem, 5vw, 4.5rem);
  }
  
  .maint .h2 {
    margin-top: 1.25rem;
  }
  
  .maint .lead {
    margin-top: 1.25rem;
    color: var(--text-on-dark);
  }
  
  .maint-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
  }
  
  .maint-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line-on-dark);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    transition: background-color 0.3s, transform 0.4s var(--ease);
  }
  
  .maint-list li:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
  }
  
  .maint-list .material-symbols-rounded {
    color: var(--accent);
  }
  
  .urgent {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    max-width: 100%;
    margin-top: 1.75rem;
    padding: 0.75rem 1.5rem 0.75rem 0.75rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
  
  .urgent:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45);
  }
  
  .urgent-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--accent);
  }
  
  .urgent-icon .material-symbols-rounded {
    animation: ring 2.6s ease-in-out infinite;
  }
  
  .urgent small {
    display: block;
    font-size: 0.85rem;
    line-height: 1.35;
  }
  
  .urgent strong {
    display: block;
    font-size: 1.1rem;
  }
  
  .maint-media {
    height: 100%;
    min-height: 460px;
  }
  
  .panel .skyline {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 80px;
    color: rgba(255, 255, 255, 0.06);
  }
  
  /* Free consultation */
  .consult-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4.5rem);
  }
  
  .consult-info {
    display: grid;
    gap: 1.5rem;
  }
  
  .person {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
    padding: 2rem 1.5rem;
    border-radius: var(--r-lg);
    background: var(--tint);
    text-align: center;
  }
  
  .person img {
    width: 104px;
    height: 104px;
    margin-bottom: 0.5rem;
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--accent);
    object-fit: cover;
  }
  
  .person h3 {
    font-size: 1.5rem;
  }
  
  .person p {
    max-width: 42ch;
  }
  
  .contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 1.25rem 1rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
  }
  
  .contact-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
  }
  
  .ci-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--tint);
    color: var(--primary);
  }
  
  .contact-list small {
    display: block;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  
  .contact-list a,
  .ci-value {
    display: block;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  
  .contact-list a:hover {
    color: var(--primary);
  }
  
  .values-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .values-mini li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem 0.5rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
  }
  
  .values-mini .material-symbols-rounded {
    color: var(--primary);
    font-size: 1.15rem;
  }

/* ---------- 7. Forms (home and contact pages) ---------- */
.form-card {
    position: relative;
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }
  
  .form-title {
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    letter-spacing: -0.03em;
  }
  
  .form-card > p {
    margin-top: 0.6rem;
  }
  
  .form {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1rem;
  }
  
  /* Labels sit inside the box and float up when you type */
  .field {
    position: relative;
  }
  
  .field input,
  .field select,
  .field textarea {
    width: 100%;
    padding: 1.55rem 1rem 0.55rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--canvas);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
  }
  
  .field textarea {
    min-height: 150px;
    resize: vertical;
  }
  
  .field select {
    padding-right: 2.75rem;
    cursor: pointer;
  }
  
  .field input:hover,
  .field select:hover,
  .field textarea:hover {
    border-color: var(--line-strong);
  }
  
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
  }
  
  .field label {
    position: absolute;
    top: 1.05rem;
    left: 1rem;
    right: 1rem;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform-origin: 0 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), color 0.3s;
  }
  
  .field input:focus + label,
  .field input:not(:placeholder-shown) + label,
  .field textarea:focus + label,
  .field textarea:not(:placeholder-shown) + label,
  .field--select label {
    color: var(--primary);
    transform: translateY(-0.62rem) scale(0.78);
  }
  
  .field--select::after {
    content: "expand_more";
    position: absolute;
    top: 50%;
    right: 0.85rem;
    width: 1em;
    overflow: hidden;
    color: var(--muted);
    font-family: "Material Symbols Rounded";
    font-size: 1.4rem;
    line-height: 1;
    -webkit-font-feature-settings: "liga";
    font-feature-settings: "liga";
    transform: translateY(-50%);
    pointer-events: none;
  }
  
  .optional {
    color: var(--muted);
    font-size: 0.82em;
  }
  
  .honey {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
  }
  
  .form .btn {
    margin-top: 0.5rem;
  }
  
  .form-status:empty {
    display: none;
  }
  
  .form-status {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
  }
  
  .form-status.is-success {
    background: #e7f6ec;
    color: #14532d;
  }
  
  .form-status.is-error {
    background: #fdecec;
    color: #7f1d1d;
  }
  
  /* ---------- 8. Inner page titles ---------- */
  .page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-top) + var(--header-h) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(4rem, 7vw, 5.5rem);
  }
  
  .breadcrumb ol {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    font-size: 0.88rem;
    font-weight: 600;
  }
  
  .breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .breadcrumb li + li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }
  
  .breadcrumb a {
    color: var(--muted);
    transition: color 0.3s;
  }
  
  .breadcrumb a:hover {
    color: var(--primary);
  }
  
  .breadcrumb [aria-current] {
    color: var(--ink);
  }
  
  .page-title {
    max-width: 15ch;
    margin-top: 1.4rem;
    font-size: clamp(2.8rem, 6.6vw, 5.6rem);
  }
  
  .page-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    align-items: end;
    gap: 1.5rem 4rem;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
  }
  
  .page-hero-row .lead {
    max-width: 600px;
  }
  
  .page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    max-width: 540px;
  }
  
  .chip-link {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
  }
  
  .chip-link:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
    transform: translateY(-2px);
  }
  
  .page-banner {
    position: relative;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
  }
  
  .page-banner .photo {
    height: clamp(260px, 38vw, 520px);
    border-radius: var(--r-xl);
    animation: media-in 1.5s var(--ease) 0.4s backwards;
  }
  
  .page-banner .photo img {
    animation: img-in 1.8s var(--ease) 0.4s backwards;
  }
  
  .page-banner .sun-badge {
    right: clamp(24px, 6vw, 90px);
    bottom: calc(-1 * clamp(40px, 5vw, 64px));
    animation: pop 1s var(--ease) 1.3s backwards;
  }
  
  /* ---------- 9. Services page ---------- */
  .svc-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  
  .svc-aside {
    position: sticky;
    top: calc(var(--header-top) + var(--header-h) + 28px);
    display: grid;
    gap: 1rem;
  }
  
  .svc-nav {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
  }
  
  .svc-nav-title {
    padding: 0.35rem 0.75rem 0.75rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  .svc-nav ol {
    display: grid;
    gap: 2px;
  }
  
  .svc-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    color: var(--body);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .svc-nav a span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s;
  }
  
  .svc-nav a:hover {
    background: var(--canvas);
    color: var(--ink);
  }
  
  .svc-nav a.is-active {
    background: var(--ink);
    color: var(--white);
  }
  
  .svc-nav a.is-active span {
    color: var(--accent);
  }
  
  .svc-nav-cta {
    display: grid;
    gap: 0.75rem;
    padding: 1.4rem;
    border-radius: var(--r-lg);
    background: var(--accent);
    color: var(--ink);
  }
  
  .svc-nav-cta p {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  
  .svc-nav-cta .link-arrow {
    color: var(--ink);
  }
  
  .svc-list {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }
  
  .svc {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--white);
  }
  
  .svc-media {
    height: clamp(220px, 26vw, 340px);
    margin: 10px;
    border-radius: calc(var(--r-xl) - 10px);
  }
  
  .svc-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 2rem 2.5rem;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  }
  
  .svc-main {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 1rem;
  }
  
  .svc-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
  }
  
  .svc-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 17px;
    background: var(--accent);
    color: var(--ink);
  }
  
  .svc-num {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
  }
  
  .svc-title {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    letter-spacing: -0.035em;
  }
  
  .svc-tagline {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
  }
  
  .included {
    align-self: start;
    padding: 1.5rem;
    border-radius: var(--r-md);
    background: var(--canvas);
  }
  
  .included h3 {
    margin-bottom: 1rem;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  .svc-more-head {
    display: grid;
    justify-items: start;
    gap: 1rem;
    margin-top: clamp(2rem, 4vw, 3rem);
  }
  
  .svc-more-head p:not(.eyebrow) {
    max-width: 56ch;
    font-size: 1.1rem;
  }
  
  .svc--compact {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 1.5rem 2.5rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
  }
  
  .svc--compact .svc-main {
    gap: 0.85rem;
  }
  
  .svc--compact .svc-title {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  }
  
  .svc--compact .tick-list {
    margin-bottom: 1.25rem;
  }
  
  .svc--royal {
    border-color: transparent;
    background: var(--primary);
    color: var(--text-on-dark);
  }
  
  .svc--royal .svc-title {
    color: var(--white);
  }
  
  .svc--royal .svc-num,
  .svc--royal .link-arrow {
    color: var(--accent);
  }
  
  .svc--royal .tick-list li {
    color: var(--white);
  }
  
  /* How it works */
  .steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
  
  .steps::before,
  .steps::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 28px;
    width: calc(75% + 1.5rem);
    height: 2px;
    background: var(--line);
  }
  
  .steps::after {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1.8s var(--ease) 0.3s;
  }
  
  .steps.is-in::after {
    transform: scaleX(1);
  }
  
  .step {
    position: relative;
    z-index: 1;
  }
  
  .step-num {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-weight: 700;
    transition: background-color 0.5s, border-color 0.5s;
  }
  
  .steps.is-in .step-num {
    border-color: var(--accent);
    background: var(--accent);
  }
  
  .steps.is-in .step:nth-child(2) .step-num {
    transition-delay: 0.7s;
  }
  
  .steps.is-in .step:nth-child(3) .step-num {
    transition-delay: 1.1s;
  }
  
  .steps.is-in .step:nth-child(4) .step-num {
    transition-delay: 1.5s;
  }
  
  .step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
  }
  
  /* Yellow call-to-action panel */
  .cta-panel {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.75rem 3rem;
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    border-radius: var(--r-xl);
    background: var(--accent);
    color: var(--ink);
  }
  
  .cta-panel h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.035em;
  }
  
  .cta-panel p {
    max-width: 52ch;
    margin-top: 0.75rem;
    color: color-mix(in srgb, var(--ink) 82%, transparent);
    font-size: 1.1rem;
  }
  
  .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .cta-ring {
    position: absolute;
    top: -170px;
    right: -110px;
    z-index: -1;
    width: 420px;
    height: 420px;
    border: 2px dashed color-mix(in srgb, var(--ink) 18%, transparent);
    border-radius: 50%;
    animation: spin 50s linear infinite;
  }
  
  .cta-ring::after {
    content: "";
    position: absolute;
    inset: 70px;
    border: 2px solid color-mix(in srgb, var(--white) 45%, transparent);
    border-radius: 50%;
  }
  
  /* ---------- 10. About page ---------- */
  .about-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
  
  .about-intro .h2 {
    margin-top: 1.25rem;
  }
  
  .about-copy {
    display: grid;
    gap: 1.25rem;
  }
  
  .big-lead {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
  }
  
  .about-copy .page-actions {
    margin-top: 0.5rem;
  }
  
  .facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
  }
  
  .fact {
    display: grid;
    gap: 0.35rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--white);
  }
  
  .fact-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.6rem;
    border-radius: 14px;
    background: var(--accent);
    color: var(--ink);
  }
  
  .fact strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 650;
    line-height: 1.2;
  }
  
  .fact small {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  /* Our promise */
  .promise {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(2rem, 6vw, 5rem);
  }
  
  .promise-words {
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6.2rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.05em;
  }
  
  .promise-words span {
    display: block;
  }
  
  .promise-words span + span {
    color: var(--accent);
  }
  
  .promise-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
  }
  
  .promise-text p {
    margin: 1rem 0 1.5rem;
  }
  
  .promise .tick-list li {
    color: var(--white);
    font-weight: 600;
  }
  
  /* Our values */
  .values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.4vw, 18px);
  }
  
  .value-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 1.75rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  }
  
  .value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
  }
  
  .value-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 24%, transparent), transparent 62%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
  }
  
  .value-card:hover::after {
    opacity: 1;
  }
  
  .value-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: auto;
    border-radius: 18px;
    background: var(--tint);
    color: var(--primary);
  }
  
  .value-num {
    position: absolute;
    top: 1.75rem;
    right: 1.75rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
  }
  
  .value-card h3 {
    margin: 2.5rem 0 0.6rem;
    font-size: 1.55rem;
  }
  
  .value-card p {
    font-size: 0.98rem;
    line-height: 1.55;
  }
  
  .value-card--royal {
    border-color: transparent;
    background: var(--primary);
    color: var(--text-on-dark);
  }
  
  .value-card--royal h3 {
    color: var(--white);
  }
  
  .value-card--royal .value-icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent);
  }
  
  .value-card--royal .value-num {
    color: var(--accent);
  }
  
  .value-card--royal::after {
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.14), transparent 62%);
  }
  
  .value-card--sun {
    border-color: transparent;
    background: var(--accent);
  }
  
  .value-card--sun p,
  .value-card--sun .value-num {
    color: color-mix(in srgb, var(--ink) 82%, transparent);
  }
  
  .value-card--sun .value-icon {
    background: var(--ink);
    color: var(--accent);
  }
  
  /* What we do: big rows that fill with blue on hover */
  .service-rows {
    border-top: 1px solid var(--line);
  }
  
  .service-row {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 4rem minmax(0, 1.1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 1rem;
    border-bottom: 1px solid var(--line);
    transition: padding 0.5s var(--ease);
  }
  
  .service-row::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: var(--r-md);
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: 50% 100%;
    transition: transform 0.5s var(--ease);
  }
  
  .service-row:hover {
    padding-inline: 2rem;
  }
  
  .service-row:hover::before {
    transform: scaleY(1);
  }
  
  .row-num {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    transition: color 0.4s;
  }
  
  .service-row h3 {
    font-size: clamp(1.45rem, 2.6vw, 2.2rem);
    letter-spacing: -0.03em;
    transition: color 0.4s;
  }
  
  .service-row p {
    transition: color 0.4s;
  }
  
  .row-arrow {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--ink);
    transition: transform 0.5s var(--ease), background-color 0.4s, color 0.4s, border-color 0.4s;
  }
  
  .service-row:hover h3 {
    color: var(--white);
  }
  
  .service-row:hover p {
    color: var(--text-on-dark);
  }
  
  .service-row:hover .row-num {
    color: var(--accent);
  }
  
  .service-row:hover .row-arrow {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
    transform: rotate(45deg);
  }
  
  .center-actions {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
  }

/* ---------- 11. Contact page ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
  }
  
  .contact-side {
    display: grid;
    gap: 1.25rem;
  }
  
  .contact-side > p:not(.eyebrow) {
    max-width: 52ch;
    font-size: 1.1rem;
  }
  
  .contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  
  .contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
  
  .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  
  .cc-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 0.85rem;
    border-radius: 15px;
    background: var(--tint);
    color: var(--primary);
  }
  
  .contact-card h3 {
    font-size: 1.2rem;
  }
  
  .contact-card a {
    color: var(--primary);
    font-weight: 700;
    overflow-wrap: anywhere;
  }
  
  .contact-card a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  
  .hours-list {
    display: grid;
    gap: 0.3rem;
    font-size: 0.95rem;
  }
  
  .hours-list div {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
  }
  
  .hours-list dd {
    color: var(--ink);
    font-weight: 600;
    white-space: nowrap;
  }
  
  .emergency-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: var(--r-lg);
    background: var(--primary);
    color: var(--text-on-dark);
  }
  
  .emergency-card h3 {
    margin-bottom: 0.25rem;
    color: var(--white);
    font-size: 1.25rem;
  }
  
  .emergency-card a {
    display: inline-block;
    margin-top: 0.35rem;
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 700;
  }
  
  .emergency-card .urgent-icon {
    background: var(--accent);
    color: var(--ink);
  }
  
  /* Map */
  .map-wrap {
    position: relative;
    height: clamp(380px, 45vw, 520px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--tint);
  }
  
  .map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  .map-card {
    position: absolute;
    bottom: clamp(16px, 3vw, 32px);
    left: clamp(16px, 3vw, 32px);
    display: grid;
    justify-items: start;
    gap: 0.6rem;
    max-width: 360px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  
  .map-card h2 {
    font-size: 2rem;
  }
  
  .map-card .btn {
    margin-top: 0.4rem;
  }
  
  /* ---------- 12. Footer ---------- */
  .site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: clamp(3.5rem, 7vw, 6rem);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    background: var(--primary-deep);
    color: var(--text-on-dark);
  }
  
  .site-footer::before {
    content: "";
    position: absolute;
    top: -380px;
    right: -220px;
    z-index: -1;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary-bright) 45%, transparent), transparent 62%);
    pointer-events: none;
  }
  
  .footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--line-on-dark);
  }
  
  .footer-cta h2 {
    color: var(--white);
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.045em;
  }
  
  .footer-cta h2 span {
    display: block;
    color: var(--accent);
  }
  
  .footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
    gap: 2.5rem;
    padding-block: clamp(2.5rem, 5vw, 4rem);
  }
  
  .site-footer .brand {
    color: var(--white);
  }
  
  .site-footer .brand-sub {
    color: var(--text-on-dark);
  }
  
  .site-footer .brand-mark {
    background: var(--accent);
    color: var(--ink);
  }
  
  .footer-about {
    max-width: 34ch;
    margin-top: 1.25rem;
    font-size: 0.98rem;
  }
  
  .footer-heading {
    margin-bottom: 1.1rem;
    color: var(--accent);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  .footer-links {
    display: grid;
    gap: 0.6rem;
  }
  
  .footer-links a {
    display: inline-block;
    transition: color 0.3s, transform 0.3s var(--ease);
  }
  
  .footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
  }
  
  .footer-contact {
    display: grid;
    gap: 0.85rem;
  }
  
  .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.98rem;
  }
  
  .footer-contact .material-symbols-rounded {
    margin-top: 0.15rem;
    color: var(--accent);
    font-size: 1.25rem;
  }
  
  .footer-contact a {
    overflow-wrap: anywhere;
    transition: color 0.3s;
  }
  
  .footer-contact a:hover {
    color: var(--white);
  }
  
  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--line-on-dark);
    font-size: 0.9rem;
  }
  
  .footer-bottom a {
    color: var(--accent);
    font-weight: 600;
  }
  
  .to-top {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-on-dark);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
  }
  
  .to-top:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
    transform: translateY(-4px);
  }
  
  .footer-skyline {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 90px;
    color: rgba(255, 255, 255, 0.05);
  }
  
  .footer-wordmark {
    margin-bottom: -0.14em;
    color: transparent;
    font-family: var(--font-logo);
    font-size: clamp(4rem, 17vw, 16rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.14);
    -webkit-user-select: none;
    user-select: none;
  }
  
  /* Call button that follows you on phones */
  .float-call {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 90;
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
    font-weight: 700;
    transition: opacity 0.3s, transform 0.4s var(--ease);
  }
  
  .float-call .material-symbols-rounded {
    font-size: 1.25rem;
  }
  
  .menu-open .float-call {
    opacity: 0;
    pointer-events: none;
  }
  
  /* ---------- 13. Smaller screens ---------- */
  @media (max-width: 1180px) {
    .header-cta {
      display: none;
    }
  
    .nav-link {
      padding: 0 0.85rem;
    }
  }
  
  @media (max-height: 760px) {
    .svc-nav-cta {
      display: none;
    }
  }
  
  /* Tablets and phones: full-screen menu */
  @media (max-width: 1023px) {
    :root {
      --header-top: 10px;
      --header-h: 64px;
    }
  
    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 13px;
    }
  
    .brand-mark svg {
      width: 25px;
    }
  
    .brand-name {
      font-size: 1.2rem;
    }
  
    .menu-btn {
      display: block;
    }
  
    .nav {
      position: fixed;
      inset: 0;
      z-index: 1;
      flex-direction: column;
      justify-content: space-between;
      gap: 2rem;
      padding: calc(var(--header-top) + var(--header-h) + 2rem) calc(var(--gutter) + 8px) calc(2rem + env(safe-area-inset-bottom));
      overflow-y: auto;
      background: var(--primary-deep);
      clip-path: circle(0 at calc(100% - var(--gutter) - 34px) calc(var(--header-top) + var(--header-h) / 2));
      visibility: hidden;
      transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
    }
  
    .menu-open .nav {
      clip-path: circle(150% at calc(100% - var(--gutter) - 34px) calc(var(--header-top) + var(--header-h) / 2));
      visibility: visible;
      transition: clip-path 0.9s var(--ease), visibility 0s;
    }
  
    .nav-list {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }
  
    .nav-list li {
      border-bottom: 1px solid var(--line-on-dark);
    }
  
    .nav-link {
      display: flex;
      justify-content: space-between;
      height: auto;
      padding: 0.9rem 0;
      border-radius: 0;
      background: none;
      color: var(--white);
      font-family: var(--font-display);
      font-size: clamp(2rem, 8vw, 3rem);
      font-weight: 600;
      letter-spacing: -0.03em;
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), color 0.3s;
    }
  
    .nav-link::after {
      content: "arrow_outward";
      align-self: center;
      width: 1em;
      overflow: hidden;
      color: var(--accent);
      font-family: "Material Symbols Rounded";
      font-size: 0.6em;
      font-weight: normal;
      line-height: 1;
      -webkit-font-feature-settings: "liga";
      font-feature-settings: "liga";
    }
  
    .nav-link:hover,
    .nav-link[aria-current="page"] {
      background: none;
      color: var(--accent);
    }
  
    .menu-open .nav-link {
      opacity: 1;
      transform: none;
    }
  
    .menu-open .nav-list li:nth-child(1) .nav-link {
      transition-delay: 0.12s;
    }
  
    .menu-open .nav-list li:nth-child(2) .nav-link {
      transition-delay: 0.18s;
    }
  
    .menu-open .nav-list li:nth-child(3) .nav-link {
      transition-delay: 0.24s;
    }
  
    .menu-open .nav-list li:nth-child(4) .nav-link {
      transition-delay: 0.3s;
    }
  
    .menu-open .nav-list li:nth-child(5) .nav-link {
      transition-delay: 0.36s;
    }
  
    .nav-extra {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0.75rem;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
    }
  
    .nav-extra .btn {
      justify-content: flex-start;
      white-space: normal;
      overflow-wrap: anywhere;
    }
  
    .menu-open .nav-extra {
      opacity: 1;
      transform: none;
      transition-delay: 0.42s;
    }
  
    .menu-open .header-bar::before {
      opacity: 0;
    }
  
    .menu-open .brand {
      color: var(--white);
    }
  
    .menu-open .brand-sub {
      color: var(--text-on-dark);
    }
  
    .menu-open .brand-mark {
      background: var(--accent);
      color: var(--ink);
    }
  
    .menu-open .icon-btn {
      opacity: 0;
      visibility: hidden;
    }
  
    .hero-row,
    .page-hero-row,
    .section-head--split,
    .lettings-grid,
    .maint,
    .consult-grid,
    .svc-layout,
    .about-intro,
    .promise,
    .contact-layout,
    .cta-panel,
    .footer-cta {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .chips {
      justify-content: flex-start;
      max-width: none;
    }
  
    .bento {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .tile--lg {
      grid-row: span 1;
      min-height: 400px;
    }
  
    .benefits {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .benefit:nth-child(3) {
      padding-left: 0;
      border-left: 0;
    }
  
    .benefit:nth-child(n + 3) {
      padding-top: 2.5rem;
    }
  
    .lettings-intro {
      position: static;
    }
  
    .maint-media {
      height: clamp(260px, 50vw, 420px);
      min-height: 0;
    }
  
    .svc-aside {
      display: none;
    }
  
    .values-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .steps {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      row-gap: 2.5rem;
    }
  
    .steps::before,
    .steps::after {
      display: none;
    }
  
    .footer-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 760px) {
    .float-call {
      display: inline-flex;
    }
  
    .float-card--b {
      display: none;
    }
  
    .float-card--a {
      top: 16px;
      bottom: auto;
    }
  
    .stack-card {
      position: relative;
      top: auto;
      grid-template-columns: minmax(0, 1fr);
      min-height: 0;
    }
  
    .stack-photo {
      order: -1;
      height: 200px;
      margin-bottom: 0;
    }
  
    .svc-body,
    .svc--compact {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .facts {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .service-row {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 0.4rem 1rem;
      padding: 1.5rem 0.5rem;
    }
  
    .service-row:hover {
      padding-inline: 1.25rem;
    }
  
    .row-num {
      grid-column: 1 / -1;
    }
  
    .service-row p {
      grid-column: 1;
    }
  
    .row-arrow {
      grid-row: 2 / span 2;
      grid-column: 2;
      width: 48px;
      height: 48px;
    }
  
    .map-wrap {
      height: auto;
      border-radius: var(--r-lg);
    }
  
    .map-wrap iframe {
      position: relative;
      height: 320px;
    }
  
    .map-card {
      position: static;
      max-width: none;
      border: 0;
      border-radius: 0;
      box-shadow: none;
    }
  
    .footer-bottom {
      padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }
  }
  
  @media (max-width: 640px) {
    .brand-sub {
      letter-spacing: 0.14em;
    }
  
    .hero-actions .btn,
    .page-actions .btn,
    .cta-actions .btn,
    .footer-cta-actions .btn {
      flex: 1 1 100%;
    }
  
    .bento {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .tile--lg,
    .tile--wide {
      grid-column: auto;
    }
  
    .tile {
      min-height: 200px;
    }
  
    .tile--lg {
      min-height: 340px;
    }
  
    .tile--cta {
      min-height: 150px;
    }
  
    .benefits {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .benefit,
    .benefit + .benefit {
      padding: 1.75rem 0 0;
      border-left: 0;
    }
  
    .benefit + .benefit {
      margin-top: 1.75rem;
      border-top: 1px solid var(--line);
    }
  
    .maint-list,
    .values-grid,
    .contact-cards,
    .footer-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .urgent {
      border-radius: var(--r-md);
    }
  
    .value-card {
      min-height: 260px;
    }
  
    .steps {
      grid-template-columns: minmax(0, 1fr);
      gap: 0;
    }
  
    .step {
      display: grid;
      grid-template-columns: 56px minmax(0, 1fr);
      column-gap: 1.25rem;
      padding-bottom: 2rem;
    }
  
    .step-num {
      grid-row: span 2;
      margin-bottom: 0;
    }
  
    .step h3 {
      align-self: end;
    }
  
    .step::before {
      content: "";
      position: absolute;
      top: 56px;
      bottom: 0;
      left: 27px;
      width: 2px;
      background: var(--line);
    }
  
    .step:last-child::before {
      display: none;
    }
  
    .emergency-card {
      align-items: flex-start;
    }
  }
  
  /* ---------- 14. Less motion for people who ask for it ---------- */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-delay: 0s !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      transition-delay: 0s !important;
    }
  
    .photo img {
      transform: none;
    }
  }

/* ---------- 15. Header fix: keep the call and menu buttons on the right ---------- */
.header-actions {
    margin-left: auto;
  }
  
  @media (max-width: 1023px) {
    .header-bar {
      gap: 0.75rem;
    }
  }
  
  /* Small phones: make the logo a little tighter so everything fits */
  @media (max-width: 400px) {
    .header-bar {
      padding-left: 0.75rem;
    }
  
    .brand {
      gap: 0.55rem;
    }
  
    .brand-name {
      font-size: 1.1rem;
    }
  
    .brand-sub {
      font-size: 0.55rem;
      letter-spacing: 0.1em;
    }
  
    .header-actions {
      gap: 0.4rem;
    }
  
    .icon-btn {
      width: 42px;
      height: 42px;
    }
  
    .menu-btn {
      width: 44px;
      height: 44px;
    }
  
    .menu-btn span {
      left: 13px;
      right: 13px;
    }
  
    .menu-btn span:first-child {
      top: 18px;
    }
  
    .menu-btn span:last-child {
      top: 25px;
    }
  
    .menu-open .menu-btn span {
      top: 21px;
    }
  }
  
  /* Very small phones: the call button moves to the floating "Call us" button */
  @media (max-width: 340px) {
    .icon-btn {
      display: none;
    }
  }