:root {
  color: #263b35;
  background: #f5f2e9;
  font-family: Manrope, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-block-size: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
}

.link-card {
  inline-size: min(100%, 1056px);
  min-block-size: 568px;
  border: 1px solid #aeb9ae;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .88fr);
  grid-template-areas: "panel portrait";
}

.portrait { grid-area: portrait; position: relative; background: #e7e4d8; }
.portrait img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; display: block; }

.link-panel { grid-area: panel; min-inline-size: 0; padding: clamp(26px, 4vw, 56px); }

.link-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.link-header img { display: block; }

.language {
  display: grid;
  place-items: center;
  min-block-size: 44px;
  min-inline-size: 44px;
  border: 1px solid #aeb9ae;
  color: inherit;
  text-decoration: none;
  font-size: .875rem;
  letter-spacing: .06em;
}

.link-intro { margin: 36px 0 30px; }

h1 {
  font: 400 clamp(3rem, 6.6vw, 5.15rem)/.94 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -.042em;
  margin: 0;
}

h1 em { color: #536957; display: block; }
.link-intro p { margin: 17px 0 0; font-size: 1rem; line-height: 1.5; }

.destinations { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.destination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 15px 17px;
  border: 1px solid #aeb9ae;
  color: inherit;
  min-block-size: 58px;
  text-decoration: none;
}
.destination-name { font-size: 1rem; font-weight: 650; }
.destination-address { color: #4e6256; font-size: .875rem; }
.destinations li:first-child .destination { color: #f5f2e9; background: #263b35; border-color: #263b35; }
.destinations li:first-child .destination-address { color: #e3dfd1; }
.destination:hover, .language:hover { background: #e5e9e0; border-color: #536957; }
.destinations li:first-child .destination:hover { background: #344a42; }
a:focus-visible { outline: 2px solid #8c7039; outline-offset: 3px; }
.destination:active, .language:active { box-shadow: inset 0 0 0 1px currentColor; }

@media (max-width: 730px) {
  body { padding: 18px; align-items: start; }
  .link-card { max-inline-size: 480px; min-block-size: auto; display: block; position: relative; }
  .link-panel { padding: 20px 20px 23px; }
  .portrait { position: absolute; inset-block-start: 88px; inset-inline-end: 20px; width: clamp(60px, 21vw, 92px); aspect-ratio: 4 / 5; }
  .link-intro { padding-inline-end: min(26vw, 109px); margin: 23px 0 23px; min-block-size: 112px; }
  h1 { font-size: clamp(2.25rem, 10vw, 3.6rem); }
  .link-intro p { margin-top: 12px; }
  .destination { align-items: flex-start; flex-direction: column; min-block-size: 68px; padding: 11px 13px; }
}

@media (max-width: 355px) {
  body { padding: 12px; }
  .link-panel { padding-inline: 16px; }
  .portrait { inset-inline-end: 16px; }
}
