@font-face {
  font-family: "Anybody";
  src: url("fonts/anybody-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-stretch: 125%;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italianno";
  src: url("fonts/italianno-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #14181c;
  --night-dim: #0c0e10;
  --slat: #2c3338;
  --slat-lit: #3e474d;
  --slat-shade: #0c0e10;
  --sodium: #ffb000;
  --paper: #f3ecdc;
  --ink: #1a1612;
  --annotation: #c4b496;
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scrollbar-color: var(--sodium) var(--night);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 1.125rem;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--sodium);
  color: var(--ink);
}

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

.sign :focus-visible {
  outline-color: var(--ink);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  text-decoration: none;
  z-index: 2;
}

.skip:focus {
  transform: none;
}

.sign {
  background: var(--sodium);
  color: var(--ink);
  border: 8px solid var(--ink);
  padding: 1rem 1.15rem 0.85rem;
}

.sign h1,
.sign .mark {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-family: Anybody, sans-serif;
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(3.25rem, 16vw, 6rem);
  line-height: 0.78;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.lip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin: 0.85rem 0 0;
  padding-top: 0.45rem;
  border-top: 2px solid var(--ink);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
}

.sign-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0.7rem 0 0;
  padding-top: 0.55rem;
  border-top: 2px solid var(--ink);
}

.sign-nav a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.sign-nav a:hover {
  text-decoration: underline;
}

.slats {
  display: grid;
  gap: 5px;
  padding: 5px 0;
  background: var(--night);
}

.slat {
  display: block;
  height: 16px;
  background: var(--slat);
  border-top: 2px solid var(--slat-lit);
  border-bottom: 2px solid var(--slat-shade);
}

.sheet {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 2.25rem 1.25rem 2rem;
  scroll-margin-top: 0.75rem;
}

.sheet + .sheet {
  border-top: 1px solid var(--ink);
}

.sheet h1,
.sheet h2 {
  margin: 0 0 0.7rem;
  max-width: 22ch;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.sheet h2.promise {
  max-width: 20ch;
  text-wrap: wrap;
}

.lede {
  max-width: 40rem;
  margin: 0;
}

.tape {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  width: 5.25rem;
  height: 1.05rem;
  transform: translateX(-50%);
  background: var(--sodium);
  border: 2px solid var(--ink);
}

.sheet h2.promise span { display: block; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.action {
  display: inline-block;
  padding: 0.85rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  cursor: pointer;
}

.action:hover {
  background: var(--sodium);
  color: var(--ink);
}

.showcase {
  margin-top: 2.4rem;
}

.site-frame {
  border: 4px solid var(--ink);
  background: var(--night);
  color: var(--paper);
  container-type: inline-size;
}

.site-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  background: var(--night-dim);
  color: var(--paper);
  font-weight: 700;
}

.venue { overflow: hidden; }

.venue p { margin: 0; }

.venue-mar {
  background: #10211c;
  color: #f4efe4;
  font-family: "Outfit", sans-serif;
}

.venue-mar ::selection {
  background: #f3e6cf;
  color: #10211c;
}

.mar-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.8rem 0.45rem;
}

.mar-mark {
  flex: 0 0 auto;
  padding-right: 0.35rem;
  font-family: "Italianno", cursive;
  font-size: 2rem;
  line-height: 1;
}

.venue .mar-reserve {
  margin-left: auto;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #f3e6cf;
  color: #10211c;
  font-size: 0.78rem;
  font-weight: 600;
}

.venue-mar img {
  display: block;
  width: 100%;
  height: 13.5rem;
  object-fit: cover;
  object-position: center 42%;
}

.mar-copy { padding: 0.9rem 0.9rem 1.05rem; }

