:root {
  --ink: #11110f;
  --paper: #f3f0e8;
  --paper-deep: #e8e3d8;
  --white: #ffffff;
  --muted: #aaa9a3;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(17, 17, 15, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.contact-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(390px, 0.88fr) minmax(520px, 1.12fr);
  background: var(--paper);
}

.contact-panel {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(28px, 4vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.contact-panel::before {
  position: absolute;
  top: -190px;
  right: -150px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.contact-panel::after {
  position: absolute;
  right: 50px;
  bottom: 90px;
  width: 112px;
  height: 112px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  content: "";
  transform: rotate(45deg);
}

.brand-wrap {
  position: relative;
  z-index: 1;
  width: min(255px, 62vw);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: invert(1);
  mix-blend-mode: screen;
}

.contact-content {
  position: relative;
  z-index: 1;
  width: min(100%, 600px);
  margin: auto 0;
  padding: clamp(54px, 7vh, 88px) 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6.2vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.intro {
  max-width: 520px;
  margin-bottom: 34px;
  color: #c9c8c2;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.65;
}

.primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(42px, 6vh, 68px);
}

.action-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 0 20px;
  border: 1px solid var(--white);
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.action-button--light {
  background: var(--white);
  color: var(--ink);
}

.action-button--outline {
  background: transparent;
  color: var(--white);
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-2px);
}

.action-button--light:hover,
.action-button--light:focus-visible {
  background: var(--paper);
}

.action-button--outline:hover,
.action-button--outline:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.contact-list {
  display: grid;
  border-top: 1px solid var(--line-dark);
  font-style: normal;
}

.contact-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-left 180ms ease, border-color 180ms ease;
}

.contact-row:hover,
.contact-row:focus-visible {
  padding-left: 7px;
  border-color: rgba(255, 255, 255, 0.42);
}

.contact-label {
  padding-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-value {
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: clamp(0.93rem, 1.15vw, 1.05rem);
  font-weight: 500;
  line-height: 1.55;
}

.panel-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: #777771;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-panel {
  display: flex;
  min-width: 0;
  min-height: 100svh;
  flex-direction: column;
  gap: clamp(24px, 4vh, 42px);
  padding: clamp(28px, 4vw, 64px);
  background:
    linear-gradient(rgba(17, 17, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
}

.map-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.map-heading > div {
  display: grid;
  gap: 14px;
}

.eyebrow--dark {
  margin-bottom: 0;
  color: #696861;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: calc(-0.045em + 1.5px);
  line-height: 0.98;
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap 180ms ease;
}

.directions-link:hover,
.directions-link:focus-visible {
  gap: 20px;
}

.map-frame {
  position: relative;
  flex: 1;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 3px;
  background: var(--paper-deep);
  box-shadow: 0 24px 80px rgba(17, 17, 15, 0.12);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  filter: grayscale(1) contrast(0.94) sepia(0.09);
}

.map-address {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  background: rgba(17, 17, 15, 0.9);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.map-address__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9c58f;
  box-shadow: 0 0 0 4px rgba(217, 197, 143, 0.18);
}

a:focus-visible {
  outline: 2px solid #d9c58f;
  outline-offset: 4px;
}

@media (min-width: 1041px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .contact-page,
  .contact-panel,
  .map-panel {
    height: 100svh;
    min-height: 0;
  }

  .map-panel {
    overflow: hidden;
  }

  .map-frame {
    min-height: 0;
  }
}

@media (min-width: 1041px) and (max-height: 780px) {
  .contact-panel,
  .map-panel {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .brand-wrap {
    width: 220px;
  }

  .contact-content {
    padding: 24px 0;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(3.5rem, 5.3vw, 5.5rem);
  }

  .intro {
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .primary-actions {
    margin-bottom: 22px;
  }

  .contact-row {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .map-panel {
    gap: 24px;
  }
}

@media (max-width: 1040px) {
  .contact-page {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .map-panel {
    min-height: auto;
  }

  .contact-content {
    margin: 0;
  }

  .map-panel {
    min-height: 720px;
  }
}

@media (max-width: 620px) {
  .contact-panel,
  .map-panel {
    padding: 24px 20px;
  }

  .brand-wrap {
    width: 210px;
  }

  .contact-content {
    padding: 56px 0 44px;
  }

  h1 {
    font-size: clamp(3.45rem, 17vw, 5.25rem);
  }

  .primary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 42px;
  }

  .action-button {
    width: 100%;
    gap: 12px;
    padding: 0 15px;
    font-size: 0.69rem;
  }

  .contact-row {
    grid-template-columns: 78px 1fr;
    gap: 12px;
  }

  .panel-footer {
    margin-top: 8px;
  }

  .map-panel {
    min-height: 650px;
    gap: 24px;
  }

  .map-heading {
    align-items: start;
    flex-direction: column;
  }

  .map-frame {
    min-height: 440px;
  }

  .map-address {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
