/*
  Selectable one-pager.
  The text is real HTML, so it can be selected, copied, indexed by Google,
  and read by accessibility tools.
*/

:root {
  --ink: #241d15;
  --red-ink: #8d3d28;
  --paper-light: rgba(248, 231, 188, 0.96);
  --paper-dark: rgba(224, 194, 134, 0.93);
  --line: rgba(70, 45, 20, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #111;
  color: var(--ink);
}

.stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 64px);
  position: relative;
  overflow: hidden;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.33), rgba(0, 0, 0, 0.37)),
    url("assets/background.jpg");
  background-size: cover;
  background-position: center;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 35%, rgba(0,0,0,.38) 100%);
  pointer-events: none;
}

.paper {
  position: relative;
  z-index: 1;

  width: min(1050px, 92vw);
  min-height: min(760px, 86vh);
  padding: clamp(32px, 4.2vw, 70px) clamp(30px, 5vw, 82px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vh, 24px);

  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;

  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.33), transparent 28%),
    radial-gradient(circle at 84% 88%, rgba(132,75,20,.12), transparent 34%),
    linear-gradient(135deg, var(--paper-light), var(--paper-dark));
  border: 2px solid rgba(96, 62, 24, .45);
  border-radius: 12px;
  box-shadow:
    0 35px 95px rgba(0,0,0,.52),
    inset 0 0 85px rgba(95, 52, 10, .16);

  /* soft paper feel */
  filter: saturate(.96);
}

.paper::before,
.paper::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.paper::before {
  inset: 18px;
  border: 1px solid rgba(65, 43, 20, .42);
  border-radius: 8px;
}

.paper::after {
  inset: 0;
  opacity: .22;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(70,40,10,.16) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(70,40,10,.12) 0 1px, transparent 1px);
  background-size: 9px 9px, 13px 13px;
  mix-blend-mode: multiply;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(54px, 6.3vw, 94px);
  line-height: .86;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1.05;
  color: var(--red-ink);
}

.writer-block {
  max-width: 820px;
}

.writer-block p {
  margin-top: clamp(18px, 2.5vh, 26px);
  font-size: clamp(18px, 1.75vw, 26px);
  line-height: 1.45;
}

.writer-block span,
.contact-block a,
.art-block cite {
  color: var(--red-ink);
}

.contact-block p {
  font-size: clamp(20px, 2vw, 29px);
  margin-bottom: 12px;
}

.contact-block a {
  font-size: clamp(21px, 2.1vw, 31px);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-block a:hover {
  text-decoration-thickness: 2px;
}

.art-block p {
  font-size: clamp(16px, 1.5vw, 23px);
  line-height: 1.4;
}

.ornament,
.small-ornament {
  width: min(310px, 45vw);
  height: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ornament::before,
.ornament::after,
.small-ornament::before,
.small-ornament::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

.ornament::after,
.small-ornament::after {
  margin-left: 12px;
}

.ornament::before,
.small-ornament::before {
  margin-right: 12px;
}

.ornament {
  font-family: Georgia, serif;
}

.ornament::selection,
.small-ornament::selection {
  background: transparent;
}

.ornament::marker,
.small-ornament::marker {
  display: none;
}

.ornament {
  color: var(--line);
}

.ornament::before {
  box-shadow: 12px 0 0 var(--line);
}

.ornament::after {
  box-shadow: -12px 0 0 var(--line);
}

.ornament {
  text-align: center;
}

.ornament::selection {
  background: none;
}

.ornament {
  --symbol: "✥";
}

.ornament::before,
.ornament::after {
  max-width: 130px;
}

.ornament {
  font-size: 19px;
}

.ornament::after {
  content: "";
}

.ornament::before {
  content: "";
}

.ornament {
  background:
    linear-gradient(90deg, transparent 0 36%, var(--line) 36% 46%, transparent 46% 54%, var(--line) 54% 64%, transparent 64% 100%);
}

.ornament::selection {
  color: transparent;
}

.small-ornament {
  width: min(210px, 34vw);
  margin: 16px auto 0;
  background:
    linear-gradient(90deg, transparent 0 33%, var(--line) 33% 46%, transparent 46% 54%, var(--line) 54% 67%, transparent 67% 100%);
}

@media (max-width: 720px) {
  .stage {
    padding: 14px;
  }

  .paper {
    width: 100%;
    min-height: auto;
    padding: 40px 22px;
    gap: 16px;
  }

  .paper::before {
    inset: 10px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  h2 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .writer-block p {
    font-size: 18px;
  }
}


/* --- Typography refinement: clean literary editorial style --- */

.paper {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.90;
}

h2,
.role,
.eyebrow {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.writer-block p,
.intro,
.patience,
.contact-block p,
.contact-title,
.email,
.art-block p {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.writer-block p,
.intro {
  font-weight: 400;
  line-height: 1.38;
}

.patience {
  font-style: italic;
  font-weight: 400;
}

.contact-block p,
.contact-title {
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.contact-block a,
.email {
  font-weight: 400;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
