/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f1f1f1;
    color: #0000ff; /* Using the blue from your SVG */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Courier Prime', monospace;
}

/* ---------- Landing / Hero ---------- */
.container {
    text-align: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh; /* accounts for mobile browser chrome */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Logo Styling */
.logo-wrapper {
    margin-bottom: 2.5rem;
    cursor: pointer;
}

/* ---------- Logo Animation ---------- */
.logo-wrapper svg {
    overflow: visible;
}

/* Each tile animates independently */
.logo-wrapper .grid-tile {
    transform-box: fill-box;
    transform-origin: center;
}

/* Wave — plays while hovering */
.logo-wrapper:hover .grid-tile {
    animation: tileWave 1.6s ease-in-out infinite;
}

/* Diagonal stagger — top-left to bottom-right.
   DOM order (bottom row first in Inkscape export):
   1 path16 (BR)  2 path11 (BM)  3 path10 (BL)
   4 path9  (MR)  5 path7  (C)   6 path6  (ML)
   7 path4  (TR)  8 path3  (TM)  9 path2  (TL) */
.logo-wrapper:hover .grid-tile:nth-child(1) { animation-delay: 0.40s; }
.logo-wrapper:hover .grid-tile:nth-child(2) { animation-delay: 0.30s; }
.logo-wrapper:hover .grid-tile:nth-child(3) { animation-delay: 0.20s; }
.logo-wrapper:hover .grid-tile:nth-child(4) { animation-delay: 0.30s; }
.logo-wrapper:hover .grid-tile:nth-child(5) { animation-delay: 0.20s; }
.logo-wrapper:hover .grid-tile:nth-child(6) { animation-delay: 0.10s; }
.logo-wrapper:hover .grid-tile:nth-child(7) { animation-delay: 0.20s; }
.logo-wrapper:hover .grid-tile:nth-child(8) { animation-delay: 0.10s; }
.logo-wrapper:hover .grid-tile:nth-child(9) { animation-delay: 0.00s; }

@keyframes tileWave {
    0%, 100% { transform: translateY(0)    scale(1);   }
    50%      { transform: translateY(-4px) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    .logo-wrapper .grid-tile {
        animation: none !important;
    }
    .logo-wrapper:hover .grid-tile {
        transform: none;
    }
}

/* Tagline Styling */
.tagline {
    font-family: 'Pinyon Script', cursive;
    font-weight: 400;
    font-size: clamp(1.4rem, 4.5vw, 2.25rem);
    line-height: 1.3;
    margin-bottom: clamp(2rem, 6vw, 4rem);
    letter-spacing: 1px;
    padding: 0 1rem;
    max-width: 100%;
}


/* Navigation Row */
.nav-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 4vw, 3.5rem);
    margin-bottom: clamp(2.5rem, 8vw, 5rem);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* Link Styling */
.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: #0000ff;
    transition: opacity 0.2s ease;
}

.nav-item:hover {
    opacity: 0.7;
}

.return-icon {
    flex-shrink: 0;
}

/* Contact Button */
.contact-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0000ff;
    color: #f1f1f1;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: opacity 0.2s ease;
}

.contact-btn:hover {
    opacity: 0.8;
}


/* Scroll Down Arrow */
.scroll-arrow {
    margin-top: clamp(2rem, 6vw, 4rem);
    color: #0000ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, opacity 0.2s ease;
    animation: float 2.4s ease-in-out infinite;
}

.scroll-arrow:hover {
    opacity: 0.7;
    transform: translateY(4px);
    animation-play-state: paused;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* ---------- Work Section ---------- */
.work {
    width: 100%;
    padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 3rem);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.work-item {
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #e3e3e3;
    border-radius: 12px;   /* ← add this line */
}

.work-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* Tablet: work grid to 2 columns */
@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .tagline {
        font-size: clamp(1.15rem, 5.5vw, 1.6rem);
    }

    .nav-row {
        gap: 1rem 1.5rem;
        font-size: 0.85rem;
    }

    .contact-btn {
        font-size: 1rem;
    }

    /* Reset grid column placement for mobile */
    .top-row:nth-child(1),
    .top-row:nth-child(2),
    .bottom-row:nth-child(3),
    .bottom-row:nth-child(4),
    .bottom-row:nth-child(5) {
        grid-column: auto;
    }
}

