/* Time Clock World - "World Time" (design/stores/round3/timeclockworld-e-*):
   a Bauhaus wall of railway clocks, one bright color per path. */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    --font-body: 'Inter Tight', system-ui, sans-serif;
    --font-display: 'Inter Tight', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
    --paper: #f5f2ea;
    --ink: #121212;
    --muted: #55534e;
    --line: #d9d4c7;
    --red: #d42a1e;
    --blue: #1d4ed1;
    --yellow: #ffc21a;
    --green: #0b7d55;
    --pink: #e2477f;
    --orange: #f2711c;
    --violet: #5b3cc4;
    --teal: #0a7f93;
    --bg: var(--paper);
    --surface: #fff;
    --brand: var(--ink);
    --brand-ink: #eeeae0;
    --accent: var(--red);
    --radius: 4px;
    --wrap: 1280px;
}

h1,
h2,
h3 {
    font-weight: 900;
    letter-spacing: -0.03em;
}

h1 em {
    font-style: normal;
    color: var(--blue);
}

h1 em.alt {
    color: var(--red);
}

.btn {
    border-radius: 26px;
    font-weight: 800;
}

/* Top bar with live world clocks */
.topbar .wrap {
    align-items: center;
}

.world-clocks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin-right: auto;
}

.world-city {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bdb8ab;
}

.world-city i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.world-city b {
    font-family: var(--font-mono);
    font-weight: 500;
    color: #fff;
    letter-spacing: 0;
}

.topbar-note {
    display: none;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 0;
}

.site-header::after {
    content: '';
    display: block;
    height: 8px;
    /* the time-zone band: eight colors, three times across */
    background: repeating-linear-gradient(90deg,
        var(--red) 0 4.1667%, var(--orange) 0 8.3333%, var(--yellow) 0 12.5%, var(--green) 0 16.6667%,
        var(--teal) 0 20.8333%, var(--blue) 0 25%, var(--violet) 0 29.1667%, var(--pink) 0 33.3333%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.world-word {
    display: flex;
    flex-direction: column;
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: 24px;
    text-transform: uppercase;
    color: var(--ink);
}

.world-word span:last-child {
    color: var(--blue);
}

.search input {
    border: 2.5px solid var(--ink);
    border-right: 0;
    border-radius: 30px 0 0 30px;
    padding-left: 20px;
}

.search button {
    background: var(--red);
    border-radius: 0 30px 30px 0;
    padding: 0 24px;
    font-weight: 700;
}

.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.main-nav ul {
    padding-top: 14px;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.nav-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.main-nav .nav-highlight a {
    color: var(--ink);
}

/* Hero and clock wall */
.wt-hero {
    padding: 60px 0 64px;
}

.wt-hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 56px;
    align-items: center;
}

.wt-kick {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}

.wt-kick i {
    width: 28px;
    height: 4px;
    background: var(--red);
}

.wt-hero h1 {
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    line-height: 0.98;
    margin: 18px 0 22px;
}

.wt-hero .lede {
    color: #3a3833;
    max-width: 540px;
}

.wt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 26px;
}

.wt-chips small {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.wt-chip {
    font-family: var(--font-mono);
    font-size: 13.5px;
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: 20px;
    padding: 4px 13px;
    color: var(--ink);
    text-decoration: none;
}

.wt-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1.5px solid var(--ink);
}

.wt-facts b {
    display: block;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
}

.wt-facts span {
    font-size: 14px;
    color: var(--muted);
}

.wt-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 172px);
    gap: 14px;
}

.wt-tile {
    position: relative;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.wt-t1 { background: var(--blue); grid-column: 1 / 3; grid-row: 1 / 3; }
.wt-t2 { background: var(--yellow); color: var(--ink); }
.wt-t3 { background: var(--red); }
.wt-t4 { background: var(--green); }
.wt-t5 { background: var(--pink); }
.wt-t6 { background: var(--ink); }

.wt-face {
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08);
}

.wt-t1 .wt-face {
    width: 250px;
    height: 250px;
    margin-top: -26px;
}

.wt-small .wt-face {
    width: 100px;
    height: 100px;
    margin-top: -28px;
}

.wt-lbl {
    position: absolute;
    left: 14px;
    bottom: 11px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
}

.wt-lbl b {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 800;
}

.wt-t1 .wt-lbl b {
    font-size: 21px;
}

