/* Ajans 1453 — pages the concept has no design for: İletişim (/iletisim/) and the 404.
 * NEW in the panel port (not a concept file). Built only from the concept's own language: the tokens of base.css,
 * the archive hero (css/sections/isler.css: Playfair title with a gold full stop, three self-drawing gold rings,
 * eyebrow + lede), the plate's künye rows (css/levha.css), the footer's quiet panels and the gold / ghost buttons. */

.sy {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(28px, 6vw, 88px)) 0 clamp(72px, 10vw, 140px);
  overflow-x: clip;
}
/* the preloader's warm glow, off-centre behind the title */
.sy::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(90vh, 900px);
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(52% 46% at 78% 18%, rgba(231, 200, 120, 0.08), rgba(10, 8, 7, 0) 72%);
}

/* ------------------------------------------------------------------ hero (the archive's) */
.sy-hero {
  position: relative;
  display: grid;
  gap: 16px;
  padding-bottom: clamp(36px, 6vw, 80px);
}
.sy-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.sy-title span {
  color: var(--gold-bright);
}
.sy-hero .lede {
  margin-top: 6px;
}
.sy-ring {
  position: absolute;
  right: 0;
  top: clamp(-30px, -2vw, 0px);
  width: min(34vw, 380px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.55;
  z-index: -1;
}
.sy-ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sy-ring circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: sy-draw 2.4s var(--ease-out) 0.2s forwards;
}
.sy-ring circle:nth-child(2) {
  stroke-width: 6;
  stroke-opacity: 0.55;
  animation-delay: 0.05s;
}
.sy-ring circle:nth-child(3) {
  stroke-opacity: 0.35;
  animation-delay: 0.5s;
}
@keyframes sy-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ------------------------------------------------------------------ contact: channels + form */
.sy-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(32px, 4.5vw, 56px);
}
.sy-grid > :only-child {
  grid-column: 1 / -1;
}

/* the plate's künye: label / value rows between hairlines */
.sy-kunye {
  display: grid;
  border-top: 1px solid var(--line);
}
.sy-kunye__row {
  display: grid;
  grid-template-columns: minmax(84px, 30%) 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.sy-kunye dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 5px;
}
.sy-kunye dd {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.55;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.sy-kunye dd a {
  color: var(--gold-bright);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.sy-kunye dd a:hover,
.sy-kunye dd a:focus-visible {
  background-size: 100% 1px;
}
.sy-kunye__row--email dd a,
.sy-kunye__row--phone dd a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.7vw, 23px);
  letter-spacing: 0.005em;
}
.sy-kunye__body {
  color: var(--muted);
}
.sy-kunye__body p + p {
  margin-top: 8px;
}

/* form: quiet underlined fields on the dark ground, gold focus */
.sy-form form {
  display: grid;
  gap: clamp(24px, 3vw, 34px);
}
.sy-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 30px) clamp(18px, 2.4vw, 32px);
}
.sy-field {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.sy-field--wide {
  grid-column: 1 / -1;
}
.sy-field label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.sy-req {
  color: var(--gold-bright);
  margin-left: 4px;
}
.sy-field input,
.sy-field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* no zoom on focus (iOS) */
  line-height: 1.5;
  color: var(--ink);
  background: rgba(20, 12, 8, 0.52);
  border: 1px solid rgba(214, 171, 92, 0.22);
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.sy-field textarea {
  resize: vertical;
  min-height: 168px;
}
.sy-field input:hover,
.sy-field textarea:hover {
  border-color: rgba(214, 171, 92, 0.4);
}
.sy-field input:focus,
.sy-field textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
  background: rgba(20, 12, 8, 0.72);
  box-shadow: 0 0 0 3px rgba(231, 200, 120, 0.14);
}
.sy-field.is-error input,
.sy-field.is-error textarea {
  border-color: var(--crimson);
}
.sy-error {
  font-size: 13px;
  line-height: 1.45;
  color: #f08a7e;
}
.sy-alert {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  padding: 14px 18px;
  border: 1px solid rgba(216, 35, 42, 0.5);
  border-left-width: 3px;
  border-radius: 6px;
  background: rgba(124, 13, 18, 0.18);
}
.sy-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.sy-submit .btn {
  cursor: pointer;
  border: 0;
}
.sy-submit .btn:disabled {
  cursor: wait;
  opacity: .85;
}
.sy-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: sy-submit-spin .8s linear infinite;
}
form[aria-busy="true"] .sy-submit-spinner { display: inline-block; }
form[aria-busy="true"] .sy-submit-icon { display: none; }
.sy-submit-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@keyframes sy-submit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .sy-submit-spinner { animation: none; }
}
/* the honeypot: off-screen, never display:none (Contact VIEW_CONTRACT) */
.sy-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* sent: a plaque with a self-drawing gold mark */
.sy-sent {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: clamp(26px, 4vw, 44px);
}
.sy-sent__mark {
  width: 52px;
  height: 52px;
}
.sy-sent__mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sy-sent__mark circle,
.sy-sent__mark path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: sy-draw 1.2s var(--ease-out) 0.15s forwards;
}
.sy-sent__mark path {
  animation-delay: 0.7s;
  animation-duration: 0.6s;
}
.sy-sent__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  text-wrap: balance;
}
.sy-sent__text {
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: 8px;
}

/* ------------------------------------------------------------------ 404 */
.sy-404 {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 18px;
  padding-top: clamp(20px, 6vh, 80px);
}
.sy-404 .sy-ring {
  right: var(--gutter);
}
.sy-404__code {
  position: absolute;
  right: var(--gutter);
  top: clamp(60px, 12vw, 150px);
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(120px, 26vw, 360px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(231, 200, 120, 0.22);
  pointer-events: none;
  user-select: none;
}
.sy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: clamp(12px, 2vw, 22px);
}

/* ------------------------------------------------------------------ phone */
@media (max-width: 860px) {
  .sy-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .sy-ring {
    width: 46vw;
    opacity: 0.32;
  }
  .sy-fields {
    grid-template-columns: 1fr;
  }
  .sy-404__code {
    top: auto;
    bottom: -0.15em;
  }
  .sy-kunye__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sy-ring circle,
  .sy-sent__mark circle,
  .sy-sent__mark path {
    animation: none;
    stroke-dashoffset: 0;
  }
}
