@font-face {
  font-family: Bungee;
  src: url('../assets/bungee.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #242423;
  --cream: #eff1e4;
  --yellow: #f7cc57;
  --blue: #d4e0dd;
  --black: #242423;
  --white: #fafaf5;
  --bungee: Bungee, Impact, sans-serif;
  --font-body: 'DM Sans', Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

/* Header */
.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.lmg-logo {
  width: 126px;
  height: 72px;
  background: var(--white);
  color: var(--black);
  border-radius: 55% 45% 52% 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 22px;
  transform: rotate(2deg);
}

.lmg-logo span {
  font: 400 22px/1 var(--bungee);
  letter-spacing: 1px;
}

.lmg-logo small {
  font-size: 9px;
  letter-spacing: .03em;
}

.lmg-logo b {
  font-family: var(--bungee);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font: 400 16px/1 var(--bungee);
  color: var(--yellow);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease;
}

.nav a:hover,
.nav a:focus,
.nav a:active {
  color: var(--white);
}

.header-cta {
  font: 400 16px/1 var(--bungee);
  color: var(--cream);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 6px;
  transition: color .2s ease, border-color .2s ease;
}

.header-cta:hover {
  color: var(--yellow);
}

.menu {
  display: none;
  background: none;
  border: 0;
}

.menu i {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--cream);
  margin: 6px;
}

/* Hero */
.hero {
  min-height: calc(100vh - 104px);
  position: relative;
  padding-top: calc(10vh + clamp(60px, 8.6vw, 122px));
  padding-bottom: 90px;
}

@media (min-width: 801px) {
  .hero-heading {
    position: relative;
    z-index: 2;
    will-change: opacity, transform;
  }
}

.hero-kicker,
.overline {
  font: 400 12px var(--bungee);
  letter-spacing: .06em;
  color: var(--yellow);
}

.hero-kicker span {
  margin-left: 14px;
}

.hero h1 {
  font: 400 clamp(60px, 8.6vw, 122px)/.92 var(--bungee);
  letter-spacing: -.035em;
  margin: 38px 0 0;
  position: relative;
  z-index: 2;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero-copy {
  display: flex;
  align-items: flex-end;
  gap: 70px;
  margin: 70px 0 0 48%;
  position: relative;
  z-index: 2;
}

.hero-copy p {
  font-size: 17px;
  line-height: 1.65;
  max-width: 410px;
  margin: 0;
}

.hero-copy a,
.location-copy > a {
  font: 400 16px var(--bungee);
  white-space: nowrap;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 8px;
}

.hero-copy b {
  font-size: 18px;
  margin-left: 8px;
}

/* Brands */
.brands {
  background: transparent;
  color: var(--white);
  padding-top: 2vh;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 50px;
}

.section-heading > p {
  margin: 0;
}

.section-heading h2 {
  font: 400 clamp(38px, 5vw, 72px)/1 var(--bungee);
  color: var(--white);
  margin: 0;
}

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

.brand-card {
  min-height: 390px;
  padding: 90px 0 45px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  perspective: 1200px;
  isolation: isolate;
}

@media (min-width: 801px) {
  .brand-card:nth-child(odd) {
    padding-right: 100px;
    align-items: flex-end;
  }

  .brand-card:nth-child(even) {
    padding-left: 100px;
    align-items: flex-start;
  }
}

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

.umagz {
  background: #edf0e2;
}

.books {
  background: var(--blue);
}

.mestre {
  background: var(--yellow);
}

.brand-wordmark {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.brand-wordmark h3 {
  font: 400 clamp(28px, 3.5vw, 52px)/.95 var(--bungee);
  margin: 0;
}

.brand-wordmark p {
  text-transform: uppercase;
  font-size: 12px;
  margin: 5px 0 0;
}

.leaf-mark,
.m-mark {
  font: 400 80px/1 var(--bungee);
  display: block;
  transform: skew(-8deg);
}

.m-mark {
  font-size: 95px;
  letter-spacing: -25px;
}

.brand-detail {
  max-width: 330px;
  line-height: 1.5;
  font-size: 14px;
  margin: 26px 0 0 105px;
  position: relative;
  z-index: 2;
}

.brand-arrow {
  position: absolute;
  right: 30px;
  top: 28px;
  font: 400 24px var(--bungee);
  transition: .2s;
}

.brand-card:hover .brand-arrow {
  transform: translate(6px, -6px);
}

/* About */
.about {
  padding: 150px 0;
}

.pixel-mark {
  width: 144px;
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 55px;
}

.pixel-mark i:nth-child(1),
.pixel-mark i:nth-child(4) {
  background: var(--cream);
}

.pixel-mark i:nth-child(2) {
  background: var(--yellow);
}

.pixel-mark i:nth-child(3) {
  background: var(--blue);
}

.about h2 {
  font: 400 clamp(44px, 6vw, 82px)/1 var(--bungee);
  margin: 28px 0 75px;
}

.about h2 span {
  color: var(--yellow);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .8fr;
  gap: 60px;
  margin-left: 24%;
}

.about-grid p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  color: #dcddd5;
}

.about-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font: 400 12px/2.2 var(--bungee);
  color: var(--yellow);
}

/* Location */
.location {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 650px;
  background: var(--cream);
  color: var(--black);
  position: relative;
  overflow: visible;
}

.location-image picture,
.location-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.location-image img {
  object-fit: cover;
}

.location-copy {
  padding: 100px max(36px, calc((100vw - 1200px) / 2));
  padding-left: 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.pixel-mark.small {
  width: 96px;
  height: 34px;
  margin-bottom: 35px;
}

.location .pixel-mark i:nth-child(1),
.location .pixel-mark i:nth-child(4) {
  background: var(--charcoal);
}

.location-copy h2 {
  font: 400 clamp(50px, 6vw, 82px)/.95 var(--bungee);
  margin: 20px 0 28px;
}

.location-copy p:not(.overline) {
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 36px;
}

.location-copy > a {
  color: var(--black);
}

.bike {
  position: absolute;
  width: 350px;
  right: 6%;
  bottom: -140px;
  z-index: 3;
  filter: drop-shadow(0 12px 8px #0003);
}

/* Contact */
.contact {
  padding: 140px 0 80px;
}

.contact-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 400 clamp(55px, 8.4vw, 118px)/1 var(--bungee);
  border-bottom: 2px solid #65665f;
  padding: 28px 0 55px;
  transition: .2s;
}

.contact-title:hover {
  color: var(--yellow);
}

.contact-title span {
  font-size: .45em;
}

.contact-meta {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-top: 50px;
}

.contact-meta small {
  display: block;
  font: 400 10px var(--bungee);
  color: var(--yellow);
  margin-bottom: 12px;
}

.contact-meta a,
.contact-meta p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.contact-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding: 28px 0 55px;
  border-bottom: 2px solid #65665f;
}

.contact-title {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 320px;
  gap: 26px;
  padding-bottom: 10px;
}

.contact-actions a,
.contact-actions button,
.contact-form-footer button {
  width: max-content;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 2px solid var(--yellow);
  color: var(--white);
  background: transparent;
  font: 13px/1.2 var(--bungee);
  cursor: pointer;
}

.contact-actions a:hover,
.contact-actions button:hover,
.contact-actions button:focus-visible,
.contact-form-footer button:hover,
.contact-form-footer button:focus-visible {
  color: var(--yellow);
}

.contact-form-shell {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  border-bottom: 1px solid transparent;
  transition: grid-template-rows .55s cubic-bezier(.4, .15, .2, 1), opacity .35s ease, border-color .35s ease;
}

.contact-form-shell.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  border-color: #575852;
}

