/* ROC - Adam Shop demo. Self-contained: nothing here is shared with other demos. */

@font-face {
    font-family: "Archivo";
    src: url("/demos/adamshop/archivo.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
}

:root {
    --kraft: #c59d6e;
    --kraft-light: #d8b98f;
    --paper: #ffffff;
    --sheet: #f2f3f0;
    --ink: #1f2328;
    --ink-soft: #4b5159;
    --rule: #d8dad4;
    --wa: #157f43;
    --wa-deep: #0f6634;
    --stamp: #2f49c4;
    --wrap: 72rem;
    --radius-small: 4px;
    --radius-panel: 10px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--ink);
    background: var(--sheet);
}

h1,
h2,
h3,
p,
dl,
dd,
ul {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
}

svg {
    display: block;
}

:focus-visible {
    outline: 3px solid var(--stamp);
    outline-offset: 3px;
}

.icon-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wrap {
    width: min(100% - 2.5rem, var(--wrap));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -4rem;
    left: 1rem;
    z-index: 50;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-small);
    background: var(--ink);
    color: var(--paper);
}

.skip-link:focus {
    top: 1rem;
}

/* Demo bar: blue marks everything that is demo information or still missing. */

.demo-bar {
    background: var(--stamp);
    color: var(--paper);
    font-size: 0.875rem;
}

.demo-bar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    padding-block: 0.55rem;
}

.demo-bar a {
    font-weight: 600;
}

.nowrap {
    white-space: nowrap;
}

.placeholder {
    padding: 0 0.3em;
    border-radius: 3px;
    background: rgb(47 73 196 / 0.09);
    color: var(--stamp);
}

.demo-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--stamp);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.demo-note .icon {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    min-height: 4rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
    text-decoration: none;
}

.brand__mark {
    padding: 0.05rem 0.4rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius-small);
    font-size: 1.2rem;
    font-weight: 850;
    font-stretch: 125%;
    line-height: 1.2;
}

.brand__name {
    font-size: 1.15rem;
    font-weight: 700;
    font-stretch: 112%;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
}

.site-nav a {
    padding-block: 0.5rem;
    text-decoration: none;
}

.site-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.7rem 1.35rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.button--wa {
    background: var(--wa);
    color: var(--paper);
}

.button--wa:hover {
    background: var(--wa-deep);
}

.button--plain {
    border-color: var(--ink);
    color: var(--ink);
}

.button--plain:hover {
    background: rgb(31 35 40 / 0.08);
}

.button--small {
    min-height: 2.5rem;
    padding: 0.45rem 1rem;
    font-size: 0.95rem;
}

/* Hero: a shipping label on a cardboard box */

.hero {
    overflow: hidden;
    padding-block: clamp(2.75rem, 7vw, 5.75rem);
    background-color: var(--kraft);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .22 0 0 0 0 .09 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        repeating-linear-gradient(98deg, rgb(255 255 255 / 0.035) 0 2px, transparent 2px 11px);
}

.hero__inner {
    display: grid;
    align-items: center;
    gap: 3.25rem;
}

.hero h1 {
    max-width: 15ch;
    font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.2rem);
    font-weight: 850;
    font-stretch: 112%;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero__lead {
    max-width: 34rem;
    margin-top: 1.25rem;
    font-size: 1.1875rem;
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.label {
    position: relative;
    justify-self: center;
    width: min(100%, 25rem);
    padding: 1.35rem 1.35rem 1.1rem;
    border-radius: var(--radius-small);
    background: var(--paper);
    box-shadow:
        0 1px 0 rgb(0 0 0 / 0.08),
        0 22px 34px -20px rgb(64 38 12 / 0.6);
    transform: rotate(-2.5deg);
    animation: label-stick 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.15) 0.15s both;
}

@keyframes label-stick {
    from {
        opacity: 0;
        transform: translateY(-1.5rem) rotate(-7deg) scale(1.04);
    }

    to {
        opacity: 1;
        transform: rotate(-2.5deg);
    }
}

.label__tape {
    position: absolute;
    top: -0.95rem;
    left: 50%;
    width: 7.5rem;
    height: 1.9rem;
    background: rgb(236 220 186 / 0.75);
    border-inline: 1px dashed rgb(140 104 68 / 0.35);
    transform: translateX(-50%) rotate(2deg);
}

.label__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
    font-stretch: 125%;
    line-height: 1.15;
}

.label__unit {
    flex: none;
    white-space: nowrap;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    background: var(--ink);
    color: var(--paper);
    font-size: 1.45rem;
    font-weight: 700;
    font-stretch: 75%;
}

.label__fields > div {
    display: grid;
    grid-template-columns: 5.25rem 1fr;
    gap: 0.75rem;
    padding-block: 0.7rem;
    border-bottom: 1px solid var(--rule);
}

.label__fields dt {
    padding-top: 0.15rem;
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 600;
    font-stretch: 80%;
}

.label__fields dd {
    font-size: 0.97rem;
    line-height: 1.4;
}

.label__fields strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 800;
}

.label__code {
    padding-top: 0.95rem;
}

.label__code svg {
    width: 100%;
    height: 3.25rem;
    fill: var(--ink);
}

.label__code span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-stretch: 125%;
    letter-spacing: 0.18em;
    text-align: center;
}

/* Sections */

