:root {
  --bg: #f4f1eb;
  --paper: #fbfaf7;
  --paper-strong: #f7f2e8;
  --ink: #102235;
  --muted: #5f6468;
  --line: #d8c8b2;
  --line-strong: #c7ad8b;
  --copper: #b8925d;
  --copper-dark: #9d7847;
  --sage: #213847;
  --sage-dark: #102235;
  --sand: #e6ded1;
  --navy: #102235;
  --navy-soft: #213847;
  --gold: #b8925d;
  --charcoal: #2c2d2c;
  --shadow: 0 24px 60px rgba(16, 34, 53, 0.13);
  --shadow-soft: 0 16px 36px rgba(16, 34, 53, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --menu-serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#servizi,
#startup,
#fiscalita-ma,
#area-fiscale,
#circolari,
#team,
#contatti {
  scroll-margin-top: 108px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 11% 28%, rgba(184, 146, 93, 0.08), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(16, 34, 53, 0.055), transparent 32%),
    linear-gradient(180deg, #fbfaf7 0%, var(--bg) 54%, #fbfaf7 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: none;
}

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

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

.site-header,
main,
.site-footer {
  width: min(1400px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  box-sizing: border-box;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1800px, calc(100% - 72px));
  min-height: 96px;
  margin-top: 0;
  padding: 0 clamp(54px, 4.2vw, 82px);
  border: 0;
  border-bottom: 1px solid rgba(184, 146, 93, 0.32);
  border-radius: 0;
  background: rgba(16, 34, 53, 0.96);
  box-shadow: 0 18px 44px rgba(16, 34, 53, 0.1);
  backdrop-filter: blur(14px);
  transition:
    transform 260ms ease,
    opacity 260ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

body.header-scrolled .site-header {
  border-bottom-color: rgba(184, 146, 93, 0.42);
  background: rgba(12, 26, 40, 0.98);
  box-shadow: 0 14px 34px rgba(16, 34, 53, 0.18);
}

body.header-hidden:not(.menu-open) .site-header {
  opacity: 0;
  transform: translateY(-110%);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 280px;
  width: clamp(280px, 17vw, 340px);
  flex: 0 0 auto;
  padding-left: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-logo--wide {
  width: 100%;
  max-width: none;
}

.brand-logo--mark {
  display: none;
}

.brand-logo--light {
  display: none;
}

.brand-logo--stacked {
  width: 210px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.05vw, 44px);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--serif);
  font-size: clamp(18px, 1.05vw, 21px);
  font-weight: 500;
  line-height: 1;
}

.main-nav > a,
.nav-group-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  position: relative;
  padding: 8px 0 10px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

.main-nav > a::after,
.nav-group-trigger::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: translateX(-50%) scaleX(0.25);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav > a:hover,
.nav-group:hover .nav-group-trigger,
.nav-group:focus-within .nav-group-trigger {
  color: #e0c294;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after,
.nav-group:hover .nav-group-trigger::after,
.nav-group:focus-within .nav-group-trigger::after,
.nav-group.is-active .nav-group-trigger::after {
  opacity: 0.55;
  transform: translateX(-50%) scaleX(1);
}

.main-nav > a.is-active,
.nav-group.is-active .nav-group-trigger {
  color: #e0c294;
}

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 80;
  display: grid;
  width: 230px;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(184, 146, 93, 0.36);
  border-radius: 18px;
  background: rgba(12, 26, 40, 0.98);
  box-shadow: 0 22px 54px rgba(6, 16, 25, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-submenu::before {
  position: absolute;
  inset: -18px 0 auto;
  height: 18px;
  content: "";
}

.nav-submenu a {
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 11px 12px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav-submenu a:hover,
.nav-submenu a.is-active {
  background: rgba(184, 146, 93, 0.16);
  color: #e0c294;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mobile-nav-cta {
  display: none !important;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav-cta,
.button.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 16px 28px rgba(16, 34, 53, 0.2);
}

.site-header .nav-cta {
  min-height: 48px;
  padding: 0 24px;
  background: var(--gold);
  color: #0c1a28;
  font-size: 13.5px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.nav-cta:hover,
.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(16, 34, 53, 0.28);
}

.site-header .nav-cta:hover {
  background: #c5a16d;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
}

.button.secondary {
  border: 1px solid var(--gold);
  color: var(--navy);
  background: rgba(251, 250, 247, 0.72);
}

.button.secondary:hover {
  border-color: var(--navy);
  background: #f3eadc;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.phone-cta {
  display: none;
}

.phone-cta svg,
.phone-cta svg path {
  width: 21px;
  height: 21px;
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cta-short {
  display: none;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: minmax(280px, 1fr) auto minmax(64px, 1fr);
    justify-content: stretch;
    padding: 0 clamp(22px, 3.2vw, 48px);
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .site-header .nav-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .site-header .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    inset: 10px 14px auto;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    padding: 102px 36px 28px;
    border: 1px solid rgba(184, 146, 93, 0.42);
    border-radius: 28px;
    background: rgba(12, 26, 40, 0.94);
    box-shadow: 0 28px 80px rgba(6, 16, 25, 0.34);
    backdrop-filter: blur(22px);
  }

  .main-nav > a,
  .nav-group-trigger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 64px;
    padding: 0;
    border-bottom: 1px solid rgba(184, 146, 93, 0.28);
    border-radius: 0;
    font-family: var(--menu-serif);
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
  }

  .main-nav > a::after,
  .nav-group-trigger::after {
    display: none;
  }

  .nav-group {
    display: grid;
    width: 100%;
  }

  .nav-submenu {
    position: static;
    display: grid;
    width: 100%;
    gap: 0;
    padding: 0 0 10px 18px;
    border: 0;
    border-bottom: 1px solid rgba(184, 146, 93, 0.28);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-submenu::before {
    content: none;
  }

  .main-nav .nav-submenu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 0;
  }

  .main-nav .nav-submenu a::after {
    display: none;
  }

  .main-nav .nav-submenu a:hover,
  .main-nav .nav-submenu a.is-active {
    background: transparent;
    color: #e0c294;
  }

  .menu-open .main-nav {
    display: flex;
  }

  .menu-open .site-header {
    border-bottom-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .menu-open .site-header .brand,
  .menu-open .phone-cta,
  .menu-open .menu-toggle {
    z-index: 90;
  }

  .menu-open main,
  .menu-open .site-footer {
    filter: blur(7px);
    opacity: 0.58;
    pointer-events: none;
    transition: filter 180ms ease, opacity 180ms ease;
  }

  .menu-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(184, 146, 93, 0.58);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    transition:
      border-color 180ms ease,
      transform 180ms ease,
      background 180ms ease;
  }

  .menu-toggle:hover {
    border-color: #e0c294;
    background: rgba(255, 255, 255, 0.1);
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .mobile-nav-cta {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 14px;
    min-height: 58px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, var(--copper), var(--copper-dark)) !important;
    color: #0c1a28 !important;
    font-family: var(--sans) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-align: center;
  }
}

@media (min-width: 961px) and (max-width: 1450px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(18px, 2vw, 30px);
    padding: 0 clamp(32px, 3.5vw, 56px);
  }

  .site-header .brand {
    grid-column: 1;
    min-width: 74px;
    width: 74px;
  }

  .brand-logo--wide {
    display: none;
  }

  .brand-logo--mark {
    display: block;
    width: 70px;
    height: 70px;
  }

  .main-nav {
    position: static;
    z-index: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.65vw, 26px);
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    font-size: clamp(18px, 1.5vw, 22px);
  }

  .main-nav > a,
  .main-nav .nav-group-trigger {
    display: inline-flex;
    min-height: 0;
    padding: 8px 0 10px;
    border-bottom: 0;
    font-family: var(--serif);
    font-size: inherit;
    font-weight: 500;
  }

  .main-nav > a::after,
  .main-nav .nav-group-trigger::after {
    display: block;
  }

  .nav-group {
    position: relative;
    display: inline-flex;
    width: auto;
  }

  .nav-submenu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    width: 230px;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(184, 146, 93, 0.36);
    border-radius: 18px;
    background: rgba(12, 26, 40, 0.98);
    box-shadow: 0 22px 54px rgba(6, 16, 25, 0.26);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
  }

  .nav-submenu::before {
    position: absolute;
    inset: -18px 0 auto;
    height: 18px;
    content: "";
  }

  .main-nav .nav-submenu a {
    min-height: 0;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.84);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 11px 12px;
  }

  .main-nav .nav-submenu a:hover,
  .main-nav .nav-submenu a.is-active {
    background: rgba(184, 146, 93, 0.16);
    color: #e0c294;
  }

  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .site-header .nav-cta {
    grid-column: 3;
    min-height: 44px;
    padding: 0 22px;
    font-size: 13px;
  }

  .cta-full {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .menu-toggle,
  .phone-cta {
    display: none !important;
  }

  .mobile-nav-cta {
    display: none !important;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(560px, 1.42fr);
  align-items: center;
  gap: 58px;
  min-height: 500px;
  padding: 26px 0 38px;
}

.hero-copy {
  padding-left: 30px;
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 5.2vw, 86px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero p {
  max-width: 420px;
  margin: 34px 0 30px;
  color: #4b5358;
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-visual {
  position: relative;
  min-height: 494px;
  margin-top: -18px;
  overflow: hidden;
  border-radius: 260px 0 0 260px;
  isolation: isolate;
}

.hero-visual img {
  width: 100%;
  height: 494px;
  object-fit: cover;
  object-position: center;
}

.hero-blob {
  position: absolute;
  right: -58px;
  bottom: -84px;
  width: 268px;
  height: 220px;
  border-radius: 58% 0 0 0;
  background: #314855;
  box-shadow: inset 28px 34px 70px rgba(255, 255, 255, 0.1);
}

.services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 28px 0 30px;
  padding: 26px 0;
}

.services::before {
  position: absolute;
  inset: 0 50% 0 50%;
  z-index: -1;
  width: 100vw;
  background:
    linear-gradient(90deg, rgba(230, 222, 209, 0.46), rgba(251, 250, 247, 0.18) 52%, rgba(16, 34, 53, 0.06)),
    radial-gradient(circle at 8% 12%, rgba(184, 146, 93, 0.08), transparent 26%);
  content: "";
  transform: translateX(-50%);
}

.service-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(251, 250, 247, 0.78);
  box-shadow: 0 12px 28px rgba(16, 34, 53, 0.035);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.service-card:focus-visible,
.team-card:focus-visible,
.insight-grid .insight-card:focus-visible,
.detail-sections article:focus-visible {
  border-color: rgba(184, 146, 93, 0.62);
  outline: 0;
  box-shadow: 0 16px 34px rgba(16, 34, 53, 0.08);
  transform: translateY(-3px);
}

.icon,
.approach span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--navy-soft);
  font-size: 32px;
  font-family: var(--serif);
  box-shadow: inset 0 0 0 1px rgba(16, 34, 53, 0.08);
}

