/* Tarvosa site: dark crate yard, gauge tiles, 14px corners with 2px strokes */
:root {
  --ink: #1B262C;
  --navy: #0F4C75;
  --steel: #3282B8;
  --frost: #BBE1FA;
  --stroke: 2px solid var(--steel);
  --radius: 14px;
  --head: "Avenir Next Condensed", "AvenirNextCondensed-Heavy", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --body: "Avenir Next Condensed", "AvenirNextCondensed-Medium", "Arial Narrow", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--frost); }
body { margin: 0; font-family: var(--body); font-weight: 500; font-size: 1.08rem; line-height: 1.55; }
a { color: var(--frost); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--frost); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: .02em; line-height: 1.15; margin: 0 0 .5rem; }
h1 { font-size: 2.3rem; text-transform: uppercase; }
h2 { font-size: 1.45rem; text-transform: uppercase; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .8rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--frost); color: var(--ink); padding: .4rem .8rem; border-radius: 8px; }

.yard { max-width: 860px; margin: 0 auto; padding: 1rem 1rem 3rem; }

/* top rail: crate left, wordmark centre, info right, like the app */
.rail { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: .5rem; padding: .6rem 0 1rem; border-bottom: var(--stroke); }
.rail .mark { text-align: center; }
.rail .mark strong { display: block; font-family: var(--head); font-size: 1.4rem; letter-spacing: .12em; }
.rail .mark span { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; opacity: .85; }
.rail .knob { width: 44px; height: 44px; border: var(--stroke); border-radius: var(--radius); display: grid; place-items: center; text-decoration: none; font-family: var(--head); font-weight: 800; }

/* stepper used as page navigation */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 0; margin: 1rem 0 1.4rem; }
.stepper a { display: flex; gap: .5rem; align-items: center; padding: .55rem .6rem; border: var(--stroke); border-radius: var(--radius); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: .95rem; }
.stepper b { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 2px solid var(--frost); font-size: .9rem; }
.stepper a[aria-current] b { background: var(--frost); color: var(--ink); }

.card { background: rgba(15, 76, 117, .28); border: var(--stroke); border-radius: var(--radius); padding: 1.1rem 1.1rem .6rem; margin-bottom: 1rem; }
.card.solid { background: var(--navy); }
.kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .2rem; opacity: .9; }

.hero { display: grid; gap: 1rem; align-items: center; }
.hero svg { width: 140px; height: 140px; justify-self: center; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.tile { border: var(--stroke); border-radius: var(--radius); padding: .7rem; text-align: center; }
.tile strong { display: block; font-family: var(--head); font-size: 1.5rem; }
.tile span { font-size: .85rem; }

.route { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: .6rem; }
.badge { font-family: var(--head); font-weight: 800; border: 2px solid var(--frost); border-radius: 8px; padding: .05rem .5rem; font-size: .9rem; }
.badge.fill { background: var(--frost); color: var(--ink); }

details { border-top: 2px solid var(--navy); padding: .7rem 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-family: var(--head); font-weight: 700; font-size: 1.08rem; }
details p { margin-top: .5rem; }

.mailbtn { display: inline-block; background: var(--frost); color: var(--ink); font-family: var(--head); font-weight: 800; padding: .7rem 1.2rem; border-radius: var(--radius); text-decoration: none; margin: .3rem 0 .8rem; word-break: break-all; }

/* privacy page: cargo manifest rows */
.manifest { width: 100%; border-collapse: separate; border-spacing: 0; border: var(--stroke); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.manifest th, .manifest td { text-align: left; vertical-align: top; padding: .65rem .8rem; border-top: 2px solid var(--navy); }
.manifest tr:first-child th, .manifest tr:first-child td { border-top: 0; }
.manifest th { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; width: 38%; background: rgba(15, 76, 117, .45); }
.stamp { display: inline-block; border: 2px solid var(--frost); border-radius: var(--radius); padding: .3rem .8rem; font-family: var(--head); font-weight: 800; letter-spacing: .1em; transform: rotate(-4deg); margin: .4rem 0 1rem; }

footer { border-top: var(--stroke); margin-top: 2rem; padding-top: 1rem; font-size: .9rem; }

@media (min-width: 640px) {
  h1 { font-size: 3rem; }
  .hero { grid-template-columns: 1fr 170px; }
  .hero svg { width: 170px; height: 170px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .yard { padding: 1.5rem 1.5rem 4rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero svg .lid { transform-origin: 70px 46px; animation: settle 1.2s ease-out 1; }
  @keyframes settle { 0% { transform: rotate(-12deg) translateY(-14px); } 70% { transform: rotate(8deg); } 100% { transform: rotate(0); } }
}
