/* ==========================================================================
   Neihart Tours and Travel - foundation
   Design tokens, typography, layout primitives, buttons, forms, shared blocks
   ========================================================================== */

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #14263D;
    --navy-deep: #0D1A2A;
    --navy-soft: #1D3554;
    --gold: #C6A15B;
    --gold-deep: #A9833F;
    --gold-pale: #F1E6CE;
    --white: #FFFFFF;
    --bg: #F4F6F8;
    --ink: #253246;
    --ink-soft: #4A5768;
    --muted: #61707F;
    --line: #E3E8EE;
    --line-dark: rgba(255, 255, 255, 0.14);

    --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --container: 1200px;
    --gutter: clamp(1.15rem, 4vw, 2.5rem);
    --section-y: clamp(3.75rem, 7vw, 7rem);
    --radius: 3px;
    --radius-lg: 5px;

    --shadow-sm: 0 2px 10px rgba(20, 38, 61, 0.06);
    --shadow-md: 0 18px 40px -22px rgba(20, 38, 61, 0.35);
    --shadow-lg: 0 32px 70px -34px rgba(20, 38, 61, 0.45);

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

/* --------------------------------------------------------------- Reset -- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
    display: block;
}

img {
    height: auto;
}

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

button {
    font: inherit;
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

figure {
    margin: 0;
}

[hidden] {
    display: none !important;
}

/* ---------------------------------------------------------- Typography -- */

h1,
h2,
h3,
h4 {
    margin: 0 0 0.6em;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.005em;
    color: var(--navy);
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.5rem, 5.4vw, 4.25rem);
}

h2 {
    font-size: clamp(1.95rem, 3.3vw, 2.9rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.2;
}

h4 {
    font-size: 1.15rem;
}

p {
    margin: 0 0 1.1em;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
    color: var(--navy);
}

a:not([class]) {
    color: var(--gold-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

::selection {
    background: var(--gold-pale);
    color: var(--navy);
}

/* -------------------------------------------------------------- Layout -- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

.section--tight {
    padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.section--muted {
    background: var(--bg);
}

.section--navy {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.82);
}

.section--navy h2,
.section--navy h3,
.section--navy strong {
    color: var(--white);
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section__head--center {
    display: block;
    text-align: center;
    max-width: 46rem;
    margin-inline: auto;
}

.section__head--center .section__title {
    margin-bottom: 0;
}

.section__title {
    margin: 0;
    max-width: 22ch;
}

.section__head--center .section__title {
    max-width: none;
}

.section__title--sm {
    font-size: clamp(1.75rem, 2.7vw, 2.35rem);
}

.section__note {
    max-width: 30ch;
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.9rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.eyebrow--gold {
    color: var(--gold);
}

.section--navy .eyebrow {
    color: var(--gold);
}

.prose-block {
    max-width: 52rem;
}

.prose-block p {
    font-size: 1.02rem;
    color: var(--ink-soft);
}

.split {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.visually-hidden {
    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: absolute;
    top: -100px;
    left: 1rem;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--navy);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 0.75rem;
}

/* ------------------------------------------------------------- Buttons -- */

.btn {
    --btn-bg: var(--navy);
    --btn-color: var(--white);
    --btn-border: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.85rem;
    border: 1px solid var(--btn-border);
    border-radius: var(--radius);
    background: var(--btn-bg);
    color: var(--btn-color);
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease),
        border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--navy {
    --btn-bg: var(--navy);
    --btn-color: var(--white);
    --btn-border: var(--navy);
}

.btn--navy:hover {
    --btn-bg: var(--navy-soft);
    --btn-border: var(--navy-soft);
}

.btn--gold {
    --btn-bg: var(--gold);
    --btn-color: #1A1408;
    --btn-border: var(--gold);
}

.btn--gold:hover {
    --btn-bg: var(--gold-deep);
    --btn-color: var(--white);
    --btn-border: var(--gold-deep);
}

.btn--ghost-light {
    --btn-bg: transparent;
    --btn-color: var(--white);
    --btn-border: rgba(255, 255, 255, 0.55);
}

.btn--ghost-light:hover {
    --btn-bg: var(--white);
    --btn-color: var(--navy);
    --btn-border: var(--white);
}

.btn--sm {
    padding: 0.7rem 1.25rem;
    font-size: 0.7rem;
}

.btn--gold:focus-visible,
.btn--navy:focus-visible {
    outline-color: var(--navy);
    outline-offset: 3px;
}

.section--navy .btn--gold:focus-visible,
.hero .btn:focus-visible {
    outline-color: var(--white);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    border-bottom: 1px solid rgba(20, 38, 61, 0.25);
    padding-bottom: 0.35rem;
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.link-arrow::after {
    content: "\2192";
    transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
    color: var(--gold-deep);
    border-color: var(--gold);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

.link-arrow--light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.link-arrow--light:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* --------------------------------------------------------------- Hero --- */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: min(92vh, 820px);
    padding-top: 6rem;
    color: var(--white);
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: var(--navy);
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(13, 26, 42, 0.72) 0%, rgba(13, 26, 42, 0.18) 38%, rgba(13, 26, 42, 0.82) 100%),
        linear-gradient(90deg, rgba(13, 26, 42, 0.62) 0%, rgba(13, 26, 42, 0) 62%);
}

.hero__content {
    position: relative;
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
    max-width: 60rem;
}

.hero__title {
    color: var(--white);
    font-size: clamp(2.7rem, 6vw, 4.9rem);
    line-height: 1.03;
    margin-bottom: 1rem;
    max-width: 20ch;
}

.hero__lede {
    max-width: 46ch;
    font-size: clamp(1rem, 1.35vw, 1.1rem);
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 1.9rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero__facts {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 5vw, 4.5rem);
    padding-block: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 0;
}

.hero__facts li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hero__facts strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.01em;
}

.hero__facts span {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.hero--destination {
    min-height: min(84vh, 760px);
}

.hero--home .hero__content {
    padding-top: clamp(2rem, 6vw, 4rem);
}

/* --------------------------------------------------------- Page heroes -- */

.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(22rem, 52vh, 34rem);
    padding-top: 5.5rem;
    padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
    color: var(--white);
    isolation: isolate;
}

.page-hero--short {
    min-height: clamp(20rem, 46vh, 30rem);
}

.page-hero--compact {
    min-height: clamp(17rem, 38vh, 24rem);
}

.page-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--navy);
    overflow: hidden;
}

