/*
Theme Name: Johannes Gernhardt
Theme URI: https://johannesgernhardt.com
Author: Johannes Gernhardt
Description: Automotive photography portfolio.
Version: 1.0
*/

:root {
    --bg: #ffffff;
    --ink: #02153f;
    --ink-10: rgba(2, 21, 63, 0.10);
    --ink-20: rgba(2, 21, 63, 0.20);
    --ink-40: rgba(2, 21, 63, 0.40);
    --ink-60: rgba(2, 21, 63, 0.60);
    --ink-80: rgba(2, 21, 63, 0.80);
    --ff-display: 'Syne', sans-serif;
    --ff-body: 'DM Sans', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: var(--bg); color: var(--ink); font-family: var(--ff-body); overflow-x: hidden; }

.the-line { display: block; width: 0; height: 1px; background: var(--ink); transition: width 1.4s var(--ease); }
.the-line.in-view { width: 100%; }
.the-line--short { max-width: 60px; }
.the-line--short.in-view { width: 60px; }

.intro-wipe { position: fixed; inset: 0; z-index: 10000; background: var(--ink); transform-origin: right center; animation: wipeOut 1.2s var(--ease-smooth) 0.6s forwards; }
.intro-wipe-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 16px; font-family: var(--ff-display); font-weight: 700; font-size: clamp(0.7rem, 1.2vw, 0.9rem); letter-spacing: 0.5em; text-transform: uppercase; color: var(--bg); white-space: nowrap; opacity: 0; animation: introTextIn 0.5s ease 0.05s forwards; }
.intro-wipe-inner .logo-mark { width: clamp(48px, 8vw, 72px); height: auto; }
@keyframes introTextIn { to { opacity: 0.8; } }
@keyframes wipeOut { to { transform: scaleX(0); } }

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 0 clamp(20px, 4vw, 48px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    mix-blend-mode: difference;
}

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

.nav-name {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: clamp(0.65rem, 1vw, 0.78rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
}

.nav-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    animation: navLineIn 1s var(--ease) 1.8s forwards;
}

@keyframes navLineIn { to { width: 100%; } }

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 32px);
}

.nav-links a {
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    position: relative;
}

.nav-links a:nth-child(1) { animation-delay: 1.9s; }
.nav-links a:nth-child(2) { animation-delay: 2.0s; }
.nav-links a:nth-child(3) { animation-delay: 2.1s; }
.nav-links a:nth-child(4) { animation-delay: 2.2s; }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.5s var(--ease);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-ig {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 0.6s ease 2.3s forwards;
    transition: opacity 0.3s ease;
}

.nav-ig:hover { opacity: 0.5 !important; }

.nav-ig svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

@keyframes fadeIn { to { opacity: 1; } }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 1px;
    background: #ffffff;
    transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 8999;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.25s; }

.hero { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; }
.hero-image-wrap { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); animation: heroReveal 1.8s var(--ease-smooth) 0.9s forwards; }
@keyframes heroReveal { to { clip-path: inset(0 0% 0 0); } }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.12); animation: heroScale 6s var(--ease) 1s forwards; filter: brightness(0.65) contrast(1.05); display: block; }
@keyframes heroScale { to { transform: scale(1); } }

