@font-face {
  font-family: 'Big Shoulders Display';
  src: url('assets/big-shoulders.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: Archivo;
  src: url('assets/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/jetbrains.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f4efe6;
  --ink: #171410;
  --cream: #fff5e7;
  --orange: #ff663a;
  --rule: #cdc4b6;
  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: Archivo, Arial, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[id] { scroll-margin-top: 1.25rem; }

a:focus-visible {
  outline: 3px solid #136dda;
  outline-offset: 5px;
}

.skip {
  position: absolute;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  background: var(--cream);
}
.skip:focus { transform: translateY(0); }

.shell {
  width: min(100% - 7rem, 1320px);
  margin-inline: auto;
}

.site-header {
  min-height: 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand { display: inline-block; flex: none; }
.brand img {
  width: 107px;
  height: 50px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3.1vw, 3.4rem);
}

.site-header nav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
}

.site-header nav a:hover:not(.nav-delivery) { text-decoration: underline; text-underline-offset: 4px; }

.nav-delivery {
  padding: .62rem .96rem;
  border: 1px solid var(--ink);
  border-radius: 99px;
  transition: background .18s, color .18s;
}
.nav-delivery:hover { background: var(--ink); color: var(--cream); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  background: var(--ink);
  color: var(--cream);
  min-height: clamp(490px, 43vw, 620px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3.3rem clamp(2rem, 4vw, 4.25rem) 3.7rem;
}

.eyebrow, .status {
  font: 700 .875rem/1.25 var(--mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}
.eyebrow { display: flex; gap: .65rem; align-items: center; color: #eee2d2; }

.marker {
  width: .56rem;
  height: .56rem;
  border: 2px solid var(--orange);
  border-radius: 50%;
  flex: none;
}

.hero h1, .section-heading h2, .update h3, .detail h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4.3rem, 8.3vw, 8.45rem);
  line-height: .83;
  letter-spacing: -.033em;
  margin: 1.6rem 0 1.45rem;
}
.hero h1 span { display: block; color: var(--orange); white-space: nowrap; }

.hero-description {
  color: #e3d5c4;
  max-width: 20rem;
  font-size: clamp(1rem, 1.4vw, 1.19rem);
  line-height: 1.52;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; }

.button {
  display: inline-flex;
  min-height: 50px;
  padding: .7rem clamp(.8rem, 1.45vw, 1.4rem);
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  transition: color .18s, background-color .18s, border-color .18s;
}
.button-accent { background: var(--orange); color: var(--ink); }
.button-accent:hover { background: #ff8a66; }
.button-outline { border-color: #766e61; }
.button-outline:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.hero-actions a:focus-visible { outline-color: var(--cream); }

.hero-media { position: relative; min-height: 0; overflow: hidden; background: #302117; }
.hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 57% 53%; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #1714103b, transparent 22%);
}

.updates { padding-block: clamp(2.75rem, 5vw, 5rem) 0; }
.section-heading { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 1.05rem; }
.section-heading h2 { font-size: clamp(2.15rem, 3.85vw, 3.6rem); line-height: .97; }
.section-heading > span { flex: 1; height: 1px; background: var(--rule); }

.updates-grid { display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr); gap: .85rem; }
.update { position: relative; isolation: isolate; display: grid; min-height: 266px; overflow: hidden; }
.update-content { position: relative; z-index: 1; padding: clamp(1.45rem, 3vw, 2.5rem); }
.status {
  display: inline-block;
  padding: .36rem .56rem;
  border: 1px solid currentColor;
  border-radius: 99px;
}

.update h3 {
  font-size: clamp(3rem, 5.25vw, 5.45rem);
  line-height: .83;
  letter-spacing: -.015em;
  margin: .8rem 0 .95rem;
}
.update-description { font-size: 1rem; line-height: 1.38; max-width: 16rem; }
.delivery-link { display: inline-block; margin-top: .7rem; font-weight: 700; text-underline-offset: 4px; }
.delivery-link::before { content: ''; position: absolute; inset: 0; }
.delivery-link:focus-visible { outline: 0; }
.delivery-link:focus-visible::before { outline: 3px solid var(--cream); outline-offset: -6px; }
.delivery-link:hover { color: #ff997b; }

.delivery { color: var(--cream); background: #302019; }
.delivery .update-content { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.delivery h3 { margin-top: 0; }
.delivery-photo { position: absolute; right: 0; top: 0; width: 58%; height: 100%; object-fit: cover; object-position: center 51%; }
.delivery::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, #302019 36%, #302019b3 60%, #3020190f);
}
.delivery-mark { position: absolute; z-index: 1; right: 1.35rem; top: 1.35rem; width: 39px; height: auto; }

.kids { color: #1e2b23; background: #dce3cb; }
.kids-print {
  width: clamp(10rem, 22vw, 21rem);
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  right: clamp(-9rem, -7vw, -3rem);
  transform: translateY(-50%) rotate(-20deg);
  display: grid;
  place-items: center;
}
.kids-print i { grid-area: 1 / 1; width: 100%; aspect-ratio: 1; border: 1.25rem solid #a2b494; border-radius: 46% 54% 36% 64%; }
.kids-print i:nth-child(2) { width: 72%; border-color: #becdaf; transform: rotate(20deg); }
.kids-print i:nth-child(3) { width: 40%; border-color: #a2b494; transform: rotate(38deg); }

.details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--rule);
  margin-top: clamp(2.6rem, 5vw, 4.9rem);
  padding-block: 1.9rem 2.35rem;
}
.detail h2 { font-size: clamp(1.7rem, 2.55vw, 2.45rem); line-height: 1.04; }
.detail p { margin-block: .4rem .65rem; color: #504740; line-height: 1.5; }
.text-link { display: inline-block; font-weight: 800; text-decoration-color: #b23b1e; text-underline-offset: 4px; }
.text-link:hover { color: #a2371d; }

.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem 2rem;
  padding-block: 1.2rem 1.7rem;
  border-top: 1px solid var(--rule);
  font-size: .875rem;
}
.site-footer p { color: #514840; line-height: 1.5; }
.site-footer a { font-weight: 700; text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.15rem; }
.carbokeg-link { display: inline-flex; align-items: center; min-height: 44px; }
.carbokeg-link img { width: 10rem; height: auto; }
.carbokeg-link:hover img { opacity: .72; }
.site-footer .carbokeg-link img { filter: brightness(0); }

@media (max-width: 1030px) {
  .shell { width: calc(100% - 4rem); }
}

@media (max-width: 740px) {
  .shell { width: calc(100% - 2rem); }
  .site-header { min-height: 68px; }
  .brand img { width: 90px; height: 39px; }
  .site-header nav { gap: .85rem; }
  .site-header nav a { font-size: .875rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 2rem clamp(1.25rem, 5.3vw, 2.4rem) 1.8rem; }
  .hero h1 { font-size: clamp(4.15rem, 17vw, 7.1rem); margin: 1rem 0 .95rem; }
  .hero-description { max-width: 23rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-media { min-height: 210px; height: min(55vw, 350px); }
  .hero-media img { object-position: 56% 60%; }
  .hero-media::after { background: linear-gradient(180deg, #1714103b, transparent 24%); }
  .update { min-height: 222px; }
  .updates-grid { gap: .65rem; }
  .kids-print { right: -6.3rem; }
}

@media (max-width: 540px) {
  .updates-grid { grid-template-columns: 1fr; }
  .details { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .kids-print { right: -1.7rem; width: 11rem; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 355px) {
  .site-header nav a[href="#visite"] { display: none; }
  .nav-delivery { padding-inline: .62rem; }
  .hero-content { padding-inline: .9rem; }
  .hero-actions { gap: .4rem; }
  .button { padding-inline: .55rem; font-size: .92rem; }
  .kids-print { right: -4.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
