:root {
  --ink: #10202a;
  --ink-soft: #32434b;
  --paper: #f3efe6;
  --white: #fffdf8;
  --red: #d0021b;
  --red-dark: #9e0e15;
  --line: rgba(16, 32, 42, .16);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f6f2ea 0%, var(--paper) 100%);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  z-index: 100;
  mix-blend-mode: multiply;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.wrap {
  width: min(880px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- short divider rule ---------- */
.rule {
  width: 150px;
  max-width: 90%;
  height: 2px;
  background: var(--red);
  border: 0;
  margin-inline: auto;
}

/* ---------- header ---------- */
.masthead {
  text-align: center;
  padding: clamp(1.4rem, 3vw, 2.3rem) 0 0;
}
.masthead .name {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--ink);
  text-decoration: none;
}
.masthead .tag {
  margin: .5rem 0 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink);
}
.masthead .rule { margin-top: 1.2rem; }
.masthead nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.9rem;
  margin-top: 1.8rem;
  padding-bottom: 1.4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.masthead nav a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s ease;
}
.masthead nav a:hover { color: var(--red); }
.masthead nav a[aria-current="page"] { color: var(--red); }

/* ---------- home ---------- */
.home-photo {
  width: min(660px, calc(100% - 48px));
  margin: clamp(1rem, 2.5vw, 1.6rem) auto 0;
}
.home-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
}
.home-caption {
  margin: .85rem 0 0;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.home-caption .credit { color: rgba(16, 32, 42, .5); }
.home-caption .credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.home-caption .credit a:hover { color: var(--red); }

/* ---------- inner pages ---------- */
main.page {
  max-width: 640px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: 0 24px;
}
.page h1 {
  margin: 0 0 1.8rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -.02em;
}
.page p {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.page p strong { color: var(--ink); font-weight: 700; }

/* ---------- about portrait ---------- */
.portrait {
  float: right;
  width: min(260px, 50%);
  margin: .3rem 0 1rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .6rem;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ---------- article list ---------- */
.clips { margin-top: .4rem; }
.clip {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.clip:first-child { border-top: 1px solid var(--line); }
.clip .outlet {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.clip .outlet img {
  width: auto;
  height: 14px;
  filter: grayscale(1) opacity(.75);
  mix-blend-mode: multiply;
}
.clip h2 {
  margin: .45rem 0 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.clip h2 a { text-decoration: none; }
.clip h2 a:hover { color: var(--red); }
.clip .note {
  margin: .35rem 0 0;
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--ink-soft);
}
.arch { margin-top: 3rem; }
.arch-label {
  margin: 0 0 .9rem;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
}
.arch-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.4rem;
}
.arch-row a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  transition: color .2s ease;
}
.arch-row a:hover { color: var(--red-dark); }
.arch-row img {
  height: 19px;
  width: auto;
  filter: grayscale(1) opacity(.75);
  mix-blend-mode: multiply;
}

/* ---------- handbook ---------- */
.cover {
  float: left;
  width: min(200px, 42%);
  margin: 0 1.6rem 1rem 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 12px 14px 34px rgba(16, 32, 42, .18);
  transform: rotate(-2deg);
}

/* ---------- contact ---------- */
.contact-form { display: grid; gap: .9rem; margin-top: 1.6rem; }
.contact-form label {
  display: grid;
  gap: .35rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}
.contact-form ._honey { display: none; }
.contact-form input[name="_honey"] { display: none; }
.follow {
  margin: 3rem 0 0 !important;
  font-family: var(--sans) !important;
  font-size: .92rem !important;
  font-weight: 600;
  color: var(--ink-soft) !important;
}
.links {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: color .2s ease;
}
.links a:hover { color: var(--red); }
.links .ico { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- footer ---------- */
footer {
  margin-top: clamp(2rem, 4vw, 3.2rem);
  padding: 1.4rem 0 2rem;
  text-align: center;
  font-size: .78rem;
  color: var(--ink-soft);
}
footer .rule { margin-bottom: .85rem; }

@media (max-width: 560px) {
  .masthead .tag { letter-spacing: .12em; }
  .cover, .portrait { float: none; margin: 0 auto 1.5rem; transform: none; }
  .portrait { width: min(280px, 78%); }
  .cover { width: min(210px, 58%); }
}
