/* Giorgia Maria Caruso · Igienista dentale
   Palette ripresa dalla presentazione: blu notte, verde acqua, menta, sabbia. */
:root {
  --navy: #13294b;
  --navy-deep: #0c1d36;
  --navy-soft: #2e4468;
  --teal: #1f7a72;
  --mint: #5cc6ba;
  --mint-pale: #e3f3f1;
  --sand: #efece5;
  --sand-line: #e2ded5;
  --ink: #1e2a38;
  --muted: #5e6b7a;
  --paper: #fbfaf7;
  --white: #fff;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --radius: 18px;
  --shadow: 0 24px 60px -30px rgba(12, 29, 54, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --bs-body-font-family: var(--f-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
}

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

body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--f-display);
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -.01em;
}

h2 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 2000;
  background: var(--navy);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 8px;
}

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  font-family: var(--f-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--mint);
}

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

.eyebrow-num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1.05rem;
  color: var(--navy);
}

.section--navy .eyebrow-num {
  color: #fff;
}

.eyebrow:has(.eyebrow-num)::before {
  display: none;
}

.section-head {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-head--side {
  position: sticky;
  top: 110px;
}

.section-head--side h2 {
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.6rem);
}

.lead-gc {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 60ch;
}

.block-title {
  font-family: var(--f-body);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0;
  position: relative;
}

.section--navy {
  background: var(--navy);
  color: #d7e0ea;
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.section--mint {
  background: var(--mint-pale);
}

.section--sand {
  background: var(--sand);
}

/* ---------- Navbar ---------- */
#mainNav {
  padding: .9rem 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}

#mainNav.is-scrolled,
#mainNav.is-open {
  background: rgba(251, 250, 247, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--sand-line);
  padding: .55rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--navy);
}

.navbar-brand:hover {
  color: var(--navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--mint);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.05rem;
}

.brand-text {
  font-family: var(--f-display);
  font-size: 1.1rem;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}

.brand-text small {
  font-family: var(--f-body);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-top: 3px;
}

.nav-link {
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .85rem !important;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .3rem;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
}

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

.btn-nav {
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: .55rem 1.25rem;
  font-weight: 600;
  font-size: .92rem;
}

.btn-nav:hover {
  background: var(--teal);
  color: #fff;
}

.navbar-toggler {
  border: 0;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(92, 198, 186, .5);
}

.toggler-bar {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0 .5rem;
  }

  .nav-link::after {
    display: none;
  }

  .btn-nav {
    display: inline-block;
    margin-top: .5rem;
  }
}

/* ---------- Buttons ---------- */
.btn-primary-gc,
.btn-ghost-gc,
.btn-ghost-light {
  border-radius: 999px;
  font-weight: 600;
  padding: .85rem 1.6rem;
  font-size: 1rem;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}

.btn-primary-gc {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(19, 41, 75, .7);
}

.btn-primary-gc:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-gc {
  border: 1.5px solid var(--navy);
  color: var(--navy);
}

.btn-ghost-gc:hover {
  background: var(--navy);
  color: #fff;
}

.btn-ghost-light {
  border: 1.5px solid rgba(255, 255, 255, .45);
  color: #fff;
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--navy);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 8.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60rem 36rem at 88% 20%, var(--mint-pale), transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, #efece5, transparent 60%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: 5rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  border: 1px solid rgba(31, 122, 114, .18);
  box-shadow: 0 0 0 4rem rgba(92, 198, 186, .05), 0 0 0 8rem rgba(92, 198, 186, .03);
}

.hero-title {
  font-size: clamp(3rem, 1.6rem + 6vw, 6.2rem);
  line-height: .95;
  font-weight: 400;
  margin-bottom: .6rem;
  letter-spacing: -.025em;
}

.hero-title em {
  font-style: italic;
  color: var(--teal);
  display: block;
}

.hero-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 56ch;
  color: var(--ink);
}

.hero-lead strong {
  color: var(--teal);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 2rem 0 2.2rem;
}

.hero-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
}

.hero-pills li {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy-soft);
  display: flex;
  align-items: center;
  gap: .55rem;
}

.hero-pills li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.hero-portrait {
  position: relative;
  margin: 0 auto;
  max-width: 420px;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 5% -6% -4% 7%;
  background: var(--navy);
  border-radius: 24px;
  z-index: 0;
}

.hero-portrait img {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  background: #fff;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow);
}

