@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  color: #0f3f6c;
  background: #f4f9ff;
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --green: #0d4f88;
  --green-deep: #082b4c;
  --cream: #f4f9ff;
  --sand: #d9ecff;
  --orange: #2f86d8;
  --line: rgba(13, 79, 136, 0.18);
  --muted: #5e7895;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
}

body.menu-open {
  overflow: hidden;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.is-hidden {
  display: none !important;
}

body,
button,
input,
textarea,
select {
  font-family: "DM Sans", Arial, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

.section-shell {
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: clamp(24px, 6vw, 96px);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 94px;
  padding: 0 clamp(24px, 5vw, 78px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: var(--green);
}

.brand--light {
  color: #fff;
}

.brand__stamp {
  width: 39px;
  height: 39px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 25px;
  font-style: italic;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.brand__text small {
  margin-top: 5px;
  text-transform: uppercase;
  font-size: 7px;
  letter-spacing: 0.19em;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.desktop-nav a,
.header-cta {
  transition: opacity 180ms ease;
}

.desktop-nav a:hover,
.header-cta:hover {
  opacity: 0.65;
}

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.menu-button {
  display: none;
}

.mobile-menu {
  display: none;
}

.hero {
  --hero-rail-height: 104px;
  --hero-rail-width: min(54%, 760px);
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: block;
  overflow: hidden;
  color: #fff;
  background-image: url("assets/bones-hero.png");
  background-size: cover;
  background-position: center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 35, 66, 0.9) 0%, rgba(5, 35, 66, 0.6) 42%, rgba(5, 35, 66, 0.1) 75%),
    linear-gradient(0deg, rgba(5, 35, 66, 0.4), transparent 52%);
}

.hero__content {
  z-index: 2;
  width: min(860px, 62vw);
  max-width: calc(100% - var(--hero-rail-width) - 28px);
  min-height: calc(100svh - var(--hero-rail-height));
  min-height: calc(100dvh - var(--hero-rail-height));
  padding:
    clamp(120px, 14vh, 168px)
    clamp(36px, 4.8vw, 92px)
    48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: clamp(10px, 2vw, 28px);
  animation: reveal 900ms cubic-bezier(0.2, 0.65, 0.2, 1) both;
}

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 600;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow b {
  font: inherit;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  margin: 27px 0 28px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(64px, 7.35vw, 122px);
  line-height: 0.86;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 em,
.intro h2 em,
.approach h2 em,
.contact h2 em {
  color: #9fd4ff;
  font-weight: 400;
}

.hero__intro {
  max-width: 600px;
  margin: 0 0 38px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.42;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 34px;
}

.button {
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--cream {
  background: var(--cream);
  color: var(--green);
}

.button--green {
  background: var(--green);
  color: #fff;
}

.text-link {
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 10px;
  font-weight: 600;
}

.text-link--light {
  color: #fff;
}

.hero__rail {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(108px, 1fr));
  width: var(--hero-rail-width);
  background: rgba(6, 39, 73, 0.9);
  backdrop-filter: blur(12px);
}

.hero__rail a {
  min-width: 0;
  min-height: var(--hero-rail-height);
  padding: 22px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 180ms ease, color 180ms ease;
}

.hero__rail span {
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero__rail a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.hero__caption {
  position: absolute;
  z-index: 2;
  bottom: calc(var(--hero-rail-height) + 34px);
  left: clamp(24px, 7.5vw, 124px);
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  pointer-events: none;
}

.intro {
  display: grid;
  grid-template-columns: 26% 1fr;
  gap: 56px;
  padding-top: clamp(78px, 9vw, 138px);
  padding-bottom: clamp(72px, 8vw, 122px);
}

.intro__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.intro__index {
  margin: 70px 0 0;
  color: rgba(13, 79, 136, 0.4);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
}

.intro__main {
  display: grid;
  grid-template-columns: minmax(430px, 1.5fr) minmax(240px, 0.7fr);
  align-items: end;
  gap: clamp(28px, 5vw, 88px);
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(13, 79, 136, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 60px rgba(13, 79, 136, 0.08);
}

.intro h2,
.approach h2,
.contact h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(51px, 5.2vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.intro h2 em,
.contact h2 em {
  color: var(--orange);
}

.intro__main > p,
.contact__copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.division-switcher {
  display: grid;
  grid-template-columns: minmax(250px, 31%) 1fr;
  gap: 18px;
  padding-bottom: clamp(82px, 9vw, 136px);
}

.division-tabs {
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.division-tabs button {
  width: 100%;
  min-height: 76px;
  padding: 0 18px 0 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 38px 35px 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: transparent;
  cursor: pointer;
  opacity: 0.47;
  transition: opacity 180ms ease, padding 180ms ease, background 180ms ease;
}

.division-tabs button:hover,
.division-tabs button.is-active {
  opacity: 1;
}

.division-tabs button.is-active {
  padding-left: 14px;
  background: rgba(223, 239, 255, 0.88);
}

.division-tabs__number {
  align-self: start;
  margin-top: 21px;
  font-size: 9px;
}

.division-tabs button > span:nth-of-type(2) {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 21px;
}

.division-tabs__arrow {
  transition: transform 180ms ease;
}

.division-tabs button.is-active .division-tabs__arrow {
  transform: translateX(5px);
}

.division-feature {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 58% 42%;
  color: var(--green);
  background: color-mix(in srgb, var(--accent) 28%, #f6fbff);
  border: 1px solid rgba(13, 79, 136, 0.1);
  box-shadow: 0 30px 80px rgba(13, 79, 136, 0.1);
}

.division-feature__wash {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    radial-gradient(circle at 86% 18%, var(--accent) 0, transparent 34%),
    repeating-linear-gradient(125deg, transparent 0, transparent 44px, rgba(13, 79, 136, 0.04) 45px);
}

.division-feature__content {
  z-index: 1;
  padding: clamp(36px, 5vw, 64px);
}

.division-feature h3 {
  margin: 22px 0 14px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(46px, 4.5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.division-feature__summary {
  max-width: 520px;
  margin: 0 0 24px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  line-height: 1.3;
}

.division-feature__detail {
  max-width: 540px;
  margin: 0;
  color: rgba(13, 79, 136, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.division-feature ul {
  margin: 24px 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.division-feature li {
  padding: 8px 11px;
  border: 1px solid rgba(13, 79, 136, 0.18);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.division-feature li span {
  margin-right: 4px;
  color: var(--orange);
}

.division-feature__graphic {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(13, 79, 136, 0.12);
}

.division-feature__graphic svg {
  width: 65%;
  height: 65%;
  color: rgba(13, 79, 136, 0.28);
}

.division-feature__graphic span {
  position: absolute;
  right: 28px;
  bottom: 15px;
  color: rgba(13, 79, 136, 0.11);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 130px;
  line-height: 1;
}

.approach {
  padding-top: clamp(82px, 9vw, 134px);
  padding-bottom: clamp(78px, 9vw, 128px);
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(159, 212, 255, 0.18), transparent 30%),
    var(--green-deep);
}

.approach__top {
  display: grid;
  grid-template-columns: 26% 1fr;
  gap: 56px;
}

.approach h2 {
  color: #eef7ff;
}

.principles {
  margin-top: clamp(50px, 6vw, 84px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principles article {
  min-height: 220px;
  padding: 28px clamp(22px, 2.8vw, 34px) 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}

.principles article + article {
  padding-left: clamp(22px, 2.8vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.principles span {
  color: #9fd4ff;
  font-size: 10px;
}

.principles h3 {
  margin: 42px 0 16px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 29px;
  font-weight: 400;
}

.principles p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 12px;
  line-height: 1.75;
}

.statement {
  padding-top: clamp(70px, 8vw, 112px);
  padding-bottom: clamp(70px, 8vw, 112px);
}

.statement p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(47px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.statement p:nth-child(2) {
  padding-left: 12%;
  color: var(--orange);
}

.statement p:nth-child(3) {
  padding-left: 24%;
}

.contact {
  padding-top: clamp(68px, 8vw, 108px);
  padding-bottom: clamp(72px, 8vw, 116px);
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(400px, 1fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    #e5f1ff;
}

.contact__copy .eyebrow {
  margin-bottom: 44px;
}

.contact h2 {
  margin-bottom: 34px;
}

.contact__copy > p:last-child {
  max-width: 440px;
}

.contact__copy {
  padding-top: 14px;
}

.contact form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 22px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(13, 79, 136, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(13, 79, 136, 0.08);
}

.contact label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(13, 79, 136, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  font-weight: 600;
}

.contact input,
.contact textarea,
.contact select {
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid rgba(13, 79, 136, 0.35);
  border-radius: 0;
  outline: none;
  color: var(--green);
  background: transparent;
  font-size: 14px;
  resize: vertical;
}

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

.contact input::placeholder,
.contact textarea::placeholder {
  color: rgba(13, 79, 136, 0.4);
}

.form-wide {
  grid-column: 1 / -1;
}

.contact .button {
  width: max-content;
  margin-top: 12px;
}

.contact .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  margin: -8px 0 0;
  color: #9c2f25;
  font-size: 13px;
  line-height: 1.5;
}

.form-success {
  align-self: center;
  padding: 44px;
  border: 1px solid rgba(13, 79, 136, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(13, 79, 136, 0.08);
}

.form-success > span {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 9px;
}

.form-success h3 {
  margin: 20px 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 43px;
  font-weight: 400;
}

.form-success p {
  max-width: 500px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

footer {
  color: #fff;
  background: #082746;
}

.footer__main {
  min-height: 310px;
  padding-top: 70px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 50px;
  align-items: start;
}

.footer__main > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 26px;
  line-height: 1.25;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.footer__links a:hover {
  color: #fff;
}

.footer__top {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
}

.footer__top svg {
  transform: rotate(180deg);
}

.footer__base {
  min-height: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 8px;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .hero {
    --hero-rail-height: 118px;
    --hero-rail-width: 100%;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: grid;
    place-items: center;
    color: #fff;
    background: transparent;
  }

  .mobile-menu {
    position: fixed;
    z-index: 100;
    inset: 0;
    padding: 30px;
    display: block;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-20px);
    color: var(--green);
    background: var(--cream);
    transition: 220ms ease;
  }

  .mobile-menu.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: none;
  }

  .mobile-menu__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu__top button {
    width: 45px;
    height: 45px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    background: transparent;
  }

  .mobile-menu nav {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu nav a {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 38px;
  }

  .hero__content {
    width: min(640px, 100%);
    max-width: none;
    min-height: calc(100svh - var(--hero-rail-height));
    min-height: calc(100dvh - var(--hero-rail-height));
    padding: 126px 32px 28px;
    margin-left: 0;
    justify-content: flex-start;
  }

  .hero__rail {
    left: 0;
    right: 0;
    width: 100%;
  }

  .hero__caption {
    display: none;
  }

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

  .division-feature {
    grid-template-columns: 1fr;
  }

  .division-feature__graphic {
    display: none;
  }
}

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

  .hero {
    --hero-rail-height: 112px;
    min-height: 100svh;
    min-height: 100dvh;
    background-position: 60% center;
  }

  .hero__veil {
    background: linear-gradient(90deg, rgba(5, 35, 66, 0.92), rgba(5, 35, 66, 0.28));
  }

  .hero__content {
    width: 100%;
    max-width: none;
    padding: 130px 24px 30px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(55px, 16vw, 82px);
  }

  .hero__intro {
    font-size: 20px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .hero__rail {
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hero__rail a {
    min-width: 0;
    min-height: 112px;
    padding: 18px 8px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }

  .hero__rail span {
    font-size: 7px;
    overflow-wrap: anywhere;
  }

  .hero__caption {
    display: none;
  }

  .intro,
  .approach__top {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .intro__side {
    flex-direction: row;
  }

  .intro__index {
    margin: 0;
  }

  .intro__main {
    gap: 35px;
  }

  .intro h2,
  .approach h2,
  .contact h2 {
    font-size: clamp(45px, 13vw, 65px);
  }

  .division-switcher {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .division-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
  }

  .division-tabs button,
  .division-tabs button.is-active {
    min-height: 72px;
    padding: 0;
    border-right: 1px solid var(--line);
    display: flex;
    justify-content: center;
  }

  .division-tabs button > span,
  .division-tabs__number,
  .division-tabs__arrow {
    display: none;
  }

  .division-feature {
    min-height: 560px;
  }

  .division-feature__content {
    padding: 42px 28px;
  }

  .division-feature h3 {
    font-size: 50px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .principles article {
    min-height: auto;
    padding: 26px 22px 28px;
  }

  .principles article + article {
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .principles h3 {
    margin-top: 34px;
  }

  .statement p,
  .statement p:nth-child(2),
  .statement p:nth-child(3) {
    padding-left: 0;
    font-size: clamp(42px, 12vw, 66px);
  }

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

  .contact form {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .contact label {
    grid-column: 1;
  }

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

  .footer__links {
    order: 3;
  }

  .footer__top {
    justify-self: end;
  }
}

@media (max-width: 480px) {
  .brand__text small {
    letter-spacing: 0.11em;
  }

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

  .footer__top {
    justify-self: start;
  }

  .footer__base {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
