:root {
  --ink: #1c1915;
  --paper: #f6f1e7;
  --porcelain: #fffdf7;
  --blue: #174d64;
  --green: #527a5d;
  --red: #c84e3f;
  --marigold: #d49a32;
  --concrete: #c9c5b8;
  --muted: #625d53;
  --rule: rgba(28, 25, 21, 0.16);
  --shadow: 0 18px 44px rgba(28, 25, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 77, 100, 0.055) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: 42px 42px;
  font-family: Inter, Manrope, "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.82), rgba(246, 241, 231, 0.9));
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  color: #fff;
  background: var(--blue);
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  padding: 0.8rem 1rem;
  clip: auto;
  clip-path: none;
  white-space: normal;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1220px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--rule);
}

.brand-lockup {
  display: inline-flex;
  min-height: 44px;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-context {
  margin-top: 0.18rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding: 0.55rem 0.72rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--red);
  color: var(--ink);
}

main > section {
  scroll-margin-top: 1.25rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(24rem, 1.18fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) 1.8rem;
}

.hero-copy {
  max-width: 31rem;
}

.kicker,
.section-label {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Newsreader", Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 8ch;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 4.45rem;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: 2.45rem;
}

h3 {
  margin-bottom: 0.34rem;
  font-size: 1.02rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 26rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button.primary {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: var(--porcelain);
}

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

.button.primary:hover {
  border-color: var(--red);
  background: var(--red);
}

.button.secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--porcelain);
  box-shadow: var(--shadow);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0.65rem;
  z-index: 1;
  border: 1px solid rgba(255, 253, 247, 0.82);
  pointer-events: none;
}

.hero-frame img {
  object-position: 45% 58%;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1220px;
  margin: 0 auto 2rem;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.proof-strip div {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 1rem;
}

.proof-strip div:first-child {
  border-left: 1px solid var(--rule);
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-strip strong {
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.counter-section,
.space-section,
.gallery-section,
.visit-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(2.6rem, 6vw, 4.4rem) clamp(1rem, 4vw, 2rem);
}

.counter-grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.9fr) minmax(18rem, 1fr) minmax(15rem, 0.74fr);
  gap: clamp(1.1rem, 3vw, 2.4rem);
  align-items: start;
}

.section-heading p,
.space-copy p,
.gallery-heading p {
  max-width: 34rem;
  color: var(--muted);
}

.offer-list {
  border-top: 1px solid var(--ink);
}

.offer-list article {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.75rem;
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
}

.offer-list span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.offer-list p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.detail-photo,
.space-photo,
.tile {
  margin: 0;
}

.detail-photo img,
.space-photo img,
.tile img {
  border: 1px solid var(--ink);
  background: var(--porcelain);
}

.detail-photo {
  align-self: stretch;
}

.detail-photo img {
  aspect-ratio: 4 / 5;
  object-position: 50% 55%;
}

figcaption {
  margin-top: 0.48rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.space-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.74fr) minmax(18rem, 1fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: center;
  border-top: 1px solid var(--rule);
}

.space-photo img {
  aspect-ratio: 3 / 4;
  object-position: 50% 56%;
}

.space-copy {
  max-width: 38rem;
}

.gallery-section {
  border-top: 1px solid var(--rule);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(16rem, 0.6fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 0.9fr;
  grid-template-rows: repeat(2, clamp(12rem, 16vw, 14.5rem));
  gap: 0.65rem;
  align-items: stretch;
}

.tile {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
}

.tile img {
  min-height: 0;
  aspect-ratio: auto;
  transition: transform 160ms ease;
}

.tile:hover img {
  transform: translateY(-2px) scale(1.01);
}

.tile.cups {
  grid-column: 1;
  grid-row: 1 / 3;
}

.tile.goods {
  grid-column: 2 / 4;
  grid-row: 1;
}

.tile.cold {
  grid-column: 4;
  grid-row: 1 / 3;
}

.tile.counter {
  grid-column: 2;
  grid-row: 2;
}

.tile.merch {
  grid-column: 3;
  grid-row: 2;
}

.tile.cups img,
.tile.cold img {
  aspect-ratio: auto;
}

.tile.goods img {
  aspect-ratio: auto;
  object-position: 48% 50%;
}

.tile.counter img {
  aspect-ratio: auto;
  object-position: 46% 48%;
}

.tile.merch img {
  aspect-ratio: auto;
  object-position: 58% 42%;
}

.tile.cups img {
  object-position: 50% 64%;
}

.tile.cold img {
  object-position: 50% 58%;
}

.visit-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--ink);
}

address {
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1220px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  padding: 1.2rem clamp(1rem, 4vw, 2rem) 2rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer p {
  margin-bottom: 0;
}

.js .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 170ms ease, transform 170ms ease;
}

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

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 0.86fr 1.14fr;
    gap: 1.6rem;
  }

  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .counter-grid {
    grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 1fr);
  }

  .detail-photo {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .counter-grid,
  .space-section,
  .gallery-heading,
  .visit-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-frame {
    aspect-ratio: 4 / 5;
  }

  .hero-frame img {
    object-position: 50% 58%;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip div:nth-child(odd) {
    border-left: 1px solid var(--rule);
  }

  .detail-photo {
    grid-column: auto;
    grid-row: auto;
    max-width: 28rem;
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .tile {
    display: block;
  }

  .tile.cups,
  .tile.goods,
  .tile.cold,
  .tile.counter,
  .tile.merch {
    grid-column: auto;
    grid-row: auto;
  }

  .tile.merch img {
    aspect-ratio: 4 / 5;
  }

  .visit-section {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 520px) {
  body {
    background-size: 34px 34px;
  }

  .site-header {
    padding: 0.82rem 1rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-context {
    font-size: 0.68rem;
  }

  .site-nav a {
    padding: 0.5rem 0.45rem;
    font-size: 0.84rem;
  }

  .hero,
  .counter-section,
  .space-section,
  .gallery-section,
  .visit-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    max-width: 7.4ch;
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.72rem;
    line-height: 1.05;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions,
  .visit-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 46px;
    padding: 0.72rem 0.8rem;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div,
  .proof-strip div:first-child {
    min-height: 72px;
    border-left: 1px solid var(--rule);
  }

  .offer-list article {
    grid-template-columns: 1.8rem 1fr;
    gap: 0.55rem;
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
  }

  .tile img,
  .tile.merch img {
    aspect-ratio: 4 / 5;
  }

  .tile.goods img,
  .tile.counter img {
    aspect-ratio: 1 / 1;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (max-width: 340px) {
  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.48rem;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .proof-strip strong,
  .offer-list p,
  .section-heading p,
  .space-copy p,
  .gallery-heading p {
    font-size: 0.92rem;
  }
}

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

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

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

  .button:hover,
  .tile:hover img {
    transform: none;
  }
}
