/* Liberty Sunrise LLC — shared styles */

@font-face {
  font-family: "Lora";
  src: url("fonts/lora-var.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/lora-italic-var.woff") format("woff");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dmsans-var.woff") format("woff");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1d2540;
  --ink-soft: #3a4366;
  --linen: #f7f0e4;
  --paper: #fffaf2;
  --rust: #a8482a;
  --amber: #f6a83c;
  --plum: #6a3a58;
  --line: rgba(29, 37, 64, 0.16);
  --stitch: rgba(29, 37, 64, 0.38);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1140px;
  --radius: 8px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--linen);
  overflow-wrap: break-word;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--rust); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid #c2561f;
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* ---------- header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #2b3560 0%, var(--plum) 38%, #d9693a 72%, var(--amber) 100%);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 68px;
  height: auto;
  border-radius: 10px;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.15;
}
.brand-tag {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.brand:hover .brand-name { color: var(--rust); }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 0.45rem 0.1rem 0.3rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--amber); color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--rust);
  border-bottom-color: var(--rust);
}

/* ---------- buttons & small parts ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 6px;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--rust); border-color: var(--rust); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.industry {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.3rem 0.9rem;
  border: 1.5px dashed var(--rust);
  border-radius: 999px;
  background: var(--paper);
  color: var(--rust);
  font-weight: 700;
  font-size: 0.92rem;
}
.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}
.lede { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 40ch; }

section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

/* ---------- home ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 0.35em; }
.hero-address { margin-top: 1.4rem; font-size: 0.95rem; color: var(--ink-soft); }
.hero-art { justify-self: center; width: min(100%, 420px); }

.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); }

.dept-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.dept-list a {
  display: block;
  height: 100%;
  padding: 1.3rem 1.4rem 1.2rem;
  background: var(--paper);
  border: 1.5px dashed var(--stitch);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}
.dept-list a:hover { border-color: var(--rust); }
.dept-list h3 { font-size: 1.15rem; letter-spacing: 0.04em; margin-bottom: 0.35em; }
.dept-list p { margin: 0 0 0.6rem; color: var(--ink-soft); }
.dept-count { font-weight: 700; color: var(--rust); font-size: 0.95rem; }
.featured-link { margin-top: 1.5rem; font-weight: 600; }

.how { background: var(--paper); border-block: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 5vw, 4rem); }
.stitch-list {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}
.stitch-list li {
  counter-increment: step;
  position: relative;
  padding: 1rem 0 1rem 3.4rem;
  border-top: 1.5px dashed var(--stitch);
}
.stitch-list li:last-child { border-bottom: 1.5px dashed var(--stitch); }
.stitch-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--rust);
}
.stitch-list strong { color: var(--ink); }

.visit { background: var(--ink); color: var(--linen); }
.visit h2 { color: var(--paper); }
.visit a:not(.btn) { color: var(--paper); }
.visit a:not(.btn):hover { color: var(--amber); }
.visit-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.visit address { font-style: normal; font-size: 1.1rem; }
.visit .btn-ghost { color: var(--paper); border-color: var(--paper); }
.visit .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.visit :focus-visible { outline-color: var(--amber); }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 3vw, 2.25rem); }
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.jump a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--stitch);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.jump a:hover { border-color: var(--rust); color: var(--rust); }

/* ---------- products ---------- */
.featured { background: var(--ink); color: var(--linen); }
.featured h2, .featured h3 { color: var(--paper); }
.featured .eyebrow { color: var(--amber); }
.featured-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.featured-list li {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1.5px dashed rgba(246, 168, 60, 0.65);
  border-radius: var(--radius);
}
.featured-list h3 { font-size: 1.15rem; }
.featured-list p { color: rgba(247, 240, 228, 0.88); }
.featured-list .offer-price {
  margin: auto 0 0;
  padding-top: 0.6rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--amber);
}
.featured :focus-visible { outline-color: var(--amber); }

