/* The Copper Clam - Brighton seafront seafood restaurant.
   Palette taken from the venue's own wordmark (#B66300) and the brick of the arches. */

:root {
  --copper: #b66300;
  --copper-lift: #d98420;
  --ink: #171311;
  --ink-soft: #3d3531;
  --brick: #6b4636;
  --sand: #faf6f0;
  --sand-deep: #f0e8dc;
  --line: #ddd0be;
  --white: #fff;

  --measure: 34rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4rem, 9vw, 7.5rem);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--copper); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.wrap { width: min(72rem, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { width: min(46rem, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0 0 1rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(23, 19, 17, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: 0.6rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--copper-lift); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.2vw, 1.9rem);
}
.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.site-nav a:hover { color: var(--white); }
.site-nav .nav-links { display: flex; gap: clamp(0.85rem, 2.2vw, 1.9rem); }

@media (max-width: 46rem) {
  .site-nav .nav-links { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--copper);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: #9c5400; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

.btn--outline {
  background: transparent;
  border-color: var(--copper);
  color: #8f4e00;
}
.btn--outline:hover { background: var(--copper); color: var(--white); }

/* ---------- hero ---------- */

.hero { position: relative; background: var(--ink); color: var(--white); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  height: clamp(24rem, 66vh, 40rem);
  object-fit: cover;
  object-position: center 58%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 12, 10, 0.62) 0%, rgba(15, 12, 10, 0.34) 42%, rgba(15, 12, 10, 0.86) 100%);
}

.hero__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding-block: clamp(2rem, 6vw, 3.75rem);
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.hero h1 em { font-style: normal; color: var(--copper-lift); }

.hero__lede {
  max-width: var(--measure);
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.75rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__eyebrow {
  color: var(--copper-lift);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

/* ---------- generic section ---------- */

.section { padding-block: var(--section); }
.section--sand { background: var(--sand-deep); }
.section--ink { background: var(--ink); color: var(--sand); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--copper-lift); }

.section h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: 1.1rem; }

.lede { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); max-width: var(--measure); }
.section--ink .lede { color: rgba(250, 246, 240, 0.82); }

/* ---------- intro split ---------- */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 54rem) {
  .split { grid-template-columns: 1.05fr 1fr; }
  .split--flip .split__media { order: -1; }
}
.split__media img { border-radius: 3px; }
.split__body p { color: var(--ink-soft); max-width: var(--measure); }
.section--ink .split__body p { color: rgba(250, 246, 240, 0.82); }

.figure-note {
  font-size: 0.8125rem;
  color: var(--brick);
  margin-top: 0.6rem;
  font-style: italic;
}
.section--ink .figure-note { color: rgba(250, 246, 240, 0.6); }

/* ---------- gallery strip ---------- */

.strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 46rem) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }

/* ---------- menu ---------- */

.menu-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem) clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 48rem) { .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.menu-block h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.35rem;
}

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding-block: 0.7rem; border-bottom: 1px solid var(--line); }

.menu-row {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
}
.menu-row b { font-weight: 600; font-size: 1.0625rem; }
.menu-row .price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #8f4e00;
  white-space: nowrap;
}
.menu-list small { display: block; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }

.menu-note {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* ---------- events cards ---------- */

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 50rem) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card h3 { font-size: 1.3rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.96875rem; }
.card .capacity {
  margin-top: auto;
  padding-top: 0.85rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brick);
  border-top: 1px solid var(--line);
}

/* ---------- visit ---------- */

.visit {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
@media (min-width: 52rem) { .visit { grid-template-columns: 1fr 1fr; } }

.hours { list-style: none; margin: 0 0 1.5rem; padding: 0; max-width: 26rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.hours .day { color: rgba(250, 246, 240, 0.86); }
.hours .time { font-variant-numeric: tabular-nums; color: var(--white); font-weight: 600; }
.hours .closed { color: rgba(250, 246, 240, 0.55); font-weight: 500; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding-block: 0.55rem; }
.contact-list a { color: var(--copper-lift); }
.contact-list .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.62);
  margin-bottom: 0.15rem;
}
.contact-list address { font-style: normal; color: rgba(250, 246, 240, 0.9); }

/* ---------- booking band ---------- */

.band {
  background: var(--copper);
  color: var(--white);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.band h2 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.5rem); }
.band p {
  max-width: 36rem;
  margin: 0.85rem auto 1.75rem;
  color: rgba(255, 255, 255, 0.94);
}
.band .btn {
  background: var(--white);
  color: #8f4e00;
}
.band .btn:hover { background: var(--sand); }
.band .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.band .btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }
.band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(250, 246, 240, 0.72);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 0.9375rem;
}
.site-footer a { color: var(--copper-lift); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer address { font-style: normal; }
.site-footer .legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: rgba(250, 246, 240, 0.55);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--copper);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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