/* Appily Twentysix — Contact (Garden Gate Desk / gg26) */

.gg26-page {
  --gg26-sage: #2F5544;
  --gg26-sage-dark: #1E3D30;
  --gg26-sage-light: #E4EBE7;
  --gg26-terra: #C47A5A;
  --gg26-terra-light: #F5E8E2;
  --gg26-brass: #B8956A;
  --gg26-brass-light: #F2E8D8;
  --gg26-brass-dark: #8B6914;
  --gg26-iron: #3D4540;
  --gg26-cream: #FAF8F4;
  --gg26-paper: #FFFEF9;
  --gg26-ink: #141414;
  --gg26-muted: #6B7A72;
  --gg26-border: #D8E2DC;
  --gg26-wisteria: #8B7AA8;
  background: var(--gg26-cream);
}

/* ── Hero gate ── */
.gg26-gate-hero {
  position: relative;
  padding: 52px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(139, 122, 168, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #1E3D30 0%, var(--gg26-sage) 55%, #3D6B55 100%);
  color: #fff;
}

.gg26-gate-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23ffffff' stroke-opacity='0.04' fill='none'/%3E%3C/svg%3E");
  pointer-events: none;
}

.gg26-gate-arch {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 720px);
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.gg26-gate-arch::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gg26-brass);
  box-shadow: 0 0 0 4px rgba(184, 149, 106, 0.35);
}

.gg26-gate-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--gg26-cream);
  clip-path: ellipse(115% 100% at 50% 100%);
}

.gg26-gate-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 32px;
  align-items: center;
}

.gg26-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.gg26-kicker-latch {
  width: 18px;
  height: 10px;
  border: 2px solid var(--gg26-brass);
  border-radius: 2px;
  position: relative;
}

.gg26-kicker-latch::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gg26-brass);
}

.gg26-title {
  margin: 0 0 12px;
  font-family: var(--sv-serif);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.gg26-title em {
  font-style: italic;
  color: var(--gg26-brass-light);
}

.gg26-lede {
  margin: 0;
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.9;
}

.gg26-stones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.gg26-stones li {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.gg26-visitor {
  min-width: 170px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(184, 149, 106, 0.55);
  border-radius: 12px;
  text-align: center;
}

.gg26-visitor-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.gg26-visitor-open {
  display: block;
  margin: 6px 0 4px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gg26-brass-light);
}

.gg26-visitor-ref {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  opacity: 0.85;
}

.gg26-visitor-note {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
  opacity: 0.7;
}

/* ── Gate floor ── */
.gg26-floor {
  padding: 8px 0 64px;
  margin-top: -24px;
}

.gg26-gate-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 240px;
  gap: 0;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(30, 61, 48, 0.12));
}

/* ── Gate posts ── */
.gg26-post {
  background: linear-gradient(180deg, var(--gg26-iron) 0%, #2A322E 100%);
  padding: 28px 18px;
  position: relative;
}

.gg26-post-left {
  border-radius: 16px 0 0 16px;
  border-right: 3px solid var(--gg26-brass-dark);
}

.gg26-post-right {
  border-radius: 0 16px 16px 0;
  border-left: 3px solid var(--gg26-brass-dark);
}

.gg26-post-cap {
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 10px;
  background: linear-gradient(180deg, var(--gg26-brass), var(--gg26-brass-dark));
  border-radius: 0 0 4px 4px;
}

.gg26-post-title {
  margin: 16px 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.gg26-latches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gg26-latch {
  padding: 12px 14px;
  background: var(--gg26-brass-light);
  border: 2px solid var(--gg26-brass);
  border-radius: 8px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.gg26-latch::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gg26-brass-dark);
  border: 2px solid var(--gg26-iron);
}

.gg26-latch-key {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gg26-muted);
  margin-bottom: 4px;
}

.gg26-latch-val {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gg26-ink);
  line-height: 1.35;
  word-break: break-word;
}

a.gg26-latch-val {
  color: var(--gg26-sage);
  text-decoration: none;
}

a.gg26-latch-val:hover {
  text-decoration: underline;
}

/* ── Brass plaque form ── */
.gg26-plaque {
  background: linear-gradient(165deg, #F8F0E0 0%, var(--gg26-brass-light) 40%, #E8D8C0 100%);
  border-top: 4px solid var(--gg26-brass);
  border-bottom: 4px solid var(--gg26-brass-dark);
  padding: 28px 32px 32px;
  position: relative;
}

.gg26-plaque::before,
.gg26-plaque::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #D4C4A8, var(--gg26-brass-dark));
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gg26-plaque::before { top: 14px; left: 14px; }
.gg26-plaque::after { top: 14px; right: 14px; }

.gg26-plaque-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(139, 105, 20, 0.25);
}

