/* ============================================================
   After Public Relations — styles
   Brand: orange #D1732B  /  ivory #EAD3A2
   Fonts: Cormorant Garamond (display) · Inter (UI/body)
   ============================================================ */

:root {
  --orange: #d1732b;
  --ivory: #EFE8DA;
  --black: #343330;
  --nav-h: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-scrolled: 0 2px 24px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ivory);
  color: var(--orange);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.drawer-open,
body.menu-open {
  overflow: hidden;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  box-shadow: none;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}

.nav--scrolled {
  height: 63px;
  background: var(--orange);
  box-shadow: var(--shadow-scrolled);
}

/* Brand: orange at top, crossfades to ivory/buff when scrolled */
.nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--orange);
  transition: color 0.4s ease;
  line-height: 1;
  letter-spacing: 0.08em;
}

/* Logo: hidden by default; positioned left of PR when scrolled */
.nav__brand-img {
  display: none;
  position: absolute;
  right: calc(100% - 8px);
  top: 50%;
  transform: translateY(calc(-50% + 1.5px));
  height: 60px;
  width: auto;
  max-width: none;
}

.nav__brand-text {
  margin-right: 0.27em;
}

/* PR is the positioned anchor for the logo */
.nav__brand-pr {
  position: relative;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.08em;
  color: inherit;
  line-height: 1;
}

.nav--scrolled .nav__brand {
  color: #EBD3A2;
}

/* visibility:hidden keeps "after " width so PR stays at the exact same x */
.nav--scrolled .nav__brand-text {
  visibility: hidden;
}

.nav--scrolled .nav__brand-pr {
  transform: translateY(-4px);
}

.nav--scrolled .nav__brand-img {
  display: block;
}


.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2.5rem;
}

.nav__link {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--orange);
  text-decoration: none;
  transition: color 0.4s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.nav__link:hover::after {
  width: 100%;
}

.nav--scrolled .nav__link {
  color: var(--ivory);
}

.nav--scrolled .nav__center {
  transform: translateX(-50%) translateY(-4px);
}

.nav__cta {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  background: var(--orange);
  color: var(--ivory);
  border: 2px solid var(--orange);
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s ease;
  z-index: 0;
}

.nav__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.nav__cta:hover {
  color: var(--orange);
}

.nav__cta:hover::after {
  transform: translateX(0);
}

.nav--scrolled .nav__cta {
  background: var(--ivory);
  color: var(--orange);
  border-color: var(--ivory);
  transform: translateY(-4px);
}

.nav--scrolled .nav__cta::after {
  background: var(--orange);
}

.nav--scrolled .nav__cta:hover {
  color: var(--ivory);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--orange);
  transition: background 0.4s ease;
}

.nav--scrolled .nav__hamburger span {
  background: var(--ivory);
}

/* ============================================================
   CONTACT DRAWER
   ============================================================ */

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}

body.drawer-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
}

.contact-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  width: 420px;
  max-width: 100vw;
  background: var(--ivory);
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  padding: 4.5rem 2.5rem 2.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

body.drawer-open .contact-drawer {
  transform: translateX(0);
}

.drawer__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--orange);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.drawer__heading {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
  color: var(--orange);
}

.drawer__subhead {
  margin-top: 0.5rem;
  font-weight: 300;
  font-size: 16px;
  color: var(--orange);
  opacity: 0.7;
}

/* ---- Form ---- */

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.field {
  display: block;
  margin-bottom: 1.4rem;
}

.field__label {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 0.7;
  margin-bottom: 0.4rem;
}

.field__input {
  border: none;
  border-bottom: 1.5px solid var(--orange);
  background: transparent;
  color: var(--orange);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  padding: 10px 0;
  width: 100%;
  outline: none;
  border-radius: 0;
}

.field__input::placeholder {
  color: var(--orange);
  opacity: 0.4;
}

.field--checks {
  border: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.check__input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--orange);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background 0.2s ease;
}

.check__input:checked {
  background: var(--orange);
}

.check__input:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--ivory);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.check__label {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
}

.field__input--textarea {
  resize: vertical;
  min-height: 120px;
  font-family: "Inter", sans-serif;
}

