/* Time Clocks USA - "Data Plate" (design/stores/round2/timeclocksusa-c-*):
   the riveted steel nameplate on an American-made machine; cream enamel,
   oxblood and enamel blue. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..800&family=Space+Mono:wght@400;700&display=swap');

:root {
    --font-body: 'Archivo', system-ui, sans-serif;
    --font-display: 'Archivo', system-ui, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, monospace;
    --enamel: #f3eee2;
    --paper: #fbf8f1;
    --ink: #1d1f22;
    --muted: #565a60;
    --line: #d8d0bd;
    --red: #a3262a;
    --red-dark: #86191d;
    --blue: #22406f;
    --steel-1: #e9ebed;
    --steel-2: #c7cbd0;
    --etch: #3b3f45;
    --bg: var(--enamel);
    --surface: var(--paper);
    --brand: var(--ink);
    --brand-ink: #e8e2d2;
    --accent: var(--red);
    --radius: 5px;
    --wrap: 1260px;
}

h1,
h2,
h3,
.dp-cat-title {
    font-weight: 800;
    font-stretch: 112%;
    font-variation-settings: 'wdth' 112;
    letter-spacing: -0.01em;
}

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

.btn {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
    border-radius: 4px;
}

.btn-primary {
    box-shadow: 0 3px 0 var(--red-dark);
}

.btn-ghost {
    color: var(--ink);
    border-color: var(--ink);
}

/* Header */
.site-header {
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
}

.brand img {
    max-height: 78px;
}

.search input {
    border: 2px solid var(--ink);
    border-right: 0;
    border-radius: 4px 0 0 4px;
}

.search button {
    background: var(--ink);
    border-radius: 0 4px 4px 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.main-nav a {
    font-weight: 600;
}

.main-nav .nav-highlight a {
    font-weight: 700;
}

/* Steel plate with rivets */
.plate {
    position: relative;
    display: block;
    border-radius: 6px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, rgba(0, 0, 0, 0.025) 1px 3px),
        linear-gradient(160deg, var(--steel-1), var(--steel-2) 55%, #b9bec4);
    border: 1px solid #a7adb4;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12),
        0 18px 30px -22px rgba(29, 31, 34, 0.55);
    color: var(--ink);
    text-decoration: none;
}

.plate .rv {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff 0 18%, #c2c6cb 40%, #7d838a 100%);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.rv.tl { top: 10px; left: 10px; }
.rv.tr { top: 10px; right: 10px; }
.rv.bl { bottom: 10px; left: 10px; }
.rv.br { bottom: 10px; right: 10px; }

/* Hero */
.dp-hero {
    padding: 60px 0 70px;
    background: radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.65), transparent 55%), var(--enamel);
}

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

.dp-kicker,
.dp-eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0;
}

.dp-eyebrow {
    color: var(--red);
    font-size: 12px;
}

.dp-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 0.98;
    margin: 18px 0 22px;
}

.dp-hero .lede {
    color: #3d4046;
    max-width: 540px;
}

.dp-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.dp-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.dp-proof b {
    display: block;
    font-size: 22px;
    color: var(--ink);
    font-weight: 800;
}

.dp-hero-plate {
    padding: 30px 34px;
    transform: rotate(-1.2deg);
}

.dp-plate-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid rgba(59, 63, 69, 0.45);
}

.dp-plate-top img {
    height: 84px;
    mix-blend-mode: multiply;
}

.dp-made {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--etch);
    text-align: right;
    line-height: 1.5;
    letter-spacing: 0.06em;
}

.dp-made b {
    display: block;
    font-size: 13px;
    color: var(--ink);
}

.dp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 6px;
}

.dp-grid span {
    padding: 10px 0;
    border-bottom: 1px solid rgba(59, 63, 69, 0.25);
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--etch);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.dp-grid span:nth-child(odd) {
    padding-right: 14px;
    border-right: 1px solid rgba(59, 63, 69, 0.25);
}

.dp-grid span:nth-child(even) {
    padding-left: 14px;
}

.dp-grid b {
    color: var(--ink);
    text-align: right;
}

.dp-photo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 18px;
    font-size: 14px;
    color: var(--etch);
}

.dp-photo b {
    display: block;
    font-size: 19px;
    color: var(--ink);
    font-weight: 800;
    margin-bottom: 4px;
}

.dp-ph {
    flex: none;
    width: 160px;
    height: 140px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #a7adb4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.dp-ph img {
    max-height: 100%;
    object-fit: contain;
}

.dp-pr {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--red);
    margin-top: 6px;
}

.dp-pr s,
.dp-buy s {
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    margin-left: 6px;
}

/* Plate finder */
.dp-finder {
    background: var(--blue);
    color: #fff;
}

.dp-finder-grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 50px;
    align-items: center;
    padding-top: 44px;
    padding-bottom: 44px;
}

.dp-finder h2 {
    color: #fff;
    font-size: 30px;
    margin: 0;
}

.dp-finder p {
    color: #d5dcea;
    font-size: 15px;
}

.dp-finder-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.dp-fld span {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c9d3e6;
    margin-bottom: 6px;
}

.dp-fld select {
    width: 100%;
    height: 54px;
    font: inherit;
    font-weight: 600;
    background: var(--paper);
    border: 0;
    border-radius: 4px;
    padding: 0 14px;
    color: var(--ink);
}

.dp-finder .btn {
    height: 54px;
    box-shadow: 0 3px 0 #5c0f12;
}

