:root {
  --ink: #2d241a;
  --muted: #5f5341;
  --red: #7e0018;
  --red-dark: #660013;
  --line: #ded0a6;
  --wash: #f6ebc6;
  --paper: #fffae9;
  --ribbing: repeating-linear-gradient(90deg, #7457230a 0 1px, #fffdf333 1px 2px, transparent 2px 4px);
  --width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ribbing), var(--paper); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip { position: absolute; top: 0; left: 1rem; padding: .5rem 1rem; background: white; transform: translateY(-120%); }
.skip:focus { transform: none; }
.wrap { width: min(var(--width), calc(100% - 3rem)); margin-inline: auto; }
.top, nav, .actions, .footer { display: flex; align-items: center; }
.top {
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.05rem, 3vw, 1.8rem);
  padding-block: clamp(1.5rem, 4vw, 2.75rem) 1rem;
}
.brand { display: block; width: min(660px, 100%); }
.brand img { display: block; width: 100%; height: auto; }
nav { justify-content: center; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.5rem); font-size: .94rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover, .text-link:hover { color: var(--red-dark); text-decoration: underline; }
nav .nav-route { padding: .45rem .95rem; }
nav .nav-route:hover { color: white; text-decoration: none; }
.history {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.history h1 { font-size: clamp(2.4rem, 4.5vw, 4.1rem); }
.history p { color: var(--muted); }
.history .text-link { display: inline-block; margin-top: 1.15rem; }
.history-photo {
  margin: 0;
  padding: clamp(.45rem, 1vw, .7rem);
  border: 1px solid var(--line);
  background: #fffdf3;
  box-shadow: 0 8px 26px #7457231c;
}
.history-photo img { display: block; width: 100%; height: auto; }
.history-photo figcaption { padding: .6rem .25rem .15rem; color: var(--muted); font-size: .9rem; }
.hero { background: var(--ribbing), var(--wash); border-block: 1px solid #e5d6ad; }
.hero-grid, .delivery-grid, .contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.hero-grid { padding-block: clamp(3.25rem, 7vw, 6.25rem); }
.eyebrow { margin: 0 0 .85rem; color: var(--red); font-size: .875rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.05em; }
.hero-title { font-size: clamp(3rem, 6.6vw, 6rem); }
.hero-title em { color: var(--red); font-weight: inherit; }
h2 { font-size: clamp(2.35rem, 4.7vw, 4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.025em; }
p { margin: 1rem 0 0; }
.intro { max-width: 33rem; font-size: 1.12rem; color: var(--muted); margin-top: 1.4rem; }
.actions { flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: 1.8rem; }
.button { display: inline-block; padding: .75rem 1.15rem; background: var(--red); color: white; border-radius: 4px; font-weight: 680; text-decoration: none; }
.button:hover { background: var(--red-dark); }
.text-link { color: var(--red); font-weight: 690; text-underline-offset: .25em; }
.art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 355px;
  background: var(--ribbing), radial-gradient(ellipse at 22% 10%, #f5e6ae, #ddc481);
  border: 1px solid #d5bd80;
  border-radius: 5px;
  display: grid;
  place-items: center;
}
.art::before { content: ""; position: absolute; inset: 18px; border: 1px solid #84672c38; }
.paper {
  position: absolute;
  width: 48%;
  height: 67%;
  border: 1px solid #d5bd80;
  border-radius: 2px;
}
.back {
  background: var(--ribbing), #f1dda2;
  transform: translate(17%, -3%) rotate(13deg);
  box-shadow: 0 8px 20px #74572328;
}
.front {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8% 5%;
  background: var(--ribbing), #fff3cc;
  transform: translate(-13%, 0) rotate(-8deg);
  box-shadow: 0 12px 30px #66481948;
}
.paper-heading { width: 90%; height: auto; }
.paper-watermark {
  position: absolute;
  inset: 33% 7% 15%;
  background: center / contain no-repeat url("logo.png");
  filter: sepia(1);
  opacity: .16;
}
.paper-rule { position: absolute; inset: auto 12% 13%; height: 1px; background: var(--red); }
.section, .delivery, .contact { padding-block: clamp(3.25rem, 6vw, 5.2rem); }
.cards { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cards article { display: flex; flex-direction: column; align-items: start; border: 1px solid var(--line); border-radius: 5px; padding: clamp(1.25rem, 3vw, 2rem); background: #fffdf3; }
.cards p { margin: .85rem 0 1.25rem; color: var(--muted); }
.cards a { margin-top: auto; }
.icon { display: block; width: 30px; height: 30px; border: 2px solid var(--red); border-radius: 3px; margin-bottom: 1.25rem; }
.ledger { background: linear-gradient(90deg, transparent 7px, var(--red) 7px 9px, transparent 9px); }
.page { width: 24px; background: repeating-linear-gradient(var(--paper) 0 4px, #d9c690 4px 6px); }
.payroll { height: 22px; margin-top: 4px; margin-bottom: calc(1.25rem + 4px); background: linear-gradient(var(--paper) 7px, var(--red) 7px 9px, var(--paper) 9px); }
.details { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.details article { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem 3rem; padding-block: 1.75rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.details p { color: var(--muted); }
.details p:first-child, .delivery-grid p:first-child { margin-top: 0; }
.delivery { background: var(--ribbing), var(--wash); }
.contact { color: white; background: #3c2820; }
.contact .eyebrow { color: #f3dfa5; }
.contact p { max-width: 32rem; }
.contact .button { margin-top: 1.35rem; background: white; color: var(--red-dark); }
.contact .button:hover { background: #f7e9be; }
address { display: flex; flex-direction: column; align-items: start; gap: .55rem; font-style: normal; border-left: 1px solid #ffffff50; padding-left: 1.5rem; overflow-wrap: anywhere; }
address a { text-underline-offset: .2em; }
.footer { min-height: 72px; justify-content: space-between; gap: .7rem 2rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
@media (max-width: 780px) {
  .history, .hero-grid, .delivery-grid, .contact-grid { grid-template-columns: 1fr; }
  .art { min-height: 300px; }
  .paper { width: min(42%, 175px); }
  .front { padding: 30px 25px; }
  .cards { grid-template-columns: 1fr; }
  .details article { grid-template-columns: 1fr; gap: .75rem; }
}
@media (max-width: 530px) {
  .wrap { width: calc(100% - 2rem); }
  nav { gap: .55rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.office-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.65rem;
}
.office-photos figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf3;
}
.office-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.office-photos figcaption { padding: .65rem .85rem; color: var(--muted); font-size: .925rem; }
.office-more { margin-top: 1.25rem; }
.office-more summary { width: fit-content; color: var(--red); font-weight: 690; cursor: pointer; }
.office-more summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (max-width: 680px) {
  .office-photos { grid-template-columns: 1fr; }
}

.office-hours { background: var(--ribbing), var(--wash); }
.office-hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 5rem); }
.office-hours p { max-width: 29rem; }
.office-hours table { width: 100%; border-collapse: collapse; }
.office-hours th, .office-hours td { padding: .5rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.office-hours th { padding-right: .65rem; font-weight: 650; }
@media (max-width: 780px) {
  .office-hours-grid { grid-template-columns: 1fr; }
}