.contact-form__submit {
  margin-top: 0.5rem;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 4px;
  background: var(--orange);
  color: var(--ivory);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-form__submit:hover {
  opacity: 0.88;
}

.contact-form__note {
  margin-top: 1.25rem;
  font-size: 16px;
  color: var(--orange);
  opacity: 0.65;
}

.contact-form__note a {
  color: inherit;
}

.contact-form__submit.is-busy {
  opacity: 0.6;
  cursor: default;
}

/* Success / error feedback */
.contact-form__msg {
  margin-top: 12px;
  font-size: 16px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-form__msg.is-visible {
  opacity: 1;
}

.contact-form__msg.is-success {
  color: #639922;
}

.contact-form__msg.is-error {
  color: #e24b4a;
}

/* Formspree honeypot — visually hidden, still present for bots */
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ivory);
  cursor: pointer;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.mobile-menu__links a {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 36px;
  color: var(--ivory);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

body.menu-open .mobile-menu__links a {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open .mobile-menu__links a:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .mobile-menu__links a:nth-child(2) { transition-delay: 0.16s; }
body.menu-open .mobile-menu__links a:nth-child(3) { transition-delay: 0.24s; }
body.menu-open .mobile-menu__links a:nth-child(4) { transition-delay: 0.32s; }
body.menu-open .mobile-menu__links a:nth-child(5) { transition-delay: 0.40s; }

.mobile-menu__cta {
  font-size: 36px !important;
  font-weight: 300 !important;
  padding: 0.6rem 2.8rem;
  border: 2px solid var(--ivory);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 0.6rem;
  transition: color 0.35s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease) !important;
}

.mobile-menu__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.mobile-menu__cta:hover {
  color: var(--orange) !important;
}

.mobile-menu__cta:hover::after {
  transform: translateX(0);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  background: var(--ivory);
  overflow: hidden;
}

.hero__top {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: calc(50vh - var(--nav-h));
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 6vw;
  gap: 6vw;
  z-index: 1;
}

.hero__left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo {
  max-height: calc(44vh - var(--nav-h));
  width: auto;
  max-width: 100%;
  display: block;
}

.hero__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 9vh;
}

/* display:table sizes to the widest non-wrapping child (the heading);
   body is constrained to that same width and wraps naturally */
.hero__text {
  display: table;
}

.hero__heading {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 36px);
  line-height: 1.1;
  color: var(--orange);
  white-space: nowrap;
  margin-bottom: 1rem;
}

.hero__heading em {
  font-style: italic;
}

.hero__heading-glamour {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.4em;
  letter-spacing: 0.02em;
}

.hero__body {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.2vw, 17px);
  line-height: 1.65;
  color: rgba(209, 115, 43, 0.7);
}

/* ============================================================
   WORKS STRIP
   ============================================================ */

.works-track-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.works-track {
  display: flex;
  align-items: center;
  padding: 20px 0;
  will-change: transform;
}

.work-item {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  height: calc(50vh - 80px);
  margin-right: 0;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  background: rgba(209, 115, 43, 0.12);
  transition: transform 0.5s var(--ease), box-shadow 0.4s ease;
}

.work-item img,
.work-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.work-item.is-active {
  transform: scale(1.10);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
  z-index: 5;
}

/* Placeholder cards (shown when "Past Works/" is empty) */
.work-item--placeholder {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(209, 115, 43, 0.16);
}

.work-plus {
  font-family: "Inter", sans-serif;
  font-weight: 200;
  font-size: 48px;
  line-height: 1;
  color: var(--orange);
}

.work-ph-label {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 0.8;
}

/* The scroll is driven by JS (script.js) so the speed can change on hover
   without the strip snapping to a different position. */

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

/* ============================================================
   WHY US SECTION
   ============================================================ */

.section-divider {
  border: none;
  border-top: 1px solid rgba(209, 115, 43, 0.3);
  margin: 0 5vw;
}

.why-us {
  background: var(--ivory);
  padding: 30px 6vw 0;
}

.why-us__top-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 6vw;
  margin-bottom: 48px;
}

.why-us__intro {
  flex: 1;
  align-self: center;
  text-align: center;
}

.why-us__title {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: clamp(42px, 5vw, 68px);
  color: var(--orange);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.05;
}

.why-us__subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgba(209, 115, 43, 0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0;
}

.why-us__text {
  max-width: 680px;
  margin: 0 auto 80px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.2vw, 17px);
  line-height: 1.85;
  color: var(--black);
}

.why-us__text--right {
  flex: 1;
  max-width: none;
  margin: 0;
}

.why-us__text p {
  margin: 0 0 20px;
}

.why-us__text p:last-child {
  margin-bottom: 0;
}

.why-us__text--closing {
  margin-top: 80px;
  text-align: center;
}

.why-us__text--closing p {
  font-weight: 400;
  font-size: 18px;
  font-style: italic;
  color: var(--black);
}

/* Typewriter block */
.why-us__typewriter-block {
  margin-left: -6vw;
  margin-right: -6vw;
  margin-bottom: 0;
  padding: 56px 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EBD3A2;
}

.why-us__typewriter-inner {
  text-align: left;
  width: fit-content;
  margin: 0 auto;
}

.why-us__typewriter-prefix {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2.8vw, 38px);
  color: var(--orange);
  line-height: 1.3;
  margin: 0 0 0.15em;
}

.why-us__typewriter-row {
  display: block;
  margin: 0;
  white-space: nowrap;
  line-height: 1.2;
}

.why-us__typewriter-static {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2.8vw, 38px);
  color: var(--orange);
}

.why-us__typewriter-text {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(27px, 3.8vw, 52px);
  color: var(--orange);
  font-variant-ligatures: none;
  font-variant: none;
  font-feature-settings: "liga" 0, "calt" 0, "clig" 0, "dlig" 0, "kern" 0;
  text-rendering: optimizeSpeed;
}