.icon svg {
  display: block;
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.service-card:first-child .icon {
  background: var(--navy-soft);
  color: #fff;
}

.service-card h2 {
  margin: 30px 0 16px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.02;
}

.service-card p {
  margin: 0;
  color: #45474b;
  font-size: 14px;
  line-height: 1.55;
}

.card-action,
.insight-grid span {
  display: none;
}

.card-action::before,
.insight-grid span::before {
  content: none;
}

.card-action::after,
.insight-grid span::after {
  content: none;
}

.service-card:hover .card-action,
.insight-grid .insight-card:hover span {
  transform: none;
}

.startup-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  overflow: hidden;
  min-height: 360px;
  margin: 26px 0 34px;
  border: 0;
  border-radius: 30px;
  background: linear-gradient(112deg, #102235 0%, #213847 58%, #b8925d 132%);
  color: #fff;
  box-shadow: var(--shadow);
}

.startup-panel > div {
  padding: 44px 46px 40px;
}

.startup-panel h2,
.conversation h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 3.4vw, 58px);
  font-weight: 500;
  line-height: 1;
}

.startup-panel p {
  max-width: 500px;
  margin: 20px 0 40px;
  font-size: 18px;
  line-height: 1.58;
}

.startup-panel ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.startup-panel li {
  position: relative;
  padding: 0 28px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.08;
}

.startup-panel li:first-child {
  padding-left: 0;
}

.startup-panel li:not(:last-child)::after {
  position: absolute;
  top: 6px;
  right: 0;
  width: 1px;
  height: calc(100% - 12px);
  background: rgba(184, 146, 93, 0.5);
  content: "";
}

