/* Layout: one light, lavender-tinted sheet. Each section is a two-column row
   (a narrow title rail on the left, content on the right) separated by soft rules;
   the hero carries the infinity loop from the company name, and the page closes
   on a single deep-plum footer. */
:root {
  --ground: #f3f1f7;
  --surface: #ffffff;
  --ink: #1d1730;
  --ink-2: #4e4763;
  --ink-3: #7d7692;
  --line: #dcd7e8;
  --violet: #4f35c9;
  --violet-deep: #3a2599;
  --violet-wash: #e9e4fb;
  --amber: #f2a531;
  --plum: #1d1730;
  --on-plum: #f1eef9;
  --on-plum-2: #aaa2c4;

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-text: "Instrument Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-code: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-xs: 0.78rem;
  --t-sm: 0.9rem;
  --t-md: 1.0625rem;
  --t-lg: 1.3rem;
  --t-xl: clamp(1.7rem, 3.4vw, 2.4rem);
  --t-2xl: clamp(2.5rem, 6.4vw, 4.6rem);

  --gutter: clamp(1.15rem, 4.5vw, 3.5rem);
  --row: clamp(3rem, 7vw, 5.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--f-text); font-size: var(--t-md); line-height: 1.62;
}
h1, h2, h3, p, dl, dd, dt, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; letter-spacing: -0.02em; line-height: 1.05; }
a { color: var(--violet); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--violet-deep); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 2px; }

.shell { max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.kicker { font-family: var(--f-code); font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.num { font-family: var(--f-code); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

/* Top bar */
.topbar .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 2rem; padding-block: 1.25rem; }
.logo { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; white-space: nowrap; }
.logo svg { width: 2.3rem; height: auto; fill: none; stroke: var(--violet); stroke-width: 9; stroke-linecap: round; }
.logo:hover { color: var(--ink); }
.menu { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; font-size: var(--t-sm); }
.menu a { color: var(--ink-2); text-decoration: none; padding-block: 0.2rem; border-bottom: 1px solid transparent; }
.menu a:hover { color: var(--violet); border-bottom-color: currentColor; }

/* Opening */
.opening .shell { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.opening h1 { margin-top: 1.1rem; font-size: var(--t-2xl); font-weight: 700; }
.opening h1 span { color: var(--violet); }
.opening .intro { margin-top: 1.5rem; max-width: 34rem; font-size: var(--t-lg); line-height: 1.5; color: var(--ink-2); }
.jump { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pill { display: inline-block; padding: 0.7rem 1.35rem; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-size: var(--t-sm); font-weight: 600; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.pill:hover { background: var(--ink); color: var(--ground); }
.pill-fill { background: var(--violet); border-color: var(--violet); color: #fff; }
.pill-fill:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: #fff; }
.loop { width: 100%; max-width: 30rem; height: auto; justify-self: end; overflow: visible; fill: none; stroke-linecap: round; }
.loop .track { stroke: var(--violet-wash); stroke-width: 15; }
.loop .line { stroke: var(--violet); stroke-width: 3; }
.loop .runner { stroke: var(--amber); stroke-width: 7; stroke-dasharray: 9 91; animation: lap 9s linear infinite; }
@keyframes lap { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) { .loop .runner { animation: none; } html { scroll-behavior: auto; } }

/* Fact rail */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts dl > div { padding: 1.4rem 1.25rem 1.5rem 0; }
.facts dl > div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.facts dd { margin-top: 0.35rem; font-family: var(--f-display); font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.facts dd.num { font-family: var(--f-code); font-weight: 500; font-size: 1.15rem; letter-spacing: 0; }

/* Section rows */
.row { padding-block: var(--row); }
.row + .row { border-top: 1px solid var(--line); }
.row .shell { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 1.75rem clamp(2rem, 6vw, 5rem); align-items: start; }
.rail h2 { margin-top: 0.7rem; font-size: var(--t-xl); font-weight: 700; }
.body { display: grid; gap: 1.5rem; min-width: 0; }
.body > p { max-width: 62ch; color: var(--ink-2); }
.body > p strong { color: var(--ink); font-weight: 600; }
.fine { font-size: var(--t-sm); color: var(--ink-3); }

/* Activities */
.duties { border-top: 1px solid var(--line); }
.duties li { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 0.25rem 2rem; padding-block: 1.05rem; border-bottom: 1px solid var(--line); }
.duties h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.duties p { color: var(--ink-2); font-size: 1rem; }

/* Brands status */
.status { background: var(--violet-wash); border-radius: 14px; padding: clamp(1.4rem, 3.5vw, 2.25rem); display: grid; gap: 0.75rem; }
.status .tag { justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--f-code); font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-deep); }
.status .tag::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--amber); }
.status h3 { font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.status p { max-width: 58ch; color: var(--ink-2); }
.shops { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.shops li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; display: grid; gap: 0.5rem; align-content: start; }
.shops h3 { font-size: 1.3rem; font-weight: 600; }
.shops p { color: var(--ink-2); font-size: 1rem; }

/* Legal sheet */
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sheet > div { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 0.15rem 2rem; padding: 0.95rem clamp(1rem, 2.5vw, 1.6rem); }
.sheet > div + div { border-top: 1px solid var(--line); }
.sheet dt { color: var(--ink-3); font-size: var(--t-sm); padding-top: 0.12rem; }
.sheet dd { font-weight: 500; overflow-wrap: anywhere; }
.sheet dd.num { font-weight: 500; }

/* Contact */
.reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: 1.75rem 2rem; }
.reach dd { margin-top: 0.4rem; font-size: var(--t-lg); line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.reach dd a { color: var(--ink); text-decoration-color: var(--violet); text-decoration-thickness: 2px; }
.reach dd a:hover { color: var(--violet); }

/* Footer */
.base { background: var(--plum); color: var(--on-plum-2); font-size: var(--t-sm); }
.base .shell { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.base .logo { color: var(--on-plum); }
.base .logo svg { stroke: var(--amber); }
.base ul { display: grid; gap: 0.4rem; align-content: start; }
.base a { color: var(--on-plum-2); text-decoration: none; }
.base a:hover { color: var(--on-plum); text-decoration: underline; }
.base .about { margin-top: 0.9rem; max-width: 30ch; }
.base .rights { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid #3a3252; font-size: var(--t-xs); }

/* Policy pages */
.policy .shell { max-width: 46rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 1.1rem; }
.policy h1 { font-size: var(--t-xl); font-weight: 700; }
.policy h2 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.policy p, .policy li { color: var(--ink-2); }
.policy ul { display: grid; gap: 0.5rem; padding-left: 1.2rem; list-style: disc; }
.policy strong { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .opening .shell { grid-template-columns: minmax(0, 1fr); }
  .loop { justify-self: start; max-width: 17rem; order: -1; }
  .row .shell { grid-template-columns: minmax(0, 1fr); }
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts dl > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .base .shell { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .duties li, .sheet > div { grid-template-columns: minmax(0, 1fr); }
  .menu { gap: 0.2rem 1.1rem; }
}
