:root {
  color-scheme: light;
  --ink: #1d3a36;
  --muted: #596761;
  --paper: #f4f5f0;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  height: 100%;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  background:
    radial-gradient(ellipse at 50% 33%, #fff 0%, #ffffff00 48%),
    radial-gradient(ellipse at 9% 92%, #cbd9ca66 0%, #cbd9ca00 53%),
    radial-gradient(ellipse at 94% 82%, #d7e4df73 0%, #d7e4df00 47%),
    linear-gradient(160deg, #f8f8f3, var(--paper) 55%, #e9eee7);
}

.page::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  left: 50%;
  top: 48%;
  border: 1px solid #5070640a;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 90px #ffffff0d, 0 0 0 180px #ffffff0b;
  pointer-events: none;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(24px, 3.3vw, 64px);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand span { font-size: 11px; font-weight: 650; letter-spacing: 0.15em; }
.brand-icon { flex: none; }
.masthead-note { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; }

.hero {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 0 24px;
  text-align: center;
}

.hero-content { width: 100%; transform: translateY(-8px); }

.watermark-art {
  position: relative;
  width: clamp(146px, 19vh, 200px);
  height: clamp(146px, 19vh, 200px);
  margin: 0 auto clamp(24px, 3.9vh, 42px);
}

.art-shadow {
  position: absolute;
  width: 110%;
  height: 18%;
  bottom: -12%;
  left: -5%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #234c3521 0%, #234c3500 68%);
  filter: blur(6px);
}

.parallax { width: 100%; height: 100%; transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0); }

.glass-stamp {
  position: relative;
  width: 100%;
  height: 100%;
  animation: stamp-float 12s ease-in-out infinite;
}

.glass-back {
  position: absolute;
  inset: 5% -9% -5% 9%;
  border: 1px solid #ffffffbd;
  border-radius: 24%;
  background: linear-gradient(140deg, #fff9, #b6cec21a 60%, #91b3a524);
  box-shadow: inset 0 0 0 1px #9ab3a52b, 5px 10px 24px #2857450a;
  transform: rotate(16deg);
}

.glass-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid #ffffffeb;
  border-radius: 24%;
  background: linear-gradient(138deg, #fffffff2 0%, #e3eee9bf 35%, #c3d9ce9c 67%, #f5faf5e8 100%);
  box-shadow:
    inset 2px 2px 3px #fff,
    inset -2px -2px 5px #48746533,
    inset 0 0 0 6px #ffffff38,
    0 14px 30px -12px #234e4438,
    0 2px 4px #5274650d;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-face::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #ffffff75;
  border-radius: calc(24% - 5px);
  pointer-events: none;
}

.glass-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, #fff0 20%, #ffffff6b 30%, #fff0 48%);
  pointer-events: none;
}

.glass-monogram { width: 63%; height: 63%; filter: drop-shadow(0 1px 0 #ffffffc2); }
.stamp-caption { position: absolute; bottom: 15%; font-size: 7px; font-weight: 600; letter-spacing: 0.2em; color: #45695c; }
.frame-corner { position: absolute; width: 12%; height: 12%; border: solid #7d9e8d80; }
.corner-tl { top: 17%; left: 17%; border-width: 1px 0 0 1px; border-top-left-radius: 3px; }
.corner-tr { top: 17%; right: 17%; border-width: 1px 1px 0 0; border-top-right-radius: 3px; }
.corner-bl { bottom: 17%; left: 17%; border-width: 0 0 1px 1px; border-bottom-left-radius: 3px; }
.corner-br { bottom: 17%; right: 17%; border-width: 0 1px 1px 0; border-bottom-right-radius: 3px; }

h1 {
  margin: 0;
  padding-right: 0.065em;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(64px, 10.4vw, 150px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.subtitle { margin: 24px 0 0; font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; line-height: 1.4; letter-spacing: -0.035em; }
.subtitle span { white-space: nowrap; }
.tagline { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; letter-spacing: 0.01em; }

.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  margin: 28px auto 0;
  padding: 8px 13px;
  border: 1px solid #51746024;
  border-radius: 100px;
  background: #ffffff59;
  color: #465d50;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.015em;
}

.status-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: #588467; animation: dot-breathe 4s ease-in-out infinite; }

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 17px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.contact span { text-decoration: underline; text-decoration-color: #1d3a3633; text-underline-offset: 4px; }
.contact:hover { background: #ffffff85; color: #376858; }
.contact:focus-visible { outline: 2px solid #376858; outline-offset: 4px; background: #ffffffb3; }

.footer { padding: 18px 24px 26px; text-align: center; }
.footer small { color: var(--muted); font-size: 10px; line-height: 1.5; letter-spacing: 0.09em; }

@keyframes stamp-float {
  0%, 100% { transform: translateY(0) rotate(-9deg); }
  50% { transform: translateY(-9px) rotate(-4deg); }
}

@keyframes dot-breathe {
  0%, 100% { box-shadow: 0 0 0 0 #58846700; }
  50% { box-shadow: 0 0 0 4px #58846712; }
}

@media (max-width: 600px) {
  .masthead { padding: 22px 24px; }
  .brand span { font-size: 10px; }
  .brand-icon { width: 24px; height: 24px; }
  .masthead-note { font-size: 8px; letter-spacing: 0.12em; }
  .hero { padding-inline: 22px; }
  .hero-content { transform: translateY(-8px); }
  .watermark-art { width: 146px; height: 146px; margin-bottom: 30px; }
  h1 { font-size: clamp(48px, 14.4vw, 86px); }
  .subtitle { max-width: 290px; margin: 22px auto 0; font-size: 18px; }
  .tagline { margin-top: 10px; font-size: 13px; }
  .status { margin-top: 25px; }
  .contact { margin-top: 14px; font-size: 13px; }
  .footer { padding: 14px 20px 24px; }
}

@media (max-height: 720px) {
  .masthead { padding-block: 18px; }
  .watermark-art { width: 112px; height: 112px; margin-bottom: 22px; }
  h1 { font-size: clamp(46px, 13.7vw, 100px); }
  .subtitle { margin-top: 16px; }
  .status { margin-top: 18px; }
  .contact { margin-top: 7px; }
  .footer { padding-block: 12px 18px; }
}

/* Keep every essential element visible on short landscape and compact screens. */
@media (max-height: 480px) {
  .masthead { padding: 12px 24px; }
  .brand-icon { width: 20px; height: 20px; }
  .hero-content { transform: none; }
  .watermark-art { width: 62px; height: 62px; margin-bottom: 10px; }
  .stamp-caption { font-size: 3px; }
  h1 { font-size: clamp(32px, 8vw, 54px); }
  .subtitle { max-width: none; margin-top: 10px; font-size: 14px; }
  .tagline { margin-top: 5px; font-size: 11px; }
  .status { margin-top: 10px; padding-block: 5px; font-size: 10px; }
  .contact { margin-top: 2px; font-size: 12px; }
  .footer { padding-block: 6px 10px; }
}

@media (max-height: 360px) and (min-width: 480px) {
  .hero-content {
    display: grid;
    grid-template-columns: 90px auto;
    grid-template-rows: repeat(5, auto);
    column-gap: 20px;
    align-items: center;
    width: max-content;
    max-width: 100%;
  }
  .watermark-art { grid-column: 1; grid-row: 1 / 6; width: 90px; height: 90px; margin: 0; }
  h1, .subtitle, .tagline, .status, .contact { grid-column: 2; }
  .subtitle { margin-top: 8px; }
  .status { margin-top: 8px; }
}

@media (max-height: 360px) and (max-width: 479px) {
  .masthead { padding-block: 8px; }
  .watermark-art { width: 48px; height: 48px; margin-bottom: 6px; }
  h1 { font-size: 36px; }
  .subtitle { margin-top: 6px; font-size: 12px; }
  .tagline { margin-top: 4px; }
  .status { margin-top: 6px; }
  .contact { margin-top: 0; }
  .footer { padding-block: 4px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .glass-stamp { animation: none; transform: rotate(-7deg); }
  .status-dot { animation: none; }
  .parallax { transform: none; }
  .contact { transition: none; }
}

@media (forced-colors: active) {
  .status { border-color: CanvasText; }
  .status-dot { background: CanvasText; }
  .contact:focus-visible { outline-color: Highlight; }
}