.startup-panel li span {
  display: block;
  margin-bottom: 10px;
  font-size: 38px;
  line-height: 1;
}

.panel-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 32px;
  padding: 0 22px;
  border: 1px solid rgba(184, 146, 93, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 800 14px/1 var(--sans);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.panel-more::before,
.panel-more::after {
  content: none;
}

.panel-more:hover {
  background: rgba(184, 146, 93, 0.18);
  border-color: rgba(224, 194, 148, 0.9);
  transform: translateY(-1px);
}

.startup-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 240px 0 0 240px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.approach {
  position: relative;
  padding: 34px 2px 38px;
}

.approach::before {
  position: absolute;
  inset: 0 50% 0 50%;
  z-index: -1;
  width: 100vw;
  background: linear-gradient(90deg, rgba(251, 250, 247, 0), rgba(230, 222, 209, 0.38), rgba(251, 250, 247, 0));
  content: "";
  transform: translateX(-50%);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.approach article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  min-height: 124px;
  padding: 0 22px 0 0;
  border-right: 1px solid var(--line);
}

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

.approach h3,
.insight-grid h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.approach p,
.team h2,
.team-card p,
.insight-grid p,
.detail-sections p {
  margin: 0;
  color: #4c4d50;
  font-size: 14px;
  line-height: 1.55;
}

.team {
  position: relative;
  padding-top: 38px;
}

.team::before {
  position: absolute;
  inset: 0 50% auto 50%;
  z-index: -1;
  width: 100vw;
  height: 72%;
  background: linear-gradient(180deg, rgba(16, 34, 53, 0.06), rgba(251, 250, 247, 0));
  content: "";
  transform: translateX(-50%);
}

.team-heading {
  margin-bottom: 24px;
}

.team-heading > p {
  display: none;
}

.team h2 {
  max-width: 850px;
  margin: 0;
  font-weight: 400;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 14px 30px rgba(62, 46, 30, 0.04);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.team-card:hover {
  border-color: rgba(184, 146, 93, 0.62);
  box-shadow: 0 18px 34px rgba(16, 34, 53, 0.09);
  transform: translateY(-3px);
}

.team-card img {
  width: 100%;
  height: 236px;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 200ms ease;
}

.team-card:hover img {
  transform: scale(1.02);
}

.team-card div {
  padding: 22px 22px 24px;
  background: var(--paper);
}

.team-card h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.team-card .role {
  min-height: 66px;
  color: #3a3d44;
}

.team-card .role::after {
  display: block;
  width: 34px;
  height: 1px;
  margin: 18px 0 0;
  background: var(--gold);
  content: "";
}

.team-card > .card-action,
.mobile-card-label,
.mobile-card-detail {
  display: none;
}

.insights {
  padding: 44px 0 22px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.insight-grid .insight-card {
  display: grid;
  grid-template-columns: 132px 1fr 42px;
  align-items: center;
  overflow: hidden;
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.insight-grid .insight-card:hover {
  border-color: #d6bea4;
  box-shadow: 0 14px 28px rgba(62, 46, 30, 0.06);
  transform: translateY(-3px);
}

.insight-grid img {
  width: 132px;
  height: 128px;
  object-fit: cover;
}

.insight-grid div {
  padding: 18px 16px;
}

.insight-grid span {
  margin: 0 16px 0 0;
}

.detail-sections {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 26px 0 34px;
}

.detail-sections::before {
  position: absolute;
  inset: 0 50% 0 50%;
  z-index: -1;
  width: 100vw;
  background:
    linear-gradient(90deg, rgba(16, 34, 53, 0.055), rgba(251, 250, 247, 0.2) 48%, rgba(184, 146, 93, 0.055));
  content: "";
  transform: translateX(-50%);
}

.detail-sections article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(251, 250, 247, 0.76);
  box-shadow: none;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.detail-sections h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.monthly-brief {
  position: relative;
  margin: 18px 0 42px;
  padding: 38px 0 8px;
}

.monthly-brief::before {
  position: absolute;
  inset: 0 50% auto 50%;
  z-index: -1;
  width: 100vw;
  height: 72%;
  background:
    radial-gradient(circle at 14% 8%, rgba(184, 146, 93, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(16, 34, 53, 0.075), rgba(251, 250, 247, 0));
  content: "";
  transform: translateX(-50%);
}

.brief-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 34px;
}

.brief-hero h2 {
  max-width: 920px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 4.4vw, 72px);
  font-weight: 500;
  line-height: 0.96;
}

.brief-hero > div > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: #4b5358;
  font-size: 18px;
  line-height: 1.62;
}

.brief-upload-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(184, 146, 93, 0.48);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 146, 93, 0.16), transparent 42%),
    linear-gradient(180deg, #102235, #172b3d);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.upload-kicker,
.news-grid span,
.article-grid span {
  color: #d8bb88;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brief-upload-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 0.98;
}

.brief-upload-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.55;
}

.brief-upload-card a,
.article-grid a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 38px;
  margin-top: 6px;
  padding: 0 15px;
  border: 1px solid rgba(216, 187, 136, 0.62);
  border-radius: 999px;
  color: #f1dfbd;
  font-size: 12px;
  font-weight: 800;
}

.brief-section-head {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 26px;
  align-items: end;
  margin: 36px 0 18px;
}

.brief-section-head .eyebrow {
  margin-bottom: 0;
}

.brief-section-head h3 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 500;
  line-height: 1;
}

.news-grid,
.article-grid {
  display: grid;
  gap: 16px;
}

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

.news-grid article,
.article-grid article,
.deadline-board article,
.admin-preview {
  border: 1px solid rgba(199, 173, 139, 0.68);
  background: rgba(251, 250, 247, 0.78);
  box-shadow: 0 14px 32px rgba(16, 34, 53, 0.04);
}

.news-grid article {
  min-height: 235px;
  padding: 22px;
  border-radius: 16px;
}

