/* =========================================================
   ST HONORE CAFE
   Bakery bench / daily bake-board identity
   HTML5 + CSS3 only
   ========================================================= */

:root {
  --bakery-green: #294038;
  --bakery-green-deep: #1c302a;
  --flour: #f4efe5;
  --charcoal: #1c211e;
  --terracotta: #c66343;
  --terracotta-dark: #a85136;
  --pastry-gold: #d0b47f;
  --sage-grey: #d8dfd7;
  --warm-white: #fffdf8;
  --berry: #94493d;
  --muted: #6e7069;
  --line: rgba(28,33,30,0.14);
  --light-line: rgba(255,255,255,0.18);

  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;

  --shell: min(1220px, calc(100% - 64px));
  --section-space: 78px;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--flour);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--terracotta);
  color: white;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: var(--section-space) 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-170%);
  padding: 10px 14px;
  background: var(--charcoal);
  color: white;
  text-decoration: none;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,239,229,0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
}

.brand {
  display: inline-grid;
  line-height: 0.92;
  text-decoration: none;
}

.brand-main {
  color: var(--bakery-green);
  font: 700 1.12rem/1 var(--serif);
  letter-spacing: -0.03em;
}

.brand-sub {
  margin-top: 6px;
  color: var(--terracotta);
  font-size: 0.49rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
}

.desktop-nav a {
  position: relative;
  color: #5f655f;
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--terracotta);
  transition: right 160ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.mobile-nav {
  display: none;
}

/* Type + controls */

.eyebrow {
  margin: 0 0 16px;
  color: var(--terracotta);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #efb29b;
}

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

h1,
h2 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 930px;
  font-size: clamp(4rem, 7.2vw, 7.4rem);
}

