:root {
  color-scheme: light;
  --ink: #171411;
  --paper: #fcf2e1;
  --gold-light: #ebca81;
  --gold-dark: #926217;
  --gold-edge: #ad7b32;
  --gold-rule: linear-gradient(100deg, #ad7933, #f4d590 46%, #9a6827);
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

body { margin: 0; }

a { color: inherit; }

a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #755012;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  padding: .65rem 1rem;
  transform: translateY(-200%);
  background: var(--paper);
  border-radius: .4rem;
}

.skip-link:focus { transform: translateY(0); }

.link-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.link-hero {
  --hero-arc: ellipse(105% 100% at 50% 0);
  position: relative;
  isolation: isolate;
  padding: 10px 16px clamp(26px, 5vw, 42px);
  clip-path: var(--hero-arc);
  background: var(--gold-rule);
  color: var(--paper);
  text-align: center;
}

.link-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 3px;
  clip-path: var(--hero-arc);
  background: radial-gradient(ellipse at 50% 15%, #302921, #171411 74%);
  content: "";
}

.link-trim {
  height: 15px;
  border-block: 1px solid currentColor;
  color: #c59b50;
  background:
    repeating-linear-gradient(45deg, transparent 0 7px, currentColor 7px 9px, transparent 9px 15px) left / 30px 100%,
    repeating-linear-gradient(-45deg, transparent 0 7px, currentColor 7px 9px, transparent 9px 15px) left / 30px 100%;
  opacity: .9;
}

.link-hero .link-trim { margin-inline: -16px; }

.link-crest {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: clamp(12px, 4vw, 27px);
  margin: clamp(14px, 2.8vw, 26px) auto 8px;
  color: var(--gold-light);
}

.link-crest img {
  width: auto;
  height: clamp(83px, 17vw, 112px);
  object-fit: contain;
  filter: sepia(.3) saturate(1.15);
}

.link-pyramids {
  position: relative;
  width: clamp(47px, 15vw, 98px);
  height: 37px;
  margin-bottom: 10px;
  border-bottom: 1px solid #c59b50;
}

.link-pyramids::before, .link-pyramids::after {
  position: absolute;
  bottom: 0;
  content: "";
  border-top: 1px solid;
  border-left: 1px solid;
  rotate: 45deg;
  transform-origin: bottom left;
}

.link-pyramids::before { left: 16%; width: 26px; height: 26px; }
.link-pyramids::after { left: 43%; width: 18px; height: 18px; color: #c59b50; }
.link-pyramids:last-child { scale: -1 1; }

h1 {
  margin: 0;
  font: 700 clamp(1.52rem, 6.6vw, 2.75rem)/1.1 Georgia, serif;
  letter-spacing: .045em;
  text-transform: uppercase;
  text-wrap: balance;
}

.link-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 12px;
  font: italic clamp(1rem, 4vw, 1.34rem)/1.25 Georgia, serif;
}

.link-tagline::before, .link-tagline::after {
  width: clamp(10px, 5vw, 38px);
  height: 1px;
  background: var(--gold-rule);
  content: "";
}

.link-location {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #f1dfc4;
  font-size: .95rem;
}

.link-location svg, .link-action svg, .link-details svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-location svg { color: var(--gold-light); width: 1rem; height: 1rem; }

.link-content {
  width: min(100%, 40rem);
  margin: 0 auto auto;
  padding: clamp(26px, 6vw, 44px) clamp(16px, 5vw, 32px) clamp(28px, 5vw, 38px);
}

.link-actions {
  display: grid;
  gap: 12px;
}

.link-action {
  display: grid;
  grid-template-columns: 1.8rem 1fr auto;
  align-items: center;
  gap: clamp(9px, 3vw, 17px);
  min-height: 57px;
  padding: 10px clamp(12px, 4vw, 22px);
  border: 1px solid var(--gold-edge);
  border-radius: 50px;
  background: #fff9ef;
  box-shadow: 0 3px 7px #573a1a1b, inset 0 1px #fff;
  text-decoration: none;
  font-size: clamp(1.05rem, 4.2vw, 1.37rem);
  font-weight: 650;
}

.link-action svg { width: 1.56rem; height: 1.56rem; }
.link-action:hover { background: #f3e3c8; }
.link-arrow { color: var(--gold-dark); font-size: 1.45rem; line-height: 1; }

.link-action--primary, .link-socials a {
  border-color: #b48946;
  background: linear-gradient(#29231c, var(--ink));
  color: var(--paper);
  box-shadow: 0 3px 8px #573a1a29, inset 0 1px #e9c27c55;
}

.link-action--primary:hover, .link-socials a:hover { background: #423120; }
.link-action--primary .link-arrow { color: var(--gold-light); }

.link-divider {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 18px 7px 15px;
  color: var(--gold-dark);
}

.link-divider::before, .link-divider::after {
  flex: 1;
  height: 1px;
  background: var(--gold-rule);
  content: "";
}

.link-ankh {
  position: relative;
  width: 1px;
  height: 25px;
  border-left: 2px solid;
}

.link-ankh::before {
  position: absolute;
  top: 0;
  left: -6px;
  width: 7px;
  height: 10px;
  border: 2px solid;
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.link-ankh::after {
  position: absolute;
  top: 13px;
  left: -9px;
  width: 16px;
  border-top: 2px solid;
  content: "";
}

.link-socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, 1.7vw, 10px);
}

.link-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 1.2vw, 7px);
  min-height: 44px;
  padding: 5px 3px;
  border: 1px solid #b48946;
  border-radius: 50px;
  text-decoration: none;
  font-size: clamp(.75rem, 3.2vw, .94rem);
  font-weight: 600;
}

.link-socials svg {
  flex: none;
  width: clamp(.86rem, 3.7vw, 1.2rem);
  height: clamp(.86rem, 3.7vw, 1.2rem);
  fill: currentColor;
}

.link-details {
  display: grid;
  gap: 1px;
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  font-size: clamp(.875rem, 3.6vw, .98rem);
  font-style: normal;
  line-height: 1.4;
}

.link-details > * {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding-block: 3px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.link-details svg { color: var(--gold-dark); }
.link-details a:hover { text-decoration: underline; }

.phone-dialog {
  width: min(26rem, calc(100% - 2rem));
  padding: 24px 20px 16px;
  border: 1px solid var(--gold-edge);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 48px #17141133;
}

.phone-dialog::backdrop { background: #17141199; }

.phone-dialog h2 {
  margin: 0 44px 6px 0;
  font: 700 1.25rem/1.2 Georgia, serif;
}

.phone-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: 1.5rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.phone-close:hover { background: #f3e3c8; }
.phone-close:focus-visible, .phone-actions button:focus-visible {
  outline: 3px solid #755012;
  outline-offset: 2px;
}

.phone-number {
  width: fit-content;
  margin: 0 0 18px;
  user-select: all;
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-actions .link-action {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 44px;
  padding: 8px;
  font: 650 .95rem/1.25 "Segoe UI", system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
}

.phone-status {
  min-height: 1.25em;
  margin: 10px 0 0;
  font-size: .875rem;
}

.link-trim--foot {
  height: 12px;
  color: var(--gold-edge);
}

@media (min-width: 768px) {
  .link-hero { --hero-arc: ellipse(145% 100% at 50% 0); }

  .link-hero .link-trim, .link-trim--foot {
    width: min(100%, 46rem);
    margin-inline: auto;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  }
}

@media (max-width: 350px) {
  .link-socials a { flex-direction: column; gap: 2px; }
}