.contact-form-shell.reveal-block:not(.is-open) {
  opacity: 0;
}

.contact-form-inner {
  min-height: 0;
  overflow: hidden;
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
  padding: 52px 0 58px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form label > span {
  color: var(--yellow);
  font: 13px/1.2 var(--bungee);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #777870;
  border-radius: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font: 16px/1.5 var(--font-body);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
}

.contact-form-message,
.contact-form-footer {
  grid-column: 1 / -1;
}

.contact-form-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.contact-form-footer p {
  max-width: 430px;
  margin: 0;
  color: #aeb0a7;
  font-size: 13px;
}

.contact-form-status {
  margin: 42px 0 0;
  padding: 18px 22px;
  border-left: 4px solid var(--yellow);
  background: #ffffff0a;
}

.contact-form-status p {
  margin: 0;
}

.contact-form-status ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.contact-form-status.is-success {
  color: var(--white);
}

.contact-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (min-width: 1200px) {
  .contact-heading {
    display: block;
    position: relative;
  }

  .contact-title {
    white-space: nowrap;
  }

  .contact-actions {
    position: absolute;
    right: 0;
    bottom: 65px;
  }
}

@media (max-width: 800px) {
  .contact-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 38px;
  }

  .contact-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: auto;
    gap: 20px 24px;
    padding-bottom: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 40px 0 48px;
  }

  .contact-form-message,
  .contact-form-footer {
    grid-column: auto;
  }

  .contact-form-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Footer */