h2 {
  font-size: clamp(2.4rem, 4.3vw, 4.45rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.15;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: var(--terracotta);
  color: white;
}

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

.button-secondary {
  background: var(--bakery-green);
  color: white;
}

.button-light {
  background: white;
  color: var(--charcoal);
}

.button-outline {
  border-color: var(--charcoal);
  background: transparent;
}

.button-outline:hover {
  background: var(--charcoal);
  color: white;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.77rem;
  font-weight: 900;
  text-underline-offset: 5px;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link-light {
  color: white;
}

/* Hero */

.hero {
  padding: 52px 0 56px;
  background:
    linear-gradient(rgba(41,64,56,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,64,56,0.03) 1px, transparent 1px),
    var(--flour);
  background-size: 46px 46px;
}

.hero-heading-grid {
  display: grid;
  grid-template-columns: 0.18fr 1fr;
  gap: 42px;
  align-items: start;
}

.hero-index {
  padding-top: 8px;
}

.hero-index span,
.intro-label span {
  display: block;
  color: var(--terracotta);
  font-size: 0.8rem;
  font-weight: 900;
}

.hero-index small,
.intro-label small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 990px;
}

.hero-lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.4vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.bakery-bench {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 14px;
  margin-top: 44px;
}

.bakery-bench figure {
  margin: 0;
  overflow: hidden;
  background: #ddd;
}

.bench-main {
  min-height: 560px;
}

.bench-secondary {
  min-height: 560px;
}

.bakery-bench figcaption {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  padding: 8px 10px;
  background: rgba(28,33,30,0.82);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
}

.bench-main figcaption {
  left: 16px;
}

.bench-secondary figcaption {
  right: 16px;
}

.bench-note {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: min(360px, 72%);
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  background: var(--bakery-green);
  color: white;
  text-align: center;
  box-shadow: 0 18px 38px rgba(41,64,56,0.12);
}

.bench-note > span {
  color: #efb29b;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.bench-note small {
  color: rgba(255,255,255,0.62);
}

/* Intro */

.intro {
  background: var(--warm-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.18fr 1fr;
  gap: 42px;
}

.intro-copy h2 {
  max-width: 920px;
}

.intro-columns {
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 50px;
  margin-left: auto;
}

.intro-columns p {
  color: var(--muted);
}

.intro-columns .lead {
  color: var(--charcoal);
  font: 400 1.18rem/1.62 var(--serif);
}

/* Bakery board */

.bakery {
  background: var(--flour);
}

.bakery-grid {
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  gap: 70px;
  align-items: start;
}

.bakery-intro {
  position: sticky;
  top: 118px;
}

.bakery-intro > p:not(.eyebrow) {
  color: var(--muted);
}

.bake-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.bake-board article {
  min-height: 220px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
}

.bake-board article > span {
  color: var(--terracotta);
  font-size: 0.64rem;
  font-weight: 900;
}

.board-kicker {
  margin-bottom: 26px;
  color: var(--bakery-green);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.bake-board h3 {
  font: 700 1.5rem/1.05 var(--serif);
}

.bake-board p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Cafe */

.cafe {
  background: white;
}

.cafe-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.cafe-photo {
  height: 560px;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 94% 0, 100% 92%, 8% 100%);
}

.cafe-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.daypart-list {
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.daypart-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.daypart-list article > span {
  color: var(--terracotta);
  font-size: 0.62rem;
  font-weight: 900;
}

.daypart-list h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
}

.daypart-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Baking feature */

.baking-feature {
  background: var(--sage-grey);
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 56px;
  align-items: center;
}

.feature-copy > p:not(.eyebrow) {
  color: #5e6862;
}

.craft-points {
  margin-top: 28px;
  border-top: 1px solid rgba(41,64,56,0.16);
}

.craft-points article {
  display: grid;
  grid-template-columns: 44px 0.6fr 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(41,64,56,0.16);
  align-items: baseline;
}

.craft-points article > span {
  color: var(--terracotta);
  font-size: 0.64rem;
  font-weight: 900;
}

.craft-points h3 {
  margin: 0;
  font-family: var(--serif);
}

.craft-points p {
  margin: 0;
  color: #5e6862;
  font-size: 0.82rem;
}

.feature-images {
  position: relative;
  min-height: 590px;
}

.feature-images figure {
  margin: 0;
  overflow: hidden;
}

.feature-main {
  position: absolute;
  inset: 0 70px 70px 0;
  clip-path: polygon(0 0, 100% 7%, 92% 100%, 0 94%);
}

.feature-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 245px;
  height: 215px;
  border: 8px solid var(--sage-grey);
}

/* Occasions + catering */

.occasion-catering {
  background: var(--warm-white);
}

.occasion-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.occasion-panel,
.catering-panel {
  padding: 34px;
}

.occasion-panel {
  border: 1px solid var(--line);
  background: white;
}

.occasion-panel > p:not(.eyebrow) {
  color: var(--muted);
}

.occasion-list {
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.occasion-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.occasion-list article > span {
  color: var(--terracotta);
  font-size: 0.64rem;
  font-weight: 900;
}

.occasion-list h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
}

.occasion-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.catering-panel {
  background: var(--bakery-green);
  color: white;
}

.catering-index {
  display: block;
  margin-bottom: 52px;
  color: #efb29b;
  font-size: 0.66rem;
  font-weight: 900;
}

.catering-panel .eyebrow {
  color: #efb29b;
}

.catering-panel > p:not(.eyebrow) {
  color: rgba(255,255,255,0.64);
}

.catering-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 26px 0;
  border-top: 1px solid var(--light-line);
  border-left: 1px solid var(--light-line);
}

.catering-list article {
  min-height: 165px;
  padding: 18px;
  border-right: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.catering-list span {
  color: #efb29b;
  font-size: 0.62rem;
  font-weight: 900;
}

.catering-list h3 {
  margin: 24px 0 6px;
  font-size: 1rem;
}

.catering-list p {
  margin: 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
}

/* Neighbourhood */

.neighbourhood {
  background: var(--flour);
}

.neighbourhood-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 48px;
  align-items: stretch;
}

.neighbourhood-copy {
  padding: 10px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.why-grid article {
  min-height: 185px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid span {
  color: var(--terracotta);
  font-size: 0.64rem;
  font-weight: 900;
}

.why-grid h3 {
  margin: 28px 0 6px;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.81rem;
}

.neighbourhood-photo {
  min-height: 520px;
  margin: 0;
  overflow: hidden;
}

/* Visit + contact */

.visit-contact {
  background: var(--sage-grey);
}

.visit-contact-grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 18px;
}

.visit-panel {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  background:
    linear-gradient(rgba(41,64,56,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,64,56,0.05) 1px, transparent 1px),
    var(--pastry-gold);
  background-size: 40px 40px;
}

.visit-panel address {
  display: grid;
  gap: 5px;
  margin: 24px 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--terracotta);
  font-style: normal;
}

