/* Belaventi — boutique culinary representation */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/bodoni-moda-500.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: "Bodoni Moda";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bodoni-moda-400-italic.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: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/outfit-400.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: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/outfit-500.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;
}

:root {
  --white: #fcfbf9;
  --cream: #f3ece4;
  --ink: #141311;
  --ink-soft: #2a2724;
  --muted: #5c564e;
  --line: #e4ddd4;
  --line-strong: #d2c7bb;
  --accent: #8c4b32;
  --header: 4.75rem;
  --serif: "Bodoni Moda", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

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

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 4rem);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  font-optical-sizing: auto;
}

.eyebrow {
  margin: 0 0 1.15rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
.email,
.steps__num,
.nav__panel a {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  color: var(--ink);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3.35rem, 7vw, 6.75rem);
  line-height: 0.9;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.15rem);
  line-height: 0.98;
  text-wrap: balance;
}

.prose p + p {
  margin-top: 1.05rem;
}

.signoff {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
}

.nav-desktop a,
.nav-mobile summary {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.nav-desktop a {
  position: relative;
  padding-block: 0.35rem;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  transform: scaleX(1);
}

.nav-mobile {
  display: none;
}

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  padding: 0.4rem 0;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile:not([open]) .nav__close,
.nav-mobile[open] .nav__open {
  display: none;
}

.nav__panel {
  display: none;
}

.nav-mobile[open] .nav__panel {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 40;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem clamp(1.5rem, 4vw, 4rem) 4rem;
  gap: 0.35rem;
}

.nav__panel a {
  font-size: clamp(2.6rem, 10vw, 3.6rem);
  line-height: 1.05;
  text-decoration: none;
  width: fit-content;
}

body:has(.nav-mobile[open]) {
  overflow: hidden;
}

/* Hero */

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header));
  padding-block: clamp(3.25rem, 8vh, 6.25rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.82fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

.hero .eyebrow::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin-bottom: 1.15rem;
  background: var(--accent);
}

.lede {
  max-width: 34rem;
  margin-top: 1.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--ink);
}

.link-quiet {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-block: 0.35rem;
}

.still {
  justify-self: end;
  width: min(100%, 26.5rem);
  border: 1px solid var(--ink);
  padding: 0.7rem;
  background: var(--white);
}

.still__art {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}

/* Disciplines */

.band {
  border-block: 1px solid var(--line);
}

.disciplines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.disciplines li {
  padding-block: 1.15rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.disciplines li + li {
  border-left: 1px solid var(--line);
  padding-left: clamp(1rem, 2vw, 1.75rem);
}

/* Sections */

.section {
  padding-block: clamp(5rem, 11vw, 8.75rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.audiences {
  background: var(--cream);
}

.audiences__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.audiences article {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.audiences article:first-child {
  padding-right: clamp(1.5rem, 3.5vw, 3.25rem);
}

.audiences article + article {
  border-left: 1px solid var(--line-strong);
  padding-left: clamp(1.5rem, 3.5vw, 3.25rem);
}

.audiences h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.35rem);
}

.points {
  margin-top: 2rem;
}

.points li {
  padding-block: 0.9rem;
  border-top: 1px solid var(--line-strong);
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink);
}

.points li:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.approach__intro h2 {
  max-width: 11em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.steps li {
  border-top: 1px solid var(--ink);
  padding-top: 1.15rem;
}

.steps__num {
  display: block;
  margin-bottom: 1.75rem;
  font-style: italic;
  font-weight: 400;
  font-size: 1.85rem;
  letter-spacing: 0;
  line-height: 1;
}

.steps h3 {
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.steps p {
  font-size: 0.98rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Contact */

.contact {
  background: var(--ink);
  color: #e8e2da;
  padding-block: clamp(5.25rem, 12vw, 9.25rem);
}

.contact .eyebrow,
.contact p {
  color: #d4cdc3;
}

.contact h2,
.contact .email,
.contact .signoff {
  color: var(--white);
}

.contact .lede {
  margin-top: 1.35rem;
  max-width: 28rem;
}

.email {
  display: inline-block;
  margin-top: 2.25rem;
  font-size: clamp(2.35rem, 6vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  padding-bottom: 0.06em;
  max-width: 100%;
}

.email:hover,
.email:focus-visible {
  background-size: 100% 2px;
}

.contact .signoff {
  margin-top: 2rem;
}

/* Footer */

.site-footer {
  padding-block: 1.85rem 2.1rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2.5rem;
}

.footer__tag,
.footer__legal,
.footer__mail {
  font-size: 0.92rem;
  color: var(--muted);
}

.footer__tag {
  margin-top: 0.55rem;
}

.footer__mail {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer__mail:hover,
.footer__mail:focus-visible {
  border-bottom-color: currentColor;
  color: var(--ink);
}

.footer__legal {
  text-align: right;
}

/* Missing page */

.missing-main {
  min-height: calc(100svh - var(--header) - 7.5rem);
  display: flex;
  align-items: center;
  padding-block: 4rem;
}

.missing-main h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  max-width: 10em;
}

.missing-main .lede {
  margin-top: 1.5rem;
}

.missing-main .btn {
  margin-top: 2.25rem;
}

/* Layout shifts */

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

@media (max-width: 840px) {
  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: block;
  }

  .hero {
    min-height: 0;
    align-items: stretch;
  }

  .hero__grid,
  .split,
  .audiences__grid {
    grid-template-columns: 1fr;
  }

  .still {
    justify-self: start;
    margin-top: 0.5rem;
    width: min(100%, 24rem);
  }

  .audiences article:first-child,
  .audiences article + article {
    padding-left: 0;
    padding-right: 0;
  }

  .audiences article + article {
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .disciplines {
    grid-template-columns: 1fr 1fr;
  }

  .disciplines li {
    padding-block: 1rem;
  }

  .disciplines li + li {
    border-left: 0;
    padding-left: 0;
  }

  .disciplines li:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 1rem;
  }

  .disciplines li:nth-child(even) {
    padding-left: 1rem;
  }

  .disciplines li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 840px) {
  .contact h2 {
    font-size: clamp(2.15rem, 7vw, 3.15rem);
  }

  .email {
    font-size: clamp(2.3rem, 8.6vw, 4.35rem);
  }
}

@media (max-width: 370px) {
  h1 {
    font-size: 2.65rem;
  }

  .wordmark {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
  }

  .email {
    font-size: 1.85rem;
  }
}

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

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

  .footer__legal {
    text-align: left;
  }

  .wordmark {
    font-size: 1.02rem;
    letter-spacing: 0.22em;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
