:root {
  --ink: #17211d;
  --ink-soft: #26332d;
  --muted: #6e746f;
  --cream: #f7f4ed;
  --paper: #fcfaf5;
  --gold: #b58a47;
  --gold-light: #dcc9a5;
  --forest: #15332a;
  --forest-light: #21463a;
  --mint: #dfe9e1;
  --line: rgba(23, 33, 29, 0.14);
  --max: 1280px;
  --header-height: 92px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--forest);
}

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

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

button {
  color: inherit;
  font: inherit;
}

p {
  text-wrap: pretty;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  width: min(var(--max), calc(100% - 64px));
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%);
  transition: top 0.35s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease),
    padding 0.35s var(--ease), background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.site-header.scrolled {
  top: 12px;
  width: min(1180px, calc(100% - 32px));
  height: 70px;
  padding: 0 18px;
  border: 1px solid rgba(181, 138, 71, 0.25);
  border-radius: 999px;
  background: rgba(249, 247, 241, 0.88);
  box-shadow: 0 16px 50px rgba(25, 39, 32, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  position: relative;
  width: 45px;
  height: 45px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--forest);
  font-family: Georgia, serif;
  line-height: 1;
  transition: color 0.3s, background 0.3s, transform 0.4s var(--ease);
}

.brand:hover .brand-mark {
  color: #fff;
  background: var(--forest);
  transform: rotate(-6deg);
}

.brand-c,
.brand-t {
  position: absolute;
  font-size: 19px;
}

.brand-c {
  top: 9px;
  left: 9px;
}

.brand-t {
  right: 9px;
  bottom: 8px;
  color: var(--gold);
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-name strong {
  font: 600 15px/1.1 "Manrope", sans-serif;
  letter-spacing: 0.055em;
}

.brand-name i {
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 400;
}

.brand-name small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
  font-size: 13px;
}

nav > a:not(.nav-cta) {
  position: relative;
  padding: 12px 0;
  color: #3e4944;
}

nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

nav > a:hover::after,
nav > a.active-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  transition: color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.nav-cta:hover {
  color: var(--ink);
  background: transparent;
  transform: translateY(-2px);
}

