@charset "UTF-8";

:root {
  --ink: #173f37;
  --ink-deep: #0b2924;
  --paper: #f3efe4;
  --paper-bright: #fffdf6;
  --sea: #78999a;
  --sea-pale: #c9d9d5;
  --sunset: #db6d3a;
  --gold: #c7a25e;
  --charcoal: #27312f;
  --line: rgba(23, 63, 55, 0.18);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --max-width: 1440px;
  --gutter: clamp(24px, 5vw, 84px);
  --shadow: 0 28px 70px rgba(11, 41, 36, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.8), transparent 24%),
    radial-gradient(circle at 85% 65%, rgba(120, 153, 154, 0.1), transparent 30%),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.18;
  content: "";
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

:focus-visible {
  outline: 3px solid var(--sunset);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--paper-bright);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--sunset);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.4;
}

.section-index {
  color: rgba(23, 63, 55, 0.55);
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal-late {
  transition-delay: 130ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 92px;
  padding-inline: var(--gutter);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 19px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a:not(.nav-visit)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-visit {
  gap: 28px;
  padding: 0 18px;
  border: 1px solid currentColor;
}

.nav-visit:hover {
  color: var(--paper-bright);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  min-height: 100svh;
  padding: 118px var(--gutter) 66px;
  color: var(--ink);
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 49.5%;
  z-index: -1;
  width: 1px;
  content: "";
  background: linear-gradient(to bottom, transparent 6%, var(--line) 18%, var(--line) 88%, transparent);
}

.hero-copy {
  align-self: center;
  max-width: 690px;
  padding: 5vh 4vw 5vh 0;
}

.hero h1 {
  margin-bottom: 34px;
  font-size: clamp(52px, 6.35vw, 106px);
  line-height: 1.02;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  margin-left: clamp(0px, 2vw, 36px);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero-intro {
  max-width: 490px;
  margin: 0 0 38px clamp(0px, 2vw, 36px);
  color: rgba(39, 49, 47, 0.74);
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: clamp(0px, 2vw, 36px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 54px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  min-width: 184px;
  color: var(--paper-bright);
  background: var(--sunset);
}

.button-primary:hover {
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.hero-note {
  margin: clamp(44px, 8vh, 90px) 0 0 clamp(0px, 2vw, 36px);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  align-self: center;
  height: min(76vh, 760px);
  min-height: 560px;
}

.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-photo img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06);
}

.hero-photo-main {
  top: 0;
  right: 0;
  width: 72%;
  height: 88%;
  background: var(--ink);
}

.hero-photo-main::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(11, 41, 36, 0.12), transparent 45%, rgba(11, 41, 36, 0.5));
}

.hero-photo-main img {
  object-position: center top;
}

.hero-photo-sea {
  bottom: 1%;
  left: 2%;
  z-index: 2;
  width: 43%;
  height: 38%;
  border: 12px solid var(--paper);
  box-shadow: 0 18px 50px rgba(11, 41, 36, 0.16);
}

.hero-photo-sea img {
  filter: sepia(0.1) saturate(0.65);
}

.lookout-seal {
  position: absolute;
  top: 13%;
  left: 10%;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: center;
  width: 140px;
  aspect-ratio: 1;
  color: var(--paper-bright);
  background: var(--sunset);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(68, 33, 21, 0.22);
  transform: rotate(-9deg);
}

.lookout-seal span {
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  line-height: 1.4;
}

.lookout-seal b {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: -2px;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.scroll-cue i {
  display: block;
  width: 70px;
  height: 1px;
  background: var(--ink);
}

.story {
  position: relative;
  display: grid;
  grid-template-columns: 0.45fr 1.2fr 1fr 0.35fr;
  gap: clamp(30px, 5vw, 84px);
  padding-top: clamp(110px, 15vw, 210px);
  padding-bottom: clamp(110px, 15vw, 210px);
}

.story h2,
.gallery-heading h2,
.books-heading h2,
.events h2,
.visit-panel h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.7vw, 76px);
}

.story-copy {
  align-self: center;
  max-width: 520px;
  padding-top: 42px;
}

.story-copy > p:not(.story-lead) {
  color: rgba(39, 49, 47, 0.72);
  font-size: 15px;
}

.story-lead {
  margin-bottom: 26px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(21px, 1.8vw, 29px);
  line-height: 1.65;
}

