:root {
  color-scheme: dark;
  --navy: #101521;
  --ivory: #f7f4ee;
  --muted: #c4ccda;
  --gold: #d7a964;
  --gold-light: #edc98f;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; min-width: 320px; margin: 0; overflow: hidden; }

body {
  background: var(--navy);
  color: var(--ivory);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.landing { width: 100%; height: 100vh; height: 100svh; overflow: hidden; }

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

/* The blurred layer fills unusual aspect ratios; the sharp foreground always shows the full artwork. */
.hero::before {
  position: absolute;
  z-index: 0;
  inset: -18px;
  content: "";
  background: linear-gradient(0deg, rgba(8, 13, 22, .76), rgba(8, 13, 22, .16)),
    url("../images/adriano-parreira-hero-2560x1440.png") center / cover no-repeat;
  filter: blur(12px);
  transform: scale(1.025);
}

.hero-art {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.mobile-intro { display: none; }

.contact-panel {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 5.6vw, 144px);
  bottom: clamp(16px, 4vh, 58px);
  width: min(57vw, 1180px);
  margin: 0;
  padding: clamp(15px, 1.7vw, 26px);
  border: 1px solid rgba(215, 169, 100, .78);
  border-radius: 16px;
  background: linear-gradient(115deg, rgba(12, 20, 32, .97), rgba(14, 21, 32, .94));
  box-shadow: 0 18px 56px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
}

.contact-eyebrow {
  margin: 0 0 5px;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.contact-panel h1 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
}

.contact-prompt {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: clamp(.8rem, .95vw, .98rem);
  line-height: 1.4;
}

.contact-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.contact-option {
  display: flex;
  min-width: 0;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(220, 226, 235, .2);
  border-radius: 11px;
  background: rgba(255, 255, 255, .055);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.contact-option:hover, .contact-option:focus-visible {
  border-color: var(--gold);
  background: rgba(215, 169, 100, .14);
  transform: translateY(-2px);
}

.contact-option:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.contact-icon { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: var(--gold-light); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.option-copy { display: grid; min-width: 0; gap: 3px; }
.option-label { color: var(--gold-light); font-size: .76rem; font-weight: 700; letter-spacing: .025em; }
.option-value { overflow: hidden; color: var(--ivory); font-size: clamp(.72rem, .9vw, .9rem); text-overflow: ellipsis; white-space: nowrap; }
.option-arrow { margin-left: auto; color: rgba(237, 201, 143, .85); font-size: 1rem; }

@media (min-width: 701px) and (max-width: 1000px) {
  .contact-panel { left: 4vw; width: min(88vw, 540px); }
  .contact-options { grid-template-columns: 1fr; gap: 7px; }
  .contact-option { min-height: 50px; }
  .option-value { font-size: .86rem; }
}

@media (max-height: 620px) and (min-width: 701px) {
  .contact-panel { width: min(72vw, 1050px); padding: 10px 14px; }
  .contact-eyebrow { display: none; }
  .contact-panel h1 { font-size: 1.25rem; }
  .contact-prompt { margin: 3px 0 7px; font-size: .78rem; }
  .contact-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .contact-option { min-height: 46px; padding: 7px 9px; }
  .contact-icon { width: 20px; height: 20px; flex-basis: 20px; }
  .option-label { font-size: .68rem; }
  .option-value { font-size: .73rem; }
}

@media (max-width: 700px), (orientation: portrait) {
  .landing, .hero { height: 100vh; height: 100svh; min-height: 0; }
  .hero { display: flex; flex-direction: column; justify-content: space-between; }
  .hero::before { display: none; }
  .hero-art { position: relative; inset: auto; flex: 1 1 0%; min-height: 0; width: 100%; height: auto; overflow: hidden; }
  .hero-art img { object-fit: cover; object-position: center 18%; }
  .mobile-intro { display: block; flex: 0 0 auto; padding: 8px 18px 9px; background: rgba(13, 20, 32, .98); }
  .mobile-intro h2 { margin: 0; color: var(--ivory); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.12rem, 5vw, 1.48rem); line-height: 1.15; }
  .mobile-intro p { margin: 5px 0 0; color: var(--muted); font-size: clamp(.76rem, 3.5vw, .88rem); line-height: 1.3; }
  .mobile-intro .mobile-specialty { color: var(--gold-light); }
  .contact-panel { position: relative; inset: auto; flex: 0 0 auto; width: 100%; margin: 0; padding: 10px 16px max(12px, env(safe-area-inset-bottom)); border: 0; border-top: 1px solid rgba(215, 169, 100, .62); border-radius: 0; background: linear-gradient(180deg, #121a28 0%, #0d1420 100%); box-shadow: none; backdrop-filter: none; }
  .contact-eyebrow { margin-bottom: 2px; font-size: .61rem; }
  .contact-panel h1 { font-size: 1.24rem; }
  .contact-prompt { margin: 3px 0 8px; font-size: .78rem; }
  .contact-options { grid-template-columns: 1fr; gap: 5px; }
  .contact-option { min-height: 44px; gap: 9px; padding: 6px 10px; border-radius: 8px; }
  .contact-icon { width: 20px; height: 20px; flex-basis: 20px; }
  .option-copy { display: flex; align-items: baseline; gap: 8px; }
  .option-label { flex: 0 0 auto; font-size: .72rem; }
  .option-value { font-size: clamp(.75rem, 3.4vw, .86rem); }
  .option-arrow { font-size: .9rem; }
}

@media (max-height: 640px) and (max-width: 700px) {
  .mobile-intro { padding: 5px 14px 6px; }
  .mobile-intro h2 { font-size: 1.08rem; }
  .mobile-intro p { margin-top: 3px; font-size: .72rem; }
  .mobile-intro > p:last-child { display: none; }
  .contact-panel { padding: 7px 14px max(8px, env(safe-area-inset-bottom)); }
  .contact-eyebrow { display: none; }
  .contact-panel h1 { font-size: 1.08rem; }
  .contact-prompt { margin: 2px 0 5px; font-size: .69rem; }
  .contact-option { min-height: 38px; padding: 4px 8px; }
}

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