:root {
  color-scheme: light;
  --ink: #111111;
  --secondary: #595959;
  --subtle: #858585;
  --line: #d9d9d9;
  --paper: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow: hidden; background: var(--paper); color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.site-shell { display: flex; flex-direction: column; width: min(100%, 1600px); height: 100vh; height: 100dvh; margin: auto; padding: 0 clamp(24px, 5vw, 88px); }
.site-header { display: flex; flex: none; align-items: center; justify-content: space-between; height: clamp(56px, 8vh, 86px); border-bottom: 1px solid var(--line); }
.wordmark { font-size: 16px; font-weight: 700; letter-spacing: -.045em; text-decoration: none; }
.status, .eyebrow, .announcement-label, .small-note, .frame-top, .frame-bottom, .photo-tag, .quote-card a, .site-footer { font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.status { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.status-light { width: 7px; height: 7px; background: var(--ink); border-radius: 50%; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr); align-items: center; flex: 1; min-height: 0; gap: clamp(36px, 6vw, 100px); padding: clamp(16px, 3vh, 42px) 0; }
.hero-copy { animation: rise-in .7s both; }
.eyebrow { display: flex; gap: 12px; color: var(--secondary); white-space: nowrap; }
.eyebrow span { color: #b4b4b4; }
h1 { margin: clamp(20px, 3vh, 40px) 0 clamp(14px, 2vh, 24px); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(58px, 6.1vw, 102px); font-weight: 500; line-height: 1.08; letter-spacing: -.065em; white-space: nowrap; }
h1 em { font-weight: 500; }
.intro { max-width: 510px; margin: 0 0 clamp(18px, 2.7vh, 34px); color: var(--secondary); font-size: clamp(14px, 1.1vw, 17px); line-height: 1.65; }
.intro strong { color: var(--ink); font-weight: 700; }
.announcement { max-width: 500px; padding: clamp(13px, 2vh, 22px) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.announcement > div { display: flex; flex-direction: column; gap: 7px; }
.announcement-label { color: var(--subtle); }
.announcement-text { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.progress-track { position: relative; display: block; overflow: hidden; width: min(100%, 280px); height: 2px; margin-top: 6px; background: #e6e6e6; }
.progress-fill { position: absolute; top: 0; left: 0; display: block; width: 35%; height: 100%; background: var(--ink); animation: progress 3s ease-in-out infinite alternate; }
.small-note { margin-top: 14px; color: var(--subtle); font-weight: 500; letter-spacing: .02em; text-transform: none; }

.visual-column { width: 100%; max-width: 600px; justify-self: end; animation: rise-in .7s .15s both; }
.photo-frame { border-top: 1px solid var(--ink); }
.frame-top, .frame-bottom { display: flex; align-items: center; justify-content: space-between; color: var(--secondary); }
.frame-top { min-height: 32px; }
.photo-wrap { position: relative; overflow: hidden; height: min(37vw, calc(100dvh - 315px), 570px); min-height: 180px; background: #d6d6d6; }
.photo-wrap img { position: absolute; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: opacity .35s ease, transform .7s ease; }
.photo-wrap.is-changing img { opacity: .45; transform: scale(1.02); }
.photo-shade { position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.68) 100%); }
.photo-overlay { position: absolute; z-index: 3; bottom: 28px; left: 30px; display: flex; flex-direction: column; gap: 5px; color: #fff; }
.photo-tag { color: #e5e5e5; }
.photo-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(35px, 3vw, 53px); font-style: italic; letter-spacing: -.06em; }
.photo-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--ink); font-size: 13px; }
.photo-wrap.has-error .photo-fallback { display: flex; }
.photo-wrap.has-error img, .photo-wrap.has-error .photo-overlay { display: none; }
.fallback-ears { font-size: 55px; line-height: .6; }
.fallback-face { font-size: 40px; }
.frame-bottom { min-height: 42px; border-bottom: 1px solid var(--line); }
.frame-bottom button { border: 0; padding: 10px 0; background: transparent; color: var(--ink); font: inherit; letter-spacing: inherit; cursor: pointer; }
.frame-bottom button:hover { text-decoration: underline; text-underline-offset: 4px; }
.frame-bottom button span { margin-left: 6px; font-size: 16px; vertical-align: -1px; }
.frame-bottom button:disabled { opacity: .5; cursor: wait; }

.quote-card { display: flex; align-items: flex-start; gap: 15px; padding: 14px 0 0; color: var(--ink); }
.quote-mark { font-family: 'Playfair Display', Georgia, serif; font-size: 58px; line-height: .7; }
.quote-card blockquote { margin: 0 0 11px; font: italic 500 clamp(20px, 1.5vw, 26px)/1.35 'Playfair Display', Georgia, serif; }
.quote-card a { color: var(--subtle); text-decoration: none; }
.quote-card a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.site-footer { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 24px; height: clamp(36px, 6vh, 62px); border-top: 1px solid var(--line); color: var(--subtle); font-size: 9px; }

@keyframes progress { from { transform: translateX(0); } to { transform: translateX(185%); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 32px; }
  h1 { font-size: clamp(52px, 5.8vw, 74px); }
  .eyebrow { font-size: 8px; gap: 7px; }
}
@media (max-width: 820px) {
  .site-header { height: 62px; }
  .hero { grid-template-columns: 1fr; align-content: center; gap: 14px; padding: 14px 0; }
  h1 { margin: 20px 0 14px; font-size: clamp(48px, 7vw, 68px); }
  .intro { max-width: 650px; margin-bottom: 18px; }
  .announcement { padding: 12px 0; }
  .small-note { margin-top: 10px; }
  .visual-column { max-width: none; justify-self: stretch; }
  .photo-wrap { height: min(32dvh, 340px); min-height: 0; }
  .quote-card { padding-top: 10px; }
  .site-footer { height: 42px; }
}
@media (max-width: 820px) and (max-height: 850px) {
  .site-header { height: 56px; }
  .hero { padding: 10px 0; }
  h1 { font-size: clamp(40px, 6vw, 54px); margin: 12px 0 10px; }
  .intro { margin-bottom: 12px; line-height: 1.45; }
  .announcement { padding: 8px 0; }
  .small-note { display: none; }
  .photo-wrap { height: min(24dvh, 250px); }
  .quote-card blockquote { font-size: 19px; }
  .site-footer { height: 36px; }
}
@media (max-width: 520px) {
  .site-shell { padding: 0 20px; }
  .site-header { height: 56px; }
  .wordmark { font-size: 15px; }
  .status { font-size: 8px; letter-spacing: .04em; }
  .hero { gap: 12px; padding: 10px 0; }
  .eyebrow { font-size: 8px; letter-spacing: .02em; }
  h1 { margin: 12px 0 10px; font-size: clamp(43px, 10.5vw, 54px); white-space: normal; }
  .intro { margin-bottom: 12px; font-size: 13px; line-height: 1.45; }
  .announcement { padding: 8px 0; }
  .announcement-label { font-size: 8px; }
  .announcement-text { font-size: 12px; }
  .progress-track { margin-top: 2px; }
  .small-note { display: none; }
  .frame-top { min-height: 24px; font-size: 8px; }
  .photo-wrap { height: min(34dvh, 290px); }
  .photo-overlay { left: 18px; bottom: 15px; }
  .photo-title { font-size: 31px; }
  .photo-tag { font-size: 8px; }
  .frame-bottom { min-height: 36px; gap: 10px; }
  .frame-bottom > span { font-size: 8px; }
  .frame-bottom button { font-size: 9px; }
  .quote-card { gap: 9px; padding-top: 8px; }
  .quote-mark { font-size: 42px; }
  .quote-card blockquote { margin-bottom: 5px; font-size: 18px; }
  .quote-card a { font-size: 8px; }
  .site-footer { height: 32px; font-size: 8px; }
  .site-footer span:last-child { display: none; }
}
@media (max-width: 520px) and (max-height: 740px) {
  .site-header { height: 52px; }
  .eyebrow, .announcement { display: none; }
  .hero { gap: 10px; padding: 8px 0; }
  h1 { margin: 0 0 8px; }
  .intro { margin: 0; }
  .photo-wrap { height: 33dvh; }
}
@media (max-width: 520px) and (max-height: 620px) {
  h1 { font-size: 40px; line-height: 1; }
  .frame-top { display: none; }
  .photo-wrap { height: 28dvh; }
  .quote-card blockquote { font-size: 16px; }
}
@media (max-width: 520px) and (max-height: 500px) {
  .site-header { height: 44px; }
  .site-footer { display: none; }
  .hero { gap: 8px; padding: 6px 0; }
  h1 { font-size: 36px; }
  .intro { font-size: 12px; line-height: 1.3; }
  .photo-wrap { height: 26dvh; }
  .frame-bottom { min-height: 28px; }
  .frame-bottom > span { display: none; }
  .quote-card blockquote { font-size: 15px; }
}
@media (max-width: 820px) and (min-width: 521px) and (max-height: 650px) {
  .site-header { height: 44px; }
  .site-footer { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 18px; padding: 8px 0; }
  .eyebrow, .announcement, .small-note { display: none; }
  h1 { margin: 0 0 10px; font-size: clamp(31px, 4.4vw, 42px); white-space: normal; }
  .intro { margin: 0; font-size: 11px; line-height: 1.35; }
  .frame-top { min-height: 20px; font-size: 8px; }
  .photo-wrap { height: min(40dvh, 220px); }
  .frame-bottom { min-height: 28px; }
  .frame-bottom > span { display: none; }
  .quote-card { padding-top: 5px; }
  .quote-mark { font-size: 34px; }
  .quote-card blockquote { margin-bottom: 2px; font-size: 15px; }
  .quote-card a { font-size: 8px; }
}
@media (min-width: 821px) and (max-height: 600px) {
  .site-header { height: 44px; }
  .site-footer { display: none; }
  .hero { padding: 8px 0; }
  h1 { margin: 8px 0; font-size: clamp(36px, 4vw, 50px); }
  .intro { margin-bottom: 10px; font-size: 12px; line-height: 1.4; }
  .announcement { padding: 8px 0; }
  .progress-track, .small-note { display: none; }
  .frame-top { min-height: 22px; }
  .photo-wrap { height: min(35dvh, 220px); min-height: 0; }
  .frame-bottom { min-height: 28px; }
  .quote-card { padding-top: 6px; }
  .quote-mark { font-size: 36px; }
  .quote-card blockquote { margin-bottom: 2px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