.why-us__cursor {
  display: inline-block;
  width: 2px;
  height: 0.8em;
  font-size: clamp(27px, 3.8vw, 52px);
  background: var(--orange);
  margin-left: 2px;
  border-radius: 1px;
  vertical-align: text-bottom;
  animation: why-blink 1s step-end infinite;
}

@keyframes why-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Comparison lines */
.why-us__comparisons {
  max-width: 760px;
  margin: 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.why-us__comparison {
  display: flex;
  gap: 0;
  align-items: baseline;
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease),
    filter 0.75s var(--ease);
}

.why-us__comparison.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.why-us__comparison.blur-1 {
  filter: blur(2px);
  opacity: 0.45;
}

.why-us__comparison.blur-2 {
  filter: blur(4px);
  opacity: 0.25;
}

.why-us__comparison.blur-3 {
  filter: blur(6px);
  opacity: 0.12;
}

.why-us__compare-left {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--orange);
  line-height: 1.5;
  margin-right: 0.35em;
}

.why-us__compare-right {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--orange);
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */


@media (max-width: 768px) {
  /* ---- Nav ---- */
  .nav__center,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* ---- Contact drawer ---- */
  .contact-drawer {
    width: 100vw;
    padding: 4rem 1.5rem 2rem;
  }

  /* ---- Hero ---- */
  .hero__top {
    flex-direction: column;
    height: calc(62svh - var(--nav-h));
    gap: 1rem;
    padding: 1rem 6vw 1rem;
    text-align: center;
    justify-content: flex-start;
  }

  .hero__left {
    justify-content: center;
    flex: none;
  }

  .hero__logo {
    max-height: 30svh;
  }

  .hero__right {
    flex: none;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0;
  }

  .hero__text {
    display: block;
  }

  .hero__heading {
    white-space: normal;
    margin-bottom: 0.5rem;
  }

  .hero__heading {
    font-size: clamp(18px, 5vw, 26px);
  }

  .hero__body {
    display: block;
    font-size: 14px;
    text-align: center;
  }

  /* ---- Works strip ---- */
  .works-track-wrapper {
    height: 38svh;
  }

  .work-item {
    height: calc(38svh - 60px);
  }

  /* ---- Why Us ---- */
  .why-us {
    padding: 48px 5vw 0;
  }

  .why-us__top-row {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 36px;
  }

  .why-us__intro {
    width: 100%;
    text-align: left;
  }

  .why-us__title {
    font-size: clamp(38px, 10vw, 56px);
  }

  .why-us__text {
    font-size: 15px;
    line-height: 1.75;
  }

  /* ---- Typewriter ---- */
  .why-us__typewriter-block {
    margin-left: -5vw;
    margin-right: -5vw;
    padding: 36px 5vw;
  }

  .why-us__typewriter-inner {
    width: 100%;
  }

  .why-us__typewriter-prefix {
    font-size: clamp(18px, 5vw, 26px);
    white-space: normal;
  }

  .why-us__typewriter-row {
    white-space: normal;
  }

  .why-us__typewriter-static {
    font-size: clamp(18px, 5vw, 26px);
  }

  .why-us__typewriter-text {
    font-size: clamp(26px, 7vw, 38px);
  }

  .why-us__cursor {
    font-size: clamp(26px, 7vw, 38px);
  }

}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--orange);
  color: var(--ivory);
  padding: 4px 6vw 20px;
}

.footer__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6vw;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(239, 232, 218, 0.2);
}

.footer__brand {
  flex: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.footer__logo {
  display: block;
  height: 100px;
  width: auto;
  flex-shrink: 0;
}

.footer__tagline {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(239, 232, 218, 0.65);
  max-width: 270px;
  align-self: flex-end;
  margin-bottom: 12px;
}

.footer__lower {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__link {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: rgba(239, 232, 218, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  position: relative;
  width: fit-content;
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--ivory);
  transition: width 0.3s var(--ease);
}

.footer__link:hover {
  color: var(--ivory);
}

.footer__link:hover::after {
  width: 100%;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer__contact-label {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239, 232, 218, 0.85);
}

.footer__cta {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  border: 1.5px solid var(--ivory);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease);
}

.footer__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.footer__cta:hover {
  color: var(--orange);
}

.footer__cta:hover::after {
  transform: translateX(0);
}

.footer__bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
}

.footer__copy,
.footer__location {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(239, 232, 218, 0.45);
}

@media (max-width: 768px) {
  .footer {
    padding: 4px 6vw 24px;
  }

  .footer__top {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .footer__brand {
    flex: none;
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
  }

  .footer__logo {
    height: 100px;
  }

  .footer__tagline {
    align-self: auto;
    margin-bottom: 12px;
    max-width: 280px;
  }

  .footer__lower {
    flex: none;
    align-items: flex-start;
  }

  .footer__contact {
    align-items: flex-end;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
  }
}

