/* =============================================================
   VELORA DIGITAL — STUDIO WEBSITE STYLES

   1.  Tokens               9.  Service: booking & enquiries
   2.  Base                 10. Process
   3.  Layout helpers       11. Packages
   4.  Buttons & links      12. About
   5.  Header & navigation  13. Enquiry form
   6.  Hero & workbench     14. Footer
   7.  Industries           15. Reveal animation
   8.  Work & service one   16. Responsive
                            17. Reduced motion
   ============================================================= */


/* ---------- 1. Tokens ---------- */
:root {
    /* Brand colours */
    --ivory: #F5F0E8;
    --charcoal: #34332F;
    --bronze: #A77B55;
    --sand: #E8DCCB;
    --beige: #D8C5AD;
    --white: #FFFFFF;

    /* Supporting tones */
    --text-soft: #5F5C55;        /* secondary text on light backgrounds */
    --line: #DDD3C4;             /* hairlines on light backgrounds */
    --line-dark: #4A4843;        /* hairlines on charcoal */
    --ivory-dim: #C9C2B6;        /* secondary text on charcoal */
    --bronze-text: #8A6343;      /* bronze dark enough for small text on ivory */

    /* Type */
    --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

    /* Spacing */
    --pad: clamp(20px, 5vw, 84px);
    --gap: clamp(16px, 2vw, 32px);
    --section: clamp(96px, 12vw, 176px);
    --header-h: 80px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    background: var(--ivory);
    color: var(--charcoal);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.1;
}

:focus-visible {
    outline: 2px solid var(--bronze);
    outline-offset: 4px;
}

::selection {
    background: var(--beige);
}

.skip-link {
    position: fixed;
    top: -80px;
    left: var(--pad);
    z-index: 500;
    padding: 12px 18px;
    background: var(--charcoal);
    color: var(--ivory);
    font-size: 15px;
}

.skip-link:focus {
    top: 12px;
}


/* ---------- 3. Layout helpers ---------- */
.section {
    padding: var(--section) var(--pad);
}

/* Section header: label in the left column, title and intro to the right */
.section-header {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    margin-bottom: clamp(56px, 7vw, 104px);
}

.section-index {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
    align-self: start;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 0.9em;
    font-size: 14px;
    font-weight: 600;
    color: var(--bronze-text);
}

.section-index::before {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
}

.section-index--light {
    color: var(--beige);
}

.section-title {
    grid-column: 4 / 12;
    font-size: clamp(38px, 5vw, 76px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.section-intro {
    grid-column: 4 / 10;
    margin-top: 24px;
    max-width: 36em;
    color: var(--text-soft);
}


/* ---------- 4. Buttons & links ---------- */
.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}

/* Fill that rises from below on hover */
.button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    transform: translateY(102%);
    transition: transform 0.55s var(--ease);
}

.button:hover::before {
    transform: translateY(0);
}

.button:active {
    transform: scale(0.98);
}

.button--dark {
    background: var(--charcoal);
    color: var(--ivory);
}

.button--dark::before {
    background: var(--bronze);
}

.button--outline {
    border-color: var(--charcoal);
    color: var(--charcoal);
}

.button--outline::before {
    background: var(--charcoal);
}

.button--outline:hover {
    color: var(--ivory);
}

.button--light {
    background: var(--ivory);
    color: var(--charcoal);
}

.button--light::before {
    background: var(--bronze);
}

.button--light:hover {
    color: var(--white);
}

.text-link {
    position: relative;
    display: inline-block;
    padding: 4px 0;
    font-size: 15px;
    font-weight: 600;
}

.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform-origin: right;
    transition: transform 0.6s var(--ease);
}

.text-link:hover::after {
    transform: scaleX(0);
}


