/* ==========================================================================
   contact.css — the last band before the footer.

   The registered address is the only confirmed fact in this section, so it
   is the largest thing in it. Everything else is a routing device: four
   desks, each tinted with the accent of the company it reaches.
   ========================================================================== */

.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }

@media (min-width: 1000px) {
  .contact__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: var(--s-8);
  }
  /* The map anchors the section full-width beneath the address and the card. */
  .contact__grid > .map { grid-column: 1 / -1; }
}

/* --- Registered address -------------------------------------------------- */

/* Left column: the address stacked above its map. */
.contact__aside { display: grid; gap: var(--s-6); align-content: start; }

.address { display: grid; gap: var(--s-5); align-content: start; font-style: normal; }

.address__co {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* The entity name is long and legal; the street lines are the thing a
   visitor actually reads off the screen, so only those get display size. */
.address__entity {
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--fg);
  margin-top: calc(var(--s-5) * -1 + var(--s-2));
}

.address__lines {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-style: normal;
  max-width: 24ch;
}

.address__lines span { display: block; }

.address__meta {
  display: grid;
  gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}

.address__meta div {
  display: grid;
  gap: var(--s-1) var(--s-5);
}

@media (min-width: 520px) {
  .address__meta div { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: baseline; }
}

.address__key {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.address__val { font-size: var(--fs-sm); color: var(--fg-dim); }
.address__val a { color: inherit; transition: color var(--d-fast) var(--e-out); }
.address__val a:hover { color: var(--c-kunyit); }

/* --- Embedded map --------------------------------------------------------
   A keyless Google embed sits in a bordered, rounded frame with a caption
   bar carrying the "open in Maps" route. The frame keeps a solid fallback
   colour so a blocked or slow iframe still looks finished, not broken. */

.map {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-night-2);
}

@media (min-width: 1000px) { .map { margin-top: var(--s-4); } }

.map__frame {
  display: block;
  width: 100%;
  height: clamp(220px, 34vh, 360px);
  border: 0;
}

.map__cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border-top: 1px solid var(--line);
}

.map__cap span {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.map__cap a {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--c-kunyit);
  white-space: nowrap;
  transition: opacity var(--d-fast) var(--e-out);
}
.map__cap a:hover { opacity: 0.75; }

/* --- Desks ---------------------------------------------------------------
   One card per enquiry route. The accent is inherited from the company the
   enquiry actually lands with, which is the same colour it wears elsewhere
   on the page — so the reader never has to learn a second colour system. */

.desks { display: grid; gap: var(--s-4); }

@media (min-width: 620px) {
  .desks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* When only the holding company remains, the lone card fills the column
   rather than sitting in a half-width cell with a gap beside it. */
.contact__grid .desks--single { grid-template-columns: 1fr; }

.desk {
  --accent: var(--c-kunyit);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: clamp(1.25rem, 2.4vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(243, 236, 221, 0.05), rgba(243, 236, 221, 0.012));
  transition: border-color var(--d-mid) var(--e-out), transform 240ms var(--e-out);
}

.desk:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  transform: translateY(-3px);
}

.desk__stage {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.desk__name {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.desk__note {
  font-size: var(--fs-sm);
  color: var(--fg-dim);
  margin-bottom: var(--s-2);
}

.desk__lines {
  display: grid;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.desk__line {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  text-transform: none;
  transition: color var(--d-fast) var(--e-out);
  word-break: break-word;
}

.desk__line:hover { color: var(--accent); }
