/* ═══════════════════════════════════════════════════════════════════
   INK & CODE — Contact Page  |  contact.css
   Full-viewport two-column desktop / stacked mobile
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --navy: #1e1f50;
  --navy-deep: #2b3457;
  --border: rgba(255, 255, 255, 0.1);
  --input-bg: rgba(255, 255, 255, 0.2);
  /* --muted:       rgba(237, 237, 237, 0.6);
  
  
  --input-focus: rgba(80, 227, 194, 0.08);
  --hdr-height:  72px; */
}

.contact-body {
  background: var(--navy);
  color: var(--white);
  font-family: "Nunito", sans-serif;
  font-size: 1.6rem;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ── Page grid ───────────────────────────────────────────────────── */
.contact-page {
  grid-template-columns: 1fr;
  min-height: unset;
}

/* Form fields full width on mobile */

/* ── Panels shared ───────────────────────────────────────────────── */

.contact-panel {
  padding: 5% 7%;
  align-items: flex-start;
  justify-content: flex-start;
}
/* ── Left panel ──────────────────────────────────────────────────── */
.contact-panel--left {
  border-right: none;
  border-bottom: 1px solid rgba(80, 227, 194, 0.1);
  padding-top: calc(var(--hdr-height) + 3rem);
  padding-bottom: 3.5rem;
}
/* Grain texture */
.grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

/* Teal accent bar */
.hero-teal-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 55%;
  background: linear-gradient(to bottom, var(--teal), transparent);
  pointer-events: none;
}

.left-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
}

/* Eyebrow */
.contact-eyebrow {
  font-family: "Cascadia Mono", monospace;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  letter-spacing: 0.18em;
  color: var(--teal);
  margin: 0 0 1.2em;
  display: flex;
  align-items: center;
  gap: 0.8em;
}
.contact-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}

/* Headline */
.contact-headline {
  font-family: "Raleway", sans-serif;

  font-size: clamp(5.5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 0 0 0.55em;
}
.outline-text {
  -webkit-text-stroke: 2px var(--teal);
  color: transparent;
  display: block;
}

/* Sub copy */
.contact-sub {
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.6rem, 1.8vw, 2rem);
  line-height: 1.65;
  color: var(--lightest-gray);
  margin: 0 0 1em;
  max-width: 38ch;
}

/* Contact detail rows */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  margin-bottom: 2.5em;
  padding-left: 0.5em;
  border-left: 2px solid rgba(80, 227, 194, 0.2);
}
.contact-detail-row {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.2s;
}
a.contact-detail-row:hover .detail-val {
  color: var(--teal);
}

.detail-label {
  font-family: "Cascadia Mono", monospace;
  font-size: 1.4rem;
  color: rgba(80, 227, 194, 0.55);
  letter-spacing: 0.12em;
}
.detail-val {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

/* Caveat accent */
.caveat-accent {
  font-family: "Caveat", cursive;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--teal);
}

/* ── Right panel ─────────────────────────────────────────────────── */
.contact-panel--right {
  background: var(--navy);
  align-items: flex-start;

  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.form-wrap {
  width: 100%;
  max-width: 560px;
}

.form-eyebrow {
  font-family: "Cascadia Mono", monospace;
  font-size: var(--fs-base);
  letter-spacing: 0.16em;
  color: var(--teal);
  margin: 0 0 0.5em;
}

.form-sub {
  font-family: "Nunito", sans-serif;
  font-size: 1.6rem;
  color: var(--lightest-gray);
  margin: 0 0 1em;
  line-height: 1.5;
}

/* ── Form layout ─────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.6em;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

/* Labels */
.form-group label {
  font-family: "Cascadia Mono", monospace;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: rgba(80, 227, 194, 0.65);
  pointer-events: none;
}

/* Input, select, textarea */
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: "Poppins", sans-serif;
  font-size: 1.55rem;
  font-weight: 300;
  color: var(--white);
  background: var(--input-bg);
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 6px 6px 0 0;
  padding: 0.5em 0.85em;
  width: 100%;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(237, 237, 237, 0.5);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--input-focus);
  border-bottom-color: var(--teal);
}

/* Select arrow */
.contact-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2350e3c2' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
}
.contact-form select option {
  background: var(--navy);
  color: var(--lightest-gray);
}

/* Textarea */
.contact-form textarea {
  padding: 1em;
  resize: vertical;
  min-height: 175px;
  line-height: 1.6;
  color: var(--white);
  border-radius: 6px;
}

.form-group.message {
  margin-block: 1.5em;
}
/* ── Submit button ────────────────────────────────────────────────── */
.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1em;
  align-self: flex-start;
  padding: 0.7em 2.8em 0.7em 1.8em;
  font-family: "Poppins", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--teal);
  background: transparent;
  border: 1.5px solid var(--teal);
  border-radius: 28px;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.25s;
  margin: 1.5em 0.4em;
}
.submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateX(-101%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.submit-btn:hover {
  color: var(--navy);
}
.submit-btn:hover::before {
  transform: translateX(0);
}
.submit-text,
.submit-arrow {
  position: relative;
  z-index: 1;
}
.submit-arrow {
  font-size: 1.5rem;
}

/* ── Responsive ──────────────────────────────────────────────────── */

/* Tablet: compress column widths */
@media screen and (max-width: 1024px) and (min-width: 700px) {
  .contact-panel {
    padding: 4% 5%;
  }
  .form-wrap {
    max-width: 100%;
  }
}

/* Desktop ─────────────────────────────────────────────────── */
@media screen and (min-width: 900px) {
  .contact-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100svh - var(--hdr-height));
  }

  .contact-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5% 6%;
  }
  /* Left panel: compact on mobile */
  .contact-panel--left {
    background: linear-gradient(155deg, #2b3457 0%, #1e1f50 45%, #161730 100%);
    border-right: 1px solid rgba(80, 227, 194, 0.1);
  }
  .contact-headline {
    font-size: clamp(5.5rem, 18vw, 9rem);
  }
  .hero-teal-bar {
    height: 55%;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4em;
  }

  .contact-panel--right {
    padding-top: max(5%, calc(var(--hdr-height) * 0.4));
  }
  .form-group.message {
    width: 90%;
  }
} /*close desktop res */
