/* ==========================================================================
   danielplacinta.com
   ========================================================================== */

:root {
    --ink: #0b1220;
    --ink-2: #121b2f;
    --ink-3: #1b2640;
    --line-dark: rgba(148, 163, 184, 0.18);
    --on-dark: #e2e8f0;
    --on-dark-muted: #a3b1c6;

    --surface: #ffffff;
    --surface-alt: #f3f6fb;
    --line: #dde3ee;
    --text: #0f172a;
    --text-muted: #475569;

    --accent: #2563eb;
    --accent-strong: #1d4ed8;
    --accent-on-dark: #7cb4ff;
    --accent-soft: #e6eeff;

    --ok: #047857;
    --no: #b91c1c;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 2px 4px rgba(15, 23, 42, 0.08), 0 16px 40px rgba(37, 99, 235, 0.14);

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --gutter: clamp(16px, 4vw, 32px);
    --section-space: clamp(64px, 9vw, 112px);
    --header-h: 64px;
}

/* Base ------------------------------------------------------------------ */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--accent-strong);
}

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

.section-dark :focus-visible,
.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--accent-on-dark);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 1000;
    padding: 12px 18px;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

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

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

.container.narrow {
    max-width: 820px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-sm {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.9375rem;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-strong);
    color: #fff;
    transform: translateY(-1px);
}

.btn-ghost {
    border-color: rgba(226, 232, 240, 0.4);
    color: var(--on-dark);
}

.btn-ghost:hover {
    border-color: var(--on-dark);
    color: #fff;
}

.btn-ghost-dark {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.btn-ghost-dark:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.btn[disabled] {
    opacity: 0.7;
    cursor: progress;
    transform: none;
}

.text-link {
    font-weight: 600;
}

.text-link::after {
    content: " →";
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    min-height: 44px;
}

/* Header ---------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 18, 32, 0.86);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line-dark);
    color: var(--on-dark);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    min-height: 44px;
}

.brand:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-dark);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    margin-left: -10px;
    background: var(--on-dark);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-bar {
    top: 50%;
    margin-top: -1px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    left: 0;
    margin-left: 0;
}

.nav-toggle-bar::before {
    top: -6px;
}

.nav-toggle-bar::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
    transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-list {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: var(--on-dark-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.nav-list a:hover,
.nav-list a[aria-current="true"] {
    color: #fff;
}

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

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--on-dark);
    background:
        radial-gradient(60% 70% at 78% 40%, rgba(37, 99, 235, 0.28), transparent 70%),
        radial-gradient(40% 50% at 90% 80%, rgba(34, 211, 238, 0.14), transparent 70%),
        var(--ink);
    padding-block: clamp(64px, 12vw, 144px) clamp(64px, 10vw, 128px);
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
}

.hero-canvas.is-ready {
    opacity: 1;
}

/* Keeps the text column readable over the scene. */
.hero-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 18, 32, 0.78) 0%, rgba(11, 18, 32, 0.42) 42%, rgba(11, 18, 32, 0.08) 75%),
        linear-gradient(180deg, rgba(11, 18, 32, 0) 60%, rgba(11, 18, 32, 0.6) 100%);
    pointer-events: none;
}

@media (max-width: 1179px) {
    .hero-canvas::after {
        background: linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0.7) 100%);
    }
}

.hero-canvas canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-inner {
    max-width: 1160px;
}

.hero-inner > * {
    max-width: 640px;
}

.hero h1 {
    text-wrap: balance;
}

.eyebrow {
    color: var(--accent-on-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.125rem, 4.8vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    color: var(--on-dark-muted);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--on-dark-muted);
}

.availability-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: pulse 2.4s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Sections -------------------------------------------------------------- */

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

.section-alt {
    background: var(--surface-alt);
}