.news-grid h4,
.article-grid h4,
.deadline-board h4 {
  margin: 14px 0 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.news-grid p,
.article-grid p,
.deadline-board p,
.admin-preview p,
.admin-flow small {
  margin: 0;
  color: #4b5358;
  font-size: 14px;
  line-height: 1.55;
}

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

.article-grid article {
  display: grid;
  align-content: start;
  min-height: 255px;
  padding: 24px;
  border-radius: 18px;
}

.article-grid a {
  align-self: end;
  margin-top: 22px;
  border-color: rgba(184, 146, 93, 0.48);
  color: var(--navy);
}

.deadlines-title {
  margin-top: 42px;
}

.deadline-board {
  display: grid;
  gap: 12px;
}

.deadline-board article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 20px 24px;
  border-radius: 18px;
}

.deadline-board time {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.deadline-board h4 {
  margin-top: 0;
}

.admin-preview {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  margin-top: 34px;
  padding: 32px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(16, 34, 53, 0.96), rgba(31, 56, 71, 0.94)),
    var(--navy);
  color: #fff;
}

.admin-preview .eyebrow,
.admin-preview h3,
.admin-preview p {
  color: inherit;
}

.admin-preview h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 1;
}

.admin-preview p {
  color: rgba(255, 255, 255, 0.75);
}

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

.admin-flow article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(216, 187, 136, 0.32);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.admin-flow span {
  color: #d8bb88;
  font: 800 11px/1 var(--sans);
  letter-spacing: 0.12em;
}

.admin-flow strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.admin-flow small {
  color: rgba(255, 255, 255, 0.68);
}

.editorial-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 32px 0 34px;
}

.editorial-entry {
  display: grid;
  min-height: 300px;
  align-content: start;
  padding: 28px;
  border: 1px solid rgba(199, 173, 139, 0.68);
  border-radius: 22px;
  background: rgba(251, 250, 247, 0.78);
  box-shadow: 0 14px 32px rgba(16, 34, 53, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.editorial-entry:hover {
  border-color: rgba(184, 146, 93, 0.72);
  box-shadow: 0 20px 42px rgba(16, 34, 53, 0.09);
  transform: translateY(-3px);
}

.editorial-entry span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-entry h3 {
  margin: 22px 0 14px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 0.98;
}

.editorial-entry p {
  margin: 0;
  color: #4b5358;
  font-size: 15px;
  line-height: 1.6;
}

.editorial-page {
  padding: 58px 0 64px;
}

.editorial-page-hero {
  max-width: 920px;
  margin-bottom: 34px;
}

.editorial-page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 5.6vw, 86px);
  font-weight: 500;
  line-height: 0.94;
}

.editorial-page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: #4b5358;
  font-size: 18px;
  line-height: 1.62;
}

.expandable-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.expandable-list details {
  overflow: hidden;
  border: 1px solid rgba(199, 173, 139, 0.68);
  border-radius: 20px;
  background: rgba(251, 250, 247, 0.82);
  box-shadow: 0 14px 32px rgba(16, 34, 53, 0.035);
}

.expandable-list summary {
  display: grid;
  grid-template-columns: 120px 118px minmax(0, 1fr) 42px;
  gap: 18px;
  align-items: center;
  min-height: 88px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
}

.expandable-list summary::after {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(16, 34, 53, 0.2);
  border-radius: 50%;
  color: var(--navy);
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.25 8.25L11 14l5.75-5.75' fill='none' stroke='%23102235' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.expandable-list details[open] summary::after {
  border-color: rgba(184, 146, 93, 0.55);
  background-color: rgba(184, 146, 93, 0.08);
  transform: rotate(180deg);
}

.expandable-list summary::-webkit-details-marker {
  display: none;
}

.expandable-list summary span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.expandable-list summary time {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(184, 146, 93, 0.28);
  border-radius: 999px;
  color: #7d653f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expandable-list summary strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.expandable-list details > div {
  padding: 0 84px 26px 276px;
}

.expandable-list p {
  margin: 0 0 14px;
  color: #3f474d;
  font-size: 16px;
  line-height: 1.7;
}

.expandable-list p:last-child {
  margin-bottom: 0;
}

.editorial-deadlines {
  max-width: 980px;
}

.conversation {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  min-height: 170px;
  margin: 0 0 28px;
  padding: 32px 52px;
  border: 0;
  border-radius: 60px 28px 60px 28px;
  background: linear-gradient(100deg, #f7f2e8 0%, #e9dece 68%, #102235 145%);
  box-shadow: none;
}

.conversation::after {
  position: absolute;
  right: -44px;
  bottom: -70px;
  width: 240px;
  height: 190px;
  border-radius: 80% 0 0 0;
  background: #213847;
  content: "";
}

.conversation .button {
  position: relative;
  z-index: 1;
}

.leaf {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 92px;
  line-height: 1;
}

.modal {
  width: min(940px, calc(100vw - 36px));
  max-height: min(820px, calc(100vh - 36px));
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.modal::backdrop {
  background: rgba(37, 40, 50, 0.34);
  backdrop-filter: blur(8px);
}

.modal-shell {
  position: relative;
  overflow: hidden;
  max-height: min(820px, calc(100vh - 36px));
  border: 1px solid rgba(219, 197, 173, 0.92);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(16, 34, 53, 0.1), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f1eb 100%);
  box-shadow: 0 34px 90px rgba(16, 34, 53, 0.24);
}

.is-startup-modal .modal-shell {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 146, 93, 0.34), transparent 34%),
    linear-gradient(112deg, #102235 0%, #213847 60%, #b8925d 128%);
  color: #fff;
}

.is-startup-modal .modal-close {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 253, 248, 0.18);
}

.is-startup-modal .modal-close::before,
.is-startup-modal .modal-close::after {
  background: #fff;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  position: absolute;
  width: 16px;
  height: 1.8px;
  border-radius: 999px;
  background: var(--ink);
  content: "";
  transform-origin: center;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-content {
  max-height: min(820px, calc(100vh - 36px));
  overflow: auto;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
}

.modal-photo {
  min-height: 520px;
  background: #eee6da;
}

.modal-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 25%;
}

.modal-body {
  padding: 56px 58px 50px;
}

.modal-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.modal-body h2 {
  margin: 0 54px 18px 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  line-height: 0.98;
}

.modal-role {
  margin: 0 0 24px;
  color: #42454c;
  font-weight: 600;
  line-height: 1.55;
}

.modal-body p,
.modal-body li {
  color: #4d4f53;
  font-size: 15px;
  line-height: 1.68;
}

.modal-body ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.modal-body li {
  position: relative;
  padding-left: 22px;
}

