/* Alp Agency - concept stylesheet. One file for every page, no build step. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Colours come from their own foam chart (Pantone names in brackets) and the red of their current template. */
:root {
  --paper: #fbf8f1;
  --paper-2: #f2ede1;
  --card: #ffffff;
  --ink: #112151;        /* Pariško modra, PMS 2768 */
  --ink-soft: #46506f;
  --rule: #ddd5c3;
  --red: #c40018;        /* close to their template red #CC0000, 6.1:1 on paper */
  --red-dark: #9c0013;
  --yellow: #f9e814;     /* Rumena, PMS 102 */
  --turq: #00c6b2;       /* Turkizna, PMS 3265 */
  --green: #009966;      /* Zelena, PMS 347 */
  --blue: #008ed6;       /* Temno modra, PMS 2925 */
  --orange: #f77f00;     /* Oranžna, PMS 151 */
  --pink: #f94f8e;       /* Roza, PMS 212 */
  --viola: #66008c;      /* Viola, PMS 2597 */
  --lime: #aadd6d;       /* Travnato zelena, PMS 367 */
  --focus: #c40018;
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(1rem, 5vw, 3rem);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: .875rem; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
ul { padding-left: 1.2rem; }

.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
/* Grid and flex children may shrink below their content, so one long word cannot widen the page. */
.wrap > *, .grid > *, .hero-grid > *, .lines > *, .split > *, .pads > *, .swatches > *, .form-grid > *,
.contact-grid > *, .facts > *, .steps > *, .site-footer .wrap > *, .photo-row > *, .tangrams > * { min-width: 0; }

.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: .75rem 1rem; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 1rem; }

/* Concept notice */
.concept { background: var(--ink); color: #e9ecf6; font-size: .8125rem; line-height: 1.4; text-align: center; padding: .5rem var(--gutter); }
.concept strong { color: var(--yellow); letter-spacing: .1em; }

/* Foam layers: the "sendvič" composite, used as a divider. Colours are from their chart. */
.layers { height: 14px; background: linear-gradient(to bottom,
  var(--red) 0 3px, var(--yellow) 3px 6px, var(--turq) 6px 8px, var(--blue) 8px 11px, var(--orange) 11px 14px); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; min-height: 44px; }
.brand-mark { width: 2.5rem; height: 2.5rem; flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.375rem; letter-spacing: -.01em; line-height: 1; }
.brand-name span { color: var(--red); }
.brand-sub { display: block; font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: .2rem; }
.btn.header-call { display: none; }
.nav { width: 100%; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .375rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: .8rem;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .625rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
}
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1d3170; }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(17, 33, 81, .06); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #fff04d; }