.section-dark {
    background: var(--ink);
    color: var(--on-dark);
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.kicker {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-dark .kicker {
    color: var(--accent-on-dark);
}

.section h2 {
    font-size: clamp(1.75rem, 3.6vw, 2.625rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-dark h2 {
    color: #fff;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0;
}

.subhead {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

/* Cards ----------------------------------------------------------------- */

.card-grid {
    list-style: none;
    display: grid;
    gap: 20px;
}

.services-grid {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: #c7d5f5;
}

.card h3 {
    font-size: 1.25rem;
}

.card p {
    color: var(--text-muted);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--accent), #22d3ee);
}

.card-meta {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-strong) !important;
}

/* Approach -------------------------------------------------------------- */

.approach-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(24px, 5vw, 64px);
}

.model-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.model-list li {
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
}

.model-list h4 {
    font-size: 1.0625rem;
    margin-bottom: 4px;
}

.model-list p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9875rem;
}

.fit-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.fit-list li {
    position: relative;
    padding-left: 30px;
}

.fit-list li::before {
    position: absolute;
    left: 0;
    top: 0.1em;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.fit-yes li::before {
    content: "✓";
    background: var(--ok);
}

.fit-no li::before {
    content: "✕";
    background: var(--no);
}

.process-title {
    margin-top: clamp(40px, 6vw, 64px);
}

.process {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process li {
    counter-increment: step;
    position: relative;
    padding: 24px 20px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.process li::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 0.06em;
}

.process h4 {
    font-size: 1.0625rem;
    margin-bottom: 6px;
}

.process p {
    margin: 0;
    font-size: 0.9875rem;
    color: var(--text-muted);
}

/* Work ------------------------------------------------------------------ */

.work-grid {
    grid-template-columns: repeat(2, 1fr);
}

.work-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.card-tag {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-strong) !important;
    margin-bottom: 10px;
}

.metrics {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.metrics li {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.875rem;
    font-weight: 600;
}

.work-card .text-link {
    margin-top: 16px;
    align-self: flex-start;
}

/* Testimonials ---------------------------------------------------------- */

.quote-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.quote {
    height: 100%;
    margin: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    background: var(--ink-2);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
}

.quote blockquote {
    margin: 0 0 20px;
    position: relative;
    padding-top: 28px;
}

.quote blockquote::before {
    content: "“";
    position: absolute;
    top: -14px;
    left: -4px;
    font-size: 4rem;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--accent-on-dark);
}

.quote blockquote p {
    margin: 0;
    font-size: 1.0625rem;
    color: var(--on-dark);
}

.quote figcaption {
    margin-top: auto;
    display: grid;
    gap: 2px;
}

.quote figcaption strong {
    color: #fff;
}

.quote figcaption span {
    font-size: 0.9375rem;
    color: var(--on-dark-muted);
}

.quote-source {
    margin: 28px 0 0;
    color: var(--on-dark-muted);
}

.section-dark a {
    color: var(--accent-on-dark);
}

.section-dark a:hover {
    color: #fff;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.about-intro {
    display: grid;
    gap: 24px;
}

.about-photo {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--accent);
}

.about-role {
    margin-top: -4px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-strong);
}

.about-meta {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.timeline {
    list-style: none;
    position: relative;
    border-left: 2px solid var(--line);
    padding-left: 24px;
    display: grid;
    gap: 22px;
}

.timeline li {
    position: relative;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--accent);
}

.timeline li:first-child::before {
    background: var(--accent);
}

.timeline p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9875rem;
}

.timeline .timeline-date {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent-strong);
}

.timeline .timeline-role {
    color: var(--text);
    font-size: 1.0625rem;
}

/* FAQ ------------------------------------------------------------------- */

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    border-radius: var(--radius-sm);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary h3 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
}

.faq-item p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--text-muted);
}

/* Contact --------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.contact-intro p {
    color: var(--on-dark-muted);
    font-size: 1.0625rem;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: clamp(20px, 4vw, 32px);
    background: var(--surface);
    color: var(--text);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

.field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.field label {
    font-weight: 600;
    font-size: 0.9375rem;
}

.optional {
    font-weight: 400;
    color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--surface);
    border: 1.5px solid #9aa7ba;
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
    resize: vertical;
    min-height: 132px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.field [aria-invalid="true"] {
    border-color: var(--no);
}

.field-error {
    margin: 0;
    font-size: 0.875rem;
    color: var(--no);
}

.honeypot {
    display: none !important;
}

.contact-form .btn {
    justify-self: start;
}

.form-status {
    margin: 0;
    font-weight: 600;
    min-height: 1.5em;
}

.form-status.is-success {
    color: var(--ok);
}

.form-status.is-error {
    color: var(--no);
}

.form-note {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-form a {
    color: var(--accent);
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
    background: #070c16;
    color: var(--on-dark-muted);
    font-size: 0.9375rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 24px;
}

.footer-inner p {
    margin: 0;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
}

.footer-links a,
.footer-links .link-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--on-dark-muted);
}

.footer-links a:hover,
.footer-links .link-button:hover {
    color: #fff;
}

/* Legal pages ----------------------------------------------------------- */

.legal h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section .legal h2 {
    font-size: 1.25rem;
    margin-top: 2em;
}

.legal-updated {
    color: var(--text-muted);
}

.legal code {
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--surface-alt);
    font-size: 0.9em;
}

/* Cookie banner --------------------------------------------------------- */

.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    width: min(420px, calc(100% - 32px));
    padding: 20px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner h2 {
    font-size: 1.0625rem;
    margin-bottom: 6px;
}

.cookie-banner p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions .btn {
    flex: 1;
}

/* Reveal on scroll (only when JS runs and motion is allowed) ------------ */

@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .card:hover,
    .btn-primary:hover {
        transform: none;
    }
}

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

@media (max-width: 1024px) {
    .process {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px var(--gutter) 20px;
        background: var(--ink);
        border-bottom: 1px solid var(--line-dark);
    }

    .js .site-nav:not(.is-open) {
        display: none;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-list a {
        width: 100%;
        padding: 0 4px;
        font-size: 1.0625rem;
    }

    .nav-cta {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .approach-grid,
    .work-grid,
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form .btn {
        justify-self: stretch;
    }

    .cookie-banner {
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 560px) {
    .services-grid,
    .process {
        grid-template-columns: 1fr;
    }

    .card,
    .quote {
        padding: 22px;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .about-photo {
        width: 112px;
        height: 112px;
    }
}

@media (max-width: 380px) {
    .brand-name {
        font-size: 0.9375rem;
    }
}
