/*
Theme Name: ALPAKA PHOTO
Author: ALPAKA PHOTO
Description: Мінімалістична тема для фотостудії та творчих послуг.
Version: 2.0.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: alpaka-photo
*/

/* Base */
:root {
  --bg: #0d0f10;
  --text: #f3f2ef;
  --sub: #abaeab;
  --edge: #2d312e;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
select,
input,
textarea {
  font: inherit;
}

button { cursor: pointer; }

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

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

button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}

::selection {
  background: #cfd5cf;
  color: #141515;
}

h1,
h2,
h3,
.brand,
.footer-wordmark,
#menuTitle {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-weight: 300;
}

.wrap {
  width: min(1102px, calc(100% - clamp(40px, 7vw, 112px)));
  margin-inline: auto;
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
}

/* Header */
.header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  min-height: 106px;
  background: transparent;
}

.header .header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
  width: 100%;
  max-width: none;
  min-height: 106px;
  padding: 16px clamp(24px, 5.2vw, 100px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  line-height: 1;
}

.brand img { object-fit: contain; }

.header .brand--svg {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  line-height: 0;
}

.header .brand-logo {
  display: block;
  width: 270px;
  max-width: 100%;
  height: auto;
}

.header .brand-logo-mobile {
  display: none;
  width: 74px;
  height: auto;
  flex-shrink: 0;
}

.header .header-city {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  min-width: 0;
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid rgba(255, 255, 255, .25);
  color: #e5e2de;
  font-family: "DM Sans", sans-serif;
  transition: color .2s ease;
}

.header .header-city:hover { color: #fff; }

.header .header-city:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.header .header-city svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.header .header-location-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}

.header .header-city-name,
.header .header-city-street {
  line-height: 1.3;
  white-space: nowrap;
}

.header .header-city-name { font-size: 16px; }

.header .header-city-street {
  color: #bdc2bd;
  font-size: 12.5px;
}

.header .header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 32px);
  min-width: 0;
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 500;
}

.header .header-nav > a {
  color: #f3f1ef;
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 400;
}

.header .header-nav > a:hover { opacity: .68; }

.header .header-nav .header-phone,
.header .header-nav .header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 6px 0;
  color: #f3f1ef;
}

.header .header-nav .header-phone {
  gap: 9px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

.header .header-nav .header-phone-icon { display: none; }

.header .header-nav .header-phone:hover,
.header .header-nav .header-icon-link:hover { opacity: .7; }

.header .header-nav .header-phone:focus-visible,
.header .header-nav .header-icon-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.header .header-nav #menuOpen:focus-visible {
  outline: 2px solid #f3f2ef;
  outline-offset: 4px;
}

#menuOpen {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(243, 242, 239, .85);
  border-radius: 2px;
  background: rgba(13, 15, 16, .18);
  color: var(--text);
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

#menuOpen .hamburger-lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: .23em;
  width: 20px;
  flex: 0 0 20px;
}

#menuOpen .hamburger-lines i {
  display: block;
  width: 100%;
  height: .11em;
  border-radius: .03em;
  background: currentColor;
  transition: transform .2s ease;
  transform-origin: center;
}

#menuOpen .hamburger-label {
  display: inline;
  font-size: inherit;
  line-height: normal;
  text-transform: uppercase;
}

#menuOpen[aria-expanded="true"] .hamburger-lines i:first-child {
  transform: translateY(.17em) rotate(45deg);
}

#menuOpen[aria-expanded="true"] .hamburger-lines i:last-child {
  transform: translateY(-.17em) rotate(-45deg);
}

#menuOpen:hover {
  background: #f3f2ef;
  color: #111514;
  border-color: #f3f2ef;
}

@media (max-width: 1080px) {
  .header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand nav" "city city";
    column-gap: 18px;
    row-gap: 11px;
    padding-block: 14px;
  }

  .header .brand--svg { grid-area: brand; }
  .header .header-city { grid-area: city; border-left: 0; padding-left: 0; }
  .header .header-nav { grid-area: nav; }
}

