.home-page {
  --home-ink: #293e33;
  --home-tool-ink: #24392e;
  --home-accent: #8b513e;
  background: #d7dacb;
}
.home-wash {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(238,234,221,.96), rgba(238,234,221,.76) 24%, transparent 58%),
    linear-gradient(180deg, #eeeaddb3, transparent 22%, transparent 80%, #eeeaddb3);
}
.home-header {
  position: absolute; top: 32px; left: 42px; right: 42px; z-index: 8;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.home-brand {
  display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none;
  color: var(--home-ink); font: 20px/1.2 var(--serif); letter-spacing: 3px;
}
.home-mark { width: 30px; height: 36px; object-fit: contain; }
.home-brand small { display: block; font: 10px/1.2 Georgia,serif; letter-spacing: 1.5px; margin-top: 4px; }
.home-header nav { display: flex; align-items: center; gap: 26px; color: var(--home-tool-ink); }
.home-header nav button, .home-header #home-x {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 9px 0; border: 0; background: none; color: inherit;
  text-decoration: none; font-size: 13px; letter-spacing: 1px; position: relative;
}
.home-header nav svg { width: 19px; height: 19px; stroke-width: 1.25; }
.home-header #home-x { min-width: 44px; gap: 3px; }
.link-arrow { font-size: 13px; opacity: .65; }
.home-header nav button::after {
  content: ''; position: absolute; height: 1px; left: 29px; right: 0; bottom: 6px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.home-header nav button:hover::after, .home-header nav button:focus-visible::after { transform: scaleX(1); }
.home-header #home-x:hover .link-arrow { opacity: 1; }
.home-intro { position: absolute; z-index: 3; left: 6%; top: 25%; pointer-events: none; color: var(--home-ink); }
.home-intro>* { pointer-events: auto; }
.home-kicker { font: 11px var(--sans); letter-spacing: 5px; }
.home-intro h1 { font: clamp(38px,4.3vw,70px)/1.45 var(--serif); color: var(--home-ink); letter-spacing: 3px; margin: 22px 0; }
.home-intro p { color: #526150; line-height: 2.1; }
.home-entry-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; }
.home-entry-row .home-enter { margin-top: 0; }
.home-enter {
  text-decoration: none;
  display: inline-flex; justify-content: flex-start; align-items: center; gap: 10px; width: auto;
  min-height: 56px; margin-top: 0; padding: 12px 0; background: none;
  border-bottom: 1px solid #5d715b80; color: var(--home-ink); font: 21px var(--serif); letter-spacing: 5px;
}
.home-enter svg { flex: none; width: 24px; height: 16px; stroke-width: 1; transition: transform .25s ease; }
.home-enter:hover { border-bottom-color: var(--home-accent); color: var(--home-accent); }
.home-enter:hover svg { transform: translateX(2px); }
.home-intro .home-note { font-size: 10px; letter-spacing: .4px; margin-top: 14px; color: #60705e; }
.home-season { display: block; margin-top: 16px; color: var(--home-ink); text-underline-offset: 6px; }
.home-weather { position: absolute; right: 42px; bottom: 80px; z-index: 3; display: flex; gap: 18px; color: var(--home-tool-ink); }
.home-weather button {
  position: relative; padding: 11px 3px 17px; min-width: 40px; min-height: 44px;
  font: 14px var(--serif); letter-spacing: 2px; background: none; color: inherit;
}
.home-weather button::after {
  content: ''; position: absolute; bottom: 5px; left: calc(50% - 2px); width: 4px; height: 4px;
  border-radius: 50%; background: currentColor; opacity: 0; transform: translateY(3px);
  transition: opacity .2s ease, transform .2s ease;
}
.home-weather button:hover::after { opacity: .45; transform: none; }
.home-weather button[aria-pressed=true] { color: var(--home-accent); }
.home-weather button[aria-pressed=true]::after { opacity: 1; transform: none; }
.home-camera {
  position: absolute; right: 42px; bottom: 142px; display: flex; align-items: center;
  gap: 16px; z-index: 3; color: var(--home-tool-ink);
}
.home-camera button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 0;
  min-height: 44px; min-width: 36px; background: none; color: inherit; font-size: 12px; letter-spacing: 1px;
}
.home-camera button:hover { color: var(--home-accent); }
.home-camera svg { width: 18px; height: 18px; stroke-width: 1.2; }
.camera-divider { height: 12px; width: 1px; background: currentColor; opacity: .25; margin: 0 2px; }
.home-caption {
  position: absolute; bottom: 28px; left: 42px; right: 42px; z-index: 3; display: flex;
  justify-content: space-between; color: #4f614b; font-size: 10px; letter-spacing: 2px; pointer-events: none;
}
.home-page[data-time=dusk] { --home-ink: #eee9d9; --home-tool-ink: #efe9d6; --home-accent: #f2ce99; }
.home-page[data-time=dusk] .home-enter { border-bottom-color: #e9e2cd60; }
.home-page[data-time=dusk] .home-mark { filter: brightness(0) invert(1) sepia(.4); opacity: .85; }
.home-page[data-time=dusk] .home-intro p { color: #d0d2c6; }
.home-page[data-time=dusk] .home-intro .home-note { color: #b4bdae; }
.home-page[data-time=dusk] .home-wash {
  background: linear-gradient(90deg, #101b29ed, #101b29b0 24%, transparent 58%),
    linear-gradient(180deg, #101d2659, transparent 22%, transparent 80%, #101d2659);
}
.home-page[data-time=dusk] .home-caption { color: #c6cdbc; }
.home-page.walk-mode .home-intro, .home-page.walk-mode .home-weather, .home-page.walk-mode .home-camera,
.home-page.walk-mode .home-caption, .home-page.walk-mode .home-header, .home-page.walk-mode .home-wash { display: none; }
.home-page #labels { display: none; }
.home-page dialog { max-width: min(420px,90vw); padding: 32px; background: #f4f0e5; border: 1px solid #a5ad99; color: #304034; }
.home-page dialog p { line-height: 1.9; }
.home-page dialog::backdrop { background: #17271a70; }
.dialog-close { float: right; font-size: 25px; }
.home-page #loading { background: #eeeaddec; }
@media(max-width:700px) {
  .home-header { top: 20px; left: 20px; right: 20px; gap: 12px; }
  .home-brand { font-size: 18px; gap: 8px; letter-spacing: 2px; }
  .home-mark { width: 26px; height: 32px; }
  .home-brand small { font-size: 9px; letter-spacing: 1.3px; }
  .home-header nav { gap: 10px; }
  .home-header nav button { font-size: 12px; gap: 7px; letter-spacing: 0; }
  .home-header #home-x { min-width: 32px; }
  .home-header .link-arrow { display: none; }
  .home-intro { top: 17%; left: 24px; }
  .home-intro h1 { font-size: 36px; line-height: 1.35; margin: 12px 0; letter-spacing: 2px; }
  .home-intro>p:not(.home-kicker):not(.home-note) { font-size: 12px; }
  .home-entry-row { max-width: calc(100vw - 48px); gap: 8px 24px; margin-top: 16px; }
  .home-enter { min-height: 48px; padding: 10px 0; font-size: 19px; letter-spacing: 3px; }
  .home-intro .home-note { max-width: 210px; font-size: 10px; letter-spacing: 0; }
  .home-weather { right: 20px; bottom: 62px; gap: 15px; }
  .home-weather button { padding-inline: 2px; font-size: 13px; }
  .home-camera { right: 20px; bottom: 117px; gap: 15px; }
  .home-camera button { gap: 6px; }
  .home-caption { left: 20px; right: 20px; bottom: 20px; font-size: 9px; letter-spacing: 0; }
  .home-page .home-wash { background: linear-gradient(180deg,#eeeaddf5,#eeeaddc9 38%,transparent 68%); }
  .home-page[data-time=dusk] .home-wash { background: linear-gradient(180deg,#101b29f5,#101b29c9 38%,transparent 68%); }
  .home-page[data-time=dusk] .home-caption { color: #efe9d6; }
}
@media(max-height:650px) and (min-width:701px) {
  .home-intro { top: 20%; }
  .home-intro h1 { font-size: 38px; margin: 12px 0; }
  .home-entry-row { margin-top: 14px; }
  .home-intro p { line-height: 1.7; }
}
@media(prefers-reduced-motion:reduce) {
  .home-page button, .home-enter svg, .home-header nav button::after, .home-weather button::after { transition: none; }
}