.menu {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu span {
  position: absolute;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.menu span:first-child {
  transform: translateY(-4px);
}

.menu span:last-child {
  transform: translateY(4px);
}

.menu.active span:first-child {
  transform: rotate(45deg);
}

.menu.active span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 790px;
  height: 100svh;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 30px;
  padding: 135px max(32px, calc((100% - var(--max)) / 2)) 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 10%, rgba(218, 201, 165, 0.34), transparent 30%),
    radial-gradient(circle at 55% 84%, rgba(169, 199, 180, 0.3), transparent 25%),
    linear-gradient(128deg, #faf8f2 0%, #f4eee2 53%, #e9f0eb 100%);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent 12%, rgba(181, 138, 71, 0.24) 25%, rgba(181, 138, 71, 0.24) 75%, transparent 90%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.27;
  background-image:
    linear-gradient(rgba(23, 33, 29, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 29, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000 100%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-copy {
  padding-bottom: 10px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #846838;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(58px, 6.15vw, 98px);
  line-height: 0.96;
}

h1 em,
h2 em {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.lead,
.copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.lead {
  max-width: 585px;
  margin: 32px 0 38px;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-width: 218px;
  padding: 17px 20px;
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-102%);
  transition: transform 0.45s var(--ease);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(23, 51, 42, 0.15);
}

.button:hover::before {
  transform: none;
}

.button > * {
  position: relative;
}

.button b {
  font-size: 15px;
}

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

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

.phone-link {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

.phone-link small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-link strong {
  margin-top: 4px;
  font: 600 15px "Manrope", sans-serif;
  transition: color 0.25s;
}

.phone-link:hover strong {
  color: var(--gold);
}

.hero-visual {
  min-height: 555px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(34vw, 480px);
  height: min(34vw, 480px);
  border: 1px solid rgba(181, 138, 71, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-spin 24s linear infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(181, 138, 71, 0.18);
  border-radius: 50%;
}

.orbit::before {
  inset: 42px;
}

.orbit::after {
  inset: 92px;
}

.orbit span,
.orbit i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(181, 138, 71, 0.12);
}

.orbit span {
  top: 11%;
  left: 18%;
}

.orbit i {
  right: 8%;
  bottom: 26%;
  width: 7px;
  height: 7px;
}

.visual-center {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(181, 138, 71, 0.5);
  border-radius: 50%;
  color: var(--forest);
  background: rgba(248, 245, 237, 0.55);
  font: 400 20px Georgia, serif;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.visual-center i {
  color: var(--gold);
  font-size: 13px;
}

.float-card {
  position: absolute;
  z-index: 2;
  width: min(330px, 72%);
  height: 218px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid rgba(181, 138, 71, 0.68);
  border-radius: 26px;
  box-shadow: 0 32px 75px rgba(39, 51, 45, 0.15);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-top b {
  font: 600 27px "Manrope", sans-serif;
  letter-spacing: 0.02em;
}

.card-top span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  opacity: 0.55;
}

.float-card > small {
  margin-top: 4px;
  font-size: 7px;
  letter-spacing: 0.16em;
  opacity: 0.63;
}

.float-card > strong {
  margin-top: auto;
  font: 500 20px/1.36 "Manrope", sans-serif;
}

.float-card > i {
  position: absolute;
  right: 26px;
  bottom: 24px;
  font-style: normal;
}

.cia-card {
  top: 24px;
  right: 0;
  background: rgba(246, 238, 223, 0.9);
  animation: float-one 6.4s ease-in-out infinite;
}

.tower-card {
  bottom: 20px;
  left: 0;
  color: #f8f4eb;
  background: rgba(26, 61, 50, 0.93);
  animation: float-two 7.2s ease-in-out infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.orb-one {
  top: -140px;
  right: -110px;
  width: 430px;
  height: 430px;
  background: rgba(218, 199, 159, 0.28);
  filter: blur(1px);
}

.orb-two {
  bottom: -130px;
  left: 43%;
  width: 280px;
  height: 280px;
  background: rgba(165, 195, 176, 0.3);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: max(32px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.scroll-cue i {
  position: relative;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: cue 2s ease-in-out infinite;
}

.trust-strip {
  color: #f2eee5;
  background: var(--forest);
  overflow: hidden;
}

.trust-strip > div {
  width: min(var(--max), calc(100% - 64px));
  min-height: 82px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.trust-strip p {
  margin: 0;
  padding: 8px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: #ccd5d0;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-strip p:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-strip span {
  margin-right: 10px;
  color: var(--gold-light);
  font-size: 9px;
}

.section {
  position: relative;
  width: min(var(--max), calc(100% - 64px));
  margin: auto;
  padding: 128px 0;
}

.section-label {
  display: flex;
  gap: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #545d58;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-label span {
  color: var(--gold);
}

.section-label p {
  margin: 0;
}

h2 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.04;
}

.about-layout,
.section-heading,
.cia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(55px, 8vw, 115px);
  margin-top: 78px;
}

.about-copy {
  padding-top: 1px;
}

.copy {
  margin: 0 0 42px;
}

.values article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}

.values article:hover {
  padding-left: 10px;
}

.values span,
.cia-panel article > span {
  padding-top: 3px;
  color: var(--gold);
  font-size: 10px;
}

.values h3,
.cia-panel h3 {
  margin: 0;
  font: 600 17px "Manrope", sans-serif;
}

.values p,
.cia-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.dark {
  width: 100%;
  max-width: none;
  padding-right: max(32px, calc((100% - var(--max)) / 2));
  padding-left: max(32px, calc((100% - var(--max)) / 2));
  color: #f5f3ed;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--forest);
  background-size: 90px 90px;
  overflow: hidden;
}

.dark-glow {
  position: absolute;
  top: 0;
  right: -15%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: rgba(181, 138, 71, 0.08);
  filter: blur(3px);
  pointer-events: none;
}

.section-label-light {
  border-color: rgba(255, 255, 255, 0.15);
  color: #bec8c3;
}

.section-heading {
  align-items: end;
  margin-bottom: 64px;
}

.eyebrow-light {
  color: var(--gold-light);
}

.heading-copy {
  max-width: 520px;
  margin: 0;
  color: #b8c2bd;
  font-size: 16px;
  line-height: 1.75;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(220, 201, 165, 0.38);
  border-left: 1px solid rgba(220, 201, 165, 0.38);
}

.service-card,
.service-contact {
  position: relative;
  min-height: 244px;
  padding: 27px;
  overflow: hidden;
  border-right: 1px solid rgba(220, 201, 165, 0.38);
  border-bottom: 1px solid rgba(220, 201, 165, 0.38);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 100% 0 0;
  background: #eee4d2;
  transition: inset 0.45s var(--ease);
}

.service-card:hover {
  color: var(--ink);
}

.service-card:hover::before {
  inset: 0;
}

.service-card > * {
  position: relative;
}

.service-card > span {
  color: var(--gold-light);
  font-size: 9px;
}

.service-card h3 {
  max-width: 290px;
  margin: 66px 0 12px;
  font: 500 19px/1.3 "Manrope", sans-serif;
}

.service-card p {
  max-width: 310px;
  margin: 0;
  color: #acb8b2;
  font-size: 12px;
  line-height: 1.65;
  transition: color 0.3s;
}

.service-card:hover p {
  color: #68706c;
}

.service-card > i {
  position: absolute;
  top: 25px;
  right: 25px;
  font-style: normal;
  transition: transform 0.35s var(--ease);
}

.service-card:hover > i {
  transform: rotate(45deg);
}

.service-contact {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--forest);
  background: var(--gold-light);
  transition: background 0.35s, color 0.35s;
}

.service-contact:hover {
  color: #fff;
  background: var(--forest-light);
}

.service-contact small {
  margin-bottom: 9px;
  opacity: 0.66;
}

.service-contact strong {
  font: 500 20px "Manrope", sans-serif;
}

.service-contact i {
  position: absolute;
  top: 25px;
  right: 25px;
  font-style: normal;
  transition: transform 0.35s var(--ease);
}

.service-contact:hover i {
  transform: translate(3px, -3px);
}

.cia-section {
  width: 100%;
  max-width: none;
  padding-right: max(32px, calc((100% - var(--max)) / 2));
  padding-left: max(32px, calc((100% - var(--max)) / 2));
  background:
    radial-gradient(circle at 88% 25%, rgba(181, 138, 71, 0.13), transparent 23%),
    #f3eee4;
}

.cia-layout {
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
}

.cia-copy .copy {
  max-width: 600px;
  margin-top: 34px;
}

.cia-panel {
  position: relative;
  padding: 80px 36px 20px;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: rgba(252, 248, 239, 0.86);
  box-shadow: 0 28px 75px rgba(42, 52, 46, 0.1);
  transform: rotate(1deg);
  transition: transform 0.6s var(--ease);
}

.cia-panel:hover {
  transform: rotate(0);
}

.panel-mark {
  position: absolute;
  top: -24px;
  right: 20px;
  color: rgba(181, 138, 71, 0.1);
  font: 600 125px "Manrope", sans-serif;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.cia-panel article {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.cia-panel article > i {
  font-style: normal;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.cia-panel article:hover > i {
  opacity: 1;
  transform: none;
}

.contact {
  width: 100%;
  max-width: none;
  padding-right: max(32px, calc((100% - var(--max)) / 2));
  padding-left: max(32px, calc((100% - var(--max)) / 2));
  background: #e3ece6;
}

.contact-card {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(55px, 9vw, 130px);
  padding: clamp(38px, 5vw, 68px);
  overflow: hidden;
  border: 1px solid var(--gold);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.44), transparent 30%),
    #eee4d4;
}

.contact-card::before {
  content: "C&T";
  position: absolute;
  top: -75px;
  right: -12px;
  color: rgba(181, 138, 71, 0.09);
  font: 500 clamp(150px, 20vw, 290px) Georgia, serif;
  letter-spacing: -0.1em;
  pointer-events: none;
}

.contact-intro,
.details {
  position: relative;
}

.contact-intro h2 {
  margin-bottom: 24px;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 530px;
  margin: 0 0 38px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 45px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
}

.mail b {
  transition: transform 0.3s var(--ease);
}

.mail:hover b {
  transform: translate(3px, -3px);
}

.details {
  display: grid;
  gap: 0;
}

.details article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid rgba(23, 33, 29, 0.17);
}

.details article > span {
  color: #77766d;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.details p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.contact-button {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding: 17px 20px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
  font-size: 13px;
  transition: color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.contact-button:hover {
  color: var(--forest);
  background: transparent;
  transform: translateY(-2px);
}

footer {
  width: min(var(--max), calc(100% - 64px));
  min-height: 155px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 10px;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
}

.footer-brand .brand-c,
.footer-brand .brand-t {
  font-size: 16px;
}

.footer-brand .brand-c {
  top: 8px;
  left: 8px;
}

.footer-brand .brand-t {
  right: 8px;
  bottom: 7px;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.to-top span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.to-top:hover span {
  color: #fff;
  background: var(--forest);
  transform: translateY(-3px);
}

.entrance {
  opacity: 0;
  transform: translateY(26px);
  animation: entrance 0.9s forwards var(--ease);
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.28s; }
.delay-3 { animation-delay: 0.46s; }
.delay-4 { animation-delay: 0.66s; }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.78s var(--ease), transform 0.78s var(--ease);
}

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

@keyframes entrance {
  to { opacity: 1; transform: none; }
}

@keyframes float-one {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-13px) rotate(1.5deg); }
}

@keyframes float-two {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(14px) rotate(-2deg); }
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes cue {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@media (max-width: 1050px) {
  .site-header {
    width: calc(100% - 40px);
  }

  .menu {
    position: relative;
    z-index: 52;
    display: grid;
    place-items: center;
  }

  nav {
    position: fixed;
    z-index: 51;
    top: -14px;
    right: -20px;
    left: -20px;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 110px max(40px, 8vw) 55px;
    color: var(--ink);
    background:
      radial-gradient(circle at 90% 0, rgba(181, 138, 71, 0.25), transparent 28%),
      rgba(248, 245, 237, 0.98);
    backdrop-filter: blur(18px);
    transform: translateY(-105%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0.5s;
  }

  .site-header.scrolled nav {
    top: -12px;
    right: -17px;
    left: -17px;
  }

  nav.open {
    transform: none;
    visibility: visible;
  }

  nav > a:not(.nav-cta) {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font: 500 clamp(27px, 6vw, 46px) "Manrope", sans-serif;
    letter-spacing: -0.04em;
  }

  nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 26px;
    padding: 15px 22px;
    font-size: 14px;
  }

  .hero {
    height: auto;
    min-height: 100svh;
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    min-height: 480px;
    margin-top: 20px;
  }

  .orbit {
    width: 430px;
    height: 430px;
  }

  .trust-strip > div {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }

  .trust-strip p {
    padding: 12px 22px;
  }

  .trust-strip p:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .about-layout,
  .section-heading,
  .cia-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-copy,
  .heading-copy {
    max-width: 720px;
  }

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

  .cia-panel {
    max-width: 760px;
  }

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

  .details {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 30px);
  }

  .site-header.scrolled {
    top: 8px;
    width: calc(100% - 20px);
    height: 62px;
    padding: 0 12px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-c,
  .brand-t {
    font-size: 16px;
  }

  .brand-c {
    top: 8px;
    left: 8px;
  }

  .brand-t {
    right: 8px;
    bottom: 7px;
  }

  .brand-name strong {
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 125px 20px 78px;
  }

  .hero-grid {
    background-size: 58px 58px;
  }

  h1 {
    font-size: clamp(47px, 14vw, 64px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(40px, 12vw, 53px);
  }

  .lead,
  .copy {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
    margin-top: 52px;
  }

  .float-card {
    width: 260px;
    height: 174px;
    padding: 20px;
    border-radius: 21px;
  }

  .float-card > strong {
    font-size: 16px;
  }

  .float-card > i {
    right: 20px;
    bottom: 19px;
  }

  .card-top b {
    font-size: 22px;
  }

  .cia-card {
    right: -6px;
  }

  .tower-card {
    left: -6px;
  }

  .orbit {
    width: 330px;
    height: 330px;
  }

  .orbit::after {
    inset: 75px;
  }

  .visual-center {
    width: 72px;
    height: 72px;
  }

  .scroll-cue {
    display: none;
  }

  .trust-strip > div {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
  }

  .trust-strip p,
  .trust-strip p:nth-child(3),
  .trust-strip p:last-child {
    padding: 12px 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .trust-strip p:last-child {
    border-bottom: 0;
  }

  .section {
    width: calc(100% - 40px);
    padding: 90px 0;
  }

  .section-label {
    gap: 18px;
    line-height: 1.5;
  }

  .about-layout,
  .section-heading,
  .cia-layout {
    margin-top: 54px;
  }

  .dark,
  .cia-section,
  .contact {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

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

  .service-card,
  .service-contact {
    min-height: 210px;
  }

  .service-card h3 {
    margin-top: 48px;
  }

  .cia-panel {
    padding: 62px 21px 12px;
    transform: none;
  }

  .panel-mark {
    font-size: 95px;
  }

  .cia-panel article {
    grid-template-columns: 33px 1fr;
  }

  .cia-panel article > i {
    display: none;
  }

  .contact-card {
    min-height: auto;
    padding: 39px 24px;
  }

  .contact-card::before {
    top: -25px;
  }

  .mail {
    max-width: 100%;
    gap: 20px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .details article {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  footer {
    width: calc(100% - 40px);
    padding: 40px 0;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 370px) {
  .brand-name small {
    display: none;
  }

  .hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: 43px;
  }

  .float-card {
    width: 235px;
  }

  .orbit {
    width: 290px;
    height: 290px;
  }
}

@media (hover: none) {
  .service-card::before {
    display: none;
  }

  .service-card:hover {
    color: inherit;
  }

  .service-card:hover p {
    color: #acb8b2;
  }
}

@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;
  }

  .entrance,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