.dp-hint a {
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 700;
}

/* Sections */
.dp-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 28px;
}

.dp-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 4px 0 0;
}

.dp-head p:not(.dp-eyebrow) {
    color: var(--muted);
    margin: 6px 0 0;
    max-width: 620px;
}

.dp-head a {
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
    text-decoration: none;
}

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

.dp-cat {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    display: grid;
    grid-template-columns: 1fr 140px;
    overflow: hidden;
    min-height: 190px;
    text-decoration: none;
    color: var(--ink);
}

.dp-cat:hover,
.dp-s:hover {
    border-color: var(--ink);
}

.dp-cat-text {
    padding: 22px 0 20px 24px;
    display: flex;
    flex-direction: column;
}

.dp-no,
.dp-s small {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--red);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dp-cat-title {
    font-size: 21px;
    margin: 6px 0;
    line-height: 1.15;
}

.dp-cat-desc {
    font-size: 14px;
    color: var(--muted);
}

.dp-from {
    margin-top: auto;
    padding-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

.dp-cat-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.dp-cat-img img,
.dp-s-img img {
    mix-blend-mode: multiply;
    max-height: 140px;
    object-fit: contain;
}

.dp-feat {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.dp-prods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.dp-prod {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--ink);
}

.dp-prod-img {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.dp-prod-img img {
    max-height: 180px;
    object-fit: contain;
}

.dp-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    background: var(--red);
    color: #fff;
    padding: 3px 8px;
    border-radius: 2px;
}

.dp-prod-plate {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 6px 6px;
    padding: 16px 18px 18px;
    box-shadow: none;
}

.dp-prod-plate .rv {
    width: 8px;
    height: 8px;
}

.dp-prod-plate .rv.tl,
.dp-prod-plate .rv.tr { top: 8px; }
.dp-prod-plate .rv.bl,
.dp-prod-plate .rv.br { bottom: 8px; }
.dp-prod-plate .rv.tl,
.dp-prod-plate .rv.bl { left: 8px; }
.dp-prod-plate .rv.tr,
.dp-prod-plate .rv.br { right: 8px; }

.dp-prod-title {
    font-weight: 700;
    line-height: 1.3;
    padding: 0 10px;
    min-height: 42px;
}

.dp-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 12px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--etch);
    margin: 12px 10px 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(59, 63, 69, 0.3);
    text-transform: uppercase;
}

.dp-dl b {
    color: var(--ink);
    text-align: right;
}

.dp-buy {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 21px;
    font-weight: 800;
}

.dp-add {
    background: var(--red);
    color: #fff;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 3px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dp-sup {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.dp-s {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px;
    text-decoration: none;
    color: var(--ink);
}

.dp-s-img {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.dp-s-img img {
    max-height: 104px;
}

.dp-s-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    margin: 4px 0 8px;
    flex: 1;
}

.dp-s b {
    font-size: 18px;
}

/* Heritage */
.dp-her {
    background: var(--red);
    color: #fff;
    background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 6px);
}

.dp-her-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 64px;
}

.dp-her h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.05;
}

.dp-her p {
    color: #f6dcdc;
}

.dp-her a {
    color: #fff;
}

.dp-badge {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--enamel);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 8px solid #fff;
    box-shadow: 0 0 0 3px var(--blue), 0 20px 40px -20px rgba(0, 0, 0, 0.6);
    margin-top: 28px;
}

.dp-badge small {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--blue);
}

.dp-badge b {
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    color: var(--red);
}

.dp-badge span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dp-badge i {
    font-style: normal;
    color: var(--blue);
    letter-spacing: 0.4em;
    font-size: 12px;
    margin: 4px 0;
}

.dp-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dp-points div {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 22px;
}

.dp-points span {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #ffd5d5;
    letter-spacing: 0.08em;
}

.dp-points h3 {
    color: #fff;
    font-size: 20px;
    margin: 6px 0;
}

.dp-points p {
    margin: 0;
    font-size: 15px;
}

.trust {
    background: var(--paper);
    margin-top: 0;
}

/* Product page: the buy box becomes a plate */
.buy-box {
    position: relative;
    padding: 28px 30px;
    border-radius: 6px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, rgba(0, 0, 0, 0.025) 1px 3px),
        linear-gradient(160deg, var(--steel-1), var(--steel-2) 55%, #b9bec4);
    border: 1px solid #a7adb4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 30px -22px rgba(29, 31, 34, 0.55);
    align-self: start;
}

.buy-box h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.sku,
.eyebrow {
    font-family: var(--font-mono);
    color: var(--etch);
}

.price {
    color: var(--red);
}

.gallery-main,
.product-card,
.product-card-img {
    background: #fff;
}

.ship-notes {
    color: var(--etch);
}

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

@media (max-width: 1000px) {
    .dp-hero-grid,
    .dp-finder-grid,
    .dp-her-grid {
        grid-template-columns: 1fr;
    }

    .dp-hero-plate {
        transform: none;
    }

    .dp-cats,
    .dp-prods {
        grid-template-columns: repeat(2, 1fr);
    }

    .dp-sup {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .dp-finder-form,
    .dp-cats,
    .dp-prods,
    .dp-points,
    .dp-grid {
        grid-template-columns: 1fr;
    }

    .dp-grid span:nth-child(n) {
        padding: 8px 0;
        border-right: 0;
    }

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

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

    .dp-photo {
        flex-direction: column;
        align-items: flex-start;
    }
}
