/*
 * orkio.si/contact and /tr/contact (pen.dev "orkio.si/tr — İletişim"): the title and the
 * before-you-write links on the left, the form card on the right, on the night ink. Loads after
 * blog.css, which brings the nav, the eyebrow, the two-tone title and the closing.
 */
.c-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 96px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 152px var(--gutter) 120px;
}
.c-glow {
  position: absolute;
  z-index: -1;
  left: calc(50% + 40px);
  top: -120px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(110, 134, 255, 0.12), rgba(110, 134, 255, 0));
}
.c-left {
  flex: 0 0 440px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.c-title .b-eyebrow {
  margin-bottom: 22px;
}
.c-title h1 {
  font-size: 88px;
  line-height: 1.02;
  letter-spacing: -0.036em;
}
/* background-clip: text paints only inside the box; the extra bottom keeps descenders painted. */
.c-title h1 span:first-child {
  background: linear-gradient(90deg, #7e8197, #b9bccb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.c-lead {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--dim);
}
.c-before h2 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.6px;
  color: var(--dim);
}
.c-before ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
}
.c-ico {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--glow);
  font-size: 16px;
}
.c-q {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.c-q b {
  font-size: 15px;
  font-weight: 500;
}
.c-q small {
  font-size: 13px;
  line-height: 1.4;
  color: var(--dim);
}
.c-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 13px;
  color: var(--nav-text);
  transition: color 0.15s;
}
.c-go .i {
  font-size: 14px;
  transition: transform 0.15s;
}
.c-link:hover .c-go {
  color: var(--white);
}
.c-link:hover .c-go .i {
  transform: translate(2px, -2px);
}

/* The form card. */
.c-form {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(12, 14, 26, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.c-noscript {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--nav-text);
}
.c-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-topic {
  gap: 12px;
}
.c-label {
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: #e4e5ec;
}
/* A legend doesn't take the fieldset's flex gap; the margin stands in for it. */
legend.c-label {
  margin-bottom: 12px;
}
.c-opt {
  margin-left: 2px;
  font-weight: 400;
  color: #6f7287;
}
.c-chips {
  display: flex;
  gap: 8px;
}
.c-chip {
  position: relative;
  /* Equal widths, except that a longer label (English "Technical problem") keeps its width. */
  flex: 1 1 0;
  min-width: max-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  color: var(--nav-text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.c-chip .i {
  font-size: 15px;
}
/* The radio stays in the chip for the keyboard and screen readers; the chip draws its state. */
.c-chip input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.c-chip:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}
.c-chip:has(input:checked) {
  border-color: var(--white);
  background: var(--white);
  color: var(--text);
}
.c-chip:has(input:focus-visible) {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
}
.c-topic[aria-invalid="true"] .c-chip {
  border-color: rgba(248, 113, 113, 0.6);
}
.c-row {
  display: flex;
  gap: 16px;
}
.c-row .c-field {
  flex: 1;
}
.c-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.c-input.mono {
  font-family: var(--mono);
}
.c-input:hover {
  border-color: rgba(255, 255, 255, 0.22);
}
.c-input:focus {
  border-color: var(--glow);
  box-shadow:
    0 0 0 0.5px var(--glow),
    0 0 12px rgba(159, 180, 255, 0.25);
}
.c-input[aria-invalid="true"] {
  border-color: #f87171;
}
.c-input[aria-invalid="true"]:focus {
  box-shadow:
    0 0 0 0.5px #f87171,
    0 0 12px rgba(248, 113, 113, 0.25);
}
.c-area {
  height: 180px;
  padding: 14px 16px;
  resize: vertical;
}
.c-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--dim);
}
.c-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.c-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}
.c-count {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.8px;
  color: var(--dim);
}
.c-count .i {
  font-size: 15px;
  color: #5c5f73;
  transition: color 0.15s;
}
.c-count.ok .i {
  color: #3ddc84;
}
.c-send {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 14px 22px;
  border: 0;
  border-radius: 11px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.c-send .i {
  font-size: 16px;
}
.c-send:hover {
  box-shadow: 0 0 30px rgba(159, 180, 255, 0.35);
}
.c-send:disabled {
  opacity: 0.6;
  cursor: default;
}
.c-status {
  margin: -12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--nav-text);
}
.c-status:empty {
  display: none;
}
.c-status.ok {
  color: var(--glow);
}

@media (max-width: 1180px) {
  .c-main {
    gap: 56px;
  }
  .c-left {
    flex-basis: 380px;
  }
  .c-title h1 {
    font-size: 72px;
  }
  .c-chip {
    flex-direction: column;
    gap: 6px;
    white-space: normal;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .c-main {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
    padding-top: 132px;
    padding-bottom: 96px;
  }
  .c-left {
    flex-basis: auto;
    max-width: 560px;
  }
  .c-glow {
    left: 20%;
  }
  .c-chip {
    flex-direction: row;
    gap: 8px;
  }
}
@media (max-width: 640px) {
  .c-main {
    gap: 40px;
    padding: 116px 16px 72px;
  }
  .c-left {
    gap: 32px;
    padding: 0 4px;
  }
  .c-title .b-eyebrow {
    margin-bottom: 16px;
  }
  .c-title h1 {
    font-size: 56px;
    letter-spacing: -2px;
  }
  .c-lead {
    font-size: 16px;
  }
  .c-form {
    gap: 22px;
    padding: 22px 18px;
    border-radius: 20px;
  }
  .c-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .c-chip {
    justify-content: flex-start;
    min-width: 0;
    padding: 12px;
    font-size: 13.5px;
    white-space: normal;
  }
  .c-row {
    flex-direction: column;
    gap: 22px;
  }
  .c-foot {
    flex-wrap: wrap;
  }
  .c-send {
    flex: 1 0 100%;
    justify-content: center;
    padding: 15px 22px;
  }
}