.portrait-badge {
  position: absolute;
  z-index: 2;
  left: -1.2rem;
  bottom: 2.2rem;
  background: #fff;
  border-radius: 14px;
  padding: .8rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  box-shadow: 0 18px 40px -18px rgba(12, 29, 54, .5);
  font-size: .82rem;
  line-height: 1.25;
  color: var(--muted);
}

.badge-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--teal);
}

/* ---------- Chi sono ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--sand-line);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0 0 2rem 1.8rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: .45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--teal);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.tl-year {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--teal);
  line-height: 1.3;
}

.timeline strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1.3;
}

.timeline span:not(.tl-year) {
  color: var(--muted);
}

@media (max-width: 575.98px) {
  .timeline li {
    grid-template-columns: 1fr;
    gap: .1rem;
  }
}

.xp-card {
  background: #fff;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
}

.xp-card p {
  margin: .3rem 0 0;
}

.xp-kicker {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--teal);
}

.xp-card--accent {
  background: var(--navy);
  border-color: var(--navy);
  color: #d7e0ea;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.xp-card--accent p {
  flex: 1 1 14rem;
  margin: 0;
}

.xp-big {
  font-family: var(--f-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--mint);
  font-style: italic;
}

.langs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}

.langs li {
  background: var(--mint-pale);
  border-radius: 14px;
  padding: .9rem .6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.langs span {
  font-size: .88rem;
  color: var(--muted);
}

.langs b {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--navy);
}

/* ---------- Metodo ---------- */
#metodo {
  overflow: hidden;
}

#metodo::before {
  content: "";
  position: absolute;
  right: -12rem;
  bottom: -16rem;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  border: 1px solid rgba(92, 198, 186, .18);
  box-shadow: 0 0 0 5rem rgba(92, 198, 186, .04);
}

.step {
  height: 100%;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 1.6rem;
}

.step-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--mint);
  display: block;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.6rem;
  margin-bottom: .6rem;
}

.step p {
  color: #b9c6d6;
}

.step-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: .92rem;
  display: inline-flex;
  gap: .4rem;
  align-items: center;
}

.step-link::after {
  content: "→";
  transition: transform .25s var(--ease);
}

.step-link:hover {
  color: var(--mint);
}

.step-link:hover::after {
  transform: translateX(4px);
}

/* ---------- Photo frames ---------- */
.photo-frame {
  position: relative;
  margin: 0;
  max-width: 460px;
}

.photo-frame img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 1.6rem -1.6rem -1.6rem 1.6rem;
  border: 2px solid var(--mint);
  border-radius: var(--radius);
  z-index: 0;
}

.photo-frame--alt {
  margin-left: auto;
}

.photo-frame--alt::before {
  inset: -1.6rem 1.6rem 1.6rem -1.6rem;
  background: var(--mint-pale);
  border: 0;
}

.tool-card {
  background: #fff;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tool-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.tool-card h3 {
  font-size: 1.15rem;
  margin: 0;
}

/* ---------- Documentazione ---------- */
.note-card {
  margin-top: 2rem;
  background: var(--navy);
  color: #d7e0ea;
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  position: relative;
  overflow: hidden;
}

.note-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 198, 186, .35), transparent 70%);
}

.note-card h3 {
  color: #fff;
  font-size: 1.35rem;
}

.note-card p {
  margin: 0;
}

.duo {
  position: relative;
  padding-bottom: 18%;
}

.duo-a {
  width: 62%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.duo-b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  border-radius: var(--radius);
  border: 6px solid var(--mint-pale);
  box-shadow: var(--shadow);
}

.diagnocam {
  margin-top: clamp(4rem, 3rem + 5vw, 7rem);
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
  border-top: 1px solid rgba(31, 122, 114, .2);
}

.diagnocam-device {
  width: 220px;
  margin-top: 1.5rem;
  mix-blend-mode: multiply;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 16px 40px -24px rgba(12, 29, 54, .5);
}

.mosaic .m1 {
  grid-column: 1 / 3;
  aspect-ratio: 16 / 8;
}

.mosaic .m2 {
  aspect-ratio: 1 / 1;
  background: #000;
  object-fit: contain;
}

.mosaic .m3 {
  grid-column: 1;
  grid-row: 2;
  aspect-ratio: 16 / 10;
}

/* ---------- Casi clinici / before-after ---------- */
.hint {
  font-size: .92rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 1rem;
  display: flex;
  gap: .5rem;
  align-items: center;
}

