:root {
  --paper: #f4f0e8;
  --ink: #171411;
  --sun: #ff5038;
  --sky: #2e72ff;
  --line: rgba(23, 20, 17, 0.26);
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, input { font: inherit; }

.site-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), 1540px);
  min-height: 68px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
  font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}
.site-header a { text-decoration: none; }
.site-header p { margin: 0; }

.sunset-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
  gap: 64px;
  width: min(calc(100% - 48px), 1540px);
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 44px 0 70px;
}
.hero-copy { display: flex; flex-direction: column; min-width: 0; }
.eyebrow {
  width: max-content;
  margin: 0;
  padding: 7px 9px;
  background: var(--sky);
  color: white;
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}
h1 {
  margin: 72px 0 52px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6rem;
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0;
}
h1 span { display: block; margin-top: 16px; color: var(--sun); font-style: italic; }
.hero-statement { max-width: 470px; margin: auto 0 0; font: 400 1.45rem/1.4 Georgia, "Times New Roman", serif; }

.cycle-viewer { min-width: 0; }
.artwork-stage {
  position: relative;
  width: min(100%, 690px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #171411;
}
.artwork-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
#media-status {
  position: absolute;
  right: 12px;
  bottom: 12px;
  margin: 0;
  padding: 7px 9px;
  background: var(--paper);
  font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}
.artwork-stage.is-loading img { opacity: 0.72; }
.cycle-console { padding: 20px 0; border-bottom: 1px solid var(--line); }
.cycle-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cycle-heading p, .cycle-heading strong { margin: 0; font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; }
.cycle-heading strong { color: var(--sun); font-size: 1.25rem; }
.cycle-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
.cycle-controls button { height: 44px; padding: 0; border: 1px solid var(--ink); border-radius: 0; background: transparent; cursor: pointer; }
.cycle-controls button:hover, .cycle-controls button:focus-visible { background: var(--sun); }
.cycle-controls input { width: 100%; accent-color: var(--sky); }
.cycle-toggle { display: flex; align-items: center; gap: 9px; margin-top: 13px; font: 700 9px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; }
.cycle-toggle input { width: 16px; height: 16px; accent-color: var(--sun); }
.source-links { display: flex; flex-wrap: wrap; gap: 14px 25px; margin-top: 22px; }
.source-links a { padding-bottom: 4px; border-bottom: 1px solid currentColor; font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-decoration: none; text-transform: uppercase; }
.source-links a:hover, .source-links a:focus-visible { background: var(--sky); color: white; }

.statement-band {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(360px, 0.85fr);
  gap: 100px;
  padding: 150px max(24px, calc((100vw - 1540px) / 2));
  background: var(--sun);
  color: var(--ink);
}
.statement-lead { max-width: 900px; margin: 0; font: 400 4.8rem/1 Georgia, "Times New Roman", serif; }
.statement-copy { align-self: end; max-width: 570px; }
.statement-copy p { margin: 0 0 22px; font-size: 15px; line-height: 1.7; }
.statement-copy p:last-child { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.project-notes { display: grid; grid-template-columns: 1fr 0.8fr; gap: 80px; width: min(calc(100% - 48px), 1540px); margin: 0 auto; padding: 120px 0; }
.project-notes h2 { max-width: 740px; margin: 0; font: 400 4rem/1 Georgia, "Times New Roman", serif; }
.project-notes div { max-width: 590px; }
.project-notes p { margin: 0 0 20px; color: #5d554e; font-size: 14px; line-height: 1.7; }
footer { display: flex; justify-content: space-between; width: min(calc(100% - 48px), 1540px); margin: 0 auto; padding: 28px 0 38px; border-top: 1px solid var(--ink); font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; }
footer p { margin: 0; }

@media (max-width: 1040px) {
  .sunset-hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 520px; }
  .artwork-stage { width: min(100%, 620px); }
  .statement-band, .project-notes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header { width: min(calc(100% - 28px), 1540px); }
  .site-header p { max-width: 150px; text-align: right; }
  .sunset-hero { width: min(calc(100% - 28px), 1540px); gap: 34px; padding-top: 26px; }
  .hero-copy { min-height: 410px; }
  h1 { margin-top: 54px; font-size: 3.8rem; }
  .hero-statement { font-size: 1.18rem; }
  .statement-band { gap: 50px; padding-block: 90px; }
  .statement-lead { font-size: 3rem; }
  .project-notes { width: min(calc(100% - 28px), 1540px); gap: 36px; padding: 80px 0; }
  .project-notes h2 { font-size: 2.8rem; }
  footer { width: min(calc(100% - 28px), 1540px); }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