.modal-body li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.modal-body.modal-service,
.modal-body.modal-contact,
.modal-body.modal-legal {
  padding-right: 70px;
}

.modal-updated {
  margin: -6px 0 22px;
  color: rgba(83, 76, 68, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-sections {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.legal-sections section {
  padding: 18px 20px;
  border: 1px solid rgba(219, 197, 173, 0.82);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.66);
}

.legal-sections h3 {
  margin: 0 0 8px;
  color: var(--copper-dark);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.legal-sections p {
  margin: 0;
}

.modal-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.modal-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.72);
}

.modal-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--copper-dark);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.is-startup-modal .modal-kicker,
.is-startup-modal .modal-body h2,
.is-startup-modal .modal-role,
.is-startup-modal .modal-body p,
.is-startup-modal .modal-body li,
.is-startup-modal .modal-note strong {
  color: #fff;
}

.is-startup-modal .modal-role {
  opacity: 0.93;
}

.is-startup-modal .modal-note {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.105);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.is-startup-modal .modal-body li::before {
  background: #f2d2b1;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: #5b5d61;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  font: 500 15px/1.4 var(--sans);
  outline: 0;
}

.contact-form input,
.contact-form select {
  min-height: 50px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
  padding: 14px 15px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(173, 84, 47, 0.12);
}

.form-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.modal-content::before {
  display: none;
}

