/* Harbor Desk contact — blank-slate (no a74-signal / vault console patterns) */
:root {
  --hb-ink: #0c1b33;
  --hb-mute: #5b6b7c;
  --hb-paper: #eef3f7;
  --hb-sheet: #f8fafc;
  --hb-line: rgba(12, 27, 51, 0.12);
  --hb-sea: #0d9488;
  --hb-foam: #5eead4;
  --hb-coral: #f43f5e;
  --hb-display: "Belanosima", "Segoe UI", sans-serif;
  --hb-sans: "Mulish", "Segoe UI", sans-serif;
  --hb-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hb-max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.hb-contact {
  margin: 0;
  min-height: 100vh;
  color: var(--hb-ink);
  font-family: var(--hb-sans);
  background:
    radial-gradient(70% 45% at 100% 0%, rgba(13, 148, 136, 0.14), transparent 55%),
    radial-gradient(55% 40% at 0% 100%, rgba(244, 63, 94, 0.08), transparent 50%),
    linear-gradient(165deg, #e4ebf2 0%, var(--hb-paper) 42%, #e8eef5 100%);
  -webkit-font-smoothing: antialiased;
}

.a74-bare-main { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
textarea { resize: vertical; }

.hb-shell {
  position: relative;
  z-index: 1;
  width: min(var(--hb-max), calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 2.75rem;
}

.hb-tide {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 22px,
      rgba(12, 27, 51, 0.025) 22px,
      rgba(12, 27, 51, 0.025) 23px
    );
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}

.hb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
  padding: 0.5rem 0.55rem 0.5rem 0.7rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid var(--hb-line);
  border-radius: 1.1rem;
  backdrop-filter: blur(10px);
}
.hb-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.hb-brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 40% 60%;
  background: var(--hb-ink);
  color: var(--hb-foam);
  font-family: var(--hb-display);
  font-size: 0.72rem;
  font-weight: 700;
}
.hb-brand-text strong {
  display: block;
  font-family: var(--hb-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}
.hb-brand-text em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-mute);
  font-weight: 800;
}
.hb-top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.hb-top-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 0.7rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--hb-mute);
  transition: color 0.2s, background 0.2s, transform 0.2s var(--hb-ease);
}
.hb-top-nav a:hover {
  color: var(--hb-ink);
  background: rgba(12, 27, 51, 0.05);
  transform: translateY(-1px);
}
.hb-top-cart {
  background: var(--hb-coral) !important;
  color: #fff !important;
}

