:root {
  --brand: #124a77;
  --brand-deep: #0b3151;
  --brand-soft: #dbeaf5;
  --ink: #12263b;
  --muted: #5a6877;
  --sand: #d7c2aa;
  --sand-soft: #ece1d3;
  --ivory: #f5f1eb;
  --white: #ffffff;
  --line: rgba(18, 38, 59, 0.1);
  --shadow: 0 28px 80px rgba(11, 49, 81, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(18, 74, 119, 0.15), transparent 24%),
    radial-gradient(circle at bottom right, rgba(215, 194, 170, 0.35), transparent 26%),
    linear-gradient(180deg, #f8f5ef 0%, #efe7dd 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(18, 74, 119, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 74, 119, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 86%);
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(18, 38, 59, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: min(28rem, 100%);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.site-nav a,
.button,
.header-cta,
.practice-card,
.value-card,
.team-card,
.insight-card,
.map-link,
.studio-note {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
}

.site-nav a {
  position: relative;
  font-family: "Urbanist", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button,
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.88rem 1.3rem;
  border-radius: 999px;
  font-family: "Urbanist", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.header-cta,
.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 16px 32px rgba(18, 74, 119, 0.22);
}

.button-secondary,
.map-link {
  color: var(--brand-deep);
  border: 1px solid rgba(18, 74, 119, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.header-cta:hover,
.button:hover,
.practice-card:hover,
.value-card:hover,
.team-card:hover,
.insight-card:hover,
.map-link:hover,
.studio-note:hover {
  transform: translateY(-3px);
}

.site-main {
  display: grid;
  gap: 1rem;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: rise 0.75s ease both;
}

.panel::before {
  content: "";
  position: absolute;
  inset: auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(8px);
  opacity: 0.5;
}

.hero::before {
  top: -7rem;
  right: -6rem;
  background: rgba(18, 74, 119, 0.14);
}

.hero,
.studio-grid,
.contact,
.identity-grid,
.team-grid {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 1.2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(232, 223, 212, 0.82) 100%);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 6.4vw, 4.7rem);
  line-height: 0.94;
}

h2 {
  max-width: 16ch;
  font-size: clamp(1.95rem, 3.8vw, 2.95rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.08;
}

.lead,
.section-intro,
.value-card p,
.practice-card p,
.studio-note p,
.team-copy p,
.insight-card p,
.hero-strip li,
.media-badge p,
.studio-points li,
.contact-card p,
.footer-copy p,
.footer-copy a {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.lead {
  max-width: 38rem;
  margin-top: 1.2rem;
  font-size: 0.98rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-strip,
.studio-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-strip li,
.studio-points li {
  padding: 0.76rem 1rem;
  border: 1px solid rgba(18, 74, 119, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  min-height: 38rem;
}

.hero-image,
.studio-photo,
.team-photo {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(18, 38, 59, 0.12);
}

.hero-image img,
.studio-photo img,
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-primary {
  height: 100%;
  min-height: 32rem;
}

.hero-image-primary img {
  object-position: center;
}

.hero-image-secondary {
  position: absolute;
  right: -1.2rem;
  bottom: 1.5rem;
  width: min(44%, 18rem);
  aspect-ratio: 0.96;
  border: 8px solid rgba(255, 255, 255, 0.72);
}

.hero-image-secondary img {
  object-position: center;
}

.media-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  width: min(60%, 21rem);
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(18, 74, 119, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
}

.media-badge img {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
}

.detail-label,
.insight-date,
.role {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.section-intro {
  max-width: 24rem;
}

.identity {
  background:
    radial-gradient(circle at top right, rgba(18, 74, 119, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(244, 248, 251, 0.86) 0%, rgba(239, 231, 221, 0.82) 100%);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.value-card,
.practice-card,
.insight-card,
.team-card,
.studio-note,
.contact-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.56);
}

.value-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  background: rgba(18, 74, 119, 0.1);
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
}

.practice {
  background:
    radial-gradient(circle at top left, rgba(215, 194, 170, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(235, 226, 216, 0.84) 100%);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.practice-card strong {
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--brand-deep);
}

.practice-card:nth-child(2n) {
  background: rgba(248, 243, 237, 0.8);
}

.studio {
  background:
    linear-gradient(135deg, rgba(11, 49, 81, 0.96) 0%, rgba(18, 74, 119, 0.92) 100%);
  color: var(--white);
}

.studio .eyebrow,
.studio .detail-label {
  color: rgba(255, 255, 255, 0.78);
}

.studio .lead,
.studio-note p,
.studio-points li {
  color: rgba(255, 255, 255, 0.78);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 1.2rem;
}

.studio-copy h2 {
  max-width: 11ch;
}

.studio-points li {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.studio-stack {
  display: grid;
  gap: 1rem;
}

.studio-photo-large {
  min-height: 28rem;
}

.studio-note {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.team {
  background:
    radial-gradient(circle at top right, rgba(18, 74, 119, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(237, 229, 220, 0.86) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  align-items: start;
}

.team-card {
  padding: 0;
  overflow: hidden;
}

.team-card-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(232, 240, 247, 0.72) 100%);
}

.team-photo {
  border-radius: 0;
  box-shadow: none;
  height: 24rem;
}

.team-card-featured .team-photo {
  height: 30rem;
}

.team-photo img {
  object-position: center top;
}

.team-copy {
  display: grid;
  gap: 0.55rem;
  padding: 1.3rem;
}

.team-copy h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}

.insights {
  background:
    radial-gradient(circle at bottom left, rgba(215, 194, 170, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(231, 240, 247, 0.82) 100%);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.insight-card {
  min-height: 17rem;
  text-decoration: none;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1rem;
  background:
    linear-gradient(135deg, rgba(232, 240, 247, 0.88) 0%, rgba(238, 230, 220, 0.9) 100%);
}

.contact-card {
  align-content: space-between;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem 0.35rem 0;
}

.footer-logo {
  width: min(22rem, 100%);
  height: auto;
}

.footer-copy {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
}

.footer-copy a {
  text-decoration: none;
}

.panel:nth-of-type(2) {
  animation-delay: 0.08s;
}

.panel:nth-of-type(3) {
  animation-delay: 0.16s;
}

.panel:nth-of-type(4) {
  animation-delay: 0.24s;
}

.panel:nth-of-type(5) {
  animation-delay: 0.32s;
}

.panel:nth-of-type(6) {
  animation-delay: 0.4s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1140px) {
  .site-header {
    position: static;
    display: grid;
    justify-content: stretch;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .header-cta {
    justify-self: flex-start;
  }

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

  .identity-grid,
  .team-grid,
  .insight-grid,
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-media {
    min-height: 34rem;
  }
}

@media (max-width: 760px) {
  body::before,
  .panel::before {
    display: none;
  }

  .page-shell {
    width: min(100% - 0.75rem, 1240px);
    padding-top: 0.4rem;
    padding-bottom: 1rem;
  }

  .site-main {
    gap: 0.75rem;
  }

  .site-header {
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: none;
    box-shadow: 0 10px 24px rgba(18, 38, 59, 0.06);
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
  }

  .brand {
    justify-content: center;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(18, 74, 119, 0.1);
    border-radius: 14px;
    background: rgba(18, 74, 119, 0.04);
  }

  .site-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .site-header,
  .panel {
    border-radius: 22px;
  }

  .panel {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: none;
    box-shadow: 0 14px 32px rgba(18, 38, 59, 0.08);
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  h2 {
    max-width: 12ch;
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .brand img {
    width: min(14.5rem, 100%);
    margin: 0 auto;
  }

  .identity-grid,
  .practice-grid,
  .team-grid,
  .insight-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .section-heading {
    gap: 0.5rem;
  }

  .section-intro,
  .lead {
    max-width: none;
  }

  .lead {
    margin-top: 0.9rem;
  }

  .hero {
    gap: 1rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .hero-strip,
  .studio-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .hero-strip li,
  .studio-points li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    text-align: center;
  }

  .value-card,
  .practice-card,
  .insight-card,
  .team-card,
  .studio-note,
  .contact-card {
    gap: 0.65rem;
    padding: 1rem;
    border-radius: 18px;
  }

  .practice-card:nth-child(2n) {
    background: rgba(255, 255, 255, 0.56);
  }

  .hero-media {
    min-height: auto;
    display: grid;
    gap: 0.75rem;
  }

  .hero-image-primary {
    min-height: 14rem;
    aspect-ratio: 4 / 3;
  }

  .hero-image-secondary {
    display: none;
  }

  .media-badge {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    grid-template-columns: 2.8rem 1fr;
    gap: 0.7rem;
    padding: 0.85rem;
    border-radius: 18px;
  }

  .media-badge img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .studio-grid {
    gap: 0.75rem;
  }

  .studio-copy {
    order: 2;
  }

  .studio-stack {
    order: 1;
    gap: 0.75rem;
  }

  .studio-photo-large {
    min-height: 15rem;
  }

  .team-card-featured .team-photo,
  .team-photo {
    height: auto;
    min-height: 16rem;
    aspect-ratio: 4 / 4.6;
  }

  .insight-card {
    min-height: auto;
  }

  .contact {
    gap: 0.75rem;
  }

  .footer-logo {
    width: min(15rem, 100%);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 0.4rem;
  }

  .footer-copy {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .site-nav {
    grid-template-columns: 1fr 1fr;
  }

  .hero-strip,
  .studio-points {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: min(13rem, 100%);
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .hero-image-primary {
    min-height: 13rem;
  }
}
