:root {
  --cream: #f4efe5;
  --cream-dark: #e9e1d2;
  --navy: #173e5c;
  --navy-dark: #0c2638;
  --navy-mid: #18394b;
  --orange: #f2a12d;
  --orange-light: #f4c16f;
  --charcoal: #292d30;
  --white: #ffffff;
  --grey: #6e777b;
}


/* ======================================================
   RESET
====================================================== */

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

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;

  font-family: Arial, Helvetica, sans-serif;

  background: var(--cream);
  color: var(--charcoal);

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}


/* ======================================================
   HEADER
====================================================== */

.site-header {
  position: relative;
  z-index: 100;

  width: 100%;
  height: 106px;

  padding: 0 3.5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: var(--cream);

  border-bottom:
    1px solid rgba(23,62,92,.10);
}

.brand {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: 18px;
}

.brand img {
  width: 128px;
  height: 76px;

  object-fit: contain;

  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size:
    clamp(18px, 1.55vw, 28px);

  font-weight: 900;

  line-height: 1.05;

  letter-spacing: .5px;
}

.brand-text span {
  margin-top: 7px;

  color: var(--navy);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 4px;

  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;

  gap: 42px;

  font-size: 13px;
  font-weight: 900;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a:not(.contact-button)::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 0;
  height: 2px;

  background: var(--orange);

  transition: width .3s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.contact-button {
  padding: 21px 28px;

  color: white;

  background: var(--navy);
}

.mobile-toggle,
.mobile-menu {
  display: none;
}


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

.hero {
  position: relative;

  isolation: isolate;

  width: 100%;
  max-width: 100%;

  min-height:
    calc(100vh - 106px);

  padding:
    38px 6vw
    48px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(440px, .92fr);

  align-items: center;

  gap: 55px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 76% 43%,
      rgba(242,161,45,.11),
      transparent 29%
    ),
    linear-gradient(
      125deg,
      #102e40,
      #17394a 55%,
      #203f49
    );
}


/* interactive canvas */

#heroCanvas {
  position: absolute;

  inset: 0;

  z-index: -4;

  width: 100%;
  height: 100%;

  pointer-events: none;
}


/* subtle grid */

.hero-grid {
  position: absolute;

  inset: 0;

  z-index: -3;

  opacity: .18;

  background-image:
    linear-gradient(
      rgba(255,255,255,.10) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.10) 1px,
      transparent 1px
    );

  background-size:
    78px 78px;

  mask-image:
    linear-gradient(
      to right,
      black,
      rgba(0,0,0,.4)
    );
}


/* pointer glow */

.pointer-glow {
  position: absolute;

  z-index: -2;

  width: 550px;
  height: 550px;

  border-radius: 50%;

  pointer-events: none;

  opacity: .8;

  transform:
    translate(-50%, -50%);

  background:
    radial-gradient(
      circle,
      rgba(242,161,45,.13),
      rgba(242,161,45,.03) 42%,
      transparent 70%
    );
}


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

.hero-copy {
  position: relative;

  z-index: 5;

  width: 100%;
  max-width: 680px;

  transform:
    translateY(-18px);
}

.eyebrow,
.section-label {
  color: var(--orange);

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 5px;

  line-height: 1.5;
}

.hero h1 {
  margin:
    25px 0
    28px;

  line-height: .78;

  letter-spacing: -6px;
}

.hero h1 span {
  display: block;
}

.property,
.legal {
  font-size:
    clamp(74px, 7.8vw, 134px);

  font-weight: 950;
}

.property {
  color: white;
}


/*
   SAME LEGAL TREATMENT
   DESKTOP + MOBILE
*/

.legal {
  color: transparent;

  -webkit-text-stroke:
    3px var(--orange-light);

  paint-order:
    stroke fill;

  text-shadow:
    1px 0 0 rgba(242,161,45,.30);
}

.hero-description {
  max-width: 670px;

  color:
    rgba(255,255,255,.82);

  font-size:
    clamp(17px, 1.25vw, 22px);

  line-height: 1.65;
}

.hero-actions {
  margin-top: 36px;

  display: flex;

  gap: 15px;
}