.site-footer {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr) 160px;
  align-items: start;
  gap: 44px;
  margin-top: 12px;
  padding: 38px 0 44px;
  border-top: 1px solid rgba(184, 146, 93, 0.42);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer::before {
  position: absolute;
  inset: 0 50% auto 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  background:
    radial-gradient(circle at 12% 16%, rgba(184, 146, 93, 0.12), transparent 32%),
    linear-gradient(180deg, #102235, #0c1a28);
  content: "";
  transform: translateX(-50%);
}

.site-footer .brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.site-footer address,
.site-footer nav {
  display: grid;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

.site-footer address {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
  justify-content: start;
}

.site-footer nav {
  gap: 12px;
  justify-content: end;
  justify-items: end;
}

.footer-details span:not(.footer-name) {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
}

.footer-details small {
  color: rgba(224, 194, 148, 0.86);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-name {
  grid-column: 1 / -1;
  color: #fff;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 0.98;
}

.footer-legal a,
.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-legal a:hover,
.footer-link:hover {
  color: #e0c294;
}

.legal-page {
  max-width: 920px;
  padding: 50px 0 80px;
}

.legal-page h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  line-height: 0.98;
}

.legal-page h2 {
  margin: 34px 0 12px;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}

.legal-page p,
.legal-page li {
  color: #4c4d50;
  font-size: 16px;
  line-height: 1.68;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-updated {
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: min(560px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden],
.cookie-preferences[hidden] {
  display: none;
}

.cookie-banner h2,
.cookie-preferences h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.cookie-banner p,
.cookie-preferences p {
  margin: 0 0 16px;
  color: #4c4d50;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-button {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid var(--copper);
  background: transparent;
  color: var(--copper);
  font-weight: 700;
  cursor: pointer;
}

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

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(37, 40, 50, 0.28);
}

.cookie-panel {
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.cookie-option strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-option input {
  width: 20px;
  height: 20px;
}

@media (max-width: 1180px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 72px, 1040px);
  }

  .site-header {
    grid-template-columns: minmax(240px, 1fr) auto minmax(64px, 1fr);
    justify-content: stretch;
    box-sizing: border-box;
    padding: 0 clamp(18px, 3vw, 34px);
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .site-header .nav-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .site-header .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    inset: 10px 14px auto;
    z-index: 70;
    display: none;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    padding: 102px 36px 28px;
    border: 1px solid rgba(184, 146, 93, 0.42);
    border-radius: 28px;
    background: rgba(12, 26, 40, 0.94);
    box-shadow: 0 28px 80px rgba(6, 16, 25, 0.34);
    backdrop-filter: blur(22px);
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 64px;
    padding: 0;
    border-bottom: 1px solid rgba(184, 146, 93, 0.28);
    border-radius: 0;
    font-family: var(--menu-serif);
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
  }

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

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .menu-open .main-nav {
    display: flex;
  }

  .menu-open .site-header {
    border-bottom-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .menu-open .site-header .brand,
  .menu-open .phone-cta,
  .menu-open .menu-toggle {
    z-index: 90;
  }

  .menu-open .site-header .brand {
    left: 32px;
  }

  .menu-open .site-header .brand-logo--wide {
    width: min(238px, calc(100vw - 190px));
  }

  .menu-open .site-header .menu-toggle {
    right: 28px;
  }

  .menu-open .phone-cta {
    right: 84px;
  }

  .menu-open main,
  .menu-open .site-footer {
    filter: blur(7px);
    opacity: 0.58;
    pointer-events: none;
    transition: filter 180ms ease, opacity 180ms ease;
  }

  .menu-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(184, 146, 93, 0.58);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    transition:
      border-color 180ms ease,
      transform 180ms ease,
      background 180ms ease;
  }

  .menu-toggle:hover {
    border-color: #e0c294;
    background: rgba(255, 255, 255, 0.1);
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .mobile-nav-cta {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 6px;
    min-height: 58px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, var(--copper), var(--copper-dark)) !important;
    color: #0c1a28 !important;
    font-family: var(--sans) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-visual {
    min-height: 360px;
    margin-top: 0;
    border-radius: 220px 18px 18px 220px;
  }

  .hero-visual img {
    height: 360px;
  }

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

  .startup-panel {
    grid-template-columns: 1fr;
  }

  .startup-panel img {
    height: 320px;
    min-height: 0;
    border-radius: 220px 0 0 0;
  }

  .approach-grid,
  .team-grid,
  .detail-sections {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid .team-card:first-child {
    grid-column: span 2;
  }

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

  .conversation,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .brief-hero,
  .admin-preview {
    grid-template-columns: 1fr;
  }

  .editorial-entry-grid {
    grid-template-columns: 1fr;
  }

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

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

  .deadline-board article {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .site-footer address,
  .site-footer nav {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-content: flex-start;
    justify-items: start;
  }

  .footer-name {
    font-size: 23px;
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(18px, 2vw, 30px);
    padding: 0 clamp(32px, 3.5vw, 56px);
  }

  .site-header .brand {
    grid-column: 1;
    min-width: 74px;
    width: 74px;
  }

  .brand-logo--wide {
    display: none;
  }

  .brand-logo--mark {
    display: block;
    width: 70px;
    height: 70px;
  }

  .main-nav {
    position: static;
    z-index: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.65vw, 26px);
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    font-size: clamp(18px, 1.5vw, 22px);
  }

  .main-nav > a,
  .main-nav .nav-group-trigger {
    display: inline-flex;
    min-height: 0;
    padding: 8px 0 10px;
    border-bottom: 0;
    font-family: var(--serif);
    font-size: inherit;
    font-weight: 500;
  }

  .main-nav > a::after,
  .main-nav .nav-group-trigger::after {
    display: block;
  }

  .nav-group {
    position: relative;
    display: inline-flex;
    width: auto;
  }

  .nav-submenu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    width: 230px;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(184, 146, 93, 0.36);
    border-radius: 18px;
    background: rgba(12, 26, 40, 0.98);
    box-shadow: 0 22px 54px rgba(6, 16, 25, 0.26);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
  }

  .nav-submenu::before {
    position: absolute;
    inset: -18px 0 auto;
    height: 18px;
    content: "";
  }

  .main-nav .nav-submenu a {
    min-height: 0;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.84);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 11px 12px;
  }

  .main-nav .nav-submenu a:hover,
  .main-nav .nav-submenu a.is-active {
    background: rgba(184, 146, 93, 0.16);
    color: #e0c294;
  }

  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .site-header .nav-cta {
    grid-column: 3;
    display: inline-flex;
    min-height: 44px;
    padding: 0 22px;
    font-size: 13px;
  }

  .cta-full {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .menu-toggle,
  .phone-cta,
  .mobile-nav-cta {
    display: none !important;
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 48px 48px;
  }

  .site-header .brand {
    min-width: 0;
    width: auto;
    max-width: calc(100vw - 190px);
  }

  .site-header .brand-logo--wide {
    width: min(300px, calc(100vw - 190px));
  }

  .site-header .nav-cta {
    display: none;
  }

  .phone-cta {
    display: grid !important;
    grid-column: 2;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(184, 146, 93, 0.58);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
  }

  .phone-cta svg,
  .phone-cta svg path {
    width: 21px;
    height: 21px;
    fill: none !important;
    stroke: currentColor !important;
  }

  .site-header .menu-toggle {
    grid-column: 3;
  }
}

@media (max-width: 720px) {
  body {
    max-width: 100vw;
  }

  .site-header,
  main,
  .site-footer {
    width: calc(100vw - 28px);
    max-width: 520px;
  }

  .site-header {
    width: 100vw;
    max-width: none;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }

  .hero,
  .hero-copy,
  .services,
  .startup-panel,
  .approach,
  .team,
  .insights,
  .detail-sections,
  .conversation {
    min-width: 0;
  }

  .site-header {
    position: sticky;
    grid-template-columns: minmax(0, 1fr) 46px 46px;
    min-height: 90px;
    gap: 6px;
    top: 0;
    margin-top: 0;
    padding: 0 8px 0 14px;
    border-radius: 0;
    background: rgba(16, 34, 53, 0.96);
    backdrop-filter: blur(14px);
  }

  body.header-scrolled .site-header {
    border-bottom-color: rgba(184, 146, 93, 0.42);
    background: rgba(12, 26, 40, 0.98);
    box-shadow: 0 12px 24px rgba(16, 34, 53, 0.18);
  }

  .site-header .brand {
    position: absolute;
    left: 14px;
    top: 50%;
    min-width: 0;
    width: auto;
    justify-self: auto;
    overflow: hidden;
    transform: translateY(-50%);
  }

  .site-header .menu-toggle {
    position: fixed;
    top: 22px;
    right: 8px;
    z-index: 80;
    display: flex !important;
    width: 46px;
    height: 46px;
    border-color: rgba(184, 146, 93, 0.58);
    background: rgba(255, 255, 255, 0.06);
    transform: none;
  }

  .phone-cta {
    position: fixed;
    top: 22px;
    right: 60px;
    z-index: 80;
    display: grid !important;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(184, 146, 93, 0.58);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
    transform: none;
  }

  .phone-cta svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .site-header .brand-logo--wide {
    width: min(252px, calc(100vw - 132px));
    max-width: 100%;
  }

  .site-footer .brand {
    justify-self: center;
  }

  .brand-logo--stacked {
    width: 228px;
  }

  .nav-cta {
    display: none;
  }

  .site-footer {
    gap: 26px;
    margin-top: 2px;
    padding: 30px 0 36px;
  }

  .site-footer::before {
    background:
      radial-gradient(circle at 20% 10%, rgba(184, 146, 93, 0.12), transparent 34%),
      linear-gradient(180deg, #102235, #0c1a28);
  }

  .footer-details {
    gap: 15px;
  }

  .footer-name {
    font-size: 21px;
  }

  .hero {
    min-height: 0;
    padding: 30px 0 34px;
  }

  #servizi,
  #startup,
  #fiscalita-ma,
  #area-fiscale,
  #circolari,
  #team,
  #contatti {
    scroll-margin-top: 92px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 42px;
    line-height: 0.98;
    overflow-wrap: normal;
  }

  .hero h1 span {
    display: block;
  }

  .hero p {
    max-width: 100%;
    margin: 22px 0 24px;
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .hero-actions {
    gap: 12px;
  }

  .button {
    width: 100%;
    min-height: 58px;
    max-width: 100%;
    padding-inline: 22px;
    font-size: 16px;
    font-weight: 800;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 0;
    height: 292px;
  }

  .hero-visual {
    border-radius: 150px 18px 18px 150px;
  }

  .hero p,
  .service-card p {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-blob {
    right: -78px;
    bottom: -100px;
  }

  .services,
  .approach-grid,
  .team-grid,
  .detail-sections {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: grid;
    position: relative;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    gap: 0 14px;
    min-height: 0;
    padding: 18px 74px 18px 18px;
    overflow: hidden;
    border-radius: 14px;
  }

  .service-card .icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
  }

  .service-card .icon svg {
    width: 25px;
    height: 25px;
  }

  .service-card h2 {
    grid-column: 2;
    margin: 0;
    font-size: 26px;
    line-height: 1.02;
  }

  .service-card > p {
    display: -webkit-box;
    grid-column: 2;
    margin-top: 9px;
    color: #45474b;
    font-size: 14.5px;
    line-height: 1.46;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .service-card p,
  .team-card p,
  .insight-grid p,
  .detail-sections p {
    overflow-wrap: break-word;
  }

  .accordion-card > .card-action,
  .service-card .card-action {
    display: grid;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(37, 45, 49, 0.28);
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.78);
    color: #252d31;
    transform: none;
  }

  .accordion-card > .card-action::before,
  .service-card .card-action::before {
    content: "";
    position: static;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.25 8.25L11 14l5.75-5.75' fill='none' stroke='%23252d31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    opacity: 1;
    transform: none;
  }

  .accordion-card.is-open > .card-action::before,
  .service-card.is-open .card-action::before {
    transform: rotate(180deg);
  }

  .accordion-card.is-open {
    border-color: rgba(206, 158, 73, 0.72);
    box-shadow: 0 16px 34px rgba(62, 46, 30, 0.07);
  }

  .mobile-card-detail {
    display: none;
    grid-column: 1 / -1;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(219, 197, 173, 0.74);
  }

  .accordion-card.is-open .mobile-card-detail {
    display: block;
  }

  .mobile-card-detail p {
    display: block;
    margin: 0 0 14px;
    color: #32373a;
    font-size: 15px;
    line-height: 1.58;
  }

  .mobile-card-detail ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-card-detail li {
    position: relative;
    padding-left: 22px;
    color: #34383c;
    font-size: 14px;
    line-height: 1.48;
  }

  .mobile-card-detail li::before {
    position: absolute;
    left: 1px;
    top: 0.45em;
    width: 9px;
    height: 5px;
    border-left: 1.5px solid #b9853c;
    border-bottom: 1.5px solid #b9853c;
    content: "";
    transform: rotate(-45deg);
  }

  .mobile-card-detail strong {
    display: block;
    margin-bottom: 3px;
    color: var(--copper-dark);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.05;
  }

  .mobile-card-detail span {
    display: block;
  }

  .startup-panel {
    border-radius: 22px;
    margin-bottom: 34px;
  }

  .startup-panel > div {
    padding: 32px 24px;
  }

  .startup-panel p {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .startup-panel ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .startup-panel li {
    border-right: 0;
    font-size: 20px;
  }

  .startup-panel li,
  .startup-panel li:first-child {
    padding: 0;
  }

  .startup-panel li::after {
    display: none;
  }

  .startup-panel img {
    height: 240px;
    border-radius: 130px 0 0 0;
  }

  .panel-more {
    width: 100%;
    justify-content: center;
  }

  .monthly-brief {
    margin-top: 8px;
    padding-top: 28px;
  }

  .brief-hero {
    gap: 18px;
    margin-bottom: 28px;
  }

  .brief-hero h2 {
    font-size: 40px;
  }

  .brief-hero > div > p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 16px;
  }

  .brief-upload-card {
    padding: 22px;
    border-radius: 18px;
  }

  .brief-upload-card h3 {
    font-size: 36px;
  }

  .brief-section-head {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 30px 0 16px;
  }

  .brief-section-head h3 {
    font-size: 32px;
  }

  .news-grid,
  .article-grid,
  .editorial-entry-grid,
  .admin-flow {
    grid-template-columns: 1fr;
  }

  .news-grid article,
  .article-grid article {
    min-height: 0;
    padding: 21px;
  }

  .news-grid h4,
  .article-grid h4,
  .deadline-board h4 {
    font-size: 27px;
  }

  .deadline-board article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .deadline-board time {
    font-size: 28px;
  }

  .admin-preview {
    gap: 22px;
    padding: 24px;
    border-radius: 22px;
  }

  .editorial-page {
    padding: 34px 0 48px;
  }

  .editorial-page-hero h1 {
    font-size: 46px;
  }

  .editorial-page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .editorial-entry {
    min-height: 0;
    padding: 24px;
  }

  .editorial-entry h3 {
    font-size: 34px;
  }

  .expandable-list summary {
    grid-template-columns: 1fr 38px;
    gap: 10px;
    min-height: 0;
    padding: 22px;
  }

  .expandable-list summary span,
  .expandable-list summary time,
  .expandable-list summary strong {
    grid-column: 1;
  }

  .expandable-list summary::after {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }

  .expandable-list summary strong {
    font-size: 29px;
  }

  .expandable-list details > div {
    padding: 0 22px 24px;
  }

  .approach article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 58px 1fr;
    min-height: 0;
    padding: 0 0 24px;
  }

  .approach .eyebrow {
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1;
  }

  .approach article:last-child {
    border-bottom: 0;
  }

  .team-grid .team-card:first-child {
    grid-column: auto;
  }

  .team-card {
    display: grid;
    position: relative;
    grid-template-columns: 1fr;
    align-items: start;
    overflow: hidden;
  }

  .team-card img {
    grid-column: 1;
    width: 100%;
    height: 258px;
    border-radius: 0;
    object-position: center 31%;
    transition: height 220ms ease, object-position 220ms ease, transform 220ms ease;
  }

  .team-card.is-open img {
    height: 365px;
    object-position: center 34%;
  }

  .team-card div {
    grid-column: 1;
    padding: 19px 74px 20px 20px;
    background: transparent;
  }

  .team-card h3 {
    margin-bottom: 8px;
    font-size: 27px;
  }

  .team-card .role {
    min-height: 0;
    display: -webkit-box;
    color: #3a3d44;
    font-size: 15px;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .team-card:not(.is-open) div > p:not(.role) {
    display: none;
  }

  .team-card .role::after {
    display: none;
  }

  .team-card > .card-action {
    top: 18px;
    right: 18px;
  }

  .team-card .mobile-card-detail {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-inline: 20px;
    padding-bottom: 18px;
  }

  .insight-grid .insight-card {
    grid-template-columns: 112px 1fr;
  }

  .insight-grid img {
    width: 112px;
    height: 126px;
  }

  .insight-grid .insight-action {
    display: none;
  }

  .conversation {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 24px;
    border-radius: 34px 18px;
  }

  .conversation h2 {
    font-size: 40px;
  }

  .leaf {
    font-size: 68px;
  }

  .site-footer address,
  .site-footer nav {
    display: grid;
    gap: 14px;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
  }

  .cookie-actions {
    display: grid;
  }

  .cookie-button {
    width: 100%;
  }

  .modal {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
  }

  .modal::backdrop {
    background: var(--bg);
    backdrop-filter: none;
  }

  .modal-shell,
  .modal-content {
    height: 100dvh;
    max-height: none;
  }

  .modal-shell {
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 95% 4%, rgba(16, 34, 53, 0.11), transparent 30%),
      linear-gradient(180deg, #fbfaf7 0%, #f4f1eb 100%);
    box-shadow: none;
  }

  .is-startup-modal .modal-shell {
    background:
      radial-gradient(circle at 92% 8%, rgba(184, 146, 93, 0.3), transparent 32%),
      linear-gradient(145deg, #102235 0%, #213847 66%, #b8925d 132%);
  }

  .modal-content {
    position: relative;
    padding-top: 58px;
  }

  .modal-content::before {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 3;
    display: block;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: #d6c4ad;
    content: "";
    transform: translateX(-50%);
  }

  .is-startup-modal .modal-content::before {
    background: rgba(255, 255, 255, 0.62);
  }

  .modal-close {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 10px 22px rgba(62, 46, 30, 0.08);
  }

  .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-photo,
  .modal-photo img {
    min-height: 0;
    height: 300px;
  }

  .modal-body,
  .modal-body.modal-service,
  .modal-body.modal-contact,
  .modal-body.modal-legal {
    padding: 28px 22px 42px;
  }

  .modal-body h2 {
    margin-right: 0;
    font-size: 44px;
    line-height: 0.96;
  }

  .modal-body.modal-service h2 {
    font-size: 46px;
  }

  .modal-kicker {
    font-size: 27px;
  }

  .modal-columns,
  .legal-sections,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 360px) and (max-width: 480px) and (min-resolution: 2dppx),
  (min-width: 360px) and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  body {
    font-size: 17px;
  }

  .site-header {
    min-height: 94px;
  }

  .site-header .brand {
    width: auto;
  }

  .site-header .brand-logo--wide {
    width: min(266px, calc(100vw - 128px));
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 17.2px;
    line-height: 1.58;
  }

  .button {
    min-height: 62px;
    padding-inline: 24px;
    font-size: 16.4px;
    font-weight: 800;
  }

  .hero-actions {
    gap: 14px;
  }

  .mobile-nav-cta {
    min-height: 58px !important;
    font-size: 15.6px !important;
  }

  .panel-more {
    width: 100%;
    height: auto;
    min-height: 62px;
    padding-inline: 30px;
    font-size: 16.4px;
  }

  .card-action {
    width: 40px;
    height: 40px;
  }

  .service-card {
    min-height: 0;
    padding: 20px 76px 20px 20px;
  }

  .service-card h2 {
    font-size: 29px;
  }

  .approach h3,
  .insight-grid h3 {
    font-size: 29px;
  }

  .service-card > p {
    font-size: 15.2px;
  }

  .service-card p,
  .approach p,
  .team-card p,
  .insight-grid p,
  .detail-sections p {
    font-size: 15.2px;
    line-height: 1.58;
  }

  .startup-panel p {
    font-size: 17px;
  }

  .startup-panel li {
    font-size: 21.5px;
  }

  .eyebrow,
  .approach .eyebrow {
    font-size: 30px;
  }

  .team-card h3 {
    font-size: 27px;
  }

  .modal-body p,
  .modal-body li {
    font-size: 16px;
  }

  .modal-body h2 {
    font-size: 48px;
  }

  .modal-body.modal-service h2 {
    font-size: 50px;
  }

  .contact-form input,
  .contact-form select {
    min-height: 54px;
  }

  .footer-details span:not(.footer-name) {
    font-size: 14px;
  }
}

@media (min-width: 390px) and (max-width: 480px) and (min-resolution: 2dppx),
  (min-width: 390px) and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  .site-header {
    min-height: 98px;
  }

  .site-header .brand-logo--wide {
    width: min(278px, calc(100vw - 124px));
  }

  .button {
    min-height: 66px;
    font-size: 17px;
  }

  .mobile-nav-cta {
    min-height: 62px !important;
    font-size: 16px !important;
  }

  .panel-more {
    width: 100%;
    height: auto;
    min-height: 66px;
    padding-inline: 32px;
    font-size: 17px;
  }
}

@media (max-width: 960px) {
  .main-nav .nav-group {
    position: static !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    overflow: visible;
    border-bottom: 1px solid rgba(184, 146, 93, 0.28);
  }

  .main-nav .nav-group-trigger {
    position: relative;
    border-bottom: 0;
  }

  .main-nav .nav-group-trigger::before {
    position: absolute;
    right: 2px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    opacity: 0.78;
    transform: translateY(-64%) rotate(45deg);
    transition: transform 160ms ease;
  }

  .main-nav .nav-group.is-mobile-open .nav-group-trigger::before {
    transform: translateY(-36%) rotate(-135deg);
  }

  .main-nav .nav-submenu {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    display: none !important;
    width: 100% !important;
    max-width: 100%;
    gap: 0;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 0 12px 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
  }

  .main-nav .nav-group.is-mobile-open .nav-submenu {
    display: grid !important;
  }

  .main-nav .nav-submenu::before,
  .main-nav .nav-submenu a::after {
    display: none;
    content: none;
  }

  .main-nav .nav-submenu a {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    display: flex !important;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 0 0 24px !important;
    border-bottom: 1px solid rgba(184, 146, 93, 0.2);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--menu-serif);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0;
    text-align: left;
    transform: none !important;
    white-space: nowrap;
  }

  .main-nav .nav-submenu a:last-child {
    border-bottom: 0;
  }

  .main-nav .nav-submenu a:hover,
  .main-nav .nav-submenu a.is-active {
    background: transparent;
    color: #e0c294;
  }
}

@media (max-width: 1180px) {
  .menu-toggle {
    position: relative;
    overflow: hidden;
  }

  .menu-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform-origin: center;
  }

  .menu-toggle span:first-child {
    transform: translate(-50%, calc(-50% - 5px));
  }

  .menu-toggle span:last-child {
    transform: translate(-50%, calc(-50% + 5px));
  }

  .menu-open .menu-toggle span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}
