:root {
  color-scheme: dark;
  --midnight: #171416;
  --cream: #f7f3ed;
  --champagne: #d8bc8b;
  --muted: #b9b0a9;
  --line: rgba(255, 248, 241, 0.15);
  --control-radius: 4px;
  --section-space: 72px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  background: var(--midnight);
  color: var(--cream);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--champagne);
  outline-offset: 4px;
}
h1,
h2,
h3,
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
h1 {
  font-size: 64px;
  line-height: 1.12;
  margin: 16px 0 24px;
  text-wrap: balance;
}
h2 {
  font-size: 40px;
  line-height: 1.2;
  margin: 12px 0 24px;
  text-wrap: balance;
}
h3 {
  font-size: 28px;
  line-height: 1.25;
  margin: 12px 0 20px;
}
p {
  color: var(--muted);
  max-width: 64ch;
  margin: 0 0 20px;
}
.site-shell {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 16px 0;
  background: #171416fa;
  border-bottom: 1px solid var(--line);
}
.topbar--full-width {
  padding-inline: max(48px, calc((100% - 1280px) / 2));
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark,
.handoff-mark {
  display: block;
  width: 30px;
  height: 42px;
  flex: 0 0 30px;
}
.brand-mark img,
.handoff-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-name {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}
.brand-subtitle {
  display: none;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
  border-color: var(--champagne);
}
.hero {
  display: grid;
  align-items: center;
  min-height: 460px;
  height: min(620px, 72svh);
  padding: 64px max(48px, calc((100vw - 1280px) / 2));
  margin-inline: calc((min(1280px, 100vw - 96px) - 100vw) / 2);
  background: #18221b url("./assets/table-service-desktop.webp") center 58% / cover
    no-repeat;
  text-align: left;
}
.hero-copy {
  max-width: 760px;
}
.hero h1 {
  font-size: 100px;
  margin-block: 12px 24px;
}
.hero-copy p {
  max-width: 620px;
  font-size: 24px;
  color: var(--cream);
  line-height: 1.5;
}
.hero-copy .hero-purpose { font:400 16px/1.7 Inter,system-ui,sans-serif; max-width:41ch; color:#e3ddd5; margin-top:20px; }
.eyebrow,
.product-label {
  color: var(--champagne);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
.contact-actions {
  justify-content: center;
}
.primary-action,
.secondary-action,
.ghost-action,
.product-card > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--control-radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}
.primary-action {
  color: var(--midnight);
  background: var(--cream);
  border: 1px solid var(--cream);
}
.primary-action:hover {
  background: #e6dccc;
  border-color: #e6dccc;
}
.secondary-action,
.ghost-action,
.product-card > a {
  padding-inline: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.secondary-action:hover,
.ghost-action:hover,
.product-card > a:hover {
  color: var(--champagne);
  border-color: var(--champagne);
}
.platforms,
.company-section,
.contact-section {
  padding-block: var(--section-space);
}
.section-heading {
  max-width: 740px;
  margin: 0 0 64px;
  text-align: left;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}
.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  min-width: 0;
  padding: 0;
}
.product-card p { max-width:43ch; font-size:18px; margin-bottom:24px; }
.product-card h2 { font-size:38px; margin:0 0 20px; }
.product-grid { gap:80px; }
.trade-card { padding-left:0; }
.company-section { border-top:1px solid var(--line); padding-bottom:24px; }
.contact-section { padding-top:20px; }
.product-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.product-card li {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  color: var(--muted);
  font-size: 14px;
}
.product-card > a {
  justify-self: start;
  margin-top: 0;
}
.company-copy {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
}
.company-copy p {
  margin-inline: auto;
}
.contact-section {
  text-align: center;
}
.contact-section p {
  margin-inline: auto;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.canadian-owned-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  color: var(--champagne);
  font-size: 12px;
}
.canada-maple-leaf {
  width: 10px;
  height: 10px;
  object-fit: contain;
}
.legal-page {
  max-width: 780px;
  margin: auto;
  padding: 64px 0;
}
.legal-hero {
  padding-bottom: 32px;
}
.legal-hero h1 {
  font-size: 48px;
}
.legal-card {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.legal-card h2 {
  font-size: 24px;
}
.legal-card p,
.legal-card li {
  line-height: 1.8;
  color: var(--muted);
}
.legal-card a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-card ul {
  padding-left: 20px;
}
.handoff-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: rgba(18, 7, 13, 0.97);
  transition:
    opacity 160ms ease,
    visibility 160ms ease;
}
.handoff-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(320px, 100%);
  text-align: center;
}
.handoff-card strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
}
.handoff-eyebrow {
  color: var(--champagne);
  font-size: 11px;
}
.handoff-overlay.is-visible,
body.is-transitioning .handoff-overlay {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
@media (max-width: 980px) {
  :root {
    --section-space: 64px;
  }
  h1 {
    font-size: 52px;
  }
  h2 {
    font-size: 36px;
  }
  .hero {
    min-height: 440px;
    padding-block: 48px;
  }
  .product-grid {
    gap: 40px;
  }
}
@media (max-width: 680px) {
  .site-shell {
    width: calc(100% - 40px);
  }
  .topbar {
    gap: 12px;
    min-height: 68px;
    padding-block: 10px;
  }
  .topbar--full-width {
    padding-inline: 20px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 12px;
  }
  .brand-name {
    font-size: 20px;
  }
  h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 30px;
  }
  .hero {
    min-height: 450px;
    height: 72svh;
    max-height: 600px;
    padding: 40px 20px;
    margin-inline: -20px;
    background-position: 60% center;
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero-copy p {
    font-size: 22px;
  }
  .hero-actions,
  .contact-actions {
    align-items: flex-start;
    gap: 12px 20px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .product-card p {
    min-height: 0;
  }
  .section-heading {
    margin-bottom: 40px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-hero h1 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  :where(a, button, input, summary):focus-visible {
    outline-color: Highlight;
  }
}
:root { --motion-press:140ms; --motion-state:200ms; --motion-ease:cubic-bezier(.2,.7,.2,1); }
.hero-copy { animation:tannin-enter 360ms var(--motion-ease); }
@media (max-width:700px) { .hero { background-image:url("./assets/table-service-mobile.webp"); } }
:where(a,button) { transition:background-color var(--motion-press),color var(--motion-press),transform var(--motion-press); }
:where(a,button):active { transform:translateY(1px); }
@keyframes tannin-enter { from { opacity:.65; transform:translateY(6px); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
.hero-copy { animation:none; }
@media(hover:hover) { .primary-action:hover { transform:translateY(-2px); box-shadow:0 4px 16px #0003; }.product-card > a { position:relative; }.product-card > a::after { content:""; position:absolute; bottom:-1px; left:0; right:0; height:1px; background:var(--champagne); transform:scaleX(0); transform-origin:left; transition:transform 240ms var(--motion-ease); }.product-card > a:hover::after { transform:scaleX(1); } }
@media(max-width:680px) { .hero { min-height:510px; height:72svh; }.hero h1 { font-size:68px; }.hero-copy .hero-purpose { font-size:16px; max-width:32ch; }.product-grid { gap:40px; }.product-card h2 { font-size:32px; }.product-card p { min-height:0; }.trade-card { border-left:0; padding:32px 0 0; border-top:1px solid var(--line); }.company-section { padding-bottom:24px; }.contact-section { padding-top:16px; } }
