@font-face {
  font-family: "Gulfs Display";
  src: url("/assets/gulfs-display.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root { color-scheme: light; --red: #ef0101; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #000; background: #fff; font-family: Arial, sans-serif; }
a { color: inherit; text-underline-offset: .08em; }
a:hover { color: var(--red); }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 7px; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 12px; background: white; z-index: 10; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Real columns keep the original composition without clipped text boxes. */
.home-canvas { width: min(1440px, 100%); margin: 0 auto; padding: clamp(32px, 4.5vw, 64px) clamp(32px, 7vw, 100px) 180px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; align-content: center; }
.home-logo { width: min(100%, 410px); margin: 32px auto 0; }
.home-logo img { width: 100%; height: auto; }
.display { font-family: "Gulfs Display", sans-serif; font-weight: 400; font-kerning: none; font-variant-ligatures: none; -webkit-font-smoothing: antialiased; }
.home-content { min-width: 0; text-align: center; }
.home-title { margin: 0; padding-bottom: .12em; font-size: clamp(36px, 5.15vw, 74px); line-height: 1.4; }
.home-description { margin: 12px 0 0; padding-bottom: .15em; font-size: clamp(18px, 2.35vw, 34px); line-height: 1.55; }
.home-nav { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: clamp(40px, 5vw, 72px); }
.home-link { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.5; }

.page { width: min(1120px, calc(100% - 96px)); margin: 0 auto; padding: 48px 0 100px; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; width: 88px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.page-nav { display: flex; gap: 32px; font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 20px; }
.page-title { font-size: clamp(64px, 9vw, 112px); line-height: 1.1; margin: 100px 0 36px; }
.index-description { font-size: 20px; line-height: 1.6; margin: 0 0 44px; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; font-family: "DM Sans", sans-serif; font-size: clamp(20px, 3vw, 28px); font-style: normal; line-height: 1.6; overflow-wrap: anywhere; }
.contact-details a { max-width: 100%; }
.piece-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid #000; }
.piece-list li { border-bottom: 1px solid #000; }
.piece-link { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: baseline; gap: 20px; padding: 28px 0; text-decoration: none; }
.piece-number, .piece-category { font-size: 15px; }
.piece-title { margin: 0; font-size: clamp(24px, 3vw, 40px); line-height: 1.2; }
.piece-category { display: block; margin-top: 10px; color: #555; }
.piece-subtitle { display: block; margin-top: 12px; font-family: "Gulfs Display", sans-serif; font-size: 18px; line-height: 1.5; font-weight: 400; }
.empty-index { padding: 32px 0; border-top: 2px solid #000; font-size: 18px; line-height: 1.6; }
.empty-index p { margin: 0; }
.article { max-width: 740px; margin: 80px auto 0; }
.article-title { font-size: clamp(42px, 6vw, 72px); line-height: 1.15; margin: 20px 0 24px; overflow-wrap: anywhere; }
.article-subtitle { font-family: "Gulfs Display", sans-serif; font-weight: 400; font-size: clamp(23px, 3vw, 32px); line-height: 1.4; margin: 0 0 32px; }
.article-meta { font-family: "DM Sans", sans-serif; font-size: 15px; line-height: 1.6; margin: 0 0 28px; color: #555; }
.article-body { font-family: "DM Sans", sans-serif; font-weight: 400; font-size: 21px; line-height: 1.7; }
.article-body p { margin: 0 0 1.4em; white-space: pre-line; }
.article-body h2 { font-family: "Gulfs Display", sans-serif; font-weight: 400; font-size: 27px; line-height: 1.5; margin: 2em 0 .75em; }
.article-body figure { margin: 40px 0; }
.article-body img { width: 100%; height: auto; }
.article-body figcaption { font-family: "DM Sans", sans-serif; color: #555; font-size: 14px; margin-top: 12px; }
.article-footer { margin-top: 64px; border-top: 1px solid #000; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; font-family: "DM Sans", sans-serif; }

.gallery-section { width: min(1120px, calc(100% - 96px)); margin: 0 auto; padding: 16px 0 100px; }
#revelers-slideshow { scroll-margin-top: 24px; }
.gallery-heading { font-size: clamp(32px, 4vw, 48px); line-height: 1.4; margin: 0 0 12px; }
.gallery-description { font-family: "Gulfs Display", sans-serif; font-weight: 400; font-size: 21px; line-height: 1.5; margin: 0; }
.slideshow { margin-top: 40px; }
.gallery-section .slideshow { margin-top: 16px; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.slide img { width: 100%; height: min(72vh, 700px); object-fit: contain; }
.slideshow-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 20px; }
.slideshow-controls[hidden] { display: none; }
.slideshow button { width: 48px; height: 48px; border: 1px solid #000; border-radius: 0; background: #fff; color: #000; font-size: 25px; cursor: pointer; }
.slideshow button:hover { color: var(--red); border-color: var(--red); }
.slideshow button:focus-visible, .slides:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.slide-count { font-size: 16px; font-variant-numeric: tabular-nums; min-width: 56px; text-align: center; }
.gallery-link { display: inline-block; margin-top: 28px; font-family: "DM Sans", sans-serif; font-size: 20px; line-height: 1.5; }
.article-gallery { margin-top: 64px; }

@media (max-width: 720px) {
  .home-canvas { padding: 40px 24px 120px; display: flex; flex-direction: column; align-items: center; gap: 0; }
  .home-logo { width: min(62vw, 270px); margin: 0 0 32px; }
  .home-content { width: 100%; }
  .home-title { font-size: clamp(34px, 9.5vw, 54px); line-height: 1.4; }
  .home-description { font-size: clamp(17px, 4.3vw, 26px); line-height: 1.55; margin-top: 10px; }
  .home-nav { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
  .home-link { position: static; width: auto; font-size: 28px; line-height: 1.4; min-height: 44px; }
  .page { width: calc(100% - 40px); padding: 28px 0 60px; }
  .brand { width: 64px; }
  .page-header { gap: 20px; flex-wrap: wrap; }
  .page-nav { gap: 18px; font-size: 17px; }
  .page-title { margin-top: 70px; }
  .piece-link { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .article { margin-top: 60px; }
  .article-body { font-size: 19px; }
  .gallery-section { width: calc(100% - 40px); padding-bottom: 60px; }
  .slide img { height: auto; aspect-ratio: 1; }
}

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