/* ---------- 5. Header & navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(245, 240, 232, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
}

.header-inner {
    height: var(--header-h);
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
}

.logo-word {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.logo-dot {
    font-size: 27px;
    font-weight: 800;
    color: var(--bronze);
}

.logo-tag {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid var(--line);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-soft);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3.5vw, 48px);
}

.nav-links {
    display: flex;
    gap: clamp(20px, 2.6vw, 38px);
}

.nav-links a {
    position: relative;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-soft);
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--bronze);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current] {
    color: var(--charcoal);
}

.nav-links a:hover::after,
.nav-links a[aria-current]::after {
    transform: scaleX(1);
}

.nav-button {
    min-height: 46px;
    padding: 0 22px;
    font-size: 14px;
}

.menu-button {
    display: none;
}


/* ---------- 6. Hero & workbench ---------- */
.hero {
    padding: clamp(48px, 7vw, 112px) var(--pad) clamp(80px, 9vw, 136px);
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bronze-text);
}

.hero-kicker::before {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
}

.hero-title {
    max-width: 13em;
    font-size: clamp(50px, 7.8vw, 138px);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.hero-lower {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
    margin-top: clamp(36px, 4vw, 56px);
}

.hero-intro {
    grid-column: 1 / 7;
    max-width: 33em;
    font-size: 18px;
    color: var(--text-soft);
}

.hero-actions {
    grid-column: 8 / 13;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px 30px;
}

/* Workbench: browser draft with a phone in front */
.workbench {
    position: relative;
    margin-top: clamp(64px, 8vw, 120px);
    padding: clamp(28px, 4vw, 64px) clamp(16px, 4vw, 64px) clamp(56px, 6vw, 88px);
    background: var(--sand);
}

.browser {
    position: relative;
    width: 82%;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 40px 80px -48px rgba(52, 51, 47, 0.55);
    overflow: hidden;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 38px;
    padding: 0 16px;
    border-bottom: 1px solid #EEE8DF;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #E2D9CC;
}

.browser-address {
    flex: 1;
    max-width: 340px;
    height: 20px;
    margin: 0 auto;
    border-radius: 20px;
    background: #F4EFE7;
}

/* The website draft inside the browser */
.draft {
    position: relative;
    padding: clamp(18px, 3vw, 44px) clamp(18px, 3.5vw, 56px) clamp(24px, 3.5vw, 52px);
}

.draft-grid {
    position: absolute;
    inset: 0 clamp(18px, 3.5vw, 56px);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(8px, 1.2vw, 18px);
    pointer-events: none;
}

.draft-grid i {
    background: rgba(167, 123, 85, 0.07);
    border-left: 1px solid rgba(167, 123, 85, 0.16);
    border-right: 1px solid rgba(167, 123, 85, 0.16);
}

.draft-nav,
.draft-hero,
.draft-row {
    position: relative;
}

.draft-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: clamp(22px, 3.5vw, 52px);
    font-size: clamp(10px, 1vw, 14px);
}

.draft-logo {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.draft-links {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.draft-links i {
    width: clamp(22px, 3vw, 44px);
    height: 4px;
    border-radius: 4px;
    background: #E7DFD3;
}

.draft-cta {
    padding: 6px 12px;
    border-radius: 30px;
    background: var(--charcoal);
    color: var(--ivory);
    font-size: 0.9em;
    font-weight: 600;
    white-space: nowrap;
}

.draft-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(14px, 2.5vw, 40px);
    align-items: center;
    margin-bottom: clamp(18px, 2.5vw, 36px);
}

.draft-headline {
    display: block;
    margin-bottom: 16px;
    font-size: clamp(20px, 3.4vw, 54px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1;
}

.draft-line {
    display: block;
    width: 90%;
    height: 6px;
    margin-bottom: 8px;
    border-radius: 6px;
    background: #ECE5DA;
}

.draft-line--short {
    width: 60%;
}

.draft-button {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    border: 1px solid var(--charcoal);
    border-radius: 30px;
    font-size: clamp(9px, 0.9vw, 13px);
    font-weight: 600;
}

.draft-photo {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: 4px;
    background:
        linear-gradient(135deg, transparent 49.6%, rgba(255, 255, 255, 0.55) 49.6%, rgba(255, 255, 255, 0.55) 50.4%, transparent 50.4%),
        linear-gradient(45deg, transparent 49.6%, rgba(255, 255, 255, 0.55) 49.6%, rgba(255, 255, 255, 0.55) 50.4%, transparent 50.4%),
        var(--beige);
}

.draft-photo span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--white);
    font-family: var(--font-mono);
    font-size: clamp(8px, 0.8vw, 11px);
    color: var(--text-soft);
}