/* Three paths */
.wt-paths {
    padding: 4px 0 70px;
}

.wt-paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.wt-path {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    padding: 30px;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
}

.wt-p1 { background: var(--blue); }
.wt-p2 { background: var(--red); }
.wt-p3 { background: var(--yellow); color: var(--ink); }

.wt-art {
    position: absolute;
    right: -30px;
    top: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.18;
}

.wt-p3 .wt-art {
    background: var(--ink);
    opacity: 0.08;
}

.wt-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.wt-path h2 {
    color: inherit;
    font-size: 32px;
    line-height: 1.02;
    margin: 14px 0 12px;
    max-width: 300px;
}

.wt-path p {
    font-size: 15.5px;
    max-width: 320px;
    margin: 0;
}

.wt-path ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    font-size: 14.5px;
    font-weight: 600;
}

.wt-path li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-top: 1px solid currentColor;
}

.wt-go {
    margin-top: auto;
    padding-top: 22px;
    font-weight: 800;
}

/* Section heads */
.wt-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 30px;
}

.wt-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1;
    margin: 0;
}

.wt-head p {
    color: var(--muted);
    margin: 10px 0 0;
    max-width: 640px;
}

.wt-more {
    font-weight: 700;
    color: var(--blue);
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

/* Retired clock finder */
.wt-finder {
    background: #fff;
}

.wt-zonemap {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    border: 2px solid var(--ink);
    border-radius: 4px;
    overflow: hidden;
}

.wt-zone {
    display: flex;
    flex-direction: column;
    min-height: 124px;
    padding: 16px;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
}

.wt-zone:hover {
    filter: brightness(1.06);
}

.wt-off {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
}

.wt-zone b {
    font-size: 18px;
    font-weight: 800;
    margin-top: 6px;
    line-height: 1.1;
}

.wt-zone span:last-child {
    margin-top: auto;
    font-size: 13.5px;
    font-weight: 600;
}

.wt-finderbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 24px;
    background: var(--paper);
    border-radius: 4px;
    padding: 18px 22px;
}

.wt-sel {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 4px;
    padding: 4px 12px;
    min-width: 230px;
}

.wt-sel small {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.wt-sel select {
    font: inherit;
    font-weight: 700;
    border: 0;
    background: transparent;
    padding: 2px 0;
}

.wt-btn {
    font: inherit;
    font-weight: 800;
    color: #fff;
    background: var(--red);
    border: 0;
    border-radius: 26px;
    height: 52px;
    padding: 0 26px;
    cursor: pointer;
}

.wt-note {
    margin: 0 0 0 auto;
    font-size: 14px;
    color: var(--muted);
    max-width: 320px;
}

.wt-recent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.wt-rc {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 4px;
    color: var(--ink);
    text-decoration: none;
}

.wt-rc img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    flex: none;
}

.wt-rc b {
    display: block;
    font-size: 15px;
    line-height: 1.25;
}

.wt-rc span span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.wt-rc em {
    display: inline-block;
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--red);
    margin-top: 6px;
    text-transform: uppercase;
}

/* Product grid */
.wt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.wt-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
}

.wt-card-img {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 34px 22px 18px;
    border-top: 10px solid;
}

.wt-card-img img {
    height: 180px;
    object-fit: contain;
}

.wt-zt {
    position: absolute;
    top: 10px;
    left: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--muted);
}

.wt-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 4px 20px 20px;
}

.wt-card-title {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
}

.wt-pr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
}

.wt-price {
    font-size: 22px;
    font-weight: 900;
}

.wt-price s {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    margin-left: 6px;
}

.wt-add {
    background: var(--ink);
    color: #fff;
    border-radius: 18px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 14px;
}

/* Parts strip */
.wt-parts {
    background: var(--ink);
    color: #fff;
}

.wt-parts h2 {
    color: #fff;
}

.wt-parts .wt-head p {
    color: #c9c4b8;
}

.wt-parts .wt-more {
    color: var(--yellow);
}

