/* ════════════════════════════════
   GET IN TOUCH
   jotno.ai — getintouch.css
════════════════════════════════ */

/* The page's last light section, and the only one that asks for something
   back. A quiet rail of direct lines on the left, the form on the right —
   the asymmetry says the form is the point and the rail is the alternative.
   No ink variant here on purpose: the footer below is already dark, and a
   dark band above it would read as one unbroken mass. */
#contact {
    --gt-paper: rgba(255, 255, 255, 0.72);
    --gt-line: rgba(8, 145, 178, 0.16);
    --gt-line-soft: rgba(8, 145, 178, 0.1);
    --gt-wash: rgba(8, 145, 178, 0.05);
    --gt-shadow: 0 18px 50px rgba(8, 145, 178, 0.09);

    position: relative;
    padding: var(--sec-y-lg) var(--sec-x) var(--sec-y-lg);
}

/* Pools set low and wide, so the section settles rather than lifts */
#contact::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 46% 54% at 6% 24%, rgba(8, 145, 178, 0.07), transparent 70%),
        radial-gradient(ellipse 40% 48% at 94% 76%, rgba(99, 102, 241, 0.055), transparent 70%);
}

.gt-inner {
    max-width: var(--sec-max);
    margin: 0 auto;
}

/* ════ HEAD ════
   Left-aligned and stacked — the section above centres its head, so this
   one leans back the other way. */
.gt-head {
    max-width: 46rem;
    margin-bottom: 3rem;
}

.gt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(14, 116, 144, 0.78);
    margin-bottom: 1.2rem;
}

.gt-eyebrow-line {
    width: 26px;
    height: 1px;
    background: rgba(8, 145, 178, 0.55);
    flex-shrink: 0;
}

.gt-title {
    font-family: 'Playfair Display', 'Plus Jakarta Sans', serif;
    font-size: clamp(1.95rem, 3vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.14;
    color: var(--text);
    margin-bottom: 1.05rem;
}

/* RULE accent — see the accent map in common.css. A 2px hairline tucked
   under the phrase instead of the brush stroke: this band asks the reader
   for something, so the accent points at it rather than highlighting it. */
.gt-title-accent {
    color: var(--primary-dark);
    padding-bottom: 0.1em;
    background-image: linear-gradient(90deg, var(--primary), var(--cyan));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.gt-lead {
    font-size: 0.95rem;
    line-height: 1.78;
    font-weight: 500;
    color: var(--muted);
    max-width: 40rem;
}

/* ════ GRID ════ */
.gt-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.5fr);
    gap: 2.6rem 3.4rem;
    align-items: start;
}

/* ════ CHANNELS ════
   Deliberately unruled. Every list on the page above this one is held by
   hairlines; this one is held by whitespace and four outlined marks. */
.gt-channels-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-dark);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gt-line);
}

.gt-list {
    display: grid;
    gap: 1.4rem;
    list-style: none;
    margin-top: 1.5rem;
}

.gt-ch-link {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
}

.gt-ch-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.gt-ch-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid var(--gt-line);
    border-radius: 50%;
    color: var(--primary-dark);
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.gt-ch-icon svg {
    width: 17px;
    height: 17px;
}

/* Only the rows that go somewhere react */
a.gt-ch-link:hover .gt-ch-icon {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.gt-ch-body {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.gt-ch-label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.gt-ch-value {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--text);
    word-break: break-word;
    transition: color 0.35s ease;
}

a.gt-ch-link:hover .gt-ch-value {
    color: var(--primary-dark);
}

/* ════ FORM ════
   The one card in the section, closed by a gradient edge along its top. */
.gt-form {
    position: relative;
    padding: 2.2rem 2.1rem 1.9rem;
    border: 1px solid var(--gt-line);
    border-radius: var(--radius);
    background: var(--gt-paper);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--gt-shadow);
    overflow: hidden;
}

.gt-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--cyan) 55%, var(--accent));
}

.gt-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 1.8rem;
}

.gt-field {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

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

.gt-field label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

.gt-field:focus-within label {
    color: var(--primary-dark);
}

.gt-req {
    color: var(--accent);
}

/* Ruled, not boxed — the input keeps the same hairline language as the
   lists above instead of stacking five more rounded rectangles */
.gt-field input,
.gt-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--gt-line);
    border-radius: 0;
    background: transparent;
    padding: 0.55rem 0 0.65rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    transition: border-color 0.35s ease;
}

.gt-field textarea {
    min-height: 104px;
    line-height: 1.7;
    resize: vertical;
}

.gt-field input::placeholder,
.gt-field textarea::placeholder {
    color: rgba(74, 104, 130, 0.5);
    font-weight: 500;
}

.gt-field input:focus,
.gt-field textarea:focus {
    outline: none;
}

/* The focused field draws its own rule — the same gesture the board and
   the accordion above use, here doing the work of a focus ring */
.gt-field::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.gt-field:focus-within::after {
    transform: scaleX(1);
}

/* ════ ACTIONS ════ */
.gt-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem 1.4rem;
    margin-top: 1.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gt-line-soft);
}

/* Section-scale variant of the shared nav button, locked to one height */
.gt-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0 1.6rem;
    font-size: 0.9rem;
}

.gt-actions svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.gt-actions .btn-primary:hover svg {
    transform: translateX(3px);
}

.gt-note {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
}

.gt-note b {
    color: var(--accent);
    font-weight: 800;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {

    .gt-ch-icon,
    .gt-ch-value,
    .gt-field label,
    .gt-field input,
    .gt-field textarea,
    .gt-field::after,
    .gt-actions svg {
        transition: none;
    }
}
