/* Site nav = single shared source for the whole site. @import must precede all
   rules below (CSS requires @import before other statements). */
@import url("/nav.css");

/* D BADAMI — Guides stylesheet. Static; footer chrome matches the main site. */
:root {
  --bg: #f6f5f3;
  --surface: #ffffff;
  --ink: #0c0b0a;
  --ink-soft: #2a2826;
  --muted: #6c6862;
  --line: #e3e0da;
  --invert: #f6f5f3;
  --display: "Jost", "Helvetica Neue", Arial, sans-serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* ──────────────────────────────────────────────
   ARTICLE
   ────────────────────────────────────────────── */
main, article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(6.5rem, 12vw, 9rem) clamp(1.2rem, 5vw, 2rem) 3rem;
}
article > nav[aria-label="Breadcrumb"], main > nav[aria-label="Breadcrumb"] {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 2rem;
}
nav[aria-label="Breadcrumb"] a { color: var(--muted); }
nav[aria-label="Breadcrumb"] span { color: var(--ink); }

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
}
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: -0.01em;
  margin: 2.8rem 0 0.9rem;
}
h3 { font-family: var(--display); font-weight: 400; font-size: 1.1rem; margin: 1.8rem 0 0.5rem; }
p { margin: 0 0 1.1rem; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line); transition: text-decoration-color 0.3s var(--ease); }
a:hover { text-decoration-color: var(--ink); }
strong { font-weight: 500; }
ul, ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
li { margin: 0.35rem 0; }
hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }
em { color: var(--muted); }
h1 + p { font-size: 1.15rem; color: var(--ink); }

.guide-uplink {
  font-size: 0.92rem;
  color: var(--muted);
  border-left: 2px solid var(--ink);
  padding-left: 0.9rem;
  margin: 0 0 1.6rem;
}

table { width: 100%; border-collapse: collapse; margin: 1.6rem 0 2rem; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}
tbody tr:hover { background: var(--surface); }
td:first-child { font-weight: 400; }

/* ──────────────────────────────────────────────
   FOOTER — identical to the main site SiteFooter
   ────────────────────────────────────────────── */
.footer {
  padding: 6rem 0 4rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer__logo { height: 64px; width: auto; margin: 0 auto 1.8rem; color: var(--ink); display: block; }
.footer__legal { max-width: 44ch; margin: 0 auto; font-size: 0.9rem; }
.footer__links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
  margin-top: 1.8rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.footer__links a { color: var(--muted); text-decoration: none; transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--ink); }
.footer__contact {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.8rem;
  margin-top: 1.4rem; font-size: 0.85rem;
}
.footer__contact a { color: var(--muted); text-decoration: none; transition: color 0.3s var(--ease); }
.footer__contact a:hover { color: var(--ink); }
.footer__offices {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem 3rem;
  margin-top: 1.8rem; font-size: 0.82rem; font-style: normal; line-height: 1.55;
}
.footer__office { font-style: normal; max-width: 30ch; }
.footer__office-label {
  display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 0.35rem;
}
.footer__social {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.8rem;
  margin: 2rem 0 1.5rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.footer__social a { color: var(--muted); text-decoration: none; transition: color 0.3s var(--ease); }
.footer__social a:hover { color: var(--ink); }
.footer__copy { font-size: 0.78rem; letter-spacing: 0.16em; }

/* Footer fabric links — visual dropdown (<details>); links stay in the HTML. */
.footer__fabrics { margin: 1rem auto 0; max-width: 64ch; }
.footer__fabrics > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); transition: color 0.3s var(--ease);
}
.footer__fabrics > summary::-webkit-details-marker { display: none; }
.footer__fabrics > summary:hover { color: var(--ink); }
.footer__fabrics > summary::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; transition: transform 0.3s var(--ease);
}
.footer__fabrics[open] > summary::after { transform: rotate(-135deg); margin-top: 2px; }
.footer__fabrics__links {
  display: none;
  flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.3rem;
  margin-top: 1.1rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer__fabrics[open] .footer__fabrics__links { display: flex; }
.footer__fabrics__links a { color: var(--muted); text-decoration: none; transition: color 0.3s var(--ease); }
.footer__fabrics__links a:hover { color: var(--ink); }