.lead { font-size: 1.1875rem; color: var(--ink-soft); max-width: 40rem; }
.on-ink { background: var(--ink); color: #fff; --focus: var(--yellow); }
.on-ink .lead, .on-ink .muted { color: #cfd5e8; }
.muted { color: var(--ink-soft); }

/* Client photos: small catalogue scans, never stretched past their pixel width. */
.photo { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: .75rem; display: grid; justify-items: center; align-content: start; }
.photo img { border-radius: 10px; }
.photo figcaption { font-size: .875rem; color: var(--ink-soft); margin-top: .625rem; text-align: center; }

/* Sections */
.section { padding-block: 3.5rem; }
.section-head { max-width: 46rem; }
.section-head h2 { font-size: clamp(2rem, 7vw, 3.5rem); }
.section-head p { margin-top: 1rem; }
.alt { background: var(--paper-2); }
.page-head { padding-block: 2.5rem 2rem; }
.page-head h1 { font-size: clamp(2.5rem, 10vw, 5rem); }
.page-head .lead { margin-top: 1rem; }

/* Home hero */
.hero { padding-block: 2.5rem 3rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 11vw, 5.75rem); font-weight: 800; line-height: .95; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { margin-top: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Thickness stack: slab heights are proportional to real thickness (2 mm to 35 mm). */
.stack { margin: 0; display: grid; gap: .375rem; max-width: 30rem; width: 100%; justify-self: center; }
.slab {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  min-height: 1.75rem; height: calc(var(--mm) * .19rem + 1rem); padding-inline: 1rem;
  border-radius: 12px; font: 700 .9375rem/1 var(--sans); color: var(--ink);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12);
}
.slab small { font-weight: 600; font-size: .8125rem; }
/* Slabs carry no foam colour: their site pairs no colour with a thickness. Tints of the ink colour only. */
.slab { background: var(--ink); }
.slab:nth-child(2) { background: #22346c; }
.slab:nth-child(3) { background: #34488a; }
.slab:nth-child(4) { background: #475da6; }
.slab:nth-child(5) { background: #5a70b8; }
.slab.light { color: #fff; }
.stack figcaption { font-size: .875rem; color: var(--ink-soft); margin-top: .5rem; }
/* Separate row: the 22 named colours from their chart, in chart order. */
.chart-row { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; margin-top: 1rem; }
.chart-row i { display: block; aspect-ratio: 1; border-radius: 5px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(17, 33, 81, .15); }
.chart-cap { font-size: .875rem; color: var(--ink-soft); }
.chart-cap a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); }
@media (min-width: 48rem) { .chart-row { grid-template-columns: repeat(22, minmax(0, 1fr)); gap: 3px; } }

/* Lines of business */
.lines { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.line { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: grid; align-content: start; }
.line-top { height: 8px; background: var(--c, var(--red)); }
.line-body { padding: 1.5rem; display: grid; gap: .75rem; }
.line h3 { font-size: 1.625rem; }
.line p { color: var(--ink-soft); }
.line .photo { border: 0; border-radius: 0; padding: 1rem 1rem 0; background: #f6f6f4; }
.line .more { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

/* Split content blocks */
.split { display: grid; gap: 2rem; margin-top: 2.25rem; align-items: start; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .625rem; }
.facts li { background: var(--card); border: 1px solid var(--rule); border-left: 6px solid var(--c, var(--turq)); border-radius: 12px; padding: .75rem 1rem; }
.facts strong { display: block; font-family: var(--display); font-size: 1.1875rem; }
.chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: .375rem .875rem; font-size: .9375rem; }
.chips li:has(> a) { padding: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .875rem; }
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; margin-top: 1.5rem; }

/* Apty Toys teaser */
.apty { display: grid; gap: 1.5rem; align-items: center; background: var(--card); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--rule); }
.apty-logo { justify-self: start; }
.claim { display: inline-block; margin-top: 1rem; padding: .5rem .875rem; border-radius: 12px; background: #eaf8f5; border: 1px dashed #4aa596; font-size: .9375rem; }

/* Steps (file preparation) */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li { counter-increment: step; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 4.25rem; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 1.125rem; top: 1.125rem; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 800 1.125rem/1 var(--display);
}
.steps strong { display: block; font-family: var(--display); font-size: 1.25rem; }
.steps p { color: #cfd5e8; margin-top: .25rem; }

/* Mouse pad spec cards */
.pads { display: grid; gap: 1rem; margin-top: 2rem; }
.pad { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem; }
.pad h3 { font-size: 1.375rem; }
.pad p { color: var(--ink-soft); margin-top: .5rem; font-size: 1rem; }
.pad dl { margin: 1rem 0 0; display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: .375rem .75rem; font-size: .9375rem; }
.pad dt { color: var(--ink-soft); }
.pad dd { margin: 0; font-weight: 600; }

/* Colour swatches (named on their own chart) */
.swatches { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: .75rem; }
.swatch { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.swatch i { display: block; height: 3.5rem; background: var(--sw); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.swatch div { padding: .5rem .75rem .625rem; line-height: 1.3; }
.swatch b { display: block; font-size: .9375rem; }
.swatch small { color: var(--ink-soft); font-size: .8125rem; }

.tangrams { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); list-style: none; padding: 0; margin: 1rem 0 0; }
.tangrams li { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: .75rem 1rem; font-weight: 600; }

/* Forms */
.quote { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; margin-top: 2rem; }
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .375rem; }
.field label { font-weight: 700; font-size: .9375rem; }
.field .hint { font-size: .8125rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .625rem .75rem; border: 2px solid #b9bfd0; border-radius: 10px;
  font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff;
}
.field input[type="file"] { padding: .5rem; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.req { color: var(--red); }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .875rem; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.contact-list a, .contact-list div { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding-block: .625rem; border-bottom: 1px solid var(--rule); text-decoration: none; }
.contact-list small { font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.contact-list span { font-size: 1.1875rem; font-weight: 600; }
.contact-list a:hover span { text-decoration: underline; }
.card-ink { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.5rem; --focus: var(--yellow); }
.card-ink address { font-style: normal; font-family: var(--display); font-size: 1.625rem; line-height: 1.2; font-weight: 700; }
.card-ink p { color: #cfd5e8; margin-top: .75rem; }
.data { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: .9375rem; }
.data th, .data td { text-align: left; padding: .5rem 0; border-top: 1px solid var(--rule); vertical-align: top; }
.data th { font-weight: 600; color: var(--ink-soft); padding-right: 1rem; width: 45%; }

/* Footer */
.site-footer { background: var(--ink); color: #e9ecf6; padding-block: 2.5rem calc(2.5rem + 4.75rem + env(safe-area-inset-bottom)); --focus: var(--yellow); }
.site-footer .wrap { display: grid; gap: 1.25rem; }
.site-footer p { font-size: .9375rem; color: #cfd5e8; }
.site-footer a { color: #fff; }
.footer-name { font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: #fff !important; }
.footer-concept { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1.25rem; font-size: .875rem !important; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }

/* Mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -6px 18px rgba(17, 33, 81, .08);
}
.action-bar .btn { width: 100%; padding-inline: .5rem; }

/* 768px */
@media (min-width: 48rem) {
  .section { padding-block: 5rem; }
  .hero { padding-block: 4rem; }
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 3rem; }
  .lines { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .apty { grid-template-columns: auto 1fr auto; padding: 2rem; gap: 2rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pads { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .quote { padding: 2rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .site-footer { padding-block: 3rem; }
  .site-footer .wrap { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .footer-concept, .footer-links { grid-column: 1 / -1; }
  .action-bar { display: none; }
}

/* 1280px */
@media (min-width: 80rem) {
  .site-header .wrap { flex-wrap: nowrap; }
  .nav { width: auto; }
  .btn.header-call { display: inline-flex; min-height: 44px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .pads { grid-template-columns: repeat(4, 1fr); }
  /* Four narrow cards: stack each label above its value instead of two cramped columns. */
  .pads .pad dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pads .pad dt { font-size: .875rem; margin-top: .625rem; }
  .pads .pad dt:first-child { margin-top: 0; }
}