.button {
  min-width: 220px;

  padding:
    20px 28px;

  text-align: center;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 2px;

  text-transform: uppercase;

  transition:
    transform .25s ease,
    background .25s ease;
}

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

.button.primary {
  color: var(--navy-dark);

  background: var(--orange);
}

.button.secondary {
  color: white;

  border:
    1px solid rgba(255,255,255,.38);

  background:
    rgba(255,255,255,.04);
}


/* ======================================================
   ORBIT
====================================================== */

.orbit-zone {
  position: relative;

  z-index: 4;

  justify-self: center;

  width:
    min(570px, 39vw);

  aspect-ratio: 1;

  transform:
    translateY(-34px);
}

.orbit-glow {
  position: absolute;

  inset: 15%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(242,161,45,.17),
      rgba(242,161,45,.04) 48%,
      transparent 70%
    );

  filter:
    blur(10px);
}

.orbit-svg {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  overflow: visible;
}

.orbit-line {
  fill: none;

  stroke:
    rgba(244,239,229,.30);

  stroke-width: 1.5;

  stroke-dasharray:
    4 9;
}

.orbit-line-2 {
  stroke:
    rgba(242,161,45,.34);
}

.orbit-line-3 {
  stroke:
    rgba(244,239,229,.20);
}

.orbit-text {
  transform-origin:
    350px 350px;
}

.orbit-text text {
  fill:
    var(--orange-light);

  font-size: 16px;
  font-weight: 900;

  letter-spacing: 3.4px;
}

.orbit-text-two text {
  fill: white;
}

.orbit-text-three text {
  fill:
    var(--orange);
}

.orbit-text-one {
  animation:
    orbitClockwise
    27s
    linear infinite;
}

.orbit-text-two {
  animation:
    orbitCounter
    39s
    linear infinite;
}

.orbit-text-three {
  animation:
    orbitClockwise
    54s
    linear infinite;
}

@keyframes orbitClockwise {
  to {
    transform:
      rotate(360deg);
  }
}

@keyframes orbitCounter {
  to {
    transform:
      rotate(-360deg);
  }
}


/* CENTER LOGO */

.logo-core {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 205px;
  height: 205px;

  transform:
    translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 40% 30%,
      #fff,
      #eee8dc
    );

  box-shadow:
    0 0 0 9px rgba(242,161,45,.16),
    0 25px 70px rgba(0,0,0,.35);
}

.logo-core-ring {
  position: absolute;

  inset: -18px;

  border-radius: 50%;

  border:
    1px solid rgba(242,161,45,.65);

  animation:
    pulseRing
    3s ease-in-out infinite;
}

.logo-core img {
  position: relative;

  z-index: 2;

  width: 82%;
}

@keyframes pulseRing {
  0%,
  100% {
    transform: scale(1);

    opacity: .45;
  }

  50% {
    transform: scale(1.07);

    opacity: .9;
  }
}


/* ======================================================
   SCROLL MARKER
====================================================== */

.scroll-marker {
  position: absolute;

  left: 6vw;
  bottom: 24px;

  display: flex;
  align-items: center;

  gap: 15px;

  color:
    rgba(255,255,255,.55);

  font-size: 9px;

  letter-spacing: 4px;
}

.scroll-marker div {
  width: 80px;
  height: 1px;

  background:
    rgba(255,255,255,.4);
}


/* ======================================================
   COMMON SECTIONS
====================================================== */

.section {
  width: 100%;

  padding:
    120px 7vw;
}

.section-intro {
  margin-bottom: 70px;

  display: grid;

  grid-template-columns:
    90px 1fr;

  gap: 35px;
}

.section-number {
  color: var(--navy);

  font-size: 22px;
}

.section h2 {
  max-width: 1000px;

  margin-top: 22px;

  font-size:
    clamp(42px, 5vw, 78px);

  line-height: 1;
}


/* ======================================================
   SERVICES
====================================================== */

.services {
  background:
    var(--cream);
}

.service-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-top:
    1px solid rgba(23,62,92,.18);

  border-bottom:
    1px solid rgba(23,62,92,.18);
}