.draft-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1.2vw, 18px);
}

.draft-tile {
    padding: clamp(10px, 1.4vw, 20px);
    border: 1px solid #ECE5DA;
    border-radius: 4px;
    background: var(--white);
    font-size: clamp(9px, 0.9vw, 13px);
}

/* Design notes laid over the draft */
.note {
    position: absolute;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 3px;
    background: var(--bronze);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: clamp(9px, 0.85vw, 12px);
    white-space: nowrap;
}

.note--type {
    top: 24%;
    left: clamp(18px, 3.5vw, 56px);
}

.note--grid {
    bottom: 10px;
    right: clamp(18px, 3.5vw, 56px);
    background: var(--charcoal);
}

.note--book {
    top: clamp(54px, 7vw, 100px);
    right: clamp(18px, 3.5vw, 56px);
}

.measure {
    position: absolute;
    left: clamp(6px, 1.2vw, 20px);
    top: 10%;
    height: clamp(22px, 3.5vw, 52px);
    width: 1px;
    background: var(--bronze);
}

.measure::before,
.measure::after {
    content: "";
    position: absolute;
    left: -3px;
    width: 7px;
    height: 1px;
    background: var(--bronze);
}

.measure::before { top: 0; }
.measure::after  { bottom: 0; }

.measure span {
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--bronze-text);
}

/* Phone in front of the browser */
.phone {
    position: absolute;
    top: clamp(56px, 7vw, 110px);
    right: clamp(16px, 5vw, 80px);
    width: clamp(150px, 18%, 236px);
    z-index: 3;
    padding: 7px;
    border-radius: 34px;
    background: var(--charcoal);
    box-shadow: 0 40px 70px -30px rgba(52, 51, 47, 0.6);
}

.phone-screen {
    position: relative;
    aspect-ratio: 9 / 18;
    padding: 36px clamp(10px, 1.2vw, 16px) clamp(12px, 1.4vw, 18px);
    border-radius: 27px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    font-size: clamp(8px, 0.85vw, 11px);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 34%;
    height: 15px;
    border-radius: 10px;
    background: var(--charcoal);
    transform: translateX(-50%);
}

.phone-business {
    font-family: var(--font-mono);
    font-size: 0.95em;
    color: var(--bronze-text);
}

