/* Three Sisters Coffee and Tea. Copper from their logo, black from their shopfront. */
[hidden] { display: none !important; } /* keep in every design: past closures and the empty closures list stay hidden */
:root {
  --copper: #b6845b;      /* the logo colour: thin bands and rules */
  --copper-ink: #8f633f;  /* the same copper, dark enough for text and buttons */
  --ink: #1d1b19;
  --soft: #5c554f;
  --line: #e6dfd8;
  --gold: #d9bd7a;        /* the gold letters of their shop sign */
  --sign: "Crimson Text", Georgia, "Times New Roman", serif;
  --head: Oswald, "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: "Crimson Text", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 19px/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-ink); text-underline-offset: 3px; }
h1, h2, h3, .foot__name { font-family: var(--head); font-weight: 500; line-height: 1.15; letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 .7em; }
h3 { font-size: 1.15rem; margin: 0 0 .35em; }
p { margin: 0 0 .8em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Header */
.top { border-top: 4px solid var(--copper); border-bottom: 1px solid var(--line); background: #fff; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand img { width: 116px; height: auto; }
.brand span { font-family: var(--head); font-size: 1.2rem; font-weight: 500; letter-spacing: .02em; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-family: var(--head); font-size: 1.02rem; }
.nav a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--copper); }

/* Hero: the shopfront across the whole width, the name and buttons right under it */
.hero__img { width: 100%; height: clamp(230px, 46vh, 520px); object-fit: cover; object-position: 50% 30%; }
.hero { background: var(--ink); color: #f2ede8; }
.hero__text { display: grid; gap: 18px 48px; padding: 28px 0 34px; align-items: end; }
.hero h1 { font-family: var(--sign); font-weight: 600; color: var(--gold); font-size: clamp(2.4rem, 6.2vw, 4.4rem); line-height: 1.05; letter-spacing: .005em; margin: 0 0 .25em; }
.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); color: #e4ddd5; margin: 0; max-width: 44ch; }
.status { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 1.3rem; letter-spacing: .01em; color: #fff; background: var(--copper-ink); padding: 8px 14px; border-radius: 3px; margin: 0 0 10px; }
.today-hours { margin: 0 0 14px; color: #e4ddd5; }
.today-line:empty { display: none; }
.buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 440px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 18px;
  font-family: var(--head); font-size: 1.1rem; letter-spacing: .03em; text-decoration: none; border-radius: 3px;
  border: 2px solid var(--copper); color: #fff; background: transparent; }
.btn--main { background: var(--copper-ink); color: #fff; }
.btn--main { border-color: var(--copper-ink); }
.btn:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* The strip: Where / Hours / Call */
.strip { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); border-top: 4px solid var(--copper); }
.strip__in { display: grid; gap: 0; }
.strip__cell { padding: 18px 0; border-bottom: 1px solid var(--line); }
.strip__cell:last-child { border-bottom: 0; }
.strip__label { font-size: .95rem; color: var(--copper-ink); letter-spacing: .08em; margin: 0 0 .25em !important; font-family: var(--head); }
.strip p { margin: 0; }
.strip a { color: var(--copper-ink); }
.strip__where a { display: inline-block; margin-top: 2px; }

/* Photos */
.gallery-sec { padding: 36px 0 28px; }
.gallery-sec > .wrap { border-top: 1px solid var(--line); padding-top: 40px; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery figcaption { font-size: 1rem; color: var(--soft); padding-top: 6px; }
.more { margin-top: 14px; font-family: var(--head); }
.more a { display: inline-flex; align-items: center; min-height: 44px; }

/* Menu */
.menu-sec { padding: 36px 0; }
.menu__in { display: grid; gap: 8px 48px; padding-top: 12px; }
.items { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.items li { padding: 7px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: 1.15rem; }
.items li[data-sold-out] { opacity: .6; }
.price { color: var(--soft); margin-left: 6px; }
.sold-out { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

/* Private events */
.events { padding: 36px 0; }
.events__in { display: grid; gap: 8px 48px; border-top: 1px solid var(--line); padding-top: 40px; }
.events p { max-width: 52ch; }

/* Good to know: hours, details and the questions */
.know { padding: 36px 0 60px; }
.know__in { display: grid; gap: 28px 48px; border-top: 1px solid var(--line); padding-top: 40px; }
.know h3 { margin-top: .2em; }
.rows { margin: 0 0 18px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 600; white-space: nowrap; }
.rows dd { margin: 0; text-align: right; }
.closures { list-style: none; padding: 0; font-weight: 700; }
.faq h3 { margin-top: 0; }
.faq p { margin-bottom: 1.4em; }

/* Other pages */
.page { padding: 44px 0 60px; }
.page h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .4em; }
.page .intro { font-size: 1.2rem; color: var(--soft); max-width: 46ch; }
.page section { margin-top: 34px; }
.photo-list { display: grid; gap: 28px; }
.photo-list figure { margin: 0; }
.photo-list figcaption { color: var(--soft); padding-top: 6px; }
.about-photo { margin: 28px 0 0; width: 100%; }
.about-grid { display: grid; gap: 0 48px; align-items: start; }
.photo-list { grid-auto-flow: dense; }
.photo-list img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-list .tall img { aspect-ratio: 2 / 3; }
.about-text p { max-width: 60ch; }
.contact-big { display: grid; gap: 12px; max-width: 440px; margin: 8px 0 18px; }

/* Footer */
.foot { background: var(--ink); color: #e9e3dd; margin-top: 0; border-top: 4px solid var(--copper); }
.foot__in { display: grid; gap: 22px 48px; padding: 36px 0 18px; font-size: 1.02rem; }
.foot__name { color: #fff; font-size: 1.1rem; margin-bottom: .3em; }
.foot a { color: #fff; display: inline-block; padding: 4px 0; }

@media (min-width: 760px) {
  .hero__text { grid-template-columns: 1.3fr 1fr; }
  .strip__in { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .strip__cell { border-bottom: 0; padding: 22px 0; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 24px; }
  .menu__in, .events__in { grid-template-columns: 1fr 1.6fr; }
  .know__in { grid-template-columns: 1fr 1fr; }
  .foot__in { grid-template-columns: 1.4fr 1fr 1fr; }
  .photo-list { grid-template-columns: 1fr 1fr; }
  .photo-list .tall { grid-row: span 2; display: flex; flex-direction: column; }
  .photo-list .tall img { aspect-ratio: auto; flex: 1; min-height: 0; height: 100%; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-grid .about-photo { margin-top: 12px; }
}
@media (max-width: 520px) {
  body { font-size: 18px; }
  .wrap { width: calc(100% - 32px); }
  .top__in { padding: 6px 0; gap: 0 12px; }
  .brand img { width: 88px; }
  .brand span { font-size: 1.02rem; }
  .nav { gap: 0 16px; font-size: .98rem; }
  .hero__img { height: 270px; object-position: 30% 40%; }
  .hero__text { padding: 18px 0 24px; gap: 12px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery figcaption { font-size: .92rem; }
  .rows div { flex-direction: column; gap: 0; }
  .status { font-size: 1.1rem; padding: 7px 12px; }
  .rows dd { text-align: left; }
  .items { columns: 1; }
}

/* The maker's mark (tools/mark.py): a signature, not an advert. Bottom-left corner, outside the
   shop's own content, the smallest thing on the page. Inherits the footer's text colour. */
.madeby-wrap { padding: 8px 0 max(16px, env(safe-area-inset-bottom)); padding-inline-start: clamp(12px, 1.6vw, 22px); text-align: left; }
.madeby { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 6px 0 2px;
  min-height: 44px; color: inherit; text-decoration: none; opacity: .7; transition: opacity .16s ease; }
.madeby img { width: 38px; height: 38px; border-radius: 8px; display: block; }
.madeby span { font-size: 0.6875rem; font-weight: 600; line-height: 1; letter-spacing: .09em; text-transform: uppercase; }
.madeby:hover, .madeby:focus-visible { opacity: 1; }
.madeby:hover span { text-decoration: underline; text-underline-offset: 3px; }