.dept { scroll-margin-top: 1rem; }
.dept + .dept { padding-top: 0; }
.dept-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--ink);
}
.dept-head h2 { margin: 0; letter-spacing: 0.03em; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.dept-range { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }

.items { list-style: none; margin: 0; padding: 0; }
.item {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr) minmax(10rem, 13rem);
  gap: 0.3rem 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1.5px dashed var(--stitch);
  scroll-margin-top: 1rem;
}
.item-no {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--rust);
  padding-top: 0.1rem;
}
.item h3 { font-size: 1.18rem; margin-bottom: 0.3rem; }
.item-desc { margin: 0; color: var(--ink-soft); }
.item-price { margin: 0; text-align: right; line-height: 1.35; }
.item-price .amt {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
}
.item-price .amt.quote { font-size: 1.05rem; line-height: 1.3; }
.item-price .unit { font-weight: 600; }
.item-price .qual { display: block; font-size: 0.88rem; color: var(--ink-soft); }
.item-price .call { display: inline-block; margin-top: 0.3rem; font-size: 0.9rem; font-weight: 700; }

.cta-band {
  margin-top: 1rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--paper);
  border: 1.5px dashed var(--stitch);
  border-radius: var(--radius);
}
.cta-band h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.cta-band .btn-row { margin-top: 1rem; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.story p { max-width: 62ch; font-size: 1.1rem; }
.story .name-note {
  margin-top: 1.5rem;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 4px solid var(--amber);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}
.facts {
  margin: 0;
  padding: 1.5rem;
  background: var(--paper);
  border: 1.5px dashed var(--stitch);
  border-radius: var(--radius);
}
.facts div { padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { padding-top: 0; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}
.facts dd { margin: 0.1rem 0 0; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.why { background: var(--paper); border-block: 1px solid var(--line); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-card address { font-style: normal; font-size: 1.15rem; margin-bottom: 1.25rem; }
.contact-lines { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-lines li { padding: 0.55rem 0; border-bottom: 1px dashed var(--stitch); }
.contact-lines .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-lines a { font-weight: 700; font-size: 1.1rem; }

.hours {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1.5px dashed var(--stitch);
  border-radius: var(--radius);
}
.hours caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 0.6rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
}
.hours th, .hours td {
  padding: 0.7rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.hours thead th {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hours tbody th { font-weight: 700; white-space: nowrap; }
.hours tbody tr:last-child th, .hours tbody tr:last-child td { border-bottom: 0; }
.hours .closed { color: var(--ink-soft); }
.hours .note { display: block; font-size: 0.88rem; color: var(--ink-soft); }
.hours-note { margin-top: 1rem; color: var(--ink-soft); }

.map { margin-top: clamp(2rem, 5vw, 3rem); }
.map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
}
.map p { margin-top: 0.85rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--linen);
  padding-block: 0 1.5rem;
  font-size: 0.98rem;
}
.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  margin-bottom: 3rem;
  background: linear-gradient(90deg, #2b3560 0%, var(--plum) 38%, #d9693a 72%, var(--amber) 100%);
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--amber); }
.site-footer :focus-visible { outline-color: var(--amber); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 2rem;
}
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin-bottom: 0.4rem; color: var(--paper); }
.site-footer address { font-style: normal; }
.footer-title {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 0.2rem 0; }
.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(247, 240, 228, 0.3);
  font-size: 0.88rem;
  color: rgba(247, 240, 228, 0.8);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .how-grid, .visit-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(80%, 340px); order: -1; }
  .featured-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .brand img { width: 58px; }
  .brand-name { font-size: 1.2rem; }
  .site-nav ul { gap: 0.25rem 1.1rem; }
  .hero-art { width: min(64%, 240px); }
  .dept-list { grid-template-columns: 1fr; }
  .item { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .item-price { grid-column: 2; text-align: left; margin-top: 0.5rem; }
  .item-price .amt, .item-price .qual { display: inline; }
  .item-price .amt { font-size: 1.3rem; }
  .item-price .call { display: block; }
  .hours th, .hours td { padding: 0.6rem 0.75rem; }
  .hours tbody th { white-space: normal; }
  .map iframe { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
}

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

.flush-top { padding-top: 0; }