.phone-heading {
    margin: 2px 0 12px;
    font-size: clamp(13px, 1.4vw, 19px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.phone-service {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    margin-bottom: 6px;
    border: 1px solid #ECE5DA;
    border-radius: 8px;
}

.phone-service span:last-child {
    color: var(--text-soft);
}

.phone-service.is-active {
    border-color: var(--charcoal);
    background: var(--ivory);
}

.phone-days,
.phone-times {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    text-align: center;
}

.phone-days {
    grid-template-columns: repeat(4, 1fr);
}

.phone-times {
    grid-template-columns: repeat(3, 1fr);
}

.phone-days span,
.phone-times span {
    padding: 6px 0;
    border-radius: 6px;
}

.phone-days span {
    background: var(--ivory);
}

.phone-days .is-active {
    background: var(--charcoal);
    color: var(--ivory);
}

.phone-times span {
    border: 1px solid #ECE5DA;
}

.phone-times .is-taken {
    color: #BDB5A8;
    text-decoration: line-through;
}

.phone-times .is-active {
    border-color: var(--bronze);
    background: var(--bronze);
    color: var(--white);
}

.phone-confirm {
    margin-top: auto;
    padding: 9px 0;
    border-radius: 30px;
    background: var(--charcoal);
    color: var(--ivory);
    font-weight: 600;
    text-align: center;
}

.workbench-caption {
    position: absolute;
    left: clamp(16px, 4vw, 64px);
    bottom: clamp(18px, 2vw, 28px);
    max-width: 56%;
    font-size: 14px;
    color: var(--text-soft);
}


/* ---------- 7. Industries ---------- */
.industries {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: center;
    padding: clamp(40px, 5vw, 72px) var(--pad);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.industries-title {
    grid-column: 1 / 4;
    font-size: 14px;
    font-weight: 600;
    color: var(--bronze-text);
}

.industries-list {
    grid-column: 4 / 13;
    display: flex;
    flex-wrap: wrap;
}

.industries-list li {
    padding: 4px clamp(16px, 2.4vw, 40px);
    border-left: 1px solid var(--line);
    font-size: clamp(22px, 2.6vw, 40px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.industries-list li:first-child {
    padding-left: 0;
    border-left: 0;
}


/* ---------- 8. Work & service one ---------- */
.case-list {
    border-top: 1px solid var(--charcoal);
}

.case {
    border-bottom: 1px solid var(--line);
}

.case-link {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: center;
    padding: clamp(32px, 4vw, 56px) 0;
}

.case-cover {
    grid-column: 1 / 8;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
}

/* Alternate the cover side on every second project */
.case:nth-child(even) .case-cover {
    grid-column: 6 / 13;
    grid-row: 1;
}

.case:nth-child(even) .case-details {
    grid-column: 1 / 5;
    grid-row: 1;
}

.case-cover--maison { background: #E3D6C4; }
.case-cover--form   { background: #CBD0C6; }
.case-cover--sunday { background: #D8B597; }

.cover-window {
    width: 72%;
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 30px 60px -36px rgba(52, 51, 47, 0.6);
    transition: transform 0.9s var(--ease);
}

.cover-bar {
    display: flex;
    gap: 5px;
    padding: 10px 12px;
    border-bottom: 1px solid #EEE8DF;
}

.cover-bar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #E2D9CC;
}

.cover-name {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
    font-size: clamp(22px, 3vw, 48px);
    font-weight: 600;
    letter-spacing: -0.045em;
    text-align: center;
}

/* Small line and button under each project name, so the cover reads as a web page */
.cover-name::after {
    content: "";
    width: 30%;
    height: 7px;
    border-radius: 7px;
    background: currentColor;
    opacity: 0.18;
}

.case-cover--maison .cover-name { color: #6E5A44; }
.case-cover--form .cover-name   { color: #4D5A4C; }
.case-cover--sunday .cover-name { color: #7A4426; }

.case-link:hover .cover-window,
.case-link:focus-visible .cover-window {
    transform: translateY(-10px) scale(1.03);
}

.case-details {
    grid-column: 9 / 13;
}

.case-number {
    display: block;
    margin-bottom: 18px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--bronze-text);
}

.case-name {
    font-size: clamp(30px, 3.2vw, 48px);
    letter-spacing: -0.04em;
}

.case-summary {
    margin-top: 14px;
    max-width: 26em;
    font-size: 16px;
    color: var(--text-soft);
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.case-tags li {
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-soft);
}

.case-open {
    position: relative;
    display: inline-block;
    margin-top: 26px;
    padding-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
}

.case-open::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--bronze);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}

.case-link:hover .case-open::after,
.case-link:focus-visible .case-open::after {
    transform: scaleX(1);
}

.work-disclaimer {
    max-width: 40em;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-soft);
}

/* Service one: website design and development */
.service--design {
    padding-top: 0;
}

.service--design .section-header {
    padding-top: var(--section);
    border-top: 1px solid var(--line);
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: clamp(40px, 5vw, 64px);
}

.design-point {
    grid-column: span 4;
    padding-top: 22px;
    border-top: 1px solid var(--charcoal);
}

.design-point:nth-child(odd) {
    grid-column: 4 / 8;
}

.design-point:nth-child(even) {
    grid-column: 9 / 13;
}

.design-point h3 {
    margin-bottom: 10px;
    font-size: 22px;
    letter-spacing: -0.025em;
}

.design-point p {
    font-size: 16px;
    color: var(--text-soft);
}


/* ---------- 9. Service: booking & enquiries ---------- */
.service--booking {
    background: var(--charcoal);
    color: var(--ivory);
}

.booking-layout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: 64px;
    align-items: center;
}

.booking-copy {
    grid-column: 1 / 7;
}

.booking-copy .section-index {
    margin-bottom: 24px;
}

.booking-copy .section-title {
    font-size: clamp(36px, 4.4vw, 68px);
}

.booking-intro {
    margin-top: 24px;
    max-width: 34em;
    color: var(--ivory-dim);
}

.uses {
    margin-top: 44px;
    border-top: 1px solid var(--line-dark);
}

.use {
    display: grid;
    grid-template-columns: 11em 1fr;
    gap: 8px 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
}

.use dt {
    font-weight: 600;
}

.use dd {
    font-size: 15px;
    color: var(--ivory-dim);
}

.booking-visual {
    grid-column: 8 / 13;
    position: relative;
    padding-bottom: 40px;
}

.form-card {
    padding: clamp(22px, 2.6vw, 36px);
    border-radius: 10px;
    background: var(--ivory);
    color: var(--charcoal);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}

.form-card-title {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.form-card-field {
    margin-bottom: 14px;
}

.form-card-field span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--text-soft);
}

.form-card-field i {
    display: block;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
}

.form-card-field--tall i {
    height: 70px;
}

.form-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-card-button {
    display: block;
    margin-top: 6px;
    padding: 12px 0;
    border-radius: 30px;
    background: var(--charcoal);
    color: var(--ivory);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.form-toast {
    position: absolute;
    left: -8%;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    background: var(--white);
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}

.form-toast-mark {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bronze);
}

.form-toast-mark::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 5px;
    width: 6px;
    height: 10px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
}


/* ---------- 10. Process ---------- */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--gap);
}

/* Line that runs through the step markers */
.steps::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
}