.story-signature {
  display: inline-block;
  margin-top: 30px;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.source-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: fit-content;
  min-height: 44px;
  margin-top: 20px;
  color: var(--sunset);
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.story-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 44px;
  color: rgba(23, 63, 55, 0.56);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.gallery-section {
  position: relative;
  padding: clamp(110px, 13vw, 190px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 253, 246, 0.72), transparent 23%),
    linear-gradient(135deg, #dce2dc, #c8d3cf 55%, #b8c9c7);
}

.gallery-section::before {
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(23, 63, 55, 0.11);
}

.gallery-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  align-items: end;
  gap: 80px;
  margin-bottom: clamp(70px, 9vw, 130px);
}

.gallery-heading .section-index {
  margin-bottom: 46px;
}

.gallery-heading h2 {
  margin: 0;
}

.gallery-heading > p {
  max-width: 430px;
  margin-bottom: 8px;
  color: rgba(39, 49, 47, 0.7);
  font-family: var(--serif);
  font-size: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px);
  align-items: start;
}

.gallery-card {
  position: relative;
  margin: 0;
}

.gallery-store {
  grid-column: 1 / span 5;
}

.gallery-city {
  grid-column: 6 / span 7;
  margin-top: 90px;
}

.gallery-people {
  grid-column: 2 / span 4;
  margin-top: 28px;
}

.gallery-bay {
  grid-column: 6 / span 7;
  align-self: end;
  margin-top: 100px;
}

.gallery-image {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(23, 63, 55, 0.18);
}

.gallery-store .gallery-image,
.gallery-people .gallery-image {
  aspect-ratio: 3 / 4;
}

.gallery-city .gallery-image {
  aspect-ratio: 16 / 10;
}

.gallery-bay .gallery-image {
  aspect-ratio: 3.8 / 1;
}

.gallery-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(11, 41, 36, 0.2), transparent 35%);
  pointer-events: none;
}

.gallery-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1), filter 500ms ease;
}

.gallery-card:hover .gallery-image img {
  filter: saturate(0.96) contrast(1.02);
  transform: scale(1.035);
}

.gallery-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 63, 55, 0.2);
}

.gallery-card figcaption span {
  grid-row: 1 / span 2;
  color: var(--sunset);
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.gallery-card figcaption strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 600;
}

.gallery-card figcaption a {
  width: fit-content;
  min-height: 28px;
  color: rgba(23, 63, 55, 0.6);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.gallery-card figcaption a:hover {
  color: var(--sunset);
}

.gallery-credits {
  margin-top: 82px;
}

.gallery-credits p {
  max-width: 900px;
  margin: 0;
  padding-top: 18px;
  color: rgba(23, 63, 55, 0.56);
  border-top: 1px solid rgba(23, 63, 55, 0.18);
  font-size: 11px;
  line-height: 1.8;
}

.gallery-credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.books-section {
  position: relative;
  padding: clamp(100px, 11vw, 160px) 0;
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(120, 153, 154, 0.06), transparent 40%),
    var(--ink-deep);
}

.books-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, 1320px);
  height: 1px;
  content: "";
  background: rgba(243, 239, 228, 0.2);
  transform: translateX(-50%);
}

.books-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 80px;
}

.books-heading .section-index {
  margin-bottom: 48px;
  color: rgba(243, 239, 228, 0.45);
}

.books-heading h2 {
  color: var(--paper-bright);
}

.books-heading > p {
  max-width: 410px;
  margin-bottom: 4px;
  color: rgba(243, 239, 228, 0.6);
  font-family: var(--serif);
  font-size: 16px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(243, 239, 228, 0.16);
  border-left: 1px solid rgba(243, 239, 228, 0.16);
}

.book-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px 138px 1fr;
  gap: clamp(18px, 2vw, 34px);
  min-height: 330px;
  padding: clamp(28px, 3vw, 46px);
  border-right: 1px solid rgba(243, 239, 228, 0.16);
  border-bottom: 1px solid rgba(243, 239, 228, 0.16);
  transition: background 320ms ease;
}

.book-card:hover {
  background: rgba(243, 239, 228, 0.05);
}

.book-number {
  color: rgba(243, 239, 228, 0.38);
  font-family: Georgia, serif;
  font-size: 11px;
}

.book-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 138px;
  height: 202px;
  padding: 22px 16px 18px;
  color: #f7f2e7;
  box-shadow: 12px 18px 30px rgba(0, 0, 0, 0.24), inset 5px 0 10px rgba(0, 0, 0, 0.14);
  transform: rotate(-1deg);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.book-card:nth-child(even) .book-cover {
  transform: rotate(1.2deg);
}

