:root {
  --ink: #202020;
  --muted: #77716b;
  --accent: #cb9558;
  --accent-dark: #a87236;
  --paper: #ffffff;
  --soft: #f5f1ec;
  --line: #e7e1da;
  --footer: #171717;
  --shadow: 0 18px 46px rgba(33, 28, 23, .10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; padding: 10px 14px; background: #fff; }
.skip-link:focus { left: 8px; }

.topbar { background: #1e1e1e; color: #d7d7d7; font-size: 12px; letter-spacing: .06em; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-links { display: flex; gap: 20px; }
.masthead { padding: 24px 0 19px; border-bottom: 1px solid var(--line); background: #fff; }
.masthead-inner { display: flex; align-items: center; justify-content: center; }
.brand { display: block; width: min(620px, 86vw); }
.brand img { width: 100%; height: auto; }
.navbar { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.035); }
.nav-inner { min-height: 52px; display: flex; align-items: center; justify-content: center; }
.nav-list { display: flex; align-items: stretch; justify-content: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; padding: 15px 16px 13px; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--accent-dark); border-bottom-color: var(--accent); }
.subnav { display: none; position: absolute; left: 0; top: 100%; min-width: 190px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-list li:hover .subnav, .nav-list li:focus-within .subnav { display: block; }
.subnav a { display: block; padding: 8px 16px; font-size: 13px; }
.menu-button, .search-button { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.search-drawer { display: none; border-bottom: 1px solid var(--line); background: var(--soft); padding: 14px 0; }
.search-drawer.is-open { display: block; }
.search-form { display: flex; gap: 10px; }
.search-form input { width: 100%; border: 1px solid #cfc6bd; background: #fff; padding: 10px 12px; }
.search-form button { border: 0; padding: 10px 18px; color: #fff; background: var(--accent-dark); cursor: pointer; }

.photo { display: block; background-repeat: no-repeat; background-size: 200% 200%; background-color: #d9d0c6; }
.photo-1 { background-image: url('images/editorial-set-1.png'); background-position: left top; }
.photo-2 { background-image: url('images/editorial-set-1.png'); background-position: right top; }
.photo-3 { background-image: url('images/editorial-set-1.png'); background-position: left bottom; }
.photo-4 { background-image: url('images/editorial-set-1.png'); background-position: right bottom; }
.photo-5 { background-image: url('images/editorial-set-2.png'); background-position: left top; }
.photo-6 { background-image: url('images/editorial-set-2.png'); background-position: right top; }
.photo-7 { background-image: url('images/editorial-set-2.png'); background-position: left bottom; }
.photo-8 { background-image: url('images/editorial-set-2.png'); background-position: right bottom; }
.photo-9 { background-image: url('images/editorial-set-3.png'); background-position: left top; }
.photo-10 { background-image: url('images/editorial-set-3.png'); background-position: right top; }
.photo-11 { background-image: url('images/editorial-set-3.png'); background-position: left bottom; }
.photo-12 { background-image: url('images/editorial-set-3.png'); background-position: right bottom; }

.featured { display: grid; grid-template-columns: 1.45fr 1fr; gap: 4px; margin-top: 34px; }
.featured-side { display: grid; gap: 4px; }
.feature-card { position: relative; min-height: 248px; overflow: hidden; color: #fff; }
.feature-card.feature-main { min-height: 500px; }
.feature-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.feature-bg { position: absolute; inset: 0; transition: transform .45s ease; }
.feature-card:hover .feature-bg { transform: scale(1.025); }
.feature-content { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; }
.tag { display: inline-block; padding: 4px 9px 3px; color: #fff; background: var(--accent-dark); font-size: 10px; line-height: 1.3; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.feature-title { display: block; margin: 8px 0 4px; font: 700 clamp(25px, 3vw, 40px)/1.1 var(--serif); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.feature-side .feature-title { font-size: clamp(20px, 2.2vw, 27px); }
.meta { color: var(--muted); font-size: 12px; }
.feature-card .meta { color: rgba(255,255,255,.86); }
.intro { padding: 55px 0 52px; text-align: center; }
.intro p { max-width: 980px; margin: 0 auto; color: var(--accent-dark); font: italic clamp(22px, 2.5vw, 32px)/1.45 var(--serif); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 54px; padding-bottom: 72px; }
.section-heading { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; font: 700 21px/1.2 var(--serif); }
.section-heading::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 28px; }
.post-card { min-width: 0; }
.content-layout > *, .article-layout > *, .post-grid { min-width: 0; max-width: 100%; }
.post-thumb { display: block; aspect-ratio: 485 / 360; position: relative; overflow: hidden; }
.post-thumb .photo { width: 100%; height: 100%; transition: transform .35s ease; }
.post-card:hover .post-thumb .photo { transform: scale(1.025); }
.post-thumb .tag { position: absolute; left: 0; bottom: 0; }
.post-card h2, .post-card h3 { margin: 13px 0 7px; font: 700 23px/1.18 var(--serif); }
.post-card p { margin: 12px 0 0; color: #5f5a55; font-size: 14px; }
.sidebar-section { margin-bottom: 38px; }
.mini-post { display: grid; grid-template-columns: 94px 1fr; gap: 13px; margin-bottom: 17px; align-items: start; }
.mini-post .photo { width: 94px; aspect-ratio: 1.3; }
.mini-post h3 { margin: 0 0 4px; font: 700 15px/1.25 var(--serif); }
.category-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.category-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pagination { display: flex; gap: 7px; margin-top: 44px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 12px; }
.pagination .current, .pagination a:hover { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); }

.page-hero { padding: 56px 0 38px; background: var(--soft); border-bottom: 1px solid var(--line); }
.breadcrumbs { margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.page-title { max-width: 920px; margin: 0; font: 700 clamp(36px, 5vw, 62px)/1.05 var(--serif); }
.page-description { max-width: 760px; margin: 16px 0 0; color: #6c655f; }
.archive-wrap { padding: 52px 0 76px; }

.article-wrap { padding: 50px 0 78px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; gap: 60px; }
.article-header .tag { margin-bottom: 13px; }
.article-title { margin: 0 0 18px; font: 700 clamp(38px, 5.8vw, 66px)/1.04 var(--serif); letter-spacing: -.02em; }
.article-lead { margin: 20px 0 30px; color: #5e5852; font: italic 21px/1.55 var(--serif); }
.article-hero { width: 100%; aspect-ratio: 696/464; margin: 28px 0 32px; }
.article-content { font-family: var(--serif); font-size: 18px; line-height: 1.82; }
.article-content p { margin: 0 0 1.4em; }
.article-content h2 { margin: 1.65em 0 .55em; font-size: 31px; line-height: 1.2; }
.article-content blockquote { margin: 34px 0; padding: 18px 26px; border-left: 4px solid var(--accent); background: var(--soft); font-size: 22px; font-style: italic; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.article-nav a:last-child { text-align: right; }
.article-nav strong { display: block; margin-top: 3px; font-family: var(--serif); font-size: 17px; }

.site-footer { padding: 56px 0 24px; color: #c8c8c8; background: var(--footer); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 54px; }
.footer-logo { width: 310px; max-width: 100%; filter: brightness(0) invert(1); opacity: .92; }
.site-footer h2 { margin: 0 0 17px; color: #fff; font: 700 18px var(--serif); }
.site-footer p, .site-footer li { font-size: 13px; }
.footer-links { margin: 0; padding: 0; list-style: none; columns: 2; }
.footer-links li { margin-bottom: 7px; }
.copyright { margin-top: 42px; padding-top: 20px; border-top: 1px solid #303030; font-size: 12px; text-align: center; }

@media (max-width: 980px) {
  .content-layout, .article-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: 100%; max-width: 620px; padding-inline: 14px; }
  .topbar { display: none; }
  .masthead { padding: 12px 0; background: #222; border: 0; }
  .brand { width: 245px; filter: brightness(0) invert(1); }
  .nav-inner { justify-content: space-between; min-height: 50px; }
  .menu-button, .search-button { display: inline-grid; place-items: center; width: 44px; height: 44px; font-size: 22px; }
  .nav-list { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; background: #fff; box-shadow: var(--shadow); }
  .nav-list.is-open { display: flex; }
  .nav-list > li > a { padding: 11px 4px; }
  .subnav { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 4px 18px; }
  .featured { grid-template-columns: 1fr; margin-top: 18px; }
  .feature-card.feature-main { min-height: 410px; }
  .feature-card { min-height: 270px; }
  .featured-side { grid-template-columns: 1fr; }
  .intro { padding: 38px 0; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card h2, .post-card h3, .feature-title { max-width: 100%; overflow-wrap: break-word; }
  .sidebar { display: block; }
  .content-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .page-hero { padding: 38px 0 28px; }
  .article-wrap { padding-top: 36px; }
  .article-content { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-about { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