.mar-title {
  font-size: clamp(1.55rem, 5.4cqi, 2.15rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.venue .mar-sub {
  margin-top: 0.35rem;
  color: #d7e4dc;
  font-size: 0.95rem;
}

.venue-taula {
  background: #f6f0e4;
  color: #4a2c24;
  font-family: "Bodoni Moda", serif;
}

.venue-taula ::selection {
  background: #8c2f1c;
  color: #f6f0e4;
}

.taula-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem 0.2rem;
}

.taula-mark {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.taula-mark span {
  display: block;
  font-weight: 500;
}

.venue .taula-reserve {
  margin-left: auto;
  padding: 0.4rem 0.65rem;
  background: #163d2c;
  color: #f6f0e4;
  font-size: 0.85rem;
  font-weight: 700;
}

.taula-title {
  padding: 0.35rem 0.85rem 0;
  color: #8c2f1c;
  font-size: clamp(3.15rem, 16cqi, 4.6rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.03em;
}

.taula-sub {
  padding: 0.7rem 0.95rem 0.95rem;
  font-size: 1.05rem;
}

.venue-taula img {
  display: block;
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  object-position: center 58%;
}

.sheet a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

a.action,
button.action {
  color: var(--paper);
}

a.action:hover,
button.action:hover {
  background: var(--sodium);
  color: var(--ink);
}

a.action.action-quiet {
  background: transparent;
  color: var(--ink);
}

a.action.action-quiet:hover {
  background: var(--ink);
  color: var(--paper);
}

.pieces {
  margin: 1.35rem 0 0;
}

.piece {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.5rem) minmax(0, 1fr);
  gap: 0.45rem 2rem;
  padding: 1.2rem 0 1.3rem;
  border-top: 1px solid var(--ink);
}

.piece:last-child { border-bottom: 1px solid var(--ink); }

.piece h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.piece-copy p {
  max-width: 70ch;
  margin: 0;
}

.steps {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--ink);
}

.steps li:last-child { border-bottom: 1px solid var(--ink); }

.steps li::before {
  grid-column: 1;
  grid-row: 1;
  counter-increment: step;
  content: counter(step);
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.steps h3,
.steps p { grid-column: 2; }

.steps h3 { grid-row: 1; }
.steps p { grid-row: 2; }

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.steps p {
  max-width: 70ch;
  margin: 0;
}

.works {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.work h3 {
  margin: 0.85rem 0 0.3rem;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.work p { margin: 0; }

.note {
  max-width: 40rem;
  margin: 1.35rem 0 0;
  font-weight: 700;
}

.people {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.person {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ink);
}

.initials {
  margin: 0;
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.person h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.person p:last-child { margin: 0.35rem 0 0; }

.split {
  display: grid;
  gap: 2.4rem;
}

.contacts {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.contacts li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--ink);
}

.contacts li:last-child { border-bottom: 1px solid var(--ink); }

.contacts strong { display: block; }

.form {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6e6258;
}

.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  accent-color: var(--ink);
  flex: none;
}

.form-note {
  margin: 0;
  font-weight: 700;
}

.form-ok p { margin: 0; }

.form-ok strong {
  display: block;
  margin-bottom: 0.4rem;
}

.form-ok .action { margin-top: 1rem; }

.sheet-close {
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
}

.colophon {
  padding: 1.75rem 1.25rem 2.75rem;
  color: var(--annotation);
  font-size: 1rem;
}

.colophon p { margin: 0.7rem 0 0; }

.colophon-brand {
  margin: 0;
  color: var(--paper);
  font-weight: 700;
}

.colophon nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-top: 0.7rem;
}

.colophon a {
  color: var(--paper);
  text-underline-offset: 0.18em;
}

@media (min-width: 700px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1080px) {
  #oferta {
    display: grid;
    grid-template-columns: minmax(20rem, 34rem) minmax(0, 1fr);
    column-gap: 2.75rem;
    row-gap: 1.15rem;
    align-items: start;
  }

  #oferta .copy { grid-column: 1; grid-row: 1; }

  #oferta .promise { max-width: none; }

  #oferta .showcase {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }

  .pieces {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
  }

  .piece {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .piece:nth-last-child(-n+2) { border-bottom: 1px solid var(--ink); }

  .piece-copy p { max-width: none; }

  .steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 2.5rem;
  }

  .steps li {
    align-content: start;
    border-bottom: 1px solid var(--ink);
  }

  .steps p { max-width: none; }

  .works,
  .people {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.75rem;
    align-items: start;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
    align-items: start;
  }
}

@media (max-width: 860px) {
  .piece { grid-template-columns: 1fr; }

  .sheet { padding-inline: 1rem; }

  .sign { padding-inline: 0.85rem; }
}