.step {
    position: relative;
}

.step-number {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 23px;
    margin-bottom: 28px;
    padding: 0 10px;
    border: 1px solid var(--bronze);
    border-radius: 30px;
    background: var(--ivory);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--bronze-text);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.step:hover .step-number {
    background: var(--bronze);
    color: var(--white);
}

.step h3 {
    margin-bottom: 10px;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.step p {
    font-size: 15px;
    color: var(--text-soft);
}


/* ---------- 11. Packages ---------- */
.pricing {
    background: var(--sand);
}

.package-table {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--charcoal);
}

.package {
    display: flex;
    flex-direction: column;
    padding: 32px clamp(20px, 2.6vw, 40px) 40px;
    border-right: 1px solid #D3C5B1;
}

.package:first-child {
    padding-left: 0;
}

.package:last-child {
    border-right: 0;
}

.package--accent {
    background: var(--charcoal);
    color: var(--ivory);
    border-radius: 0 0 10px 10px;
}

.package-name {
    font-size: clamp(26px, 2.4vw, 36px);
    letter-spacing: -0.04em;
}

.package-fit {
    min-height: 3.4em;
    margin-top: 10px;
    font-size: 15px;
    color: var(--text-soft);
}

.package--accent .package-fit {
    color: var(--ivory-dim);
}

.package-price {
    margin: 24px 0 28px;
}

/* Placeholder price: clearly marked so it can't be mistaken for a real price */
.price-tbc {
    display: inline-block;
    padding: 6px 12px;
    border: 1px dashed var(--bronze);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--bronze-text);
}

.package--accent .price-tbc {
    color: var(--beige);
}

.package-list li {
    position: relative;
    padding: 11px 0 11px 22px;
    border-top: 1px solid #D3C5B1;
    font-size: 15px;
}

.package--accent .package-list li {
    border-top-color: var(--line-dark);
}

.package-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 19px;
    width: 9px;
    height: 5px;
    border-left: 1.5px solid var(--bronze);
    border-bottom: 1.5px solid var(--bronze);
    transform: rotate(-45deg);
}

