:root {
  --black: #0a0a0a;
  --white: #fff;
  --gray: #d9d9d7;
  --muted: #b7b7b7;
  --shell: 86rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: #111;
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header { background: var(--white); }
.header-inner { display: flex; align-items: center; min-height: clamp(5.25rem, 9vw, 7rem); }
.brand { display: inline-block; }
.brand img { width: clamp(15rem, 28vw, 23.4375rem); height: auto; }

.gateway {
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(5rem, 9vw, 9rem);
  color: var(--white);
  background: var(--black);
}

.gateway h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 4.35rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.intro {
  max-width: 52rem;
  margin: 1.35rem 0 clamp(2.75rem, 5vw, 4.5rem);
  color: #d2d2d2;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.gateway-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3.5vw, 3.75rem); }
.gateway-item { display: flex; flex-direction: column; align-items: flex-start; }
.gateway-item h2 { margin: 0 0 1rem; font-size: clamp(1.75rem, 2.35vw, 2.25rem); font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
.gateway-item h2 a { text-decoration: none; }
.gateway-item h2 a:hover, .gateway-item h2 a:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
.image-link { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.image-link img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .45s ease; }
.image-link img { height: 100%; }
.image-link:hover img { transform: scale(1.018); }
.gateway-item p { margin: 1.4rem 0 1.7rem; color: #d3d3d3; font-size: clamp(1.05rem, 1.2vw, 1.18rem); line-height: 1.65; }
.gateway-item .button { margin-top: auto; }

.button {
  display: inline-flex;
  gap: .85rem;
  align-items: center;
  padding: .8rem 0 .55rem;
  border-bottom: 1px solid currentColor;
  font-size: .83rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .095em;
  text-decoration: none;
  text-transform: uppercase;
}

.button span { transition: transform .2s ease; }
.button:hover span, .button:focus-visible span { transform: translateX(.3rem); }
.button-light { color: var(--white); }
.button-dark { color: #111; }

.feature-button {
  padding: 1rem 1.25rem;
  border: 1px solid currentColor;
  transition: color .2s ease, background-color .2s ease;
}

.feature-antiques .feature-button:hover,
.feature-antiques .feature-button:focus-visible,
.feature-art .feature-button:hover,
.feature-art .feature-button:focus-visible {
  color: var(--white);
  background: var(--black);
}

.feature-design .feature-button:hover,
.feature-design .feature-button:focus-visible {
  color: var(--black);
  background: var(--white);
}

.feature { padding: 6.25rem 0; }
.feature-grid { display: flex; gap: clamp(2rem, 4vw, 4rem); align-items: flex-start; }
.feature-media { flex: 1.05 1 0; min-width: 0; }
.feature-image { display: block; width: 100%; height: auto; }
.feature-grid-reverse .feature-media { order: 2; }
.feature-grid-reverse .feature-copy { order: 1; }
.feature-copy { flex: .95 1 0; min-width: 18rem; max-width: 35rem; }
.eyebrow { margin: 0 0 .75rem; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.feature h2 { margin: 0 0 1.25rem; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.feature-copy > p:not(.eyebrow) { margin: 0 0 1.25rem; font-size: clamp(1.05rem, 1.35vw, 1.18rem); }
.feature-copy > p:not(.eyebrow):last-of-type { margin-bottom: 2rem; }
.feature-antiques { background: var(--white); }
.feature-art { background: var(--gray); }
.feature-design { color: var(--white); background: var(--black); }
.feature-design .eyebrow, .feature-design .feature-copy > p { color: #ccc; }

.site-footer { padding: 2.1rem 0; background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-footer p { margin: 0; font-size: .8rem; letter-spacing: .035em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a, .privacy-choices { font-size: .8rem; letter-spacing: .035em; text-underline-offset: .2em; }
.privacy-choices {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.consent-banner {
  position: fixed;
  z-index: 1000;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  width: min(100% - 2.5rem, 62rem);
  margin-inline: auto;
  padding: 1.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--white);
  background: var(--black);
  border: 1px solid #4a4a4a;
}

.consent-banner[hidden] { display: none; }
.consent-copy { max-width: 42rem; }
.consent-copy h2 { margin: 0 0 .35rem; font-size: 1rem; line-height: 1.25; }
.consent-copy p { margin: 0; color: #d3d3d3; font-size: .9rem; line-height: 1.5; }
.consent-copy a { color: var(--white); text-underline-offset: .2em; }
.consent-actions { display: flex; flex: 0 0 auto; gap: .65rem; }
.consent-button {
  min-height: 2.75rem;
  padding: .7rem 1rem;
  border: 1px solid var(--white);
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}
.consent-decline { color: var(--white); background: transparent; }
.consent-accept { color: var(--black); background: var(--white); }
.consent-button:hover, .consent-button:focus-visible { outline: 2px solid #5a9ee8; outline-offset: 2px; }

.legal-main { padding: clamp(4rem, 8vw, 7rem) 0; background: #f5f5f3; }
.legal-content { max-width: 52rem; }
.legal-kicker { margin: 0 0 .75rem; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.legal-content h1 { margin: 0 0 1rem; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.legal-updated { margin: 0 0 3rem; color: #606060; font-size: .9rem; }
.legal-content h2 { margin: 2.5rem 0 .75rem; font-size: 1.35rem; line-height: 1.25; }
.legal-content p, .legal-content li { font-size: 1.03rem; }
.legal-content ul { padding-left: 1.25rem; }
.legal-content a { text-underline-offset: .2em; }
.legal-back { display: inline-block; margin-top: 3rem; font-weight: 700; }

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

@media (max-width: 68rem) {
  .gateway h1 { white-space: normal; }
  .gateway-grid { grid-template-columns: 1fr; gap: 4.5rem; }
  .gateway-item { max-width: 38rem; }
  .feature-grid { flex-direction: column; gap: .75rem; }
  .feature-media { flex: none; width: 100%; }
  .feature-grid-reverse .feature-media, .feature-grid-reverse .feature-copy { order: initial; }
  .feature-copy { flex: none; width: 100%; min-width: 0; max-width: 42rem; }
}

@media (max-width: 36rem) {
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .consent-banner { align-items: stretch; flex-direction: column; }
  .consent-actions { width: 100%; }
  .consent-button { flex: 1; }
}

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