@media (max-width: 760px) {
  .header { min-height: 0; }

  .header .header-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: clamp(4px, 1.2vw, 10px);
    min-width: 0;
    min-height: 64px;
    padding: 10px clamp(8px, 2.5vw, 16px);
  }

  .header .brand--svg { flex: 0 0 auto; }
  .header .brand-logo { display: none; }

  .header .brand-logo-mobile {
    display: block;
    width: clamp(54px, 17vw, 74px);
  }

  .header .header-city {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .header .header-city svg { display: none; }

  .header .header-location-copy { gap: 2px; }

  .header .header-city-name {
    font-size: clamp(12.5px, 3.5vw, 15px);
    line-height: 1.2;
  }

  .header .header-city-street {
    font-size: clamp(11.5px, 3vw, 13px);
    line-height: 1.25;
  }

  .header .header-nav { gap: 0; }

  .header .header-nav .header-phone,
  .header .header-nav .header-icon-link {
    width: clamp(34px, 9vw, 40px);
    min-width: 0;
    height: 44px;
    padding: 0;
  }

  .header .header-nav .header-phone-number { display: none; }
  .header .header-nav .header-phone-icon { display: block; }

  #menuOpen {
    width: clamp(36px, 9.5vw, 44px);
    height: 44px;
    min-height: 44px;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 18px;
  }

  #menuOpen .hamburger-label { display: none; }
  #menuOpen .hamburger-lines { width: 22px; flex-basis: 22px; }

  #menuOpen:hover {
    background: transparent;
    color: #f3f2ef;
    border-color: transparent;
    opacity: .7;
  }
}

@media (min-width: 390px) and (max-width: 760px) {
  .header .header-city { gap: 5px; }

  .header .header-city svg {
    display: block;
    width: 15px;
    height: 15px;
  }
}

/* Hero */
.hero-wordmark {
  color: #f5f2ef;
  font-size: clamp(16px, 1.5vw, 25px);
  font-weight: 500;
  white-space: nowrap;
}

.hero-new {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: #1d1917;
  isolation: isolate;
}

.hero-new-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-new-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(22, 19, 17, .32), rgba(22, 19, 17, .04) 73%);
  pointer-events: none;
}

.hero-new-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100%;
  max-width: 100%;
  padding: 100px clamp(26px, 5.2vw, 100px) 65px;
}

.hero-new h1 {
  max-width: 950px;
  margin: 0;
  color: #f7f4f1;
  font-size: clamp(48px, 4.6vw, 78px);
  font-weight: 350;
  line-height: 1.17;
}

.catalogue-link {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(44px, 5vw, 78px);
  padding: 17px 0 9px;
  border-bottom: 1px solid rgba(225, 231, 224, .5);
  color: #f3f2ed;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 500;
  transition: color .2s, border-color .2s;
}

.catalogue-link:hover,
.catalogue-link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}

@media (max-width: 760px) {
  .hero-wordmark { font-size: 14px; }

  .hero-new { min-height: 620px; }

  .hero-new-image { object-position: 65% center; }

  .hero-new-shade {
    background: linear-gradient(90deg, rgba(22, 19, 17, .65), rgba(22, 19, 17, .15));
  }

  .hero-new-content { padding: 105px 24px 55px; }
  .hero-new h1 { font-size: clamp(39px, 8.6vw, 62px); }
}

@media (max-width: 600px) {
  .catalogue-link {
    margin-top: 38px;
    padding: 15px 0 17px;
    font-size: 17px;
  }
}

/* Sections and portfolio */
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 23px;
}

.section-top h2 {
  margin: 12px 0 0;
  font-size: clamp(39px, 5.3vw, 75px);
  line-height: 1.08;
}

.section-top > p {
  margin: 0 0 8px;
  color: var(--sub);
  font-size: 16px;
}

.works {
  padding-top: clamp(84px, 8vw, 128px);
  padding-bottom: clamp(110px, 10vw, 170px);
}

.works .section-top { margin-bottom: clamp(36px, 4vw, 60px); }

.works .section-top h2 {
  font-size: clamp(37px, 4.4vw, 68px);
  line-height: 1.12;
}

.editorial-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 34px;
}

.editorial-service {
  display: block;
  min-width: 0;
}

.editorial-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(260px, 29vw, 440px);
  overflow: hidden;
  background: #1b1d1d;
}

.editorial-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.editorial-caption {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  padding-top: 21px;
}

.editorial-caption h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
}

.editorial-caption p {
  margin: 0;
  color: #aab0ac;
  font-size: clamp(16px, 1.1vw, 17px);
  line-height: 1.5;
}

.editorial-caption > span {
  font-size: 25px;
  line-height: 1;
  transition: transform .2s;
}

.editorial-service:hover .editorial-caption > span {
  transform: translate(4px, -4px);
}

.editorial-service:hover .editorial-caption h3,
.editorial-service:focus-visible .editorial-caption h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* Curated service cards */
.editorial-services--curated {
  gap: clamp(44px, 5vw, 72px) clamp(20px, 3vw, 44px);
}

.editorial-services--curated .curated-visual {
  position: relative;
  height: auto;
  aspect-ratio: 1.42;
  overflow: hidden;
  background: transparent;
}

.editorial-services--curated .curated-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(.99);
  transition: transform .45s ease, filter .45s ease;
}

.editorial-services--curated .editorial-service:hover .curated-visual img {
  transform: scale(1.035);
  filter: saturate(.95) contrast(1);
}

.editorial-services--curated .editorial-caption { padding-top: 19px; }

