:root {
  --ink: #1b2433;
  --ink-soft: #3e4b61;
  --muted: #7d8798;
  --paper: #f4efe4;
  --card: #fffdf8;
  --line: #e3d8c4;
  --teal: #0c6e6a;
  --teal-deep: #084e4b;
  --sun: #f0b429;
  --coral: #e15a3a;
  --navy: #1c283d;
  --sans: sans-serif;
  --serif: sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: #222;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.stage {
  flex: 1;
  animation: pageIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.container.narrow {
  max-width: 860px;
}

.container.reader {
  max-width: 820px;
}

.container.feedback-narrow {
  max-width: 720px;
}

.page-main {
  padding: 8px 0 48px;
}

.page-main.home {
  padding: 22px 0 40px;
}

.page-main.list-page {
  padding: 18px 0 40px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.kicker b {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.sheet-head {
  padding: 12px 0 22px;
}

.sheet-head h1 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.sheet-head p {
  max-width: 640px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

.crumb {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.crumb a:hover {
  color: var(--teal-deep);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.empty,
.load-state {
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 2px;
  border: none;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--teal);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: #f6f0e4;
}

.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-sun {
  background: var(--sun);
  color: var(--navy);
}

.btn-sun:hover {
  filter: brightness(0.96);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.error {
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 13px;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.topbar {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.topbar-inner,
.mast,
.cats {
  display: flex;
  align-items: center;
}

.topbar-inner {
  justify-content: space-between;
  height: 34px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-links a:hover {
  color: #fff;
}

.mast {
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cats {
  gap: 4px 26px;
  min-width: 0;
  overflow-x: auto;
}

.cat {
  position: relative;
  flex: none;
  padding: 22px 0;
  color: #222;
  font-size: 16px;
  font-weight: 700;
}

.cat.active,
.cat:hover {
  color: #c8161d;
}

.cat.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #c8161d;
}

.foot {
  padding: 10px 0 28px;
}

.foot-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr 0.8fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid #eee;
  color: #666;
}

.foot-lead strong {
  display: block;
  margin: 0 0 8px;
  color: #222;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.foot-lead p:last-child {
  max-width: 320px;
  font-size: 14px;
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.foot-col h2 {
  margin-bottom: 4px;
  color: #222;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.foot-col a:hover {
  color: #c8161d;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.legal a:hover {
  color: var(--teal-deep);
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.lead-col {
  min-width: 0;
}

.rotator {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.rotator.is-in {
  animation: rotatorIn 0.45s ease;
}

.rotator-card {
  position: relative;
  display: block;
  height: 116px;
  overflow: hidden;
  background: #f2f2f2;
}

.rotator-card img,
.rotator-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.rotator-card:hover img,
.rotator-card:hover .rotator-fallback {
  transform: scale(1.08);
}

.rotator-fallback {
  display: grid;
  place-items: center;
  color: #8aa0b8;
  background: #eef3f8;
}

.rotator-card strong {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 8px 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@keyframes rotatorIn {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

.lead {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid #eee;
  color: inherit;
}

.lead-pic {
  display: block;
  overflow: hidden;
  background: #eef3f8;
}

.lead-pic img,
.lead-pic > span {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.45s ease;
  transform-origin: center;
}

.lead:hover .lead-pic img,
.lead:hover .lead-pic > span {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.lead-pic > span {
  display: grid;
  place-items: center;
  color: #8aa0b8;
}

.lead-title {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f6b4c;
}

.lead:hover .lead-title {
  color: #c8161d;
}

.lead time {
  display: block;
  margin: 10px 0;
  color: #999;
  font-size: 13px;
  font-style: normal;
}

.lead-copy em {
  display: block;
  color: #555;
  font-size: 15px;
  font-style: normal;
  line-height: 1.75;
}

.briefs {
  position: sticky;
  top: 112px;
  padding: 16px 16px 6px;
  border: 1px solid #eee;
  border-left: 3px solid #c8161d;
  background: #fff;
}

.briefs h2 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
}

.briefs li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
  line-height: 1.5;
}

.briefs li:last-child {
  border-bottom: none;
}

.briefs a::before {
  content: '·';
  margin-right: 6px;
  color: #c8161d;
  font-weight: 700;
}

.briefs a:hover {
  color: #c8161d;
}

.band,
.feed {
  margin-top: 28px;
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #222;
}

.sec-head h2 {
  font-size: 20px;
  font-weight: 800;
}

.sec-head a {
  color: #888;
  font-size: 13px;
}

.sec-head a:hover {
  color: #c8161d;
}

.text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
}

.text-grid li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed #e5e5e5;
}

.text-grid a {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.text-grid a:hover {
  color: #c8161d;
}

.text-grid time {
  flex: none;
  color: #999;
  font-size: 12px;
  line-height: 1.6;
}

.scroller {
  overflow: hidden;
}

.scroller-track {
  display: flex;
  width: max-content;
  animation: reel 42s linear infinite;
}

.shot-set {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.scroller:hover .scroller-track {
  animation-play-state: paused;
}

.shot {
  flex: none;
  width: 260px;
  height: 156px;
  overflow: hidden;
  background: #eef3f8;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shot:hover img {
  transform: scale(1.06);
}

@keyframes reel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards.triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
}

.card-media {
  display: block;
  overflow: hidden;
  background: #eef3f8;
}

.card img,
.card-fallback {
  width: 100%;
  height: 148px;
  object-fit: cover;
  background: #eef3f8;
  transition: transform 0.45s ease;
}

.card:hover img,
.card:hover .card-fallback {
  transform: scale(1.06);
}

.cards.triple .card img,
.cards.triple .card-fallback {
  height: 180px;
}

.card-fallback {
  display: grid;
  place-items: center;
  color: #8aa0b8;
}

.card strong {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card em {
  margin-top: 6px;
  color: #777;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card:hover strong {
  color: #c8161d;
}

.news-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  grid-template-areas:
    'title title'
    'pic body';
  column-gap: 16px;
  padding: 18px 0 14px;
  border-bottom: 1px solid #eee;
}

.news-item h2 {
  grid-area: title;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.news-item h2 a:hover {
  color: #c8161d;
}

.news-item .pic {
  grid-area: pic;
  display: grid;
  place-items: center;
  width: 190px;
  height: 130px;
  overflow: hidden;
  background: #eef3f8;
  color: #8aa0b8;
  font-size: 13px;
}

.news-item .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-item .pic:hover img {
  transform: scale(1.08);
}

.news-item .news-body {
  grid-area: body;
  min-width: 0;
}

.news-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.news-item time {
  display: block;
  margin-top: 10px;
  color: #999;
  font-size: 13px;
  text-align: right;
}

.list-page .crumb {
  margin-bottom: 12px;
  color: #999;
  font-size: 13px;
}

.list-page .crumb a:hover,
.list-page .back:hover {
  color: #c8161d;
}

.list-page h1 {
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 2px solid #c8161d;
  font-size: 28px;
  font-weight: 800;
}

.list-page .back {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
}

.sheet-head p.meta {
  display: flex;
  gap: 14px;
  max-width: none;
  color: var(--muted);
  font-size: 13px;
}

.body {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.95;
}

.body p,
.rich p {
  margin-bottom: 16px;
}

.body.rich img,
.rich img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.body.rich ul,
.body.rich ol,
.rich ul,
.rich ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}

.rich {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.rich h2,
.rich h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
}

.related {
  margin-top: 36px;
}

.related h2 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.06em;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.related-grid a {
  padding: 16px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.45;
}

.related-grid a:hover {
  border-color: var(--teal);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
}

.contact-grid h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.06em;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}

.contact-list li span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.contact-success {
  padding: 22px;
  border-radius: 16px;
  background: rgba(240, 180, 41, 0.28);
  font-weight: 700;
}

.feedback-success {
  text-align: center;
  padding: 12px 0 8px;
}

.feedback-success h2 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 32px;
}

.feedback-success p {
  margin-bottom: 18px;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .board,
  .lead {
    grid-template-columns: 1fr;
  }

  .text-grid,
  .cards.quad,
  .cards.triple {
    grid-template-columns: 1fr 1fr;
  }

  .briefs {
    position: static;
  }

  .lead-pic img,
  .lead-pic > span {
    height: 220px;
  }

  .lead-title {
    font-size: 22px;
  }

  .rotator-card {
    height: 96px;
  }
}

@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  .mast {
    gap: 16px;
  }

  .brand strong {
    font-size: 20px;
  }

  .cat {
    padding: 20px 0;
    font-size: 15px;
  }

  .foot-card {
    grid-template-columns: 1fr 1fr;
  }

  .foot-lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    background: #fff;
  }

  .container {
    padding: 0 18px;
  }
}

@media (max-width: 700px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rotator {
    grid-template-columns: 1fr;
  }

  .rotator-card {
    height: 140px;
  }

  .board,
  .lead,
  .text-grid,
  .cards.quad,
  .cards.triple {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 10px;
  }

  .news-item .pic {
    width: 112px;
    height: 78px;
  }

  .news-item h2 {
    font-size: 16px;
  }

  .news-item time {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .foot-card,
  .legal {
    grid-template-columns: 1fr;
    display: grid;
  }
}

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

  .reveal,
  .stage,
  .rotator.is-in {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .lead-pic img,
  .lead-pic > span,
  .rotator-card img,
  .rotator-fallback,
  .shot img,
  .card img,
  .card-fallback,
  .news-item .pic img {
    transition: none;
  }

  .lead:hover .lead-pic img,
  .lead:hover .lead-pic > span,
  .rotator-card:hover img,
  .rotator-card:hover .rotator-fallback,
  .shot:hover img,
  .card:hover img,
  .card:hover .card-fallback,
  .news-item .pic:hover img {
    transform: none;
    filter: none;
  }

  .scroller-track {
    animation: none;
  }
}