.gg26-plaque-tag {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gg26-brass-dark);
}

.gg26-plaque-head h2 {
  margin: 0;
  font-family: var(--sv-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gg26-ink);
}

.gg26-plaque-ref {
  flex-shrink: 0;
  padding: 6px 10px;
  background: rgba(47, 85, 68, 0.1);
  border: 1px solid var(--gg26-sage);
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gg26-sage);
}

/* ── Notices ── */
.gg26-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.gg26-notice p {
  margin: 4px 0 0;
  font-size: 0.85rem;
}

.gg26-notice-success {
  background: rgba(47, 85, 68, 0.12);
  border: 2px solid var(--gg26-sage);
  color: var(--gg26-sage-dark);
}

.gg26-notice-error {
  background: #FDECEC;
  border: 2px solid #F5C2C2;
  color: #8B2020;
}

.gg26-notice-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gg26-sage);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

/* ── Form ── */
.gg26-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.gg26-field {
  display: block;
}

.gg26-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gg26-muted);
}

.gg26-optional {
  font-weight: 500;
  opacity: 0.75;
}

.gg26-field input,
.gg26-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid rgba(139, 105, 20, 0.35);
  border-radius: 10px;
  font: inherit;
  font-size: 0.92rem;
  background: rgba(255, 254, 249, 0.85);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.gg26-field input:focus,
.gg26-field textarea:focus {
  outline: none;
  border-color: var(--gg26-sage);
  box-shadow: 0 0 0 3px rgba(47, 85, 68, 0.15);
}

.gg26-field textarea {
  resize: vertical;
  min-height: 120px;
}

.gg26-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px dashed rgba(139, 105, 20, 0.3);
}

.gg26-fine {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gg26-muted);
}

.gg26-fine a {
  color: var(--gg26-sage);
  font-weight: 700;
}

/* ── Buttons ── */
.gg26-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.gg26-btn-primary {
  background: var(--gg26-sage);
  color: #fff;
  border-color: var(--gg26-sage);
}

.gg26-btn-primary:hover {
  background: var(--gg26-sage-dark);
  border-color: var(--gg26-sage-dark);
  color: #fff;
}

.gg26-btn-soft {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.gg26-post-right .gg26-btn-soft {
  background: var(--gg26-brass-light);
  color: var(--gg26-ink);
  border-color: var(--gg26-brass);
  width: 100%;
}

.gg26-post-right .gg26-btn-soft:hover {
  border-color: var(--gg26-sage);
  color: var(--gg26-sage);
}

.gg26-btn-outline {
  background: transparent;
  color: var(--gg26-brass-light);
  border-color: rgba(255, 255, 255, 0.4);
}

.gg26-post-right .gg26-btn-outline {
  color: var(--gg26-sage);
  border-color: var(--gg26-sage);
  width: 100%;
}

.gg26-post-right .gg26-btn-outline:hover {
  background: var(--gg26-sage-light);
}

/* ── Right post: twine tags ── */
.gg26-brand {
  margin: 16px 0 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  text-align: center;
}

.gg26-brand strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.gg26-brand span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.gg26-twine {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.gg26-twine-tag {
  display: block;
  padding: 10px 12px;
  background: var(--gg26-paper);
  border-radius: 4px 12px 12px 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gg26-sage);
  text-decoration: none;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: rotate(-1deg);
}

.gg26-twine-tag:nth-child(even) {
  transform: rotate(1deg);
}

.gg26-twine-tag::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: rgba(255, 255, 255, 0.35);
}

.gg26-twine-tag:hover {
  background: var(--gg26-sage-light);
  color: var(--gg26-sage-dark);
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .gg26-gate-layout {
    grid-template-columns: 1fr;
    filter: none;
  }

  .gg26-post-left,
  .gg26-post-right {
    border-radius: 0;
    border: none;
  }

  .gg26-post-left {
    border-radius: 16px 16px 0 0;
  }

  .gg26-post-right {
    border-radius: 0 0 16px 16px;
  }

  .gg26-latches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gg26-post-right .gg26-twine {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gg26-twine-tag {
    flex: 1;
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .gg26-gate-inner {
    grid-template-columns: 1fr;
  }

  .gg26-visitor {
    justify-self: start;
  }

  .gg26-plaque {
    padding: 24px 20px 28px;
  }

  .gg26-fields {
    grid-template-columns: 1fr;
  }

  .gg26-form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .gg26-btn-primary {
    width: 100%;
  }

  .gg26-latches {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gg26-plaque-head {
    flex-direction: column;
  }
}
