:root {
  --navy: #071226;
  --navy-2: #0d1a30;
  --navy-3: #14243d;
  --rose: #e6a486;
  --rose-light: #f2c2ab;
  --cream: #f7f3ed;
  --white: #ffffff;
  --ink: #101a28;
  --muted: #68717d;
  --line: #d8d1c8;
  --shadow: 0 24px 70px rgba(4, 12, 26, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.navOpen {
  overflow: hidden;
}

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

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

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

button,
select {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--rose-light);
  outline-offset: 4px;
}

::selection {
  background: var(--rose);
  color: var(--navy);
}

.skipLink {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--rose);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skipLink:focus {
  transform: translateY(0);
}

.kicker {
  margin: 0;
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 0 5vw;
  background: rgba(7, 18, 38, 0.97);
  border-bottom: 1px solid rgba(230, 164, 134, 0.22);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(230, 164, 134, 0.25);
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand small {
  margin-top: 6px;
  color: var(--rose);
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.desktopNav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.7vw, 28px);
  color: #c8d1df;
  font-size: 0.76rem;
}

.desktopNav a,
.footerGrid a,
.footerBottom a {
  transition: color 0.2s ease;
}

.desktopNav a:hover,
.desktopNav a.activeNav,
.desktopNav a[aria-current="page"],
.footerGrid a:hover,
.footerBottom a:hover {
  color: var(--rose);
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menuButton,
.languageButton {
  min-height: 44px;
  padding: 9px 5px;
  border: 0;
  background: transparent;
  color: var(--rose);
  font-size: 0.75rem;
  font-weight: 800;
}

.talk,
.primary,
.pageCta > a,
.footerTop > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 21px;
  border: 1px solid var(--rose);
  background: var(--rose);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.talk:hover,
.primary:hover,
.pageCta > a:hover,
.footerTop > a:hover {
  background: var(--rose-light);
  transform: translateY(-2px);
}

.megaMenu {
  position: absolute;
  top: calc(100% + 1px);
  right: 5vw;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(720px, 90vw);
  max-height: calc(100vh - 100px);
  padding: 22px;
  overflow-y: auto;
  background: #0b1930;
  border: 1px solid rgba(230, 164, 134, 0.28);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55);
}

.megaMenu a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  min-height: 52px;
  padding: 11px 12px;
  border-bottom: 1px solid #26344a;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.22rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.megaMenu a:hover,
.megaMenu a.activeNav {
  background: #12233d;
  color: var(--rose);
}

.megaMenu small {
  color: #7f8da2;
  font-family: var(--sans);
  font-size: 0.55rem;
}

.megaMenu span {
  color: var(--rose);
  font-family: var(--sans);
  font-size: 0.76rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  min-height: min(760px, calc(100vh - 82px));
  padding: clamp(80px, 9vw, 125px) 7vw clamp(70px, 7vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 35%, rgba(230, 164, 134, 0.1), transparent 30%),
    var(--navy);
  color: var(--white);
}

.hero::after {
  position: absolute;
  top: 70px;
  right: -100px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(230, 164, 134, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(230, 164, 134, 0.035), 0 0 0 140px rgba(230, 164, 134, 0.018);
  content: "";
}

.heroCopy,
.visual {
  position: relative;
  z-index: 1;
}

.hero h1,
.section h2,
.contact h2,
.innerHero h1,
.pageCta h2,
.footerTop h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 850px;
  margin: 24px 0;
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 0.98;
}

.hero h1 em,
.innerHero h1 em,
.pageCta h2 em,
.footerTop h2 em {
  color: var(--rose);
  font-style: normal;
}

.heroCopy > p:not(.kicker) {
  max-width: 630px;
  margin: 0;
  color: #b7c2d2;
  font-size: 1.06rem;
  line-height: 1.75;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.buttons > a:not(.primary) {
  padding: 10px 0 6px;
  border-bottom: 1px solid #647188;
  color: #e5eaf2;
  font-size: 0.8rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.buttons > a:not(.primary):hover {
  border-color: var(--rose);
  color: var(--rose);
}

.visual {
  height: 500px;
}

.phone {
  position: absolute;
  right: 11%;
  width: 270px;
  height: 490px;
  padding: 30px 15px 15px;
  overflow: hidden;
  background: #ede7de;
  border: 8px solid #17243a;
  border-radius: 38px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.52);
  transform: rotate(4deg);
}

.phone::before {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 72px;
  height: 6px;
  background: #27344a;
  border-radius: 999px;
  content: "";
  transform: translateX(-50%);
}

.post {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 340px;
  padding: 25px 18px;
  background: var(--navy-2);
}

.post small {
  color: var(--rose);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.post strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.post strong em {
  color: var(--rose);
  font-style: normal;
}

.phone > p {
  margin: 17px 3px 0;
  color: #344153;
  font-size: 0.66rem;
  line-height: 1.3;
}

.phone > p b {
  display: block;
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.phone > p i {
  color: #146c50;
  font-style: normal;
}

.metric {
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: 145px;
  padding: 16px 19px;
  background: rgba(13, 28, 51, 0.97);
  border: 1px solid rgba(230, 164, 134, 0.42);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.metric small {
  color: #98a7bb;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.metric b {
  margin: 3px 0;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.metric span {
  color: #93a0b3;
  font-size: 0.62rem;
}

.m1 {
  top: 90px;
  left: 0;
}

.m2 {
  right: -2%;
  bottom: 85px;
}

.section {
  padding: clamp(78px, 8vw, 112px) 7vw;
}

.sectionHead,
.innerTitle {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.section h2,
.contact h2 {
  max-width: 800px;
  margin: 18px 0 0;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.06;
}

.sectionHead > p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.serviceGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.serviceGrid article {
  position: relative;
  min-height: 310px;
  padding: 36px 26px;
  border-right: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}

.serviceGrid article:last-child {
  border-right: 0;
}

.serviceGrid article:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.serviceGrid article > small {
  position: absolute;
  top: 32px;
  right: 20px;
  color: #8b929a;
  font-size: 0.7rem;
}

.icon {
  display: block;
  margin: 38px 0 25px;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
}

.serviceGrid h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.serviceGrid p {
  min-height: 76px;
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.serviceGrid a {
  font-size: 0.76rem;
  font-weight: 800;
}

.packages {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.packages h2 {
  margin: 15px auto;
}

.packages > p:not(.kicker) {
  margin: 0;
  color: #a9b4c4;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  max-width: 1100px;
  margin: 56px auto 0;
  text-align: left;
}

.plans article {
  position: relative;
  min-height: 455px;
  padding: 38px;
  background: var(--navy-2);
  border: 1px solid #2a3850;
}

.plans article.featured {
  z-index: 1;
  min-height: 492px;
  background: var(--cream);
  border-top: 4px solid var(--rose);
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: scale(1.035);
}

.badge {
  position: absolute;
  top: 22px;
  right: 20px;
  padding: 6px 8px;
  background: var(--rose);
  color: var(--navy);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.plans h3 {
  margin: 4px 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.plans article > p {
  min-height: 42px;
  color: #9eabbc;
  font-size: 0.82rem;
}

.plans article.featured > p {
  color: var(--muted);
}

.price {
  margin: 28px 0;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 2.45rem;
}

.price small {
  color: #8794a7;
  font-family: var(--sans);
  font-size: 0.68rem;
}

.plans ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid #2b384e;
  list-style: none;
}

.plans li {
  padding: 11px 0;
  border-bottom: 1px solid #2b384e;
  font-size: 0.78rem;
}

.plans article > a {
  display: block;
  margin-top: 26px;
  padding: 13px;
  border: 1px solid #5b687b;
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.plans article > a:hover,
.plans .featured > a {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--navy);
}

.packageNote {
  margin-top: 30px !important;
  color: #7f8da1 !important;
  font-size: 0.76rem;
}

.work {
  background: var(--white);
}

.workIntro {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
}

.workGrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
  margin-top: 46px;
}

.workGrid article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 410px;
  padding: 32px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.workGrid article:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.workGrid article > span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.wa {
  background: #ead8c7;
  color: #473227;
}

.wa > b {
  margin: auto;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
}

.wa b small {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 0.48rem;
  letter-spacing: 0.2em;
}

.wb {
  background: var(--navy);
  color: var(--white);
}

.wb > div {
  margin: auto;
}

.wb div > small {
  color: var(--rose);
  font-size: 0.48rem;
  letter-spacing: 0.2em;
}

.wb div > b {
  display: block;
  margin-top: 15px;
  font-family: var(--serif);
  font-size: 2.65rem;
  font-weight: 400;
  line-height: 1;
}

.wb em {
  color: var(--rose);
  font-style: normal;
}

.wc {
  background: #ddd7cf;
}

.wc > div {
  width: 82%;
  height: 235px;
  margin: auto;
  padding: 25px;
  background: var(--white);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.wc div > b {
  font-family: var(--serif);
  font-size: 1.72rem;
  font-weight: 400;
  line-height: 1;
}

.mockButton {
  display: block;
  width: max-content;
  margin-top: 72px;
  padding: 9px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 800;
}

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 9vw;
}

.aboutArt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 460px;
  overflow: hidden;
  background: var(--navy);
  color: var(--rose);
}

.aboutArt > b {
  font-family: var(--serif);
  font-size: 18rem;
  font-weight: 400;
}

.aboutArt::after {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(230, 164, 134, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(230, 164, 134, 0.06), 0 0 0 110px rgba(230, 164, 134, 0.03);
  content: "";
}

.aboutArt > span {
  position: absolute;
  bottom: 22px;
  left: 25px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.aboutArt small {
  font-size: 0.42rem;
}

.about > div:last-child > p:not(.kicker) {
  color: var(--muted);
  line-height: 1.8;
}

.benefits {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.benefits p {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.benefits small {
  color: var(--rose);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  gap: 9vw;
  padding: clamp(78px, 8vw, 105px) 7vw;
  background: var(--navy);
  color: var(--white);
}

.contact > div > p:not(.kicker) {
  color: #aeb9c9;
  line-height: 1.75;
}

.location {
  margin-top: 34px;
  color: #aeb9c9;
  font-size: 0.8rem;
  line-height: 2;
}

.contact form {
  padding: clamp(26px, 4vw, 42px);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.contact h3 {
  margin: 0 0 25px;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.2;
}

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field span {
  display: block;
  margin-bottom: 5px;
  color: #4f5c6c;
  font-size: 0.74rem;
  font-weight: 700;
}

.contact input,
.contact select,
.contact textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 2px;
  background: var(--white);
  border: 0;
  border-bottom: 1px solid #bcc4cf;
  border-radius: 0;
  outline: 0;
}

.contact textarea {
  min-height: 92px;
  resize: vertical;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
  border-bottom-color: var(--rose);
  box-shadow: 0 2px 0 var(--rose);
}

.contact form > button {
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  padding: 14px;
  background: var(--rose);
  border: 1px solid var(--rose);
  color: var(--navy);
  font-weight: 850;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact form > button:hover {
  background: var(--rose-light);
  transform: translateY(-2px);
}

.formNotice {
  display: none;
  margin: 15px 0 0;
  padding: 11px 12px;
  font-size: 0.78rem;
  line-height: 1.5;
}

.formNotice.visible {
  display: block;
}

.formNotice.isSuccess {
  background: #e9f7f1;
  color: #126548;
}

.formNotice.isError {
  background: #fff0ec;
  color: #9a321b;
}

.innerHero {
  position: relative;
  min-height: 570px;
  padding: 125px 8vw 75px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.innerHero::after {
  position: absolute;
  top: -100px;
  right: 5vw;
  color: rgba(230, 164, 134, 0.045);
  content: "R";
  font-family: var(--serif);
  font-size: 34rem;
  line-height: 1;
}

.innerHero h1 {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 28px 0;
  font-size: clamp(3.7rem, 8vw, 7rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.innerHero > p:not(.kicker) {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: #b7c2d2;
  font-size: 1.05rem;
  line-height: 1.8;
}

.innerLine {
  position: absolute;
  right: 8vw;
  bottom: 28px;
  left: 8vw;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #31405a;
  color: #8290a4;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.innerLine i {
  color: var(--rose);
  font-style: normal;
}

.statStrip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 8vw;
  background: var(--rose);
  color: var(--navy);
}

.statStrip div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 34px;
  border-right: 1px solid rgba(7, 18, 38, 0.22);
}

.statStrip div:last-child {
  border-right: 0;
}

.statStrip b {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
}

.statStrip span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bigQuote {
  margin: 0;
  padding: 78px 12vw;
  background: #efe8df;
  color: #263449;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.35;
  text-align: center;
}

.innerContent {
  padding: clamp(78px, 8vw, 105px) 8vw;
}

.innerTitle h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
}

.contentCards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.contentCards article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.contentCards article:nth-child(even) {
  border-right: 0;
}

.contentCards article:hover {
  background: var(--white);
}

.contentCards small {
  color: #b17155;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.contentCards h3 {
  margin: 34px 0 15px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.3vw, 2.05rem);
  font-weight: 400;
  line-height: 1.16;
}

.contentCards p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contentCards article > b {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #39485d;
  font-size: 0.75rem;
}

.pageCta {
  padding: 95px 7vw;
  background: var(--navy-2);
  color: var(--white);
  text-align: center;
}

.pageCta h2 {
  margin: 18px 0 38px;
  font-size: clamp(2.7rem, 4vw, 3.35rem);
  line-height: 1.06;
}

.siteFooter {
  display: block;
  padding: 0 7vw 28px;
  background: #030b18;
  border-top: 1px solid rgba(230, 164, 134, 0.26);
  color: #aab5c5;
  font-size: 0.8rem;
}

.footerTop {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  padding: 70px 0 55px;
  border-bottom: 1px solid #1e2a3d;
}

.footerTop h2 {
  margin: 12px 0 0;
  color: var(--white);
  font-size: clamp(2.5rem, 4.5vw, 3.9rem);
  line-height: 1.05;
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 55px;
  padding: 55px 0;
}

.footerGrid .brand {
  margin-bottom: 22px;
}

.footerIntro > p {
  max-width: 290px;
  line-height: 1.7;
}

.footerGrid h3 {
  margin: 0 0 22px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
}

.footerGrid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footerGrid p {
  margin: 0;
  line-height: 1.7;
}

.footerBottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid #1e2a3d;
  color: #748196;
}

.footerBottom .socialLinks {
  display: flex;
  gap: 22px;
}

.footerBottom > a {
  color: var(--rose);
}

.notFound {
  display: grid;
  min-height: 70vh;
  padding: 70px 22px;
  place-items: center;
  text-align: center;
}

.notFound h1 {
  margin: 0;
  color: var(--rose);
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 1;
}

.notFound h2 {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.notFound p {
  margin: 0 0 28px;
  color: var(--muted);
}

.revealPending {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.revealPending.visible {
  opacity: 1;
  transform: none;
}

/* Keep secondary information readable on every screen. */
.kicker,
.brand small,
.megaMenu small,
.post small,
.phone > p,
.metric small,
.metric span,
.serviceGrid article > small,
.serviceGrid a,
.badge,
.price small,
.plans article > a,
.packageNote,
.workGrid article > span,
.wa b small,
.wb div > small,
.mockButton,
.location,
.field span,
.formNotice,
.innerLine,
.statStrip span,
.contentCards small,
.contentCards article > b {
  font-size: 0.75rem;
}

@media (max-width: 1080px) {
  .desktopNav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.75fr);
  }

  .serviceGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .serviceGrid article:nth-child(2) {
    border-right: 0;
  }

  .serviceGrid article {
    border-bottom: 1px solid var(--line);
  }

  .footerGrid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footerGrid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .visual {
    width: min(100%, 520px);
    margin: 35px auto 0;
  }

  .plans,
  .workGrid,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .plans {
    gap: 18px;
  }

  .plans article.featured {
    min-height: 455px;
    transform: none;
  }

  .workGrid article {
    height: 340px;
  }

  .contact {
    gap: 48px;
  }

  .sectionHead {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 76px;
  }

  .siteHeader {
    height: 74px;
    padding: 0 18px;
  }

  .siteHeader .brand img {
    width: 39px;
    height: 39px;
  }

  .siteHeader .brand {
    font-size: 0.82rem;
  }

  .siteHeader .brand small {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }

  .siteHeader .talk {
    display: none;
  }

  .megaMenu {
    top: 75px;
    right: 18px;
    left: 18px;
    grid-template-columns: 1fr;
    width: auto;
    max-height: calc(100vh - 100px);
    padding: 16px;
  }

  .megaMenu a {
    min-height: 48px;
    font-size: 1.08rem;
  }

  .hero {
    padding: 72px 22px 64px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }

  .heroCopy > p:not(.kicker) {
    font-size: 0.98rem;
  }

  .buttons {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .visual {
    height: 420px;
  }

  .phone {
    right: 4%;
    width: 230px;
    height: 408px;
  }

  .post {
    height: 275px;
  }

  .m1 {
    left: -2%;
  }

  .m2 {
    right: -3%;
    bottom: 48px;
  }

  .section,
  .innerContent {
    padding: 72px 22px;
  }

  .section h2,
  .contact h2,
  .innerTitle h2 {
    font-size: clamp(2.25rem, 10vw, 2.7rem);
  }

  .serviceGrid,
  .contentCards {
    grid-template-columns: 1fr;
  }

  .serviceGrid article,
  .serviceGrid article:nth-child(2),
  .contentCards article,
  .contentCards article:nth-child(even) {
    min-height: 275px;
    padding: 30px 8px;
    border-right: 0;
  }

  .serviceGrid article:hover,
  .contentCards article:hover {
    transform: none;
  }

  .plans article {
    min-height: auto;
    padding: 31px 27px;
  }

  .plans article.featured {
    min-height: auto;
  }

  .workGrid article {
    height: 315px;
    padding: 26px;
  }

  .aboutArt {
    height: 320px;
  }

  .aboutArt > b {
    font-size: 13rem;
  }

  .contact {
    grid-template-columns: minmax(0, 1fr);
    padding: 72px 22px;
  }

  .contact form {
    padding: 27px 21px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .innerHero {
    min-height: 520px;
    padding: 90px 22px 70px;
  }

  .innerHero::after {
    right: -100px;
    font-size: 28rem;
  }

  .innerHero h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .innerHero > p:not(.kicker) {
    font-size: 0.96rem;
  }

  .innerLine {
    right: 22px;
    left: 22px;
  }

  .statStrip {
    grid-template-columns: 1fr;
    padding: 0 22px;
  }

  .statStrip div,
  .statStrip div:last-child {
    padding: 21px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 18, 38, 0.22);
  }

  .bigQuote {
    padding: 58px 24px;
  }

  .innerTitle {
    margin-bottom: 38px;
  }

  .contentCards h3 {
    font-size: 1.8rem;
  }

  .pageCta {
    padding: 74px 22px;
  }

  .pageCta h2 {
    font-size: 2.45rem;
  }

  .siteFooter {
    padding: 0 22px 25px;
  }

  .footerTop {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    padding: 55px 0 45px;
  }

  .footerTop h2 {
    font-size: 2.45rem;
  }

  .footerGrid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding: 45px 0;
  }

  .footerIntro,
  .footerGrid > div:last-child {
    grid-column: 1 / -1;
  }

  .footerBottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footerBottom .socialLinks {
    flex-wrap: wrap;
  }
}

@media (max-width: 390px) {
  .siteHeader .brand span {
    display: none;
  }

  .visual {
    height: 390px;
  }

  .phone {
    right: 1%;
    width: 216px;
    height: 390px;
  }

  .post {
    height: 260px;
  }

  .metric {
    min-width: 128px;
    padding: 13px 14px;
  }

  .m1 {
    top: 65px;
  }

  .m2 {
    bottom: 43px;
  }

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

  .footerIntro,
  .footerGrid > div:last-child {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .revealPending {
    opacity: 1;
    transform: none;
  }
}
