/* Appily Twelve — House Plate company info */
.page-house-plate {
  --hp-ink: #17140f;
  --hp-forest: #12382c;
  --hp-leaf: #2f6b4f;
  --hp-clay: #b85a32;
  --hp-ochre: #d9a441;
  --hp-paper: #f4efe4;
  --hp-cream: #fbf7ef;
  --hp-display: 'Syne', Georgia, sans-serif;
  --hp-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --hp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hp-line: rgba(23, 20, 15, 0.12);
}

.page-house-plate .page-main {
  background:
    radial-gradient(820px 320px at 100% 0%, rgba(184, 90, 50, 0.09), transparent 55%),
    radial-gradient(700px 280px at 0% 40%, rgba(47, 107, 79, 0.1), transparent 50%),
    linear-gradient(180deg, var(--hp-cream), var(--hp-paper) 40%, #efe7d8 100%);
  font-family: var(--hp-body);
  color: var(--hp-ink);
  overflow-x: clip;
}

.page-house-plate .hp-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--hp-ochre);
}

.page-house-plate .hp-kicker-dark {
  color: var(--hp-clay);
}

.page-house-plate .hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.05rem;
  border-radius: 3px;
  font: inherit;
  font-weight: 750;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--hp-ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-house-plate .hp-btn:hover {
  transform: translateY(-2px);
}

.page-house-plate .hp-btn-fill {
  background: var(--hp-forest);
  color: #fbf7ef;
}

.page-house-plate .hp-btn-fill:hover {
  background: var(--hp-leaf);
}

.page-house-plate .hp-btn-ghost {
  background: transparent;
  color: var(--hp-forest);
  border-color: var(--hp-line);
}

.page-house-plate .hp-btn-line {
  background: transparent;
  color: var(--hp-clay);
  border-color: var(--hp-clay);
}

.page-house-plate .hp-contact .hp-btn-ghost {
  color: #fbf7ef;
  border-color: rgba(251, 247, 239, 0.28);
}

.page-house-plate .hp-contact .hp-btn-ghost:hover {
  background: rgba(251, 247, 239, 0.08);
}

.page-house-plate .hp-contact .hp-btn-fill {
  background: var(--hp-ochre);
  color: #1a140c;
}

.page-house-plate .hp-contact .hp-btn-fill:hover {
  background: #e4b34e;
}

/* Hero */
.page-house-plate .hp-hero {
  position: relative;
  padding: clamp(2.2rem, 5.5vw, 3.5rem) 0 clamp(1.9rem, 4vw, 2.6rem);
  color: #fbf7ef;
  overflow: hidden;
}

.page-house-plate .hp-hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(122deg, #12382c 0%, #1a4a39 50%, #2c241c 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0 28px,
      rgba(255, 255, 255, 0.03) 28px 29px
    );
}

.page-house-plate .hp-hero-wash::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -30%;
  width: 45%;
  height: 160%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.22), transparent 62%);
  pointer-events: none;
}

.page-house-plate .hp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  animation: hpRise 0.75s var(--hp-ease) both;
}

.page-house-plate .hp-hero-copy h1 {
  margin: 0 0 0.6rem;
  font-family: var(--hp-display);
  font-size: clamp(1.95rem, 4.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: #fff;
  max-width: 14ch;
}

.page-house-plate .hp-lede {
  margin: 0;
  max-width: 46ch;
  color: rgba(251, 247, 239, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}

.page-house-plate .hp-seal {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border: 2px solid rgba(217, 164, 65, 0.55);
  border-radius: 50%;
  transform: rotate(-8deg);
  animation: hpStamp 0.9s var(--hp-ease) 0.15s both;
}

.page-house-plate .hp-seal-ring {
  position: absolute;
  inset: 8px;
  border: 1.5px dashed rgba(217, 164, 65, 0.4);
  border-radius: 50%;
}

.page-house-plate .hp-seal strong {
  font-family: var(--hp-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--hp-ochre);
}

.page-house-plate .hp-seal em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.55);
}

/* Desk */
.page-house-plate .hp-desk {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.page-house-plate .hp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.85fr);
  gap: clamp(1.15rem, 3vw, 1.75rem);
  align-items: start;
  margin-bottom: 1.5rem;
}

.page-house-plate .hp-panel-head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid var(--hp-line);
}

.page-house-plate .hp-panel-head h2,
.page-house-plate .hp-contact h3,
.page-house-plate .hp-trade h2 {
  margin: 0;
  font-family: var(--hp-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-house-plate .hp-ledger {
  padding: 1.25rem 1.15rem 1.35rem;
  background: var(--hp-cream);
  border: 1.5px solid var(--hp-line);
  border-radius: 6px;
  box-shadow: 0 16px 40px -28px rgba(18, 56, 44, 0.45);
  animation: hpRise 0.7s var(--hp-ease) 0.06s both;
  position: relative;
  overflow: hidden;
}

.page-house-plate .hp-ledger::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--hp-forest), var(--hp-ochre));
}