footer {
  border-top: 1px solid #575852;
  padding: 36px 0 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #aeb0a7;
  gap: 32px;
}

.footer-partners {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.partner-group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 24px;
  border-left: 1px solid #484944;
}

.partner-logo {
  display: flex;
  align-items: center;
  transition: opacity .2s ease;
}

.partner-logo:hover {
  opacity: .85;
}

.partner-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.partner-text {
  font-size: 12px;
  line-height: 1.45;
  color: #aeb0a7;
  max-width: 250px;
  margin: 0;
}

.partner-name {
  white-space: nowrap;
}

.footer-copyright {
  font-size: 11px;
  color: #aeb0a7;
  margin: 0;
  white-space: nowrap;
}

/* Responsive & Accessibility */
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 60px);
  }

  .site-header {
    height: 82px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: -30px;
    right: -30px;
    background: var(--charcoal);
    padding: 28px 30px;
    flex-direction: column;
  }

  .nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .menu {
    display: block;
  }

  .lmg-logo {
    width: 98px;
    height: 58px;
    padding-left: 17px;
  }

  .lmg-logo span {
    font-size: 17px;
  }

  .hero {
    min-height: 720px;
    padding-top: 11vh;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-copy {
    margin: 70px 0 0;
    display: block;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-copy a {
    display: inline-block;
    margin-top: 28px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .brands {
    padding-top: 80px;
  }

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

  .brand-card {
    min-height: 350px;
    padding: 45px 30px !important;
  }

  .brand-detail {
    margin-left: 0;
    max-width: 240px;
  }

  .brand-bg-image {
    opacity: .85;
  }

  .gtv .brand-bg-image,
  .books .brand-bg-image {
    left: auto;
    right: -18px;
  }

  .about {
    padding: 90px 0;
  }

  .pixel-mark,
  .pixel-mark.small {
    width: 120px;
    height: 41px;
  }

  .about h2 {
    margin-bottom: 50px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
    gap: 25px;
  }

  .about-grid ul {
    margin-top: 15px;
  }

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

  .location-image {
    height: 330px;
  }

  .location-copy {
    padding: 80px 30px;
  }

  .bike {
    display: none;
  }

  .contact {
    padding: 90px 0 60px;
  }

  .contact-title {
    line-height: .95;
  }

  .contact-meta {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-partners {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .partner-group {
    padding-left: 0;
    border-left: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-copyright {
    width: 100%;
  }
}

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