/* Warsaw Windows & Preservation — coming-soon page. Plain CSS, no build step. */

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #F5F2EB;
  --limestone-deep: #CBC0AD;
  --olive: #343D30;
  --olive-deep: #2A3227;
  --charcoal: #24231F;
  --bronze: #9C8060;       /* rules and accents only */
  --bronze-text: #6A533C;  /* bronze darkened for text (AA on ivory) */
  --mute: #5C574E;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --frame: clamp(10px, 2.2vw, 26px);
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Drawing-sheet frame: two fine rules, like a title block on an architectural plate */
.sheet {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: var(--frame);
  display: flex;
  flex-direction: column;
}
.sheet::before,
.sheet::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.sheet::before { inset: var(--frame); border: 1px solid var(--bronze); }
.sheet::after  { inset: calc(var(--frame) + 6px); border: 1px solid var(--limestone-deep); }

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.75rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
}

.stage picture {
  display: block;
  width: min(100%, 34rem);
}
.logo {
  display: block;
  width: 100%;
  height: auto;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--bronze);
}
.ornament .rule { display: block; width: clamp(6rem, 24vw, 15rem); height: 1px; background: currentColor; }

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.motto {
  margin: 1.1rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.4;
  color: var(--bronze-text);
  text-wrap: balance;
}

.note {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  max-width: 34rem;
  color: var(--mute);
  text-wrap: pretty;
}

/* Contact button (appears only when the markup in index.html is enabled) */
.button {
  display: inline-block;
  margin-top: 2.25rem;
  padding: 0.95rem 2.1rem;
  background: var(--olive);
  color: var(--ivory);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.button:hover { background: var(--olive-deep); }

.foot {
  position: relative;
  padding: 0 1.5rem clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--mute);
}
.foot p { margin: 0; }

a:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 0.9rem;
}
.skip:focus { top: 1rem; }

/* Medium-height desktop windows: trim top padding so the button stays in view */
@media (max-height: 940px) and (min-width: 700px) {
  .stage { padding-top: 3rem; }
}

/* Short landscape windows: keep everything (including the optional button) in view */
@media (max-height: 820px) and (min-width: 700px) {
  .stage { padding-top: 2rem; padding-bottom: 1rem; }
  .stage picture { width: min(100%, 27rem); }
  .ornament { margin: 1.25rem 0 1.1rem; }
  .note { margin-top: 1.1rem; }
  .button { margin-top: 1.5rem; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
}

@media print {
  .sheet::before, .sheet::after { display: none; }
}