/* Final 3:2 presentation for cards using .editorial-visual. */
.editorial-services--curated .editorial-visual {
  height: auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: transparent;
}

.editorial-services--curated .editorial-visual img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}

.editorial-services--curated .editorial-service:hover .editorial-visual img {
  transform: none;
}

@media (max-width: 760px) {
  .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .section-top h2 { font-size: clamp(41px, 10.5vw, 58px); }

  .works {
    padding-top: 76px;
    padding-bottom: 95px;
  }

  .editorial-services { gap: 44px 15px; }

  .editorial-visual {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .editorial-caption { padding-top: 14px; }
  .editorial-caption h3 { font-size: 19px; }
  .editorial-caption p { font-size: 13px; }
  .editorial-caption > span { font-size: 19px; }

  .editorial-services.editorial-services--curated { gap: 36px 15px; }
  .editorial-services--curated .curated-visual:not(.editorial-visual) { aspect-ratio: 1.1; }
}

@media (max-width: 400px) {
  .editorial-services {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .editorial-visual { aspect-ratio: 4 / 3; }
  .editorial-caption h3 { font-size: 23px; }
  .editorial-caption p { font-size: 16px; }
  .editorial-services--curated .curated-visual:not(.editorial-visual) { aspect-ratio: 1.42; }
}

/* Map and contacts */
.map-minimal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  min-height: 290px;
  padding: 35px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.map-minimal h3 {
  margin: 7px 0 3px;
  font-size: clamp(29px, 2.6vw, 45px);
  line-height: 1.15;
}

.map-minimal p {
  max-width: 340px;
  margin: 0;
  color: #aeb4b0;
  font-size: 16px;
  line-height: 1.7;
}

.map-minimal .map-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  min-height: 54px;
  margin-top: 12px;
  border-bottom: 1px solid #555d59;
  color: #efefeb;
  font-size: 16px;
  font-weight: 600;
}

.map-minimal .map-link:hover { border-bottom-color: #fff; }

.map-embedded {
  display: block;
  min-height: 0;
  padding: 0;
}

.map-embedded h3 {
  margin: 0 0 20px;
  font-size: clamp(26px, 2.4vw, 38px);
}

.map-embedded .map-link { margin-top: 15px; }

.map-frame {
  width: 100%;
  min-height: 270px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1d1c;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  border: 0;
  filter: grayscale(.75) contrast(.95);
}

.contacts-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(45px, 7vw, 125px);
  min-height: 75svh;
  padding-top: clamp(90px, 11vw, 170px);
  padding-bottom: clamp(95px, 10vw, 155px);
}

.contacts-heading {
  align-self: center;
  margin: 0;
}

.contacts-heading h2 {
  margin: 20px 0 0;
  font-size: clamp(50px, 7vw, 105px);
  font-weight: 500;
  line-height: 1.03;
}

.contacts-map {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.contacts-map .map-minimal {
  width: 100%;
  max-width: none;
}

.contacts-map .map-link { display: inline-flex; }

.contacts-map .map-frame {
  min-height: 360px;
  aspect-ratio: 1.32;
}

.contacts-map .map-frame iframe { min-height: 360px; }

.contacts-map .map-minimal h3 {
  font-size: clamp(18px, 1.8vw, 27px);
}

@media (max-width: 760px) {
  .map-minimal:not(.map-embedded) {
    min-height: 240px;
    padding: 30px 0;
  }

  .map-frame {
    min-height: 290px;
    aspect-ratio: 1.15;
  }

  .contacts-section {
    display: block;
    min-height: 0;
    padding-top: 80px;
    padding-bottom: 95px;
  }

  .contacts-heading { margin-bottom: 35px; }

  .contacts-map .map-frame {
    min-height: 270px;
    aspect-ratio: 1.25;
  }

  .contacts-map .map-frame iframe { min-height: 270px; }
}

/* Single service pages */
.service-page { padding-block: 100px 140px; }

.service-intro {
  padding-bottom: 90px;
  border-bottom: 1px solid var(--edge);
}

.service-intro h1 {
  margin: 18px 0 24px;
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 400;
  line-height: 1;
}

.service-intro > p:last-child {
  max-width: 720px;
  color: var(--sub);
  font-size: clamp(18px, 2vw, 25px);
}

.service-page > section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  padding: 60px 0;
  border-bottom: 1px solid var(--edge);
}

.service-page > section h2 {
  margin: 0;
  font-size: clamp(35px, 4vw, 55px);
  font-weight: 400;
}

.service-page > section p {
  margin: 0;
  color: var(--sub);
  font-size: 17px;
  line-height: 1.75;
}

@media (max-width: 700px) {
  .service-page { padding-block: 65px 90px; }

  .service-page > section {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 38px 0;
  }
}

/* Full-screen services menu */
body.menu-is-open { overflow: hidden; }

[hidden] { display: none; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, .65);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 999;
  height: 100dvh;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 55px) 0 70px;
  background: #111514;
}