.custom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 48px;
    margin-top: clamp(48px, 6vw, 80px);
    padding-top: 32px;
    border-top: 1px solid var(--charcoal);
}

.custom-row h3 {
    margin-bottom: 8px;
    font-size: clamp(24px, 2.4vw, 34px);
    letter-spacing: -0.04em;
}

.custom-row p {
    max-width: 38em;
    color: var(--text-soft);
}


/* ---------- 12. About ---------- */
.about {
    background: var(--charcoal);
    color: var(--ivory);
}

.about-layout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: 56px;
}

.about-main {
    grid-column: 1 / 8;
}

.about-main .section-index {
    margin-bottom: 28px;
}

.about-title {
    font-size: clamp(34px, 4.2vw, 64px);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.about-side {
    grid-column: 9 / 13;
    padding-top: 52px;
}

.about-text {
    color: var(--ivory-dim);
}

.principles {
    margin-top: 40px;
}

.principles li {
    padding: 18px 0;
    border-top: 1px solid var(--line-dark);
}

.principles h3 {
    margin-bottom: 4px;
    font-size: 18px;
    color: var(--beige);
}

.principles p {
    font-size: 15px;
    color: var(--ivory-dim);
}


/* ---------- 13. Enquiry form ---------- */
.enquiry-layout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: 56px;
}

.enquiry-copy {
    grid-column: 1 / 6;
}

.enquiry-copy .section-index {
    margin-bottom: 24px;
}

.enquiry-title {
    font-size: clamp(40px, 5vw, 80px);
    letter-spacing: -0.05em;
    line-height: 1;
}

.enquiry-intro {
    max-width: 26em;
    margin-top: 24px;
    color: var(--text-soft);
}

.direct-contact {
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.direct-label {
    font-size: 14px;
    color: var(--text-soft);
}

.direct-email {
    display: inline-block;
    margin-top: 4px;
    font-size: clamp(18px, 1.7vw, 24px);
    font-weight: 600;
    letter-spacing: -0.02em;
    border-bottom: 1.5px solid var(--bronze);
    overflow-wrap: anywhere;
    transition: color 0.3s ease;
}

.direct-email:hover {
    color: var(--bronze-text);
}

.enquiry-form {
    grid-column: 7 / 13;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px var(--gap);
    align-content: start;
    padding: clamp(24px, 3vw, 44px);
    border-radius: 10px;
    background: var(--white);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.form-field--wide {
    grid-column: 1 / -1;
}

.form-field label,
.form-options legend {
    font-size: 14px;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--ivory);
    color: var(--charcoal);
    font-family: var(--font-sans);
    font-size: 16px;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--charcoal) 50%),
        linear-gradient(135deg, var(--charcoal) 50%, transparent 50%);
    background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.55;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9A948A;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: var(--beige);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
    outline: none;
    border-color: var(--bronze);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(167, 123, 85, 0.18);
}

.form-field [aria-invalid="true"] {
    border-color: #B5563A;
}

.form-options {
    border: 0;
}

.form-options legend {
    margin-bottom: 10px;
}

.option-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option {
    position: relative;
    cursor: pointer;
}

.option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.option span {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 14px;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.option:hover span {
    border-color: var(--beige);
}

.option input:checked + span {
    border-color: var(--charcoal);
    background: var(--charcoal);
    color: var(--ivory);
}

.option input:focus-visible + span {
    outline: 2px solid var(--bronze);
    outline-offset: 3px;
}

.form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 6px;
}

.form-help {
    max-width: 20em;
    font-size: 14px;
    color: var(--text-soft);
}

.form-message {
    grid-column: 1 / -1;
    font-size: 15px;
    color: var(--bronze-text);
}

.form-message:empty {
    display: none;
}

.form-message.is-error {
    color: #A3472D;
}