.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__content {
    position: relative;
}

.page-hero__title {
    color: var(--white);
    max-width: 24ch;
    margin-bottom: 0.7rem;
}

.page-hero__lede {
    max-width: 52ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.page-hero--plain {
    background: var(--navy);
    min-height: 0;
    padding-block: clamp(7rem, 12vw, 9.5rem) clamp(2.5rem, 5vw, 4rem);
}

.page-hero--plain .page-hero__title {
    margin-bottom: 0.4rem;
}

.page-hero--plain .page-hero__lede {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* -------------------------------------------------------- Breadcrumbs --- */

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
}

.breadcrumbs li + li::before {
    content: "/";
    color: currentColor;
    opacity: 0.45;
}

.breadcrumbs a {
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.breadcrumbs a:hover {
    color: var(--gold-deep);
    border-color: currentColor;
}

.breadcrumbs li[aria-current="page"] {
    color: var(--navy);
    opacity: 0.75;
}

.breadcrumbs--light li {
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumbs--light li[aria-current="page"] {
    color: rgba(255, 255, 255, 0.92);
}

.breadcrumbs--light a:hover {
    color: var(--gold);
}

/* ---------------------------------------------------- Home: intro block -- */

.intro__grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.intro__copy p {
    color: var(--ink-soft);
    max-width: 56ch;
}

.intro__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.intro__figure {
    position: relative;
}

.intro__figure img {
    width: 100%;
    aspect-ratio: 4 / 3.2;
    object-fit: cover;
    border-radius: var(--radius);
}

.intro__figure figcaption {
    margin-top: 0.85rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------------------------------------------------------- Home: steps -- */

.steps {
    display: grid;
    gap: 0;
    counter-reset: step;
    border-top: 1px solid var(--line);
}

.step {
    position: relative;
    padding: clamp(1.75rem, 3vw, 2.5rem) 0;
    border-bottom: 1px solid var(--line);
}

.step__number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-bottom: 0.85rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    margin: 0;
    color: var(--ink-soft);
    max-width: 42ch;
}

/* --------------------------------------------------- Services / values --- */

.service-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: minmax(0, 1fr);
}

.service-card {
    padding: clamp(1.6rem, 2.6vw, 2.1rem);
    border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.55rem;
}

.service-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(198, 161, 91, 0.5);
    transform: translateY(-3px);
}

.service-grid--light .service-card--light {
    background: var(--white);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.service-grid--light .service-card--light h3 {
    color: var(--navy);
}

.service-grid--light .service-card--light p {
    color: var(--ink-soft);
}

.service-grid--light .service-card--light:hover {
    border-color: rgba(198, 161, 91, 0.55);
    box-shadow: var(--shadow-md);
}

.value-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: minmax(0, 1fr);
}

.value-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: clamp(1.6rem, 2.6vw, 2rem);
    border-top: 2px solid var(--gold);
    border-radius: var(--radius);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

/* ------------------------------------------------------- About / contact -- */

.about__grid,
.contact__grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.about__copy p {
    color: var(--ink-soft);
    max-width: 58ch;
}

.about__figure img {
    width: 100%;
    aspect-ratio: 3 / 3.6;
    object-fit: cover;
    border-radius: var(--radius);
}

.contact__address {
    font-style: normal;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.55;
    color: var(--navy);
    margin: 1rem 0 2rem;
}

.contact__list {
    margin: 0 0 2rem;
    display: grid;
    gap: 1.1rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}

.contact__list dt {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.2rem;
}

.contact__list dd {
    margin: 0;
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 500;
}

.contact__list dd a {
    border-bottom: 1px solid rgba(20, 38, 61, 0.2);
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.contact__list dd a:hover {
    color: var(--gold-deep);
    border-color: var(--gold);
}

.contact__note {
    font-size: 0.92rem;
    color: var(--muted);
    max-width: 40ch;
}

.check-list {
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.check-list li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

/* ----------------------------------------------------------- CTA bands -- */

.listing-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem 2.5rem;
}

.listing-cta p {
    margin-bottom: 0;
    color: var(--ink-soft);
    max-width: 48ch;
}

.listing-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.listing-cta--plain {
    padding: 0;
}

.final-cta {
    text-align: center;
    max-width: 44rem;
    margin-inline: auto;
}

.final-cta__title {
    color: var(--white);
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    margin-bottom: 0.8rem;
}

.final-cta__text {
    color: rgba(255, 255, 255, 0.78);
    max-width: 40ch;
    margin: 0 auto 2rem;
}

.section--final-cta {
    background:
        linear-gradient(180deg, rgba(13, 26, 42, 0.94), rgba(20, 38, 61, 0.97)),
        var(--navy);
    padding-block: clamp(4rem, 8vw, 6.5rem);
}

.section--final-cta .eyebrow {
    color: var(--gold);
}

/* ------------------------------------------------------------- Forms ---- */

.enquiry-panel {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
    grid-template-columns: minmax(0, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 3.25rem);
    box-shadow: var(--shadow-md);
}

.enquiry-panel__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.7rem;
}

.enquiry-panel__text {
    color: var(--ink-soft);
    max-width: 38ch;
}

.enquiry-panel__assurance {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.enquiry-panel__assurance li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.enquiry-panel__assurance li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.enquiry-form {
    min-width: 0;
}

.form-grid {
    display: grid;
    gap: 1.1rem 1.25rem;
    grid-template-columns: minmax(0, 1fr);
}

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

.form-field label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
}

.form-hint {
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field textarea {
    resize: vertical;
    min-height: 7rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.18);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: #B0442F;
    background: #FDF6F4;
}

.form-error {
    margin: 0;
    font-size: 0.8rem;
    color: #9C3423;
}

.form-alert {
    margin: 0 0 1.1rem;
    padding: 0.9rem 1.1rem;
    border-left: 3px solid #B0442F;
    background: #FDF1EE;
    color: #7E2A1B;
    font-size: 0.9rem;
}

.form-alert--soft {
    background: #FBF7EF;
    border-left-color: var(--gold);
    color: #6B5527;
}

.form-success {
    margin: 0 0 1.25rem;
    padding: 0.95rem 1.1rem;
    border-left: 3px solid #2F7A55;
    background: #EFF7F2;
    color: #1F5740;
    font-size: 0.92rem;
}

.form-field--honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.6rem;
}