.wt-ptypes,
.wt-prow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.wt-pt {
    border-radius: 4px;
    padding: 18px;
    color: var(--ink);
    text-decoration: none;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.wt-pt b {
    font-size: 20px;
    font-weight: 800;
}

.wt-pt span {
    font-size: 13.5px;
    font-weight: 600;
}

.wt-prow {
    margin-top: 22px;
}

.wt-pc {
    display: flex;
    flex-direction: column;
    background: #1f1f1f;
    border-radius: 4px;
    padding: 14px;
    color: #fff;
    text-decoration: none;
}

.wt-pc-img {
    background: #fff;
    border-radius: 3px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.wt-pc-img img {
    max-height: 100px;
    object-fit: contain;
}

.wt-pn {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--yellow);
    margin-top: 12px;
    font-weight: 600;
}

.wt-pc b {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    flex: 1;
}

.wt-pc .wt-price {
    font-size: 20px;
    margin-top: 10px;
}

/* Manuals */
.wt-mgrid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.wt-mgrid h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1;
    margin-top: 0;
}

.wt-mstats {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}

.wt-ms {
    flex: 1;
    border-radius: 4px;
    padding: 16px 18px;
    text-decoration: none;
}

.wt-ms b {
    display: block;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.wt-ms span {
    font-weight: 600;
}

.wt-ms-free {
    background: var(--green);
    color: #fff;
}

.wt-ms-paid {
    background: var(--yellow);
    color: var(--ink);
}

.wt-mtable {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 4px;
    overflow: hidden;
}

.wt-mrow {
    display: grid;
    grid-template-columns: 104px 1fr 80px 100px;
    gap: 14px;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink);
    text-decoration: none;
}

.wt-mhead {
    border-top: 0;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 18px;
}

.wt-mk {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
}

.wt-p {
    font-weight: 800;
}

.wt-free {
    justify-self: start;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    font-size: 12.5px;
    border-radius: 12px;
    padding: 3px 10px;
}

.wt-act {
    justify-self: end;
    font-weight: 700;
    font-size: 13.5px;
    border: 1.5px solid var(--ink);
    border-radius: 16px;
    padding: 4px 12px;
    white-space: nowrap;
}

.wt-act.wt-dl {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/* Story */
.wt-story {
    background: var(--blue);
    color: #fff;
    padding: 70px 0;
}

.wt-story-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 64px;
    align-items: center;
}

.wt-story-mark .world-mark {
    width: 240px;
    height: 240px;
}

.wt-story-mark .world-word {
    display: none;
}

.wt-story h2 {
    color: #fff;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.05;
    margin: 0;
}

.wt-story p {
    color: #dbe4ff;
}

.wt-promises {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 26px;
}

.wt-promises div {
    border-top: 3px solid var(--yellow);
    padding-top: 12px;
}

.wt-promises b {
    display: block;
}

.wt-promises span {
    font-size: 14px;
    color: #cbd6fb;
}

/* Product pages and shared pieces */
.price {
    color: var(--ink);
    font-weight: 900;
}

.btn-primary {
    background: var(--red);
}

.product-card {
    border-width: 1.5px;
}

.product-card-price {
    color: var(--ink);
    font-weight: 900;
}

.buy-box h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.notice {
    border-left-color: var(--red);
    background: #fff;
}

.site-footer {
    background: var(--ink);
}

@media (max-width: 1000px) {
    .wt-hero-grid,
    .wt-paths-grid,
    .wt-mgrid,
    .wt-story-grid {
        grid-template-columns: 1fr;
    }

    .wt-zonemap {
        grid-template-columns: repeat(4, 1fr);
    }

    .wt-grid,
    .wt-recent {
        grid-template-columns: repeat(2, 1fr);
    }

    .wt-ptypes,
    .wt-prow {
        grid-template-columns: repeat(3, 1fr);
    }

    .wt-promises {
        grid-template-columns: 1fr 1fr;
    }

    .world-city:nth-child(n + 3) {
        display: none;
    }
}

@media (max-width: 600px) {
    .wt-wall {
        grid-template-rows: repeat(3, 110px);
        gap: 8px;
    }

    .wt-t1 .wt-face {
        width: 150px;
        height: 150px;
    }

    .wt-small .wt-face {
        width: 60px;
        height: 60px;
    }

    .wt-zonemap,
    .wt-grid,
    .wt-recent,
    .wt-ptypes,
    .wt-prow {
        grid-template-columns: 1fr 1fr;
    }

    .wt-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .wt-mrow {
        grid-template-columns: 1fr auto;
    }

    .wt-mrow .wt-mk,
    .wt-mhead {
        display: none;
    }

    .wt-sel {
        min-width: 0;
        width: 100%;
    }

    .wt-note {
        margin-left: 0;
    }
}