.menu-panel > .wrap {
  width: min(1400px, calc(100% - clamp(40px, 7vw, 112px)));
}

.menu-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(42px, 7vh, 90px);
}

.menu-top h2 {
  margin: 0;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 400;
  line-height: 1;
}

.menu-close {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}

.menu-close-symbol {
  font-size: 30px;
  line-height: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 52px);
}

.service-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.service-group h3 {
  margin: 0 0 25px;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.12;
}

/* WordPress menu output: ul.service-links > li > a */
.service-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-links li { margin: 0; padding: 0; }

.service-links a {
  color: #b8bfba;
  font-size: 16px;
  line-height: 1.5;
  transition: color .2s ease;
}

.service-links a:hover,
.service-links a:focus-visible,
.menu-category-more:hover,
.menu-category-more:focus-visible { color: #fff; }

.menu-category-more {
  display: inline-block;
  margin-top: 27px;
  padding-top: 13px;
  border-top: 1px solid #4b504d;
  color: #d6dad5;
  font-size: 16px;
  line-height: 1.5;
}

.menu-close:focus-visible,
.service-links a:focus-visible,
.menu-category-more:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }
}

@media (max-width: 600px) {
  .menu-panel { padding: 25px 0 60px; }
  .menu-top { margin-bottom: 38px; }
  .menu-top h2 { font-size: 55px; }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .service-group {
    padding-bottom: 26px;
    border-bottom: 1px solid #353a36;
  }

  .service-group h3 {
    margin-bottom: 18px;
    font-size: 30px;
  }

  .service-links { gap: 10px; }
  .menu-category-more { margin-top: 19px; }
}

/* Breadcrumbs */
#breadcrumbs-container {
  width: 100%;
  margin-block: 0 3rem;
  color: var(--sub);
  font-family: "DM Sans", sans-serif;
  font-size: .875rem;
  line-height: 1.5;
}

#breadcrumbs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35em .6em;
  margin: 0;
  padding: 0;
  list-style: none;
}

#breadcrumbs > li {
  min-width: 0;
  margin: 0;
  padding: 0;
}

#breadcrumbs a {
  color: inherit;
  transition: color .2s ease;
}

#breadcrumbs a:hover,
#breadcrumbs a:focus-visible,
#breadcrumbs [aria-current="page"],
#breadcrumbs > li:last-child:not(.separator) > span { color: var(--text); }

#breadcrumbs .separator {
  color: var(--sub);
  opacity: .6;
  user-select: none;
}

#breadcrumbs .breadcrumb-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

#breadcrumbs .breadcrumb-icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

@media (max-width: 600px) {
  #breadcrumbs-container {
    margin-bottom: 2rem;
    font-size: .8125rem;
  }
}

/* Footer: two independent WordPress menus */
.footer {
  padding-block: 36px 45px;
  color: #969b95;
}

.footer .brand { color: #f4f4ed; }

.footer.footer-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: clamp(40px, 8vw, 140px);
  row-gap: 55px;
  padding-top: 65px;
  padding-bottom: 35px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px;
  max-width: 580px;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
}

.footer-nav-title {
  color: #89928e;
  font-size: 16px;
  font-weight: 400;
}

.footer-nav-group .footer-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav-group .footer-menu li { margin: 0; padding: 0; }

.footer-nav-group a {
  color: #e7e8e4;
  font-size: 16px;
  line-height: 1.5;
  transition: color .2s ease;
}

.footer-nav-group a:hover,
.footer-nav-group a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-wordmark { font-size: clamp(25px, 2.2vw, 34px); }

.footer-location {
  color: #89928e;
  font-size: 16px;
  line-height: 1.5;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 25px;
  border-top: 1px solid var(--edge);
}

.footer-copyright {
  color: #89928e;
  font-size: 16px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #e7e8e4;
  transition: opacity .2s ease;
}

.footer-social a:hover { opacity: .65; }

.footer-social a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.footer-social svg {
  display: block;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .footer.footer-editorial {
    grid-template-columns: 1fr;
    row-gap: 38px;
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .footer-links { gap: 20px; }
  .footer-nav-group { gap: 20px; }
  .footer-nav-group .footer-menu { gap: 13px; }
  .footer-brand { gap: 8px; }
  .footer-bottom { flex-wrap: wrap; gap: 20px; }
}

/* Form details */
.request-copy > p:not(.overline) {
  max-width: 420px;
  color: #aeb3ad;
  font-size: 17px;
  line-height: 1.8;
}

.request-form :is(input, select, textarea):focus {
  border-color: #a4a9a0;
  outline: 0;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms;
    transition-duration: .01ms;
  }
}