/* ---------- 14. Footer ---------- */
.site-footer {
    padding: clamp(72px, 9vw, 128px) var(--pad) 32px;
    background: var(--charcoal);
    color: var(--ivory-dim);
    font-size: 15px;
}

.footer-statement {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: clamp(56px, 7vw, 96px);
    border-bottom: 1px solid var(--line-dark);
}

.footer-statement p {
    max-width: 12em;
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--ivory);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: 40px;
    padding: clamp(48px, 6vw, 80px) 0;
}

.footer-brand {
    grid-column: 1 / 6;
}

.logo--light {
    color: var(--ivory);
}

.footer-brand p {
    max-width: 22em;
    margin-top: 14px;
}

.footer-heading {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--beige);
}

.footer-nav {
    grid-column: 7 / 9;
}

.footer-nav li + li {
    margin-top: 6px;
}

.footer-contact {
    grid-column: 9 / 13;
    overflow-wrap: anywhere;
}

.footer-contact p {
    margin-top: 6px;
}

.footer-nav a,
.footer-contact a {
    color: var(--ivory);
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--beige);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
    font-size: 14px;
}

.footer-bottom .text-link {
    color: var(--ivory);
    font-size: 14px;
}


/* ---------- 15. Reveal animation ----------
   Only used when JavaScript is running, so nothing is hidden without it. */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.js .step:nth-child(2),
.js .package:nth-child(2),
.js .design-point:nth-child(2) { transition-delay: 0.08s; }
.js .step:nth-child(3),
.js .package:nth-child(3),
.js .design-point:nth-child(3) { transition-delay: 0.16s; }
.js .step:nth-child(4),
.js .design-point:nth-child(4) { transition-delay: 0.24s; }
.js .step:nth-child(5)         { transition-delay: 0.32s; }

/* The workbench assembles itself once, when it first appears */
.js .workbench .note,
.js .workbench .measure,
.js .workbench .draft-grid,
.js .workbench .phone {
    opacity: 0;
    transition: opacity 0.8s ease, transform 1s var(--ease);
}

.js .workbench .phone {
    transform: translateY(40px);
}

.js .workbench.is-visible .draft-grid { opacity: 1; transition-delay: 0.3s; }
.js .workbench.is-visible .phone      { opacity: 1; transform: none; transition-delay: 0.5s; }
.js .workbench.is-visible .note,
.js .workbench.is-visible .measure    { opacity: 1; transition-delay: 0.9s; }


/* ---------- 16. Responsive ---------- */
@media (max-width: 1100px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 48px;
    }

    .steps::before {
        display: none;
    }

    .design-point:nth-child(odd)  { grid-column: 1 / 7; }
    .design-point:nth-child(even) { grid-column: 7 / 13; }

    .booking-copy  { grid-column: 1 / -1; }
    .booking-visual {
        grid-column: 3 / 11;
    }

    .about-main,
    .about-side {
        grid-column: 1 / -1;
    }

    .about-side {
        padding-top: 0;
        max-width: 640px;
    }
}