/* Very small screens: work grid to 1 column */
@media (max-width: 480px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   LAUNCH PAGE
   Everything below is scoped to body.page-launch.
   Nothing here affects any other page.
   ========================================================== */

body.page-launch {
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(0.75rem, 4vw, 4rem) clamp(0.75rem, 6vw, 5rem);
}

.page-launch .panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0000ff;
    color: #f1f1f1;
    border-radius: clamp(1rem, 2vw, 1.75rem);
    padding: clamp(1.5rem, 4vw, 3rem);
}

/* Content block: centered in the panel, as wide as the title */
.page-launch .panel-main {
    margin-block: auto;
    padding: 1rem 0 2rem;
    width: fit-content;
    max-width: 100%;
}

.page-launch .panel-title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: clamp(3.5rem, min(16vw, 24vh), 12.5rem); /* max 200px */
    line-height: 0.9;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: clamp(1rem, 4vh, 2.5rem);
}

.page-launch .panel-tagline {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: clamp(2rem, 9vh, 5rem);
}

/* Text left, button right. width:0 + min-width:100% keeps the row
   exactly as wide as the title instead of stretching the block. */
.page-launch .panel-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    width: 0;
    min-width: 100%;
}

.page-launch .panel-text {
    font-family: 'Courier Prime', monospace;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.4vw, 1.2rem);
    line-height: 1.4;
    text-align: left;
    max-width: 40ch;
}

/* Price / inquiry button */
.page-launch .price-btn {
    flex-shrink: 0;
    display: block;
    padding: 0.25em 0.4em;
    background-color: #f1f1f1;
    color: #0000ff;
    border-radius: 0.4em;
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-launch .price-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.page-launch .price-btn:focus-visible {
    outline: 3px solid #f1f1f1;
    outline-offset: 4px;
}

/* Nav on the blue panel: light links, no extra bottom margin */
.page-launch .nav-row {
    margin-bottom: 0;
}

.page-launch .nav-item {
    color: #f1f1f1;
}

/* Launch page: mobile (stack and scroll, button full width after text) */
@media (max-width: 700px) {
    .page-launch .panel-main {
        width: 100%;
    }

    .page-launch .panel-title {
        font-size: 18vw;
    }

    .page-launch .panel-row {
        flex-direction: column;
        width: 100%;
        min-width: 0;
        gap: 1.75rem;
    }

    .page-launch .panel-text {
        max-width: none;
        font-size: 1rem;
    }

    .page-launch .price-btn {
        width: 100%;
        font-size: 2.5rem;
        padding: 0.35em 0.4em;
    }
}

/* ===================== END LAUNCH PAGE ===================== */

/* ==========================================================
   REVAMP PAGE
   Everything below is scoped to body.page-revamp.
   Nothing here affects any other page.
   ========================================================== */

body.page-revamp {
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(0.75rem, 4vw, 4rem) clamp(0.75rem, 6vw, 5rem);
}

.page-revamp .panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0000ff;
    color: #f1f1f1;
    border-radius: clamp(1rem, 2vw, 1.75rem);
    padding: clamp(1.5rem, 4vw, 3rem);
}

/* Content block: centered in the panel, as wide as the title */
.page-revamp .panel-main {
    margin-block: auto;
    padding: 1rem 0 2rem;
    width: fit-content;
    max-width: 100%;
}

.page-revamp .panel-title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: clamp(3.5rem, min(16vw, 24vh), 12.5rem); /* max 200px */
    line-height: 0.9;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: clamp(1rem, 4vh, 2.5rem);
}

.page-revamp .panel-tagline {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: clamp(2rem, 9vh, 5rem);
}

/* Text left, button right. width:0 + min-width:100% keeps the row
   exactly as wide as the title instead of stretching the block. */
.page-revamp .panel-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    width: 0;
    min-width: 100%;
}

.page-revamp .panel-text {
    font-family: 'Courier Prime', monospace;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.4vw, 1.2rem);
    line-height: 1.4;
    text-align: left;
    max-width: 40ch;
}

