@layer reset, base, layout, parts, pages;
@font-face {
font-family: "Noto Serif Display";
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url("../fonts/noto-serif-display-latin-wght-normal.woff2") format("woff2");
}
@font-face {
font-family: "Hanken Grotesk";
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
}
:root {
--paper: #fcfcfa;
--ink: #1b1b1b;
--text: #333333;
--quiet: #6f6f6b;
--cream: #f6eedc;
--sky: #cee3ed;
--lime: #e9ff92;
--line: #e4e2dc;
--serif: "Noto Serif Display", "Iowan Old Style", Georgia, serif;
--sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
--radius: 12px;
--gutter: clamp(16px, 3.4vw, 48px);
--wide: 1280px;
--read: 35rem;
}
@layer reset {
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture { display: block; max-width: 100%; height: auto; }
}
@layer base {
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
background: var(--paper);
color: var(--ink);
font: 400 1.0625rem/1.6 var(--sans);
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:focus-visible, .btn-dark:focus-visible, .btn-lime:focus-visible {
outline: 2px solid var(--ink);
outline-offset: 3px;
border-radius: 4px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); text-wrap: balance; }
.skip {
position: absolute; left: 12px; top: -60px; z-index: 10;
background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
&:focus { top: 12px; }
}
}
@layer layout {
.top {
position: relative;
z-index: 3;
padding: 24px var(--gutter) 0;
}
.home .top { position: absolute; inset: 0 0 auto 0; }
.home .bar { background: rgb(255 255 255 / 0.97); }
.bar {
max-width: var(--wide);
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
background: rgb(255 255 255 / 0.9);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: var(--radius);
padding: 10px 10px 10px 24px;
box-shadow: 0 1px 2px rgb(27 27 27 / 0.06), 0 0 0 1px rgb(27 27 27 / 0.05);
}
.mark {
font: 600 1.6rem/1 var(--serif);
letter-spacing: -0.035em;
text-decoration: none;
white-space: nowrap;
padding: 12px 0;
}
.nav {
display: flex;
align-items: center;
gap: 10px;
a {
display: inline-block;
padding: 12px 16px;
font-size: 1rem;
text-decoration: none;
border-radius: 8px;
&:hover { background: rgb(27 27 27 / 0.05); }
&[aria-current="page"]:not(.btn-lime) { text-decoration: underline; }
}
}
.btn-lime, .nav .btn-lime {
background: var(--lime);
color: var(--ink);
padding: 14px 22px;
border-radius: 10px;
font-weight: 500;
&:hover { background: #ddf57a; }
}
.btn-dark {
display: inline-block;
background: var(--ink);
color: var(--paper);
padding: 15px 26px;
border-radius: 10px;
font-weight: 500;
text-decoration: none;
&:hover { background: #000; }
}
.foot {
margin-top: clamp(72px, 9vw, 128px);
background: var(--ink);
color: #e9e7e1;
padding: 64px var(--gutter) 40px;
}
.foot-in {
max-width: var(--wide);
margin: 0 auto;
display: grid;
grid-template-columns: 1fr auto;
grid-template-rows: auto 1fr;
gap: 12px 48px;
align-items: start;
}
.foot-mark {
font: 500 clamp(2rem, 4vw, 3rem)/1.05 var(--serif);
letter-spacing: -0.035em;
a { text-decoration: none; color: var(--paper); }
}
.foot-line { grid-column: 1; color: #c9c6be; max-width: 30rem; }
.foot-nav {
grid-column: 2; grid-row: 1 / span 2;
display: grid; gap: 4px; align-content: start;
a { color: var(--paper); text-decoration: none; display: inline-block; padding: 8px 0; &:hover { text-decoration: underline; } }
}
.foot-small { grid-column: 1 / -1; margin-top: 40px; padding-top: 20px; border-top: 1px solid #3a3a38; color: #a9a69e; font-size: 0.875rem; }
}
@layer parts {
.cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 40px 28px;
}
.cards-two, .cards-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.cards-n4 .card .card-title { font-size: 1.375rem; }
.card {
a { display: block; text-decoration: none; }
img {
width: 100%;
aspect-ratio: 3 / 2;
object-fit: cover;
border-radius: var(--radius);
background: var(--cream);
transition: opacity 0.2s;
}
a:hover img { opacity: 0.9; }
a:hover .card-title { text-decoration: underline; }
.card-text { display: block; }
.card-desc { display: block; margin-top: 8px; color: var(--quiet); font-size: 1rem; }
.card-title {
display: block;
margin-top: 16px;
font: 500 1.5rem/1.2 var(--serif);
letter-spacing: -0.03em;
}
}
.rows { border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a {
display: grid;
grid-template-columns: 168px 1fr auto;
align-items: center;
gap: 28px;
padding: 22px 0;
text-decoration: none;
&:hover .row-title, &:hover span:first-child { text-decoration: underline; }
}
.rows img { width: 168px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.rows-plain a { grid-template-columns: 1fr auto; padding: 18px 0; }
.row-text { display: grid; gap: 6px; }
.row-title { font: 500 1.5rem/1.2 var(--serif); letter-spacing: -0.03em; }
.row-desc { color: var(--quiet); max-width: 44rem; }
.arrow { font-size: 1.4rem; color: var(--ink); }
}
@layer pages {
.hero {
position: relative;
min-height: clamp(560px, 92vh, 980px);
display: flex;
align-items: flex-end;
justify-content: center;
overflow: hidden;
background: #d9cdbd;
color: #fff;
&::after {
content: "";
position: absolute; inset: 45% 0 0 0;
background: linear-gradient(to bottom, rgb(20 16 12 / 0), rgb(20 16 12 / 0.42));
}
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-text {
position: relative; z-index: 1;
padding: 0 var(--gutter) clamp(56px, 11vh, 120px);
text-align: center;
h1 {
color: #fff;
font-size: clamp(2.9rem, 6.2vw, 5.4rem);
line-height: 1;
font-weight: 600;
letter-spacing: -0.045em;
text-shadow: 0 1px 24px rgb(0 0 0 / 0.18);
}
}
.band-cream { background: var(--cream); padding: clamp(64px, 8vw, 112px) var(--gutter); }
.intro {
max-width: 52rem; margin: 0 auto; text-align: center;
display: grid; gap: 36px; justify-items: center;
}
.intro-lead {
font: 400 clamp(1.6rem, 2.7vw, 2.3rem)/1.3 var(--serif);
letter-spacing: -0.025em;
text-wrap: balance;
}
.shelf {
max-width: var(--wide);
margin: 0 auto;
padding: clamp(72px, 8vw, 120px) var(--gutter) 0;
h2 {
font-size: clamp(2.25rem, 3.8vw, 3rem);
line-height: 1.05;
letter-spacing: -0.04em;
margin-bottom: clamp(32px, 4vw, 48px);
}
}
.shelf-blue {
max-width: none;
background: var(--sky);
margin-top: clamp(72px, 8vw, 120px);
padding: clamp(64px, 8vw, 112px) max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter)));
}
.shelf-blue .card-desc { color: #4a4a47; }
.shelf-blue + .shelf { padding-top: clamp(72px, 8vw, 120px); }
.guide, .page { padding: 0 var(--gutter); }
.guide-head {
max-width: 50rem;
margin: clamp(56px, 7vw, 96px) auto 0;
text-align: center;
h1 {
font-size: clamp(2.4rem, 5vw, 3.75rem);
line-height: 1.04;
letter-spacing: -0.04em;
}
}
.byline { margin-top: 20px; color: var(--quiet); font-size: 0.9375rem; time { white-space: nowrap; } }
.guide-photo {
max-width: 960px;
margin: clamp(36px, 5vw, 56px) auto 0;
img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
}
.guide-photo-square { max-width: 640px; img { aspect-ratio: 1 / 1; } }
.prose {
max-width: var(--read);
margin: clamp(40px, 5vw, 64px) auto 0;
color: var(--text);
font-size: 1.1875rem;
line-height: 1.75;
> * + * { margin-top: 1.25em; }
h2 {
margin-top: 2.4em;
font-size: clamp(1.75rem, 2.6vw, 2.125rem);
line-height: 1.15;
letter-spacing: -0.03em;
}
h3 { margin-top: 2em; font: 600 1.1875rem/1.4 var(--sans); color: var(--ink); }
h2 + *, h3 + * { margin-top: 0.75em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 0.45em; }
li::marker { color: var(--quiet); }
a { color: var(--ink); text-decoration-color: rgb(27 27 27 / 0.45); &:hover { text-decoration-color: var(--ink); } }
strong { color: var(--ink); font-weight: 600; }
blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 1px solid var(--line); color: var(--quiet); }
}
.next {
max-width: 960px;
margin: clamp(72px, 9vw, 112px) auto 0;
padding-top: clamp(48px, 6vw, 72px);
border-top: 1px solid var(--line);
h2 { font-size: clamp(2rem, 3.2vw, 2.5rem); letter-spacing: -0.035em; margin-bottom: 32px; }
}
.next-all { margin-top: 48px; text-align: center; }
.index { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.index-head {
margin: clamp(56px, 7vw, 96px) 0 0;
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.04; letter-spacing: -0.04em; }
p { margin-top: 18px; color: var(--quiet); font-size: 1.1875rem; max-width: 36rem; }
}
.index-group {
margin-top: clamp(64px, 8vw, 104px);
h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); letter-spacing: -0.035em; margin-bottom: 24px; }
}
}
@media (max-width: 1100px) {
.cards-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
.bar { padding: 6px 6px 6px 14px; gap: 8px; }
.mark { font-size: 1.2rem; }
.nav { gap: 4px; a { padding: 10px 10px; font-size: 0.9375rem; } }
.nav .btn-lime { padding: 11px 14px; }
.cards-n2, .cards-n3, .cards-n4 { grid-template-columns: 1fr; gap: 0; }
.shelf .card { border-bottom: 1px solid var(--line); }
.shelf .card:first-child { border-top: 1px solid var(--line); }
.shelf-blue .card, .shelf-blue .card:first-child { border-color: rgb(27 27 27 / 0.16); }
.shelf .card a { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; padding: 18px 0; }
.shelf .card img { border-radius: 10px; }
.shelf .card .card-title, .cards-n4 .card .card-title { margin-top: 0; font-size: 1.25rem; }
.shelf .card .card-desc { font-size: 0.9375rem; margin-top: 6px; }
.shelf h2 { margin-bottom: 20px; }
.home .top { padding-top: 16px; }
.hero { min-height: 620px; }
.hero-img { object-position: 64% 30%; }
.cards-two { grid-template-columns: 1fr; }
.rows a { grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; }
.rows img { width: 96px; }
.rows .arrow { display: none; }
.rows-plain a { grid-template-columns: 1fr auto; }
.rows-plain .arrow { display: inline; }
.row-title { font-size: 1.25rem; }
.row-desc { font-size: 0.9375rem; }
.prose { font-size: 1.125rem; }
.foot-in { grid-template-columns: 1fr; }
.foot-nav { grid-column: 1; grid-row: auto; margin-top: 16px; }
}
@media (max-width: 380px) {
.mark { font-size: 1.05rem; }
.nav a { padding: 10px 6px; }
.nav .btn-lime { padding: 11px 12px; }
}