.hb-mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
  animation: hb-rise 0.55s var(--hb-ease) both;
}
.hb-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--hb-sea);
}
.hb-mast h1 {
  margin: 0;
  font-family: var(--hb-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hb-lede {
  margin: 0.55rem 0 0;
  max-width: 34rem;
  color: var(--hb-mute);
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.45;
}
.hb-hours {
  padding: 0.95rem 1rem;
  background: var(--hb-ink);
  color: #fff;
  border-radius: 1.1rem 0.35rem 1.1rem 0.35rem;
  box-shadow: 0 16px 34px rgba(12, 27, 51, 0.18);
}
.hb-hours span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--hb-foam);
}
.hb-hours strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Postal plaque */
.hb-postal {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
  margin-bottom: 1.15rem;
  padding: 1.2rem 1.25rem 1.3rem;
  background: var(--hb-sheet);
  border: 1px solid var(--hb-line);
  border-radius: 0.35rem 1.4rem 0.35rem 1.4rem;
  box-shadow: 0 16px 36px rgba(12, 27, 51, 0.05);
  animation: hb-rise 0.55s var(--hb-ease) 0.05s both;
}
.hb-postal-stamp {
  width: 5.5rem;
  height: 5.5rem;
  display: grid;
  place-content: center;
  text-align: center;
  border: 2px dashed rgba(13, 148, 136, 0.55);
  border-radius: 0.85rem;
  transform: rotate(-6deg);
  background: rgba(13, 148, 136, 0.06);
}
.hb-postal-stamp span {
  font-family: var(--hb-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hb-sea);
  line-height: 1;
}
.hb-postal-stamp em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--hb-mute);
}
.hb-postal-body h2 {
  margin: 0;
  font-family: var(--hb-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hb-postal-lines {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.hb-postal-lines li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
  font-size: 1.02rem;
  font-weight: 650;
  animation: hb-rise 0.4s var(--hb-ease) both;
  animation-delay: calc(var(--hb-i, 0) * 0.05s);
}
.hb-postal-lines span {
  font-family: var(--hb-display);
  font-size: 0.85rem;
  color: var(--hb-sea);
  font-weight: 700;
}
.hb-postal-gst {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--hb-mute);
  letter-spacing: 0.04em;
}

/* Channel mosaic */
.hb-channels {
  margin-bottom: 1.25rem;
  animation: hb-rise 0.55s var(--hb-ease) 0.08s both;
}
.hb-channels-head h2 {
  margin: 0 0 0.85rem;
  font-family: var(--hb-display);
  font-size: 1.45rem;
  font-weight: 700;
}
.hb-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(6.5rem, auto);
  gap: 0.55rem;
}
.hb-tile {
  display: grid;
  align-content: space-between;
  gap: 0.45rem;
  padding: 0.9rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid var(--hb-line);
  background: var(--hb-sheet);
  min-width: 0;
  transition: transform 0.25s var(--hb-ease), box-shadow 0.25s, border-color 0.25s;
  animation: hb-rise 0.45s var(--hb-ease) both;
  animation-delay: calc(var(--hb-i, 0) * 0.04s);
}
.hb-tile:nth-child(1) { grid-column: span 3; }
.hb-tile:nth-child(2) { grid-column: span 3; }
.hb-tile:nth-child(3) { grid-column: span 2; }
.hb-tile:nth-child(4) { grid-column: span 2; }
.hb-tile:nth-child(5) { grid-column: span 2; }
.hb-tile:nth-child(6) { grid-column: span 6; }
.hb-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(12, 27, 51, 0.1);
  border-color: rgba(12, 27, 51, 0.22);
}
.hb-tile.is-press {
  transform: translateY(0) scale(0.98);
}
.hb-tile-kind {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--hb-mute);
}
.hb-tile strong {
  font-family: var(--hb-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}
.hb-tile.tone-a { background: linear-gradient(145deg, rgba(13, 148, 136, 0.12), var(--hb-sheet) 55%); }
.hb-tile.tone-b { background: linear-gradient(145deg, rgba(14, 165, 233, 0.12), var(--hb-sheet) 55%); }
.hb-tile.tone-c { background: linear-gradient(145deg, rgba(34, 197, 94, 0.12), var(--hb-sheet) 55%); }
.hb-tile.tone-d { background: linear-gradient(145deg, rgba(244, 63, 94, 0.08), var(--hb-sheet) 55%); }
.hb-tile.tone-e { background: linear-gradient(145deg, rgba(245, 158, 11, 0.12), var(--hb-sheet) 55%); }
.hb-tile.tone-f { background: var(--hb-ink); color: #fff; border-color: transparent; }
.hb-tile.tone-f .hb-tile-kind { color: var(--hb-foam); }

/* Compose / telegram form */
.hb-compose {
  padding: 1.25rem 1.2rem 1.35rem;
  background: var(--hb-sheet);
  border: 1px solid var(--hb-line);
  border-radius: 1.35rem 0.4rem 1.35rem 0.4rem;
  box-shadow: 0 18px 40px rgba(12, 27, 51, 0.06);
  animation: hb-rise 0.55s var(--hb-ease) 0.1s both;
}
.hb-compose-head h2 {
  margin: 0;
  font-family: var(--hb-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
}
.hb-compose-head p {
  margin: 0.4rem 0 0;
  color: var(--hb-mute);
  font-weight: 550;
}

.hb-notice {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  font-weight: 650;
}
.hb-notice strong { display: block; margin-bottom: 0.2rem; }
.hb-notice p { margin: 0; font-weight: 550; }
.hb-notice.is-ok {
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.35);
  color: #0f5c55;
}
.hb-notice.is-bad {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #9f1239;
}

.hb-form { margin-top: 1.1rem; }
.hb-wire {
  display: grid;
  gap: 0.85rem;
}
.hb-line {
  display: grid;
  gap: 0.35rem;
  padding: 0.35rem 0 0.15rem;
  border-bottom: 2px solid var(--hb-line);
  transition: border-color 0.2s, background 0.2s;
}
.hb-line span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--hb-mute);
}
.hb-line input,
.hb-line textarea {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.35rem 0.1rem 0.55rem;
  border: 0;
  outline: none;
  background: transparent;
}
.hb-line textarea {
  min-height: 7rem;
  line-height: 1.5;
}
.hb-line:focus-within {
  border-bottom-color: var(--hb-sea);
  background: linear-gradient(180deg, transparent 40%, rgba(13, 148, 136, 0.08));
}
.hb-line--tall { border-bottom-width: 2px; }

.hb-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1.15rem;
}
.hb-form-hint {
  margin: 0;
  flex: 1 1 14rem;
  font-size: 0.84rem;
  color: var(--hb-mute);
  font-weight: 550;
}

.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 0.22s var(--hb-ease), filter 0.2s;
  white-space: nowrap;
}
.hb-btn:hover { transform: translateY(-2px); }
.hb-btn-hot {
  background: var(--hb-coral);
  color: #fff;
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.25);
}
.hb-btn-hot:hover { filter: brightness(1.05); }

.hb-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  justify-content: center;
  margin-top: 1.85rem;
  padding-top: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hb-mute);
}
.hb-foot a:hover { color: var(--hb-coral); }

@keyframes hb-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  .hb-mast { grid-template-columns: 1fr; }
  .hb-postal { grid-template-columns: 1fr; }
  .hb-postal-stamp { justify-self: start; }
  .hb-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-tile:nth-child(n) { grid-column: span 1; }
  .hb-tile:nth-child(1),
  .hb-tile:nth-child(6) { grid-column: span 2; }
}

@media (max-width: 520px) {
  .hb-shell { width: calc(100% - 1rem); }
  .hb-mosaic { grid-template-columns: 1fr; }
  .hb-tile:nth-child(n) { grid-column: span 1; }
  .hb-form-foot { flex-direction: column; align-items: stretch; }
  .hb-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