/* Price / inquiry button */
.page-revamp .price-btn {
    flex-shrink: 0;
    display: block;
    padding: 0.25em 0.4em;
    background-color: #f1f1f1;
    color: #0000ff;
    border-radius: 0.4em;
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-revamp .price-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.page-revamp .price-btn:focus-visible {
    outline: 3px solid #f1f1f1;
    outline-offset: 4px;
}

/* Nav on the blue panel: light links, no extra bottom margin */
.page-revamp .nav-row {
    margin-bottom: 0;
}

.page-revamp .nav-item {
    color: #f1f1f1;
}

/* Revamp page: mobile (stack and scroll, button full width after text) */
@media (max-width: 700px) {
    .page-revamp .panel-main {
        width: 100%;
    }

    .page-revamp .panel-title {
        font-size: 18vw;
    }

    .page-revamp .panel-row {
        flex-direction: column;
        width: 100%;
        min-width: 0;
        gap: 1.75rem;
    }

    .page-revamp .panel-text {
        max-width: none;
        font-size: 1rem;
    }

    .page-revamp .price-btn {
        width: 100%;
        font-size: 2.5rem;
        padding: 0.35em 0.4em;
    }
}

/* ===================== END REVAMP PAGE ===================== */

/* ==========================================================
   CUSTOM PAGE
   Everything below is scoped to body.page-custom.
   Nothing here affects any other page.
   ========================================================== */

body.page-custom {
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(0.75rem, 4vw, 4rem) clamp(0.75rem, 6vw, 5rem);
}

.page-custom .panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0000ff;
    color: #f1f1f1;
    border-radius: clamp(1rem, 2vw, 1.75rem);
    padding: clamp(1.5rem, 4vw, 3rem);
}

/* Content block: centered in the panel, as wide as the title */
.page-custom .panel-main {
    margin-block: auto;
    padding: 1rem 0 2rem;
    width: fit-content;
    max-width: 100%;
}

.page-custom .panel-title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: clamp(3.5rem, min(16vw, 24vh), 12.5rem); /* max 200px */
    line-height: 0.9;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: clamp(1rem, 4vh, 2.5rem);
}

.page-custom .panel-tagline {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: clamp(2rem, 9vh, 5rem);
}

/* Text left, button right. width:0 + min-width:100% keeps the row
   exactly as wide as the title instead of stretching the block. */
.page-custom .panel-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    width: 0;
    min-width: 100%;
}

.page-custom .panel-text {
    font-family: 'Courier Prime', monospace;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.4vw, 1.2rem);
    line-height: 1.4;
    text-align: left;
    max-width: 40ch;
}