@media (max-width: 960px) {
    :root {
        --header-h: 68px;
    }

    body {
        font-size: 16px;
    }

    /* Mobile menu */
    .menu-button {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        min-height: 44px;
        padding: 0 2px;
        border: 0;
        background: none;
        color: var(--charcoal);
        font: 600 15px/1 var(--font-sans);
        cursor: pointer;
    }

    .menu-button-icon {
        position: relative;
        width: 22px;
        height: 10px;
    }

    .menu-button-icon span {
        position: absolute;
        left: 0;
        right: 0;
        height: 1.5px;
        background: currentColor;
        transition: transform 0.45s var(--ease), top 0.45s var(--ease);
    }

    .menu-button-icon span:first-child { top: 0; }
    .menu-button-icon span:last-child  { top: 8.5px; }

    .menu-open .menu-button-icon span:first-child { top: 4.25px; transform: rotate(45deg); }
    .menu-open .menu-button-icon span:last-child  { top: 4.25px; transform: rotate(-45deg); }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        padding: 16px var(--pad) 36px;
        background: var(--ivory);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.35s ease, transform 0.5s var(--ease), visibility 0s linear 0.5s;
    }

    .menu-open .site-nav {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity 0.35s ease, transform 0.5s var(--ease), visibility 0s;
    }

    .menu-open body {
        overflow: hidden;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid var(--line);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 36px;
        font-weight: 600;
        letter-spacing: -0.04em;
        color: var(--charcoal);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-button {
        min-height: 56px;
        font-size: 16px;
    }

    /* Section headers stack */
    .section-index,
    .section-title,
    .section-intro {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .section-index {
        padding-top: 0;
        margin-bottom: 20px;
    }

    /* Hero */
    .hero-intro,
    .hero-actions {
        grid-column: 1 / -1;
    }

    .hero-actions {
        justify-content: flex-start;
        margin-top: 28px;
    }

    .workbench {
        padding-bottom: 96px;
    }

    .browser {
        width: 100%;
    }

    .phone {
        top: auto;
        right: 12px;
        bottom: 20px;
        width: 30%;
        max-width: 200px;
    }

    .note--type {
        display: none;
    }

    .workbench-caption {
        max-width: 58%;
    }

    /* Industries */
    .industries-title,
    .industries-list {
        grid-column: 1 / -1;
    }

    .industries-title {
        margin-bottom: 14px;
    }

    /* Work */
    .case-cover,
    .case:nth-child(even) .case-cover,
    .case-details,
    .case:nth-child(even) .case-details {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .case-details {
        margin-top: 28px;
    }

    /* Packages */
    .package-table {
        grid-template-columns: 1fr;
    }

    .package,
    .package:first-child {
        padding: 28px 0 32px;
        border-right: 0;
        border-bottom: 1px solid #D3C5B1;
    }

    .package--accent {
        padding: 28px 24px 32px;
        border-radius: 10px;
        margin-top: 12px;
    }

    .package-fit {
        min-height: 0;
    }

    /* Enquiry */
    .enquiry-copy,
    .enquiry-form {
        grid-column: 1 / -1;
    }

    /* Footer */
    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-nav {
        grid-column: 1 / 7;
    }

    .footer-contact {
        grid-column: 7 / 13;
    }
}

@media (max-width: 600px) {
    .logo-tag {
        display: none;
    }

    .hero-actions .button {
        width: 100%;
    }

    .workbench {
        margin-left: calc(var(--pad) * -1);
        margin-right: calc(var(--pad) * -1);
        padding: 20px 14px 120px;
    }

    .draft-links,
    .measure,
    .note--book {
        display: none;
    }

    .phone {
        width: 38%;
        bottom: 16px;
        border-radius: 26px;
        padding: 5px;
    }

    .phone-screen {
        border-radius: 21px;
        padding-top: 28px;
    }

    .phone-service + .phone-service,
    .phone-times span:nth-child(n + 4) {
        display: none;
    }

    .workbench-caption {
        left: 14px;
        bottom: 16px;
        max-width: 52%;
        font-size: 13px;
    }

    .industries-list li {
        width: 50%;
        padding: 6px 0;
        border-left: 0;
    }

    .design-point:nth-child(odd),
    .design-point:nth-child(even) {
        grid-column: 1 / -1;
    }

    .steps {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }

    .use {
        grid-template-columns: 1fr;
    }

    .booking-visual {
        grid-column: 1 / -1;
    }

    .form-toast {
        left: 12px;
        right: 12px;
    }

    .enquiry-form {
        grid-template-columns: 1fr;
        padding: 22px 18px;
    }

    .form-actions .button,
    .custom-row .button {
        width: 100%;
    }

    .footer-nav,
    .footer-contact {
        grid-column: 1 / -1;
    }
}


/* ---------- 17. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        animation: none !important;
    }

    .js .reveal,
    .js .workbench .note,
    .js .workbench .measure,
    .js .workbench .draft-grid,
    .js .workbench .phone {
        opacity: 1;
        transform: none;
    }
}
.footer-phone {
    display: block;
    margin-top: 8px;
}