.form-consent {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
    max-width: 32ch;
}

.form-consent a {
    text-decoration: underline;
}

/* -------------------------------------------------------- Static pages --- */

.notfound {
    max-width: 40rem;
    padding-block: clamp(1rem, 4vw, 2rem);
}

.notfound__title {
    margin-bottom: 0.9rem;
}

.notfound__text {
    color: var(--ink-soft);
}

.notfound__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 2rem 0 1.75rem;
}

.notfound__contact {
    font-size: 0.9rem;
    color: var(--muted);
}

.legal {
    max-width: 46rem;
}

.legal h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    margin-top: 2.5rem;
}

.legal h2:first-child {
    margin-top: 0;
}

.legal p,
.legal li {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.legal ul {
    margin: 0 0 1.2rem;
    display: grid;
    gap: 0.45rem;
}

.legal ul li {
    position: relative;
    padding-left: 1.4rem;
}

.legal ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.credit-list {
    display: grid;
    gap: 0.9rem;
    margin: 0;
}

.credit {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.credit::before {
    display: none;
}

.credit p {
    margin: 0;
    font-size: 0.85rem;
}

.credit__use {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.15rem !important;
}

.credit__meta {
    color: var(--ink-soft);
}

/* ---------------------------------------------------- Responsive tiers --- */

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .service-grid,
    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .intro__grid {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .about__grid,
    .contact__grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .split {
        grid-template-columns: 1.15fr 0.85fr;
        gap: clamp(2.5rem, 6vw, 5rem);
    }

    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .step {
        padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.25rem, 2.5vw, 2rem);
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }

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

    .step:last-child {
        border-right: 0;
        padding-right: 0;
    }

    .enquiry-panel {
        grid-template-columns: 0.82fr 1.18fr;
        gap: clamp(2rem, 4vw, 3.5rem);
    }
}

@media (min-width: 1100px) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .value-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* --------------------------------------------------- Motion preference --- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