.hero-content { position: absolute; bottom: clamp(48px, 10vh, 120px); left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); z-index: 2; }
.hero-eyebrow { font-family: var(--ff-body); font-weight: 300; font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 12px; opacity: 0; transform: translateX(-20px); animation: slideInH 0.8s var(--ease) 2.2s forwards; }
.hero-heading { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2.2rem, 6.5vw, 5.5rem); line-height: 0.95; color: #ffffff; letter-spacing: -0.02em; max-width: 700px; }
.hero-heading .word { display: inline-block; overflow: hidden; }
.hero-heading .word-inner { display: inline-block; transform: translateY(110%); animation: wordReveal 0.9s var(--ease) forwards; }
.hero-heading .word-inner.w1 { animation-delay: 2.0s; }
.hero-heading .word-inner.w2 { animation-delay: 2.12s; }
.hero-heading .word-inner.w3 { animation-delay: 2.24s; }
.hero-line { width: 0; height: 2px; background: #ffffff; margin-top: 24px; animation: heroLineGrow 1.2s var(--ease) 2.6s forwards; }
@keyframes heroLineGrow { to { width: min(120px, 20vw); } }
.hero-location { font-family: var(--ff-body); font-weight: 300; font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 16px; opacity: 0; animation: fadeIn 0.6s ease 3s forwards; }
@keyframes slideInH { to { opacity: 1; transform: translateX(0); } }
@keyframes wordReveal { to { transform: translateY(0); } }

.hero-scroll-indicator { position: absolute; bottom: clamp(48px, 10vh, 120px); right: clamp(20px, 4vw, 48px); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; animation: fadeIn 0.5s ease 3.2s forwards; }
.hero-scroll-indicator span { writing-mode: vertical-rl; font-family: var(--ff-body); font-weight: 300; font-size: 0.5rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.scroll-dash { width: 1px; height: 0; background: rgba(255,255,255,0.3); animation: scrollDashGrow 1s var(--ease) 3.4s forwards; position: relative; overflow: hidden; }
.scroll-dash::after { content: ''; position: absolute; top: -40px; left: 0; width: 1px; height: 40px; background: rgba(255,255,255,0.8); animation: scrollDashPulse 2.5s ease-in-out 4s infinite; }
@keyframes scrollDashGrow { to { height: 50px; } }
@keyframes scrollDashPulse { 0%, 100% { transform: translateY(-40px); } 50% { transform: translateY(90px); } }

.editorial { padding: 0 clamp(20px, 4vw, 48px); max-width: 1500px; margin: 0 auto; }

.editorial-section-label { padding: clamp(60px, 10vw, 120px) 0 clamp(30px, 4vw, 50px); display: flex; align-items: center; gap: 20px; }
.editorial-section-label span { font-family: var(--ff-display); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--ink-40); white-space: nowrap; flex-shrink: 0; }
.editorial-section-label .the-line { flex: 1; }

.project {
    margin-bottom: clamp(60px, 8vw, 120px);
}

.project-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: clamp(16px, 2vw, 24px);
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease);
}

.project.in-view .project-header {
    opacity: 1;
    transform: translateX(0);
}

.project-name {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    letter-spacing: 0.05em;
    color: var(--ink);
}

.project-meta {
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-40);
}

.project-grid {
    display: grid;
    gap: clamp(8px, 1.2vw, 16px);
}

.project-grid--a {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
}

.project-grid--a .g-hero {
    grid-column: 1 / -1;
}

.project-grid--a .g-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(8px, 1.2vw, 16px);
}

.project-grid--b {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}

.project-grid--b .g-wide {
    grid-column: 1 / -1;
}

.project-grid--c {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.project-grid--c .g-tall {
    grid-row: 1 / 3;
}

@media (max-width: 768px) {
    .project-grid--b { grid-template-columns: 1fr; }
    .project-grid--c { grid-template-columns: 1fr; grid-template-rows: auto; }
    .project-grid--c .g-tall { grid-row: auto; }
    .project-grid--a .g-pair { grid-template-columns: 1fr; }
}

.g-item { position: relative; overflow: hidden; }
.g-item a { text-decoration: none; color: inherit; display: block; height: 100%; }

.g-item-media {
    position: relative;
    overflow: hidden;
    background: #f0f1f3;
    height: 100%;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.4s var(--ease-smooth);
}

.g-item.in-view .g-item-media { clip-path: inset(0 0% 0 0); }

.g-item-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.8s var(--ease), filter 0.6s ease;
    will-change: transform;
}

.g-item--landscape .g-item-media { aspect-ratio: 3 / 2; }
.g-item--cinema .g-item-media { aspect-ratio: 21 / 9; }
.g-item--wide .g-item-media { aspect-ratio: 2.35 / 1; }
.g-item--square .g-item-media { aspect-ratio: 1 / 1; }
.g-item--tall .g-item-media { aspect-ratio: auto; min-height: 100%; }

