/*
Theme Name: LeTime
Description: Eigenständiges WordPress-Theme für LeTime Restaurant Bar.
Version: 0.3.0
Requires at least: 6.3
Text Domain: letime
*/
@font-face {
  font-family: Jost;
  src: url("assets/fonts/jost-300.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Jost;
  src: url("assets/fonts/jost-400.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("assets/fonts/cormorant-300.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Mrs Saint Delafield";
  src: url("assets/fonts/mrssaintdelafield-400.woff") format("woff");
  font-display: swap;
}
:root {
  --lt-green: #112a29;
  --lt-panel: #1f3634;
  --lt-gold: #c49871;
  --lt-inset: clamp(16px, 6vw, 90px);
}
body { margin: 0; background: var(--lt-green); color: #fff; font-family: Jost, sans-serif; }
.lt-home, .lt-home *, .lt-header, .lt-header *, .lt-footer { box-sizing: border-box; }
.lt-home { padding: 10px; }
.wp-site-blocks > .lt-home, .lt-home > *, .lt-reserve > *, .wp-site-blocks > footer { margin-block-start: 0; }
.lt-home img { display: block; max-width: 100%; height: auto; }
.lt-home h1, .lt-home h2, .lt-home h3 {
  margin: 0; font: 300 clamp(1.85rem, 3.2vw, 3.2rem)/1.16 Jost, sans-serif; letter-spacing: .11em; text-transform: uppercase;
}
.lt-home p { line-height: 1.6; }
.lt-header {
  position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; margin: 0 10px; padding: 5px var(--lt-inset);
}
body.home .lt-header { position: absolute; inset: 10px 0 auto; }
.lt-brand img { display: block; object-fit: contain; }
.lt-nav { position: relative; }
.lt-nav summary {
  display: grid; place-items: center; width: 52px; height: 44px; cursor: pointer; list-style: none; color: #e4c79d;
}
.lt-nav summary::-webkit-details-marker { display: none; }
.lt-nav summary span { width: 100%; height: 8px; border-block: 1px solid currentColor; }
.lt-nav nav {
  position: absolute; right: 0; top: 100%; min-width: 13rem; background: var(--lt-green);
  padding: 14px 24px; border: 1px solid var(--lt-gold);
}
.lt-nav nav a { display: block; color: white; padding: 8px 0; text-decoration: none; }
.lt-nav nav a:hover, .lt-footer a:hover { color: var(--lt-gold); }
.lt-hero { position: relative; aspect-ratio: 16 / 9; background: #192927; }
.lt-hero video { width: 100%; height: 100%; display: block; object-fit: cover; }
.lt-play {
  position: absolute; bottom: 10px; right: 10px; border: 1px solid #ffffff90; border-radius: 50%;
  width: 34px; height: 34px; color: white; background: #112a29b5; cursor: pointer;
}
@media (hover: hover) {
  .lt-hero:not(:hover):not(:focus-within) .lt-play { opacity: 0; }
}
.lt-intro { text-align: center; padding: 140px 5% 100px; }
.lt-intro > img { width: 124px; margin: 0 auto 30px; }
.lt-intro > h1 { max-width: 570px; margin: auto; text-wrap: balance; }
.lt-home .lt-script { font: 400 55px/1 "Mrs Saint Delafield", cursive; color: var(--lt-gold); margin: 25px 0 0; }
.lt-story, .lt-reserve {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start;
  gap: clamp(2rem,5vw,6rem); max-width: 1300px; padding-inline: 5%; margin-inline: auto;
}
.lt-kitchen { padding-block: 140px; }
.lt-kicker {
  margin: 0; color: #ffffff40; font: 300 clamp(3rem,7vw,6.25rem)/1.1 Cormorant, serif;
  letter-spacing: .08em; text-transform: uppercase;
}
.lt-copy { padding-block-start: 35px; }
.lt-copy > div { padding-inline: 10%; }
.lt-copy p:not(.lt-kicker), .lt-reserve-copy p:not(.lt-kicker), .lt-event p, .lt-contact p { font-size: 1.06rem; }
.lt-pictures { position: relative; }
.lt-pictures > img:first-child { width: 100%; }
.lt-pictures > img:nth-child(2) {
  position: absolute; top: 42%; left: -9%; width: 30%; max-width: 202px; aspect-ratio: 202/281; object-fit: cover;
}
.lt-reserve {
  background: var(--lt-panel); max-width: none; padding: 140px max(5%,calc((100% - 1200px)/2));
}
.lt-reserve-copy { text-align: center; }
.lt-reserve-picture { position: relative; margin: 0; }
.lt-reserve-picture img { width: 100%; border-top-left-radius: 18vw; }
.lt-reserve-picture .lt-script { position: absolute; bottom: 5%; left: 0; max-width: 330px; transform: rotate(-6deg); }
.lt-menu, .lt-event, .lt-contact { text-align: center; padding: clamp(46px,6vw,92px) 5%; }
.lt-menu h2, .lt-event h2, .lt-event h3 { color: #caa475; }
.lt-menu > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 1.5rem; }
.lt-menu a, .lt-call { background: #a27d42; color: white; text-decoration: none; }
.lt-menu a { padding: 12px 25px; }
.lt-event { max-width: 850px; margin-inline: auto; }
.lt-event h3 { font-size: 1.5rem; }
.lt-contact { background: var(--lt-panel); }
.lt-contact a, .lt-footer a { color: inherit; }
.lt-call {
  position: fixed; z-index: 4; bottom: max(20px, env(safe-area-inset-bottom)); left: 18px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
}
.lt-footer { display: grid; gap: 20px; justify-items: center; padding: 50px 20px; text-align: center; }
.lt-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.lt-footer a { text-underline-offset: 4px; }
@media (max-width: 760px) {
  .lt-header { min-height: 46px; padding-inline: 16px; }
  .lt-nav summary { width: 46px; }
  .lt-intro { padding: 100px 5% 45px; }
  .lt-intro > h1 { max-width: 290px; font-size: clamp(26px,8.5vw,34px); }
  .lt-story, .lt-reserve { grid-template-columns: 1fr; }
  .lt-story { padding-inline: 6%; gap: 40px; }
  .lt-copy { padding-block-start: 0; }
  .lt-copy > div { padding-inline: 0; }
  .lt-pictures { margin-inline: 5%; }
  .lt-kitchen { padding-block: 100px; }
  .lt-reserve { padding-block: 65px 100px; }
}
.lt-languages {
  display: flex; align-items: center; gap: 2px; margin-inline: auto 12px;
  padding: 0 4px; background: #112a29dc; border-radius: 4px;
}
.lt-languages a {
  display: grid; align-content: center; min-height: 44px; padding-inline: 8px;
  color: white; font-size: .875rem; text-decoration: none;
}
.lt-languages a[aria-current], .lt-languages a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lt-legal { max-width: 48rem; margin: 3rem auto; padding-inline: 1.25rem; line-height: 1.65; }
.lt-legal h1 { font: 300 clamp(2rem,6vw,3.5rem)/1.1 Jost,sans-serif; overflow-wrap: anywhere; }
.lt-legal h2 { margin: 2rem 0 .4rem; font-size: 1.4rem; }
.lt-legal address { font-style: normal; }
.lt-legal a { color: white; text-underline-offset: 3px; }