.book-card:hover .book-cover {
  box-shadow: 16px 25px 36px rgba(0, 0, 0, 0.34), inset 5px 0 10px rgba(0, 0, 0, 0.14);
  transform: translateY(-8px) rotate(0deg);
}

.book-cover::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.25);
}

.book-cover span {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

.book-cover small {
  align-self: flex-end;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.cover-sea { background: linear-gradient(160deg, #728f93, #29484b); }
.cover-gold { color: #3b3021; background: linear-gradient(160deg, #d8c286, #9e7b38); }
.cover-blue { background: linear-gradient(160deg, #57758d, #263c4c); }
.cover-red { background: linear-gradient(160deg, #a94e36, #61281f); }
.cover-forest { background: linear-gradient(160deg, #5f7651, #293b29); }
.cover-sky { color: #29484b; background: linear-gradient(160deg, #bed5d0, #789fa0); }

.book-info {
  align-self: center;
}

.book-category {
  margin-bottom: 16px;
  color: var(--sunset);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.book-info h3 {
  margin-bottom: 16px;
  color: var(--paper-bright);
  font-size: clamp(22px, 1.9vw, 30px);
  letter-spacing: -0.02em;
}

.book-info > p:not(.book-category) {
  margin-bottom: 23px;
  color: rgba(243, 239, 228, 0.58);
  font-size: 13px;
  line-height: 1.85;
}

.staff-note {
  display: block;
  padding-top: 13px;
  border-top: 1px solid rgba(243, 239, 228, 0.17);
  color: rgba(243, 239, 228, 0.75);
  font-family: var(--serif);
  font-size: 12px;
}

.events {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.8fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
  padding-top: clamp(110px, 15vw, 210px);
  padding-bottom: clamp(110px, 15vw, 210px);
}

.events-photo {
  position: relative;
  padding-left: clamp(0px, 4vw, 60px);
}

.events-photo::before {
  position: absolute;
  top: -34px;
  right: 34px;
  bottom: 34px;
  left: 0;
  z-index: -1;
  content: "";
  border: 1px solid var(--sea);
}

.events-photo img {
  aspect-ratio: 0.9;
  object-fit: cover;
  filter: sepia(0.08) saturate(0.72) contrast(1.05);
  box-shadow: var(--shadow);
}

.events-photo p {
  margin: 14px 0 0;
  color: rgba(23, 63, 55, 0.56);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.events-content .section-index {
  margin-bottom: 50px;
}

.events h2 {
  margin-bottom: 32px;
}

.events-intro {
  max-width: 540px;
  margin-bottom: 38px;
  color: rgba(39, 49, 47, 0.68);
  font-family: var(--serif);
}

.event-list {
  border-top: 1px solid var(--line);
}

.event-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.event-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--sunset);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
}

.event-list h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 19px;
  letter-spacing: 0;
}

.event-list p {
  margin: 0;
  color: rgba(39, 49, 47, 0.6);
  font-size: 13px;
}

.visit-section {
  padding: 0 var(--gutter) clamp(72px, 8vw, 120px);
}

.visit-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.38fr 1fr 0.42fr;
  gap: 60px;
  align-items: center;
  min-height: 600px;
  padding-top: 90px;
  padding-bottom: 90px;
  overflow: hidden;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 90% 20%, rgba(120, 153, 154, 0.27), transparent 25%),
    linear-gradient(115deg, var(--ink-deep), var(--ink));
}

.visit-panel::before,
.visit-panel::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(243, 239, 228, 0.12);
  border-radius: 50%;
}

.visit-panel::before {
  right: -150px;
  bottom: -320px;
  width: 700px;
  height: 700px;
}

.visit-panel::after {
  right: -50px;
  bottom: -220px;
  width: 500px;
  height: 500px;
}

.visit-kicker {
  display: flex;
  align-items: center;
  gap: 20px;
  align-self: start;
  color: rgba(243, 239, 228, 0.55);
}

.visit-kicker span {
  color: var(--sunset);
  font-size: 24px;
}

.visit-kicker p {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.visit-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.visit-panel h2 {
  margin-bottom: 28px;
  color: var(--paper-bright);
}

.visit-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(243, 239, 228, 0.64);
  font-family: var(--serif);
}

.visit-copy address {
  margin: 34px 0;
  color: var(--paper-bright);
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  font-style: normal;
  letter-spacing: 0.04em;
}

.visit-phone {
  margin: -18px 0 32px;
  font-family: var(--sans) !important;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.visit-phone a {
  color: var(--paper-bright);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(243, 239, 228, 0.38);
  text-underline-offset: 5px;
}

.button-light {
  color: var(--ink-deep);
  background: var(--paper-bright);
}

.button-light:hover {
  color: var(--paper-bright);
  background: var(--sunset);
}

.visit-compass {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  justify-self: center;
  width: clamp(150px, 14vw, 220px);
  aspect-ratio: 1;
  border: 1px solid rgba(243, 239, 228, 0.36);
  border-radius: 50%;
}

.visit-compass::before,
.visit-compass::after {
  position: absolute;
  content: "";
  background: rgba(243, 239, 228, 0.18);
}

.visit-compass::before { width: 140%; height: 1px; }
.visit-compass::after { width: 1px; height: 140%; }

.visit-compass b {
  display: grid;
  place-items: center;
  width: 56%;
  aspect-ratio: 1;
  color: var(--paper-bright);
  background: var(--sunset);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
}

.compass-n {
  position: absolute;
  top: -31px;
  font-family: Georgia, serif;
  font-size: 11px;
}

.compass-line {
  position: absolute;
  top: 5%;
  width: 1px;
  height: 22%;
  background: var(--sunset);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 30px var(--gutter) 48px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--paper-bright);
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.footer-note {
  justify-self: end;
  color: rgba(23, 63, 55, 0.5);
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  }

  .hero-photo-main {
    width: 82%;
  }

  .story {
    grid-template-columns: 0.3fr 1fr 1fr;
  }

  .story-aside {
    display: none;
  }

  .book-card {
    grid-template-columns: 26px 110px 1fr;
    padding: 30px 24px;
  }

  .book-cover {
    width: 110px;
    height: 172px;
  }

  .events {
    gap: 70px;
  }

  .visit-panel {
    grid-template-columns: 0.2fr 1fr 0.34fr;
    gap: 34px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  html {
    scroll-padding-top: 66px;
  }

  .site-header {
    height: 64px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  .nav-toggle-lines,
  .nav-toggle-lines::before {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
  }

  .nav-toggle-lines {
    position: relative;
  }

  .nav-toggle-lines::before {
    position: absolute;
    top: 6px;
    content: "";
  }

  .site-nav {
    position: absolute;
    top: 58px;
    right: var(--gutter);
    display: grid;
    width: min(260px, calc(100vw - 44px));
    gap: 0;
    padding: 18px;
    color: var(--paper-bright);
    background: var(--ink-deep);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav .nav-visit {
    margin-top: 10px;
    padding-inline: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
  }

  .js .site-nav {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: visibility 220ms ease, opacity 220ms ease, transform 220ms ease;
  }

  .js .site-header.is-nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .js .site-header.is-nav-open .nav-toggle-lines {
    transform: rotate(45deg) translateY(2px);
  }

  .js .site-header.is-nav-open .nav-toggle-lines::before {
    top: 0;
    transform: rotate(-90deg);
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 68px;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    max-width: 9em;
    margin-bottom: 20px;
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.08;
    text-wrap: balance;
  }

  .hero h1 span:last-child {
    margin: 0;
    -webkit-text-stroke-width: 1px;
  }

  .hero-intro,
  .hero-actions,
  .hero-note {
    margin-left: 0;
  }

  .hero-intro {
    max-width: 34em;
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-actions {
    align-items: center;
    gap: 16px;
  }

  .hero-note {
    margin-top: 26px;
  }

  .hero-visual {
    height: 380px;
    min-height: 0;
    margin-top: 38px;
  }

  .hero-photo-main {
    width: 88%;
    height: 84%;
  }

  .hero-photo-sea {
    left: 0;
    width: 50%;
    height: 32%;
    border-width: 8px;
  }

  .lookout-seal {
    top: 15%;
    left: 1%;
    width: 92px;
  }

  .lookout-seal b {
    font-size: 21px;
  }

  .visual-caption {
    right: -4px;
  }

  .scroll-cue {
    display: none;
  }

  .story {
    display: block;
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .story .section-index,
  .books-heading .section-index,
  .events-content .section-index {
    margin-bottom: 28px;
  }

  .story-title-wrap {
    margin-bottom: 32px;
  }

  .story h2,
  .gallery-heading h2,
  .books-heading h2,
  .events h2,
  .visit-panel h2 {
    font-size: clamp(36px, 10.5vw, 48px);
    text-wrap: balance;
  }

  .story-copy {
    padding-top: 0;
  }

  .gallery-section {
    padding: 78px 0 82px;
  }

  .gallery-heading {
    display: block;
    margin-bottom: 42px;
  }

  .gallery-heading .section-index {
    margin-bottom: 28px;
  }

  .gallery-heading > p {
    margin-top: 20px;
  }

  .gallery-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 340px);
    gap: 18px;
    width: calc(100% + var(--gutter));
    padding: 2px var(--gutter) 14px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .gallery-grid::-webkit-scrollbar,
  .book-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-store,
  .gallery-city,
  .gallery-people,
  .gallery-bay {
    grid-column: auto;
    width: auto;
    margin-top: 0;
    scroll-snap-align: start;
  }

  .gallery-city,
  .gallery-bay {
    width: auto;
    margin-left: 0;
  }

  .gallery-store .gallery-image,
  .gallery-city .gallery-image,
  .gallery-people .gallery-image,
  .gallery-bay .gallery-image {
    aspect-ratio: 4 / 3;
  }

  .gallery-card figcaption {
    grid-template-columns: 52px 1fr;
  }

  .gallery-credits {
    margin-top: 42px;
  }

  .books-section {
    padding: 80px 0 86px;
  }

  .books-heading {
    display: block;
    margin-bottom: 42px;
  }

  .books-heading > p {
    margin-top: 20px;
  }

  .book-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 340px);
    width: 100%;
    gap: 14px;
    padding-right: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    border-left: 0;
  }

  .book-card {
    grid-template-columns: 20px 92px 1fr;
    min-height: 276px;
    gap: 14px;
    padding: 26px 16px;
    border-top: 1px solid rgba(243, 239, 228, 0.16);
    border-left: 1px solid rgba(243, 239, 228, 0.16);
    scroll-snap-align: start;
  }

  .book-cover {
    width: 92px;
    height: 150px;
    padding: 16px 12px 13px;
  }

  .book-cover span {
    font-size: 15px;
  }

  .book-info h3 {
    margin-bottom: 12px;
    font-size: 21px;
  }

  .book-info > p:not(.book-category) {
    font-size: 12px;
    line-height: 1.65;
  }

  .events {
    display: flex;
    flex-direction: column;
    gap: 58px;
    padding-top: 82px;
    padding-bottom: 86px;
  }

  .events-photo {
    width: 100%;
    padding-left: 20px;
  }

  .events-photo::before {
    top: -20px;
    right: 20px;
    bottom: 20px;
  }

  .events-content {
    width: 100%;
  }

  .visit-section {
    padding-inline: 0;
    padding-bottom: 0;
  }

  .visit-panel {
    display: block;
    min-height: 560px;
    padding-top: 66px;
    padding-bottom: 178px;
  }

  .visit-kicker {
    margin-bottom: 30px;
  }

  .visit-kicker p {
    writing-mode: horizontal-tb;
  }

  .visit-copy address {
    margin: 24px 0;
    font-size: 17px;
  }

  .visit-phone {
    margin: -10px 0 26px;
    font-size: 13px !important;
  }

  .visit-compass {
    position: absolute;
    right: 30px;
    bottom: 46px;
    width: 118px;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 48px;
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .footer-note {
    align-self: flex-start;
  }

  .mobile-action-bar {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6px;
    min-height: 60px;
    padding: 6px;
    color: var(--paper-bright);
    background: rgba(11, 41, 36, 0.94);
    border: 1px solid rgba(255, 253, 246, 0.18);
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(11, 41, 36, 0.28), inset 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
  }

  .mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .mobile-action-phone {
    color: var(--paper-bright);
    background: rgba(255, 255, 255, 0.08);
  }

  .mobile-action-map {
    color: var(--ink-deep);
    background: var(--paper-bright);
  }

  .mobile-action-bar a:active {
    transform: translateY(1px) scale(0.99);
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
  }

  .button-primary {
    width: 100%;
  }

  .book-card {
    grid-template-columns: 16px 82px 1fr;
    gap: 10px;
    padding-inline: 12px;
  }

  .book-cover {
    width: 82px;
    height: 138px;
  }

  .staff-note {
    font-size: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
