/* Travelers Imports LLC — palette sampled from the original logo artwork (traveler's logo final.pdf) */
:root {
  --ink: #231f20;        /* logo lettering */
  --crimson: #cd1f38;    /* logo frame; 5.4:1 on white */
  --muted: #5c5657;      /* 7.0:1 on white */
  --paper: #ffffff;
  --rule: #e6e2e2;
  --font: "Avenir Next", Avenir, "Century Gothic", Futura, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

main {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 8rem) 1.5rem 3rem;
}

a { color: var(--crimson); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Hero */
.hero { text-align: center; }
.logo { margin: 0 auto 2rem; line-height: 0; }
.logo img { width: min(100%, 26rem); height: auto; }

.legal-name {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.tagline { margin: 1.25rem 0 0; font-size: 1.375rem; letter-spacing: 0.01em; }
.intro { margin: 1rem auto 0; max-width: 32rem; color: var(--muted); }

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  border: 2px solid var(--crimson);
  background: var(--crimson);
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: background-color 0.2s, color 0.2s;
}
.cta:hover { background: var(--paper); color: var(--crimson); }

/* Contact card: open-corner frame echoing the logo's bracket */
h2 {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
}
.contact {
  position: relative;
  margin: clamp(3rem, 10vh, 5rem) auto 0;
  max-width: 32rem;
  padding: 2.25rem clamp(1.25rem, 5vw, 2.5rem);
  text-align: center;
}
.contact::before, .contact::after {
  content: "";
  position: absolute;
  width: 3.5rem;
  height: min(60%, 9rem);
  border: 2px solid var(--crimson);
  pointer-events: none;
}
.contact::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.contact::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }

.contact-list { margin: 0; }
.contact-item + .contact-item { margin-top: 1.25rem; }
.contact-list dt { font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.04em; }
.contact-list dd { margin: 0.15rem 0 0; font-size: 1.125rem; overflow-wrap: anywhere; }
.contact-list address { font-style: normal; }

/* Contact form */
.form-intro { margin: 0 0 1.5rem; color: var(--muted); }
.contact-form { text-align: left; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: 0.3rem; font-size: 0.875rem; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 0.65rem 0.75rem;
  border: 1px solid #8f898a; border-radius: 0; background: var(--paper); color: var(--ink);
  font: inherit; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--crimson); outline-offset: 1px; border-color: var(--crimson); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 1.25rem 0 0.5rem; min-height: 65px; }
.form-note { margin: 0.5rem 0 0; font-size: 0.8125rem; color: var(--muted); }
.contact-form .cta { margin-top: 1.25rem; width: 100%; cursor: pointer; font-family: inherit; }

/* Brands */
.brands { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); text-align: center; }
.brand-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.75rem;
}
.brand-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
  height: 100%; min-height: 7.5rem; padding: 1rem 0.75rem; min-width: 0;
  border: 1px solid var(--rule); color: var(--ink); text-decoration: none;
  transition: border-color 0.2s;
}
.brand-tile:hover { border-color: var(--crimson); color: var(--ink); }
.brand-icon { width: 40px; height: 40px; object-fit: contain; }
.brand-wordmark { width: 160px; max-width: 100%; height: auto; margin: 0.25rem 0 0.45rem; }
.brand-name { font-weight: 600; line-height: 1.3; }
.brand-host { font-size: 0.75rem; color: var(--muted); overflow-wrap: anywhere; }

/* Footer */
.site-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}
.site-footer p { margin: 0; }

/* Draft-only review markers (never present in production builds) */
.draft-banner { padding: 0.6rem 1rem; background: #fff4d6; color: #5a4300; text-align: center; font-size: 0.875rem; }
.draft-badge {
  display: inline-block; margin-left: 0.5rem; padding: 0 0.4rem; border: 1px dashed #8a6500;
  color: #5a4300; font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: uppercase; vertical-align: middle;
}

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

@media print {
  .skip-link, .cta, .draft-banner { display: none; }
  main { padding-top: 1rem; }
}