.page-house-plate .hp-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.page-house-plate .hp-rows li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem 0.75rem;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 4px;
  animation: hpSlide 0.55s var(--hp-ease) both;
  animation-delay: calc(0.04s * var(--hp-i, 0));
  transition: transform 0.3s var(--hp-ease), border-color 0.25s ease;
}

.page-house-plate .hp-rows li:hover {
  transform: translateX(3px);
  border-color: rgba(18, 56, 44, 0.28);
}

.page-house-plate .hp-row-num {
  font-family: var(--hp-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--hp-ochre);
  padding-top: 0.15rem;
}

.page-house-plate .hp-row-key {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(23, 20, 15, 0.45);
}

.page-house-plate .hp-row-val {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

/* Side column */
.page-house-plate .hp-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 1rem;
  animation: hpRise 0.8s var(--hp-ease) 0.12s both;
}

.page-house-plate .hp-address {
  padding: 1.15rem 1.1rem 1.2rem;
  background: var(--hp-cream);
  border: 1.5px solid var(--hp-line);
  border-radius: 6px;
}

.page-house-plate .hp-address .hp-panel-head {
  border-color: rgba(23, 20, 15, 0.1);
}

.page-house-plate .hp-addr-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.page-house-plate .hp-addr-list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(23, 20, 15, 0.06);
  animation: hpSlide 0.5s var(--hp-ease) both;
  animation-delay: calc(0.03s * var(--hp-i, 0));
}

.page-house-plate .hp-addr-list span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(23, 20, 15, 0.45);
}

.page-house-plate .hp-addr-list strong {
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.35;
}

.page-house-plate .hp-addr-full {
  margin: 0;
  padding: 0.75rem;
  background: rgba(18, 56, 44, 0.05);
  border-radius: 3px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(23, 20, 15, 0.72);
}

.page-house-plate .hp-contact {
  padding: 1.15rem 1.1rem 1.25rem;
  background: linear-gradient(165deg, #1a4a39 0%, var(--hp-forest) 55%, #0e2a20 100%);
  color: #fbf7ef;
  border-radius: 6px;
  box-shadow: 0 18px 40px -24px rgba(18, 56, 44, 0.7);
}

.page-house-plate .hp-contact .hp-kicker {
  color: var(--hp-ochre);
}

.page-house-plate .hp-contact h3 {
  color: #fff;
  margin-bottom: 0.85rem;
}

.page-house-plate .hp-contact-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.page-house-plate .hp-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.page-house-plate .hp-contact-list span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.45);
}

.page-house-plate .hp-contact-list a,
.page-house-plate .hp-contact-list strong {
  font-size: 0.92rem;
  font-weight: 650;
  color: #fbf7ef;
  text-decoration: none;
  word-break: break-word;
}

.page-house-plate .hp-contact-list a {
  color: var(--hp-ochre);
}

.page-house-plate .hp-contact-list a:hover {
  text-decoration: underline;
}

.page-house-plate .hp-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-house-plate .hp-contact-actions .hp-btn {
  width: 100%;
}

/* Trade band */
.page-house-plate .hp-trade {
  padding: 1.35rem 1.25rem 1.45rem;
  background: var(--hp-cream);
  border: 1.5px solid var(--hp-line);
  border-radius: 6px;
  animation: hpRise 0.7s var(--hp-ease) 0.18s both;
}

.page-house-plate .hp-trade-copy {
  margin-bottom: 1rem;
  max-width: 62ch;
}

.page-house-plate .hp-trade-copy h2 {
  margin-bottom: 0.45rem;
}

.page-house-plate .hp-trade-copy p {
  margin: 0;
  color: rgba(23, 20, 15, 0.68);
  line-height: 1.55;
}

.page-house-plate .hp-trade-chips {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-house-plate .hp-trade-chips li {
  padding: 0.4rem 0.75rem;
  background: rgba(18, 56, 44, 0.06);
  border: 1px solid rgba(18, 56, 44, 0.14);
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: var(--hp-forest);
  animation: hpRise 0.5s var(--hp-ease) both;
  animation-delay: calc(0.05s * var(--hp-i, 0));
}

.page-house-plate .hp-trade-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Motion */
@keyframes hpRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hpSlide {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hpStamp {
  from {
    opacity: 0;
    transform: rotate(10deg) scale(0.65);
  }
  to {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}

/* Responsive */
@media (max-width: 920px) {
  .page-house-plate .hp-layout {
    grid-template-columns: 1fr;
  }

  .page-house-plate .hp-side {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-house-plate .hp-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-house-plate .hp-trade-actions {
    flex-direction: column;
  }

  .page-house-plate .hp-trade-actions .hp-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-house-plate .hp-hero-grid,
  .page-house-plate .hp-seal,
  .page-house-plate .hp-ledger,
  .page-house-plate .hp-side,
  .page-house-plate .hp-rows li,
  .page-house-plate .hp-addr-list li,
  .page-house-plate .hp-trade,
  .page-house-plate .hp-trade-chips li {
    animation: none !important;
  }

  .page-house-plate .hp-btn:hover,
  .page-house-plate .hp-rows li:hover {
    transform: none;
  }
}