.section {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-head {
    max-width: 40rem;
    margin-bottom: 2.25rem;
}

.section-head p {
    margin-top: 0.9rem;
    color: var(--ink-soft);
    font-size: 1.125rem;
}

h2 {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    font-weight: 800;
    font-stretch: 112%;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

/* Services board, laid out like the shop's own banner */

.board {
    display: grid;
    border: 1px solid var(--rule);
    border-radius: var(--radius-panel);
    background: var(--paper);
}

.board__group {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.75rem 1.5rem;
}

.board__group + .board__group {
    border-top: 1px solid var(--rule);
}

.board__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.board__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--kraft-light);
}

.board__icon .icon {
    width: 1.4rem;
    height: 1.4rem;
}

.board__head h3 {
    font-size: 1.3rem;
    font-weight: 800;
    font-stretch: 112%;
    line-height: 1.15;
}

.board__text {
    color: var(--ink-soft);
}

.board__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.55rem;
    border-top: 1px dashed var(--rule);
    font-weight: 600;
}

.board__list li:last-child {
    border-bottom: 1px dashed var(--rule);
}

.board__list a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.2rem;
    color: var(--wa);
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
}

.board__list a:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.board__group .demo-note {
    margin-top: auto;
    padding-top: 0.5rem;
}

.services__note {
    margin-top: 1.25rem;
}

/* About */

.about {
    border-block: 1px solid var(--rule);
    background: var(--paper);
}

.about__inner {
    display: grid;
    align-items: center;
    gap: 2.75rem;
}

.frame {
    padding: 0.75rem;
    border-radius: 3px;
    background: var(--ink);
    box-shadow: 0 16px 30px -22px rgb(0 0 0 / 0.65);
}

.frame__mat {
    padding: clamp(1rem, 3vw, 1.75rem);
    background: var(--paper);
}

.frame__photo {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.6rem;
    aspect-ratio: 4 / 3;
    padding: 1rem;
    border: 2px dashed rgb(47 73 196 / 0.45);
    background: var(--sheet);
    color: var(--stamp);
    font-weight: 600;
    text-align: center;
}

.frame__photo .icon {
    width: 2.25rem;
    height: 2.25rem;
}

.about__copy {
    display: grid;
    gap: 1.1rem;
    max-width: 36rem;
}

.about__text {
    font-size: 1.125rem;
}

/* Location */

.location__inner {
    display: grid;
    gap: 2.75rem;
}

.facts {
    margin-top: 2rem;
}

.facts > div {
    display: grid;
    gap: 0.35rem;
    padding-block: 1.1rem;
    border-top: 1px solid var(--rule);
}

.facts dt {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
}

.facts dd {
    padding-left: 1.8rem;
    color: var(--ink-soft);
}

.facts a {
    color: var(--wa);
    font-weight: 700;
}

.map {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.9rem;
    min-height: 19rem;
    padding: 2rem;
    border: 1px solid var(--rule);
    border-radius: var(--radius-panel);
    background-color: #e4e8e1;
    background-image:
        linear-gradient(90deg, rgb(255 255 255 / 0.95) 0 9px, transparent 9px),
        linear-gradient(rgb(255 255 255 / 0.95) 0 9px, transparent 9px),
        linear-gradient(28deg, transparent 49.4%, rgb(255 255 255 / 0.8) 49.4% 50.6%, transparent 50.6%);
    background-size: 132px 100%, 100% 104px, 100% 100%;
    background-position: 40px 0, 0 30px, 0 0;
    text-align: center;
}

.map__pin {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: 0 8px 18px -10px rgb(0 0 0 / 0.5);
}

.map__pin .icon {
    width: 1.75rem;
    height: 1.75rem;
}

.map p {
    max-width: 22rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-small);
    background: var(--paper);
    color: var(--stamp);
    font-weight: 600;
}

/* Closing call to action */

.cta {
    padding-block: clamp(3rem, 6vw, 4.5rem);
    background: var(--ink);
    color: var(--paper);
}

.cta__inner {
    display: grid;
    align-items: center;
    gap: 1.75rem;
}

.cta h2 {
    max-width: 30ch;
}

.cta .button {
    justify-self: start;
}

/* Footer */

.site-footer {
    padding-block: 1.5rem 6.5rem;
    border-top: 1px solid rgb(255 255 255 / 0.12);
    background: var(--ink);
    color: #c9ccd1;
    font-size: 0.9375rem;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
}

.site-footer a {
    color: var(--paper);
}

/* Phone: one WhatsApp button that stays within thumb reach */

.mobile-wa {
    position: fixed;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: 1rem;
    z-index: 30;
    box-shadow: 0 12px 26px -12px rgb(0 0 0 / 0.55);
}

@media (max-width: 47.99rem) {
    .site-nav,
    .header-cta {
        display: none;
    }

    .label__top {
        font-stretch: 100%;
    }
}

@media (min-width: 48rem) {
    .mobile-wa {
        display: none;
    }

    .site-footer {
        padding-bottom: 1.5rem;
    }
}

@media (min-width: 56rem) {
    .board {
        grid-template-columns: repeat(3, 1fr);
    }

    .board__group + .board__group {
        border-top: 0;
        border-left: 1px solid var(--rule);
    }

    .about__inner {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 4.5rem;
    }

    .location__inner {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 4rem;
    }

    .cta__inner {
        grid-template-columns: 1fr auto;
        gap: 3rem;
    }
}

@media (min-width: 60rem) {
    .hero__inner {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .label {
        animation: none;
    }

    .button {
        transition: none;
    }
}