.case {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand-line);
  height: 100%;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.case:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.case-meta {
  padding: 1rem 1.25rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.case-meta h3 {
  font-size: 1.2rem;
  margin: 0;
  white-space: nowrap;
}

.case-meta p {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
  text-align: right;
}

.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-deep);
  user-select: none;
  touch-action: pan-y;
}

.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .35);
  pointer-events: none;
}

.ba-handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .1em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: transform .2s var(--ease), background .2s;
}

.ba:hover .ba-handle::after,
.ba-range:focus-visible~.ba-handle::after {
  background: var(--mint);
  transform: translate(-50%, -50%) scale(1.08);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.ba:has(.ba-range:focus-visible) {
  outline: 3px solid var(--mint);
  outline-offset: -3px;
}

.ba-tag {
  position: absolute;
  top: .8rem;
  z-index: 2;
  pointer-events: none;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: 999px;
}

.ba-tag--before {
  left: .8rem;
  background: rgba(12, 29, 54, .78);
  color: #fff;
}

.ba-tag--after {
  right: .8rem;
  background: var(--mint);
  color: var(--navy-deep);
}

/* ---------- Trattamenti ---------- */
.treatments {
  list-style: none;
  counter-reset: t;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
}

.treatments li {
  counter-increment: t;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--sand-line);
  font-family: var(--f-display);
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.25;
  transition: padding-left .3s var(--ease), color .3s;
}

.treatments li::before {
  content: counter(t, decimal-leading-zero);
  font-family: var(--f-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  min-width: 1.6rem;
}

.treatments li:hover {
  padding-left: .5rem;
  color: var(--teal);
}

@media (max-width: 767.98px) {
  .treatments {
    grid-template-columns: 1fr;
  }
}

/* ---------- Punti di forza ---------- */
.strength {
  height: 100%;
  background: #fff;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}

.strength:hover {
  border-color: var(--mint);
  transform: translateY(-3px);
}

.strength>span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--teal);
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mint-pale);
  margin-bottom: 1rem;
}

.strength h3 {
  font-size: 1.25rem;
  margin-bottom: .4rem;
}

.strength p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
}

/* ---------- Contatti ---------- */
.contact {
  background: radial-gradient(50rem 30rem at 100% 0, var(--navy-soft), transparent 60%), var(--navy);
  overflow: hidden;
}

.contact h2 {
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem);
  font-weight: 400;
}

.contact-lead {
  font-size: 1.15rem;
  max-width: 52ch;
  color: #b9c6d6;
}

.contact-list {
  margin-top: 2rem;
  display: grid;
  gap: .9rem;
  max-width: 560px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  text-decoration: none;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}

.contact-item:hover {
  background: rgba(92, 198, 186, .12);
  border-color: var(--mint);
  transform: translateX(4px);
}

.ci-label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--mint);
}

.ci-value {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem);
  color: #fff;
}

.ci-value--mail {
  font-size: clamp(1rem, .8rem + 1.1vw, 1.45rem);
  word-break: break-all;
}

.contact-portrait {
  margin: 0 auto;
  max-width: 340px;
}

.contact-portrait img {
  border-radius: 24px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top;
  background: #fff;
  border: 8px solid rgba(255, 255, 255, .08);
}

.footer {
  background: var(--navy-deep);
  color: #8fa0b5;
  font-size: .85rem;
  padding: 1.6rem 0;
}

.footer strong {
  color: #d7e0ea;
  font-weight: 600;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: .01ms !important;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 7rem;
  }

  .hero-portrait {
    max-width: 300px;
  }

  .section-head--side {
    position: static;
  }

  .photo-frame {
    margin: 0 auto 1rem;
  }
}

@media (max-width: 575.98px) {
  .hero-cta .btn {
    width: 100%;
  }

  .portrait-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.2rem;
    white-space: nowrap;
  }

  .hero-portrait {
    margin-bottom: 1rem;
  }

  .photo-frame::before {
    inset: 1rem -.8rem -.8rem 1rem;
  }

  .photo-frame--alt::before {
    inset: -.8rem 1rem 1rem -.8rem;
  }

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

  .mosaic .m1 {
    aspect-ratio: 4 / 3;
  }

  .case-meta {
    flex-direction: column;
    gap: .15rem;
  }

  .case-meta p {
    text-align: left;
  }
}