.visit-panel address span {
  color: #594b38;
}

.visit-panel > p:not(.eyebrow) {
  color: #594b38;
}

.contact-card {
  padding: 34px;
  background: white;
  box-shadow: 0 18px 38px rgba(28,33,30,0.07);
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.field label {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(28,33,30,0.22);
  border-radius: 0;
  background: white;
  color: var(--charcoal);
}

.field input,
.field select {
  min-height: 46px;
  padding: 0 11px;
}

.field textarea {
  min-height: 132px;
  padding: 10px 11px;
  resize: vertical;
}

/* Final CTA */

.final-cta {
  padding: 64px 0;
  background: var(--berry);
  color: white;
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
}

.final-cta h2 {
  color: white;
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255,255,255,0.68);
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

/* Footer */

.site-footer {
  padding: 46px 0 22px;
  background: #111713;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.84fr 1fr;
  gap: 52px;
}

.footer-brand {
  display: grid;
  align-content: start;
}

.footer-brand .brand-main {
  color: white;
}

.footer-brand .brand-sub {
  color: #efb29b;
}

.footer-brand p {
  margin: 20px 0 0;
  color: rgba(255,255,255,0.52);
  font-size: 0.82rem;
}

.footer-nav {
  display: grid;
  gap: 7px;
}

.footer-nav a {
  color: rgba(255,255,255,0.68);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-address {
  display: grid;
  gap: 4px;
  font-style: normal;
}

.footer-address strong {
  margin-bottom: 7px;
}

.footer-address span {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--light-line);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.42);
  font-size: 0.7rem;
}

/* Responsive */

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 42px, 1020px);
  }
}

@media (max-width: 920px) {
  :root {
    --shell: calc(100% - 34px);
    --section-space: 68px;
  }

  .desktop-nav {
    display: none;
  }

  .header-row {
    grid-template-columns: 1fr auto;
  }

  .mobile-nav {
    display: block;
    border-top: 1px solid var(--line);
  }

  .mobile-nav-track {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-nav-track::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav a {
    flex: 0 0 auto;
    font-size: 0.67rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
  }

  .hero-heading-grid,
  .intro-grid,
  .bakery-grid,
  .cafe-grid,
  .feature-grid,
  .occasion-grid,
  .neighbourhood-grid,
  .visit-contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-index,
  .intro-label {
    display: none;
  }

  .bakery-intro {
    position: static;
  }

  .cafe-photo {
    height: 470px;
    clip-path: none;
  }

  .neighbourhood-photo {
    min-height: 420px;
  }

  .final-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-address {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--light-line);
  }
}

@media (max-width: 700px) {
  :root {
    --shell: calc(100% - 26px);
    --section-space: 56px;
  }

  .site-header {
    position: relative;
    backdrop-filter: none;
  }

  .header-row {
    min-height: 72px;
  }

  .header-row .button {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.62rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .hero {
    padding-top: 28px;
  }

  .bakery-bench {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-bottom: 78px;
  }

  .bench-main,
  .bench-secondary {
    min-height: 300px;
  }

  .bench-note {
    left: 0;
    transform: none;
    width: min(330px, 92%);
    text-align: left;
  }

  .bakery-bench figcaption {
    position: static;
    display: block;
    width: 100%;
  }

  .bake-board,
  .catering-list,
  .why-grid,
  .field-pair {
    grid-template-columns: 1fr;
  }

  .feature-images {
    min-height: 470px;
  }

  .feature-main {
    inset: 0 0 100px 0;
    clip-path: none;
  }

  .feature-detail {
    width: 180px;
    height: 160px;
  }

  .craft-points article {
    grid-template-columns: 38px 1fr;
  }

  .craft-points p {
    grid-column: 2;
  }

  .final-actions {
    align-items: stretch;
  }

  .final-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-address {
    grid-column: auto;
  }
}

@media (max-width: 390px) {
  :root {
    --shell: calc(100% - 20px);
  }

  .brand-main {
    font-size: 0.96rem;
  }

  .brand-sub {
    font-size: 0.43rem;
  }

  .menu-panel,
  .occasion-panel,
  .catering-panel,
  .visit-panel,
  .contact-card {
    padding: 26px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