.service-card {
  min-height: 420px;

  padding:
    45px 34px;

  border-right:
    1px solid rgba(23,62,92,.18);

  transition:
    background .35s ease,
    transform .35s ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover {
  color: white;

  background:
    var(--navy);

  transform:
    translateY(-8px);
}

.service-card > span {
  color:
    var(--orange);

  font-size: 14px;
}

.service-card h3 {
  margin:
    95px 0
    25px;

  font-size: 31px;
}

.service-card p {
  color:
    var(--grey);

  font-size: 17px;

  line-height: 1.8;
}

.service-card:hover p {
  color:
    rgba(255,255,255,.72);
}


/* ======================================================
   ABOUT
====================================================== */

.about {
  min-height: 720px;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  align-items: center;

  gap: 80px;

  color: white;

  background:
    var(--navy-dark);
}

.about-copy h2 {
  margin:
    25px 0
    35px;
}

.about-copy > p:not(.section-label) {
  max-width: 720px;

  margin-bottom: 20px;

  color:
    rgba(255,255,255,.68);

  font-size: 18px;

  line-height: 1.9;
}

.about-visual {
  position: relative;

  height: 550px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual img {
  position: relative;

  z-index: 2;

  width: 310px;
}

.about-circle {
  position: absolute;

  border-radius: 50%;

  border:
    1px solid rgba(242,161,45,.28);
}

.circle-one {
  width: 320px;
  height: 320px;
}

.circle-two {
  width: 440px;
  height: 440px;
}

.circle-three {
  width: 540px;
  height: 540px;
}


/* ======================================================
   APPROACH
====================================================== */

.approach {
  background:
    #eee7da;
}

.process {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  border-top:
    1px solid rgba(23,62,92,.2);
}

.process article {
  min-height: 300px;

  padding: 45px;

  border-right:
    1px solid rgba(23,62,92,.2);
}

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

.process span {
  color:
    var(--orange);
}

.process h3 {
  margin:
    65px 0
    15px;

  font-size: 34px;
}

.process p {
  color:
    var(--grey);

  font-size: 17px;

  line-height: 1.7;
}


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

.contact {
  display: grid;

  grid-template-columns:
    1.15fr .85fr;

  align-items: center;

  gap: 80px;

  background:
    var(--cream);
}

.contact-copy h2 {
  max-width: 800px;

  margin:
    25px 0;
}

.contact-copy > p:last-child {
  max-width: 720px;

  font-size: 20px;

  line-height: 1.7;
}

.contact-card {
  position: relative;

  padding: 65px;

  color: white;

  background:
    var(--navy);

  box-shadow:
    14px 14px 0
    var(--orange);
}

.contact-card > span {
  color:
    var(--orange-light);

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 4px;
}

.contact-card h3 {
  margin:
    30px 0;

  font-size:
    clamp(35px, 3vw, 54px);

  line-height: 1;
}

.contact-card p {
  color:
    rgba(255,255,255,.7);

  line-height: 1.7;
}

.contact-card a {
  display: inline-block;

  margin-top: 40px;

  padding-bottom: 8px;

  color:
    var(--orange-light);

  border-bottom:
    1px solid var(--orange);

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 2px;

  text-transform: uppercase;
}


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

footer {
  min-height: 120px;

  padding:
    30px 6vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: white;

  background:
    #171f27;
}

.footer-brand {
  display: flex;
  align-items: center;

  gap: 15px;
}

.footer-brand img {
  width: 70px;
}

footer p {
  color:
    rgba(255,255,255,.5);

  font-size: 12px;
}


/* ======================================================
   SHORT DESKTOP / LAPTOP
====================================================== */

@media (min-width: 1001px) and (max-height: 850px) {

  .hero {
    padding-top: 20px;
    padding-bottom: 34px;
  }

  .hero-copy {
    transform:
      translateY(-26px);
  }

  .orbit-zone {
    width:
      min(535px, 37vw);

    transform:
      translateY(-42px);
  }

  .logo-core {
    width: 188px;
    height: 188px;
  }

  .property,
  .legal {
    font-size:
      clamp(68px, 7vw, 115px);
  }

  .hero-description {
    font-size:
      clamp(16px, 1.1vw, 19px);
  }

  .hero-actions {
    margin-top: 27px;
  }
}


/* ======================================================
   TABLET / MOBILE
====================================================== */

@media (max-width: 1000px) {

  .site-header {
    height: 82px;

    padding:
      0 20px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 80px;
    height: 55px;
  }

  .brand-text strong {
    font-size: 15px;

    line-height: 1.1;
  }

  .brand-text span {
    font-size: 7px;

    letter-spacing: 2px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    background:
      var(--navy);
  }

  .mobile-toggle span {
    width: 19px;
    height: 2px;

    background: white;
  }

  .mobile-menu {
    position: fixed;

    z-index: 99;

    top: 82px;
    left: 0;
    right: 0;

    padding: 25px;

    flex-direction: column;

    gap: 25px;

    color:
      var(--navy-dark);

    background:
      var(--cream);

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
  }

  .mobile-menu.open {
    display: flex;
  }


  /* MOBILE HERO */

  .hero {
    width: 100%;
    max-width: 100%;

    min-height: auto;

    padding:
      72px 24px
      48px;

    display: grid;

    grid-template-columns:
      minmax(0, 1fr);

    gap: 0;

    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;

    transform: none;
  }

  .hero h1 {
    max-width: 100%;

    letter-spacing: -3px;
  }

  .property,
  .legal {
    width: 100%;
    max-width: 100%;

    font-size:
      clamp(58px, 16vw, 100px);

    white-space: nowrap;
  }

  .legal {
    -webkit-text-stroke:
      3px var(--orange-light);
  }

  .hero-description {
    max-width: 100%;

    font-size: 17px;
  }

  .hero-actions {
    width: 100%;

    display: flex;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .orbit-zone {
    width:
      min(620px, 90vw);

    max-width: 100%;

    margin:
      45px auto
      0;

    transform: none;
  }

  .logo-core {
    width: 34%;
    height: 34%;
  }

  .scroll-marker {
    display: none;
  }


  /* MOBILE SECTIONS */

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

  .service-card {
    border-bottom:
      1px solid rgba(23,62,92,.18);
  }

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

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

  .process article {
    border-right: 0;

    border-bottom:
      1px solid rgba(23,62,92,.2);
  }
}


/* ======================================================
   PHONE
====================================================== */

@media (max-width: 620px) {

  .site-header {
    width: 100%;

    padding:
      0 16px;
  }

  .brand {
    max-width:
      calc(100% - 55px);
  }

  .brand img {
    width: 64px;
    height: 50px;

    flex: 0 0 64px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    max-width: 230px;

    font-size: 12px;

    line-height: 1.12;
  }

  .brand-text span {
    display: none;
  }


  /* HERO FLUSH TO BOTH SIDES */

  .hero {
    width: 100%;
    max-width: 100%;

    margin: 0;

    padding:
      54px 20px
      46px;
  }

  .eyebrow {
    letter-spacing: 3px;

    line-height: 1.7;
  }

  .property,
  .legal {
    font-size:
      clamp(53px, 15.8vw, 74px);
  }

  .legal {
    -webkit-text-stroke:
      2.5px var(--orange-light);

    text-shadow:
      1px 0 0
      rgba(242,161,45,.25);
  }

  .hero-description {
    font-size: 16px;

    line-height: 1.85;
  }

  .orbit-zone {
    width: 100%;

    max-width: 100%;

    margin:
      45px auto
      0;

    transform: none;
  }

  .orbit-text text {
    font-size: 18px;
  }


  /* SECTIONS */

  .section {
    width: 100%;

    padding:
      80px 24px;
  }

  .section-intro {
    grid-template-columns:
      1fr;
  }

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

  .service-card {
    min-height: 320px;

    border-right: 0;
  }

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

  .about {
    gap: 25px;
  }

  .about-visual {
    height: 400px;
  }

  .about-visual img {
    width: 220px;
  }

  .circle-one {
    width: 230px;
    height: 230px;
  }

  .circle-two {
    width: 310px;
    height: 310px;
  }

  .circle-three {
    width: 380px;
    height: 380px;
  }

  .contact-card {
    padding:
      40px 28px;
  }

  footer {
    padding:
      28px 24px;

    flex-direction: column;
    align-items: flex-start;

    gap: 20px;
  }
}


/* ======================================================
   REDUCED MOTION
====================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration:
      .01ms !important;

    animation-iteration-count:
      1 !important;

    scroll-behavior:
      auto !important;
  }
}