/* Price / inquiry button */
.page-custom .price-btn {
    flex-shrink: 0;
    display: block;
    padding: 0.25em 0.4em;
    background-color: #f1f1f1;
    color: #0000ff;
    border-radius: 0.4em;
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-custom .price-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.page-custom .price-btn:focus-visible {
    outline: 3px solid #f1f1f1;
    outline-offset: 4px;
}

/* Nav on the blue panel: light links, no extra bottom margin */
.page-custom .nav-row {
    margin-bottom: 0;
}

.page-custom .nav-item {
    color: #f1f1f1;
}

/* Custom page: mobile (stack and scroll, button full width after text) */
@media (max-width: 700px) {
    .page-custom .panel-main {
        width: 100%;
    }

    .page-custom .panel-title {
        font-size: 18vw;
    }

    .page-custom .panel-tagline {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
    }

    .page-custom .panel-row {
        flex-direction: column;
        width: 100%;
        min-width: 0;
        gap: 1.75rem;
    }

    .page-custom .panel-text {
        max-width: none;
        font-size: 1rem;
    }

    .page-custom .price-btn {
        width: 100%;
        font-size: 2.5rem;
        padding: 0.35em 0.4em;
    }
}

/* ===================== END CUSTOM PAGE ===================== */

/* ==========================================================
   CONTACT PAGE
   Everything below is scoped to body.page-contact.
   Nothing here affects any other page.
   ========================================================== */

body.page-contact {
    min-height: 100vh;
    min-height: 100svh;
}

.page-contact .contact-main {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(4.5rem, 8vh, 6rem) clamp(1rem, 6vw, 5rem) clamp(2rem, 5vh, 4rem);
}

/* Close X, top right */
.page-contact .close-btn {
    position: absolute;
    top: clamp(1rem, 3vw, 2.5rem);
    right: clamp(1rem, 3vw, 2.5rem);
    color: #0000ff;
    line-height: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-contact .close-btn:hover {
    opacity: 0.7;
    transform: rotate(90deg);
}

.page-contact .contact-title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: clamp(3rem, min(14vw, 24vh), 12.5rem);
    line-height: 0.95;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: clamp(0.75rem, 3vh, 2rem);
}

.page-contact .contact-tagline {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: clamp(1.5rem, 5vh, 3rem);
}

/* Form */
.page-contact .contact-form {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact .field {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: clamp(1.25rem, 3.5vh, 2rem);
}

.page-contact .field label {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-contact .field input,
.page-contact .field textarea {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #0000ff;
    border-radius: 0;
    color: #0000ff;
    font-family: 'Courier Prime', monospace;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    line-height: 1.4;
    padding: 0.25rem 0;
    outline: none;
    resize: none;
    overflow: hidden;
}

.page-contact .field input:focus,
.page-contact .field textarea:focus {
    border-bottom-width: 4px;
    padding-bottom: calc(0.25rem - 2px);
}

/* Spam trap, hidden from people */
.page-contact .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Submit button */
.page-contact .submit-btn {
    margin-top: clamp(1rem, 4vh, 2.5rem);
    padding: 0.75rem 1.75rem;
    background-color: #0000ff;
    color: #f1f1f1;
    border: none;
    border-radius: 6px;
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.page-contact .submit-btn:hover {
    opacity: 0.8;
}

.page-contact .submit-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}

.page-contact .submit-btn:focus-visible {
    outline: 3px solid #0000ff;
    outline-offset: 4px;
}

.page-contact .form-status {
    min-height: 1.5em;
    margin-top: 1rem;
    font-family: 'Courier Prime', monospace;
    font-size: 1rem;
    text-align: center;
}

/* Footer panel */
.page-contact .contact-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    margin: 0 clamp(0.75rem, 2.5vw, 2.5rem) clamp(0.75rem, 2.5vw, 2.5rem);
    padding: clamp(2rem, 6vh, 4rem) clamp(1.5rem, 6vw, 5rem);
    background-color: #0000ff;
    color: #f1f1f1;
    border-radius: clamp(1rem, 2vw, 1.75rem);
}

.page-contact .contact-footer a {
    color: #f1f1f1;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.page-contact .contact-footer a:hover {
    opacity: 0.7;
}

.page-contact .footer-linkedin {
    justify-self: start;
    line-height: 0;
}

.page-contact .footer-logo {
    justify-self: center;
    line-height: 0;
    color: #f1f1f1;
}

.page-contact .footer-logo svg {
    width: clamp(110px, 14vw, 200px);
    height: auto;
}

.page-contact .footer-email {
    justify-self: end;
    font-family: 'Courier Prime', monospace;
    font-size: clamp(0.9rem, 1.5vw, 1.35rem);
    letter-spacing: 1px;
}

/* Contact page: mobile */
@media (max-width: 700px) {
    .page-contact .field {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .page-contact .submit-btn {
        width: 100%;
        font-size: 1.25rem;
        padding: 1rem;
    }

    .page-contact .contact-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .page-contact .footer-linkedin,
    .page-contact .footer-logo,
    .page-contact .footer-email {
        justify-self: center;
    }
}

/* ===================== END CONTACT PAGE ===================== */

/* ==========================================================
   INQUIRY PAGE
   Everything below is scoped to body.page-inquiry.
   Nothing here affects any other page.
   ========================================================== */

body.page-inquiry {
    min-height: 100vh;
    min-height: 100svh;
}

.page-inquiry .inquiry-main {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(4.5rem, 8vh, 6rem) clamp(1rem, 6vw, 5rem) clamp(2rem, 5vh, 4rem);
}

/* Back button, top right */
.page-inquiry .close-btn {
    position: absolute;
    top: clamp(1rem, 3vw, 2.5rem);
    right: clamp(1rem, 3vw, 2.5rem);
    background: none;
    border: none;
    padding: 0;
    color: #0000ff;
    line-height: 0;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-inquiry .close-btn:hover {
    opacity: 0.7;
    transform: rotate(90deg);
}

.page-inquiry .close-btn:focus-visible {
    outline: 3px solid #0000ff;
    outline-offset: 4px;
}

.page-inquiry .inquiry-title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: clamp(3rem, min(14vw, 24vh), 12.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: clamp(0.75rem, 3vh, 2rem);
}

.page-inquiry .inquiry-tagline {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: clamp(1.5rem, 5vh, 3rem);
}

/* Form */
.page-inquiry .inquiry-form {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-inquiry .field {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: clamp(1.25rem, 3.5vh, 2rem);
}

.page-inquiry .field[hidden] {
    display: none;
}

.page-inquiry .field label,
.page-inquiry .field legend {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-inquiry .field input[type="text"],
.page-inquiry .field input[type="email"],
.page-inquiry .field input[type="url"],
.page-inquiry .field select,
.page-inquiry .field textarea {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #0000ff;
    border-radius: 0;
    color: #0000ff;
    font-family: 'Courier Prime', monospace;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    line-height: 1.4;
    padding: 0.25rem 0;
    outline: none;
    resize: none;
    overflow: hidden;
}

.page-inquiry .field input:focus,
.page-inquiry .field select:focus,
.page-inquiry .field textarea:focus {
    border-bottom-width: 4px;
    padding-bottom: calc(0.25rem - 2px);
}

.page-inquiry .field input::placeholder {
    color: #0000ff;
    opacity: 0.4;
}

/* Dropdowns: same underline look, custom arrow */
.page-inquiry .field select {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%230000ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    background-size: 1.1rem;
}

/* Feature tick boxes */
.page-inquiry .field-group {
    border: none;
    padding: 0;
    min-width: 0;
    align-items: flex-start;
}

.page-inquiry .field-group legend {
    float: left;
    margin-right: 0.75rem;
    padding: 0;
}

.page-inquiry .options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding-top: 0.15rem;
}

.page-inquiry .field-group {
    display: flex;
}

.page-inquiry .check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Courier Prime', monospace;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.3vw, 1.2rem);
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    cursor: pointer;
}

.page-inquiry .check input {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 1.1em;
    height: 1.1em;
    margin: 0;
    border: 2px solid #0000ff;
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.page-inquiry .check input:checked {
    background-color: #0000ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23f1f1f1' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 100%;
}

.page-inquiry .check input:focus-visible {
    outline: 3px solid #0000ff;
    outline-offset: 3px;
}

/* Spam trap, hidden from people */
.page-inquiry .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Submit button */
.page-inquiry .submit-btn {
    margin-top: clamp(1rem, 4vh, 2.5rem);
    padding: 0.75rem 1.75rem;
    background-color: #0000ff;
    color: #f1f1f1;
    border: none;
    border-radius: 6px;
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.page-inquiry .submit-btn:hover {
    opacity: 0.8;
}

.page-inquiry .submit-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}

.page-inquiry .submit-btn:focus-visible {
    outline: 3px solid #0000ff;
    outline-offset: 4px;
}

.page-inquiry .form-status {
    min-height: 1.5em;
    margin-top: 1rem;
    font-family: 'Courier Prime', monospace;
    font-size: 1rem;
    text-align: center;
}

/* Footer panel */
.page-inquiry .inquiry-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    margin: 0 clamp(0.75rem, 2.5vw, 2.5rem) clamp(0.75rem, 2.5vw, 2.5rem);
    padding: clamp(2rem, 6vh, 4rem) clamp(1.5rem, 6vw, 5rem);
    background-color: #0000ff;
    color: #f1f1f1;
    border-radius: clamp(1rem, 2vw, 1.75rem);
}

.page-inquiry .inquiry-footer a {
    color: #f1f1f1;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.page-inquiry .inquiry-footer a:hover {
    opacity: 0.7;
}

.page-inquiry .footer-linkedin {
    justify-self: start;
    line-height: 0;
}

/* Logotype only, not a link */
.page-inquiry .footer-logo {
    justify-self: center;
    line-height: 0;
    color: #f1f1f1;
}

.page-inquiry .footer-logo svg {
    width: clamp(110px, 14vw, 200px);
    height: auto;
}

.page-inquiry .footer-email {
    justify-self: end;
    font-family: 'Courier Prime', monospace;
    font-size: clamp(0.9rem, 1.5vw, 1.35rem);
    letter-spacing: 1px;
}

/* Inquiry page: mobile */
@media (max-width: 700px) {
    .page-inquiry .field {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .page-inquiry .field-group {
        display: block;
    }

    .page-inquiry .field-group legend {
        float: none;
        margin-bottom: 0.75rem;
    }

    .page-inquiry .submit-btn {
        width: 100%;
        font-size: 1.25rem;
        padding: 1rem;
    }

    .page-inquiry .inquiry-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .page-inquiry .footer-linkedin,
    .page-inquiry .footer-logo,
    .page-inquiry .footer-email {
        justify-self: center;
    }
}

/* ===================== END INQUIRY PAGE ===================== */