.g-item:hover .g-item-media img { transform: scale(1.05); filter: brightness(0.78); }

.g-item-media::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--bg); z-index: 3; transition: width 0.8s var(--ease); }
.g-item:hover .g-item-media::after { width: 100%; }

.g-item-hover { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: clamp(16px, 2vw, 28px); opacity: 0; transition: opacity 0.5s ease; background: linear-gradient(0deg, rgba(2,21,63,0.45) 0%, transparent 60%); pointer-events: none; }
.g-item:hover .g-item-hover { opacity: 1; }
.g-item-hover-title { font-family: var(--ff-display); font-weight: 600; font-size: clamp(0.65rem, 1vw, 0.8rem); letter-spacing: 0.25em; text-transform: uppercase; color: #ffffff; transform: translateX(-12px); transition: transform 0.6s var(--ease); }
.g-item:hover .g-item-hover-title { transform: translateX(0); }
.g-item-hover-arrow { position: absolute; top: clamp(12px, 1.5vw, 20px); right: clamp(12px, 1.5vw, 20px); width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: translateX(8px); transition: transform 0.5s var(--ease), border-color 0.3s ease; }
.g-item:hover .g-item-hover-arrow { transform: translateX(0); border-color: rgba(255,255,255,0.6); }
.g-item-hover-arrow svg { width: 12px; height: 12px; stroke: #ffffff; stroke-width: 1.5; fill: none; }

.project .g-item:nth-child(1) .g-item-media { transition-delay: 0s; }
.project .g-item:nth-child(2) .g-item-media { transition-delay: 0.12s; }
.project .g-item:nth-child(3) .g-item-media { transition-delay: 0.24s; }
.g-pair .g-item:nth-child(1) .g-item-media { transition-delay: 0.15s; }
.g-pair .g-item:nth-child(2) .g-item-media { transition-delay: 0.28s; }

.interlude { padding: clamp(80px, 14vw, 200px) clamp(20px, 8vw, 120px); position: relative; display: flex; flex-direction: column; align-items: flex-start; max-width: 1500px; margin: 0 auto; }
.interlude-number { font-family: var(--ff-display); font-weight: 800; font-size: clamp(4rem, 12vw, 10rem); line-height: 0.85; color: var(--ink-10); position: absolute; top: clamp(40px, 8vw, 100px); right: clamp(20px, 6vw, 80px); user-select: none; opacity: 0; transition: opacity 1.2s ease; }
.interlude.in-view .interlude-number { opacity: 1; }
.interlude-text { font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.3rem, 2.8vw, 2.2rem); line-height: 1.45; color: var(--ink); max-width: 600px; opacity: 0; transform: translateX(-30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.interlude.in-view .interlude-text { opacity: 1; transform: translateX(0); }
.interlude-attr { font-family: var(--ff-body); font-weight: 300; font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-40); margin-top: 16px; opacity: 0; transition: opacity 1s ease 0.3s; }
.interlude.in-view .interlude-attr { opacity: 1; }
.interlude .the-line--short { margin-top: 28px; }

.footer { padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px); max-width: 1500px; margin: 0 auto; }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo-mark { width: 48px; height: auto; }
.footer-name { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--ink); }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { font-family: var(--ff-body); font-weight: 300; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-40); text-decoration: none; position: relative; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--ink); }
.footer-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--ink); transition: width 0.5s var(--ease); }
.footer-links a:hover::after { width: 100%; }
.footer .the-line { margin: 24px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: var(--ff-body); font-weight: 300; font-size: 0.55rem; letter-spacing: 0.1em; color: var(--ink-40); }
.footer-location { font-family: var(--ff-body); font-weight: 300; font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-20); }

@media (max-width: 768px) {
    .hero-heading { font-size: clamp(2rem, 9vw, 3rem); }
    .hero-scroll-indicator { display: none; }
    .interlude-number { font-size: 5rem; position: relative; top: auto; right: auto; margin-bottom: -20px; }
    .footer-name { font-size: 1.6rem; }
    .project-meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
    .intro-wipe { display: none; }
    .hero-image-wrap { clip-path: inset(0 0% 0 0); }
    .g-item-media { clip-path: inset(0 0% 0 0); }
    .project-header { opacity: 1; transform: none; }
    .contact-hero-image-wrap { clip-path: inset(0 0% 0 0); }
}

/* ═══════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════ */

.contact-hero {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 320px;
    overflow: hidden;
}

.contact-hero-image-wrap {
    position: absolute;
    inset: 0;
    clip-path: inset(0 100% 0 0);
    animation: heroReveal 1.8s var(--ease-smooth) 0.9s forwards;
}

.contact-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(0.55) contrast(1.05);
    display: block;
}

.contact-hero-content {
    position: absolute;
    bottom: clamp(32px, 6vh, 64px);
    left: clamp(20px, 4vw, 48px);
    z-index: 2;
}

.contact-hero-eyebrow {
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
    opacity: 0;
    animation: slideInH 0.8s var(--ease) 2s forwards;
}

.contact-hero-title {
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    line-height: 0.95;
    color: #ffffff;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: slideInH 0.8s var(--ease) 2.1s forwards;
}

.contact-hero-line {
    width: 0;
    height: 2px;
    background: #ffffff;
    margin-top: 18px;
    animation: heroLineGrow 1.2s var(--ease) 2.4s forwards;
}

/* ═══ CONTACT LAYOUT ═══ */
.contact-layout {
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(40px, 6vw, 100px);
}

.contact-info {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInH 0.8s var(--ease) 0.3s forwards;
}

.contact-info-label {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.6rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin-bottom: 24px;
}

.contact-info-heading {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 20px;
}

.contact-info-text {
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--ink-60);
    max-width: 380px;
    margin-bottom: 32px;
}

.contact-info-detail {
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--ink-40);
    margin-bottom: 8px;
}

.contact-info-detail a {
    color: var(--ink-80);
    text-decoration: none;
    position: relative;
}

.contact-info-detail a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width 0.5s var(--ease);
}

.contact-info-detail a:hover::after {
    width: 100%;
}

@media (max-width: 860px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ═══ CONTACT FORM ═══ */
.contact-form {
    opacity: 0;
    transform: translateX(20px);
    animation: contactFormIn 0.8s var(--ease) 0.5s forwards;
}

@keyframes contactFormIn {
    to { opacity: 1; transform: translateX(0); }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 2vw, 20px);
}

@media (max-width: 540px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-group {
    margin-bottom: clamp(20px, 2.5vw, 28px);
    position: relative;
}

.form-label {
    display: block;
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin-bottom: 8px;
}

.form-label .optional {
    font-style: italic;
    letter-spacing: 0.1em;
    text-transform: none;
    color: var(--ink-20);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--ink-20);
    padding: 10px 0;
    outline: none;
    transition: border-color 0.4s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--ink);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--ink-20);
    font-weight: 200;
}

/* THE LINE as focus indicator */
.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ink);
    transition: width 0.6s var(--ease);
    z-index: 1;
}

.form-group:focus-within::after {
    width: 100%;
}

/* Override for rows (no pseudo on parent) */
.form-row .form-group::after {
    bottom: 0;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* ═══ INQUIRY TYPE SELECTOR ═══ */
.inquiry-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

@media (max-width: 540px) {
    .inquiry-types { grid-template-columns: 1fr; }
}

.inquiry-type {
    position: relative;
}

.inquiry-type input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.inquiry-type-card {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--ink-10);
    cursor: pointer;
    transition: border-color 0.4s ease, background 0.4s ease;
}

.inquiry-type-card:hover {
    border-color: var(--ink-20);
}

.inquiry-type input:checked + .inquiry-type-card {
    border-color: var(--ink);
    background: rgba(2, 21, 63, 0.03);
}

/* THE LINE on selected card */
.inquiry-type input:checked + .inquiry-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ink);
    animation: lineIn 0.4s var(--ease) forwards;
}

@keyframes lineIn {
    from { width: 0; }
    to { width: 100%; }
}

.inquiry-type-name {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 4px;
}

.inquiry-type-desc {
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 0.65rem;
    line-height: 1.5;
    color: var(--ink-40);
}

/* ═══ SUBMIT BUTTON ═══ */
.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--ink);
    border: none;
    padding: 16px 36px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
    margin-top: 8px;
}

.form-submit:hover {
    background: rgba(2, 21, 63, 0.85);
}

.form-submit svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    transition: transform 0.4s var(--ease);
}

.form-submit:hover svg {
    transform: translateX(4px);
}

/* THE LINE under submit */
.form-submit::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bg);
    transition: width 0.6s var(--ease);
}

.form-submit:hover::after {
    width: 100%;
}

/* ═══ FORM SUCCESS STATE ═══ */
.form-success {
    display: none;
    text-align: center;
    padding: clamp(40px, 6vw, 80px) 20px;
}

.form-success.visible {
    display: block;
    animation: fadeIn 0.6s var(--ease) forwards;
}

.form-success-icon {
    width: 48px;
    height: 48px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--ink);
    stroke-width: 2;
    fill: none;
}

.form-success-title {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 8px;
}

.form-success-text {
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--ink-40);
}

/* ═══════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════ */

.about-layout {
    max-width: 1500px;
    margin: 0 auto;
    padding: calc(64px + clamp(40px, 6vw, 80px)) clamp(20px, 4vw, 48px) clamp(60px, 8vw, 100px);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

@media (max-width: 860px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: calc(64px + 32px);
    }
}

/* ═══ About Image ═══ */
.about-image {
    position: sticky;
    top: calc(64px + 32px);
}

@media (max-width: 860px) {
    .about-image {
        position: relative;
        top: auto;
    }
}

.about-image-wrap {
    overflow: hidden;
    border-radius: 50%;
    max-width: 420px;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 1.6s var(--ease-smooth);
}

.about-image.in-view .about-image-wrap {
    clip-path: circle(71% at 50% 50%);
}

.about-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    filter: contrast(1.02);
}

/* ═══ About Content ═══ */
.about-content {
    padding-top: clamp(20px, 4vw, 60px);
}

.about-eyebrow {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.6rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease);
}

.about-eyebrow.in-view {
    opacity: 1;
    transform: translateX(0);
}

.about-heading {
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.7s ease 0.1s, transform 0.7s var(--ease) 0.1s;
}

.about-heading.in-view {
    opacity: 1;
    transform: translateX(0);
}

.about-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s var(--ease) 0.2s;
}

.about-text.in-view {
    opacity: 1;
    transform: translateY(0);
}

.about-text p {
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: clamp(0.82rem, 1vw, 0.92rem);
    line-height: 1.8;
    color: var(--ink-60);
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ═══ About Details ═══ */
.about-details {
    display: flex;
    gap: clamp(24px, 3vw, 48px);
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--ink-10);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s var(--ease) 0.3s;
}

.about-details.in-view {
    opacity: 1;
    transform: translateY(0);
}

.about-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-detail-label {
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-40);
}

.about-detail-value {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--ink);
}

/* ═══ About CTA ═══ */
.about-cta {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.7s ease 0.4s, transform 0.7s var(--ease) 0.4s;
}

.about-cta.in-view {
    opacity: 1;
    transform: translateY(0);
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--ink);
    text-decoration: none;
    padding: 16px 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.about-cta-btn:hover {
    background: rgba(2, 21, 63, 0.85);
}

.about-cta-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    transition: transform 0.4s var(--ease);
}

.about-cta-btn:hover svg {
    transform: translateX(4px);
}

.about-cta-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bg);
    transition: width 0.6s var(--ease);
}

.about-cta-btn:hover::after {
    width: 100%;
}
