/* Logicore Global — Firstpoint-style layout: light/airy white + #f9f9f9 panels, 16px cards, pin-shaped photo crops, gradient pills. Colours from the logo: navy #092243 → teal #01aead */
:root {
  --navy: #092243;
  --navy-2: #0f2f57;
  --teal: #01aead;
  --teal-deep: #00878a;
  --text: #303030;
  --muted: #5f6368;
  --soft: #f9f9f9;
  --soft-2: #f5f5f5;
  --line: #eaeaea;
  --white: #ffffff;
  --grad: linear-gradient(45deg, #092243 0%, #00878a 55%, #01a3a2 100%);
  --grad-card: linear-gradient(280deg, #00878a 7%, #092243 93%);
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --pin: 320px 320px 320px 32px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-weight: 300; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--text); margin: 0; font-weight: 600; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
p { margin: 0; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--fade { background: linear-gradient(0deg, var(--soft), var(--white)); }
.section--soft { background: var(--soft); }
.center-head { text-align: center; display: grid; gap: 12px; justify-items: center; margin-bottom: 44px; }
.center-head p { color: var(--muted); max-width: 70ch; font-size: 1.05rem; }
.center-head .kicker { font-size: 1.1rem; font-weight: 600; color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 400; font-size: 1rem; letter-spacing: .03em; padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: filter .2s, transform .2s, box-shadow .2s; }
.btn--grad { background: var(--grad); color: var(--white); }
.btn--grad:hover { filter: brightness(1.12); box-shadow: 0 10px 24px -12px rgba(0,135,138,.7); }
.btn--line { color: var(--navy); background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.btn--line:hover { background: linear-gradient(var(--soft), var(--soft)) padding-box, var(--grad) border-box; }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { filter: brightness(.96); }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--teal-deep); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Utility bar + header */
.utility { background: var(--soft); font-size: .82rem; color: var(--muted); }
.utility .wrap { display: flex; justify-content: flex-end; gap: 26px; padding-block: 7px; flex-wrap: wrap; }
.utility a, .utility span { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--text); font-weight: 400; }
.utility a:hover { color: var(--teal-deep); }
.utility svg { width: 15px; height: 15px; color: var(--teal-deep); }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: stretch; margin-left: 12px; }
.nav > a, .nav-drop > button { font-family: var(--font); font-size: .9rem; font-weight: 600; color: #696969; text-decoration: none; padding: 12px 20px; background: none; border: 0; border-left: 1px solid var(--line); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:first-child { border-left: 0; }
.nav > a:hover, .nav-drop > button:hover, .nav a[aria-current="page"] { color: var(--teal-deep); }
.nav-drop { position: relative; display: flex; }
.nav-drop > button svg { width: 13px; height: 13px; transition: transform .2s; }
.nav-drop:hover > button svg, .nav-drop.open > button svg { transform: rotate(180deg); }
.drop-panel { position: absolute; top: calc(100% + 18px); left: 0; width: 520px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -28px rgba(9,34,67,.35); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.drop-panel::before { content: ""; position: absolute; inset: -20px 0 auto 0; height: 20px; }
.drop-panel h4 { grid-column: 1 / -1; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel, .nav-drop.open .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-panel a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; }
.drop-panel a small { display: block; font-weight: 300; color: var(--muted); font-size: .82rem; }
.drop-panel a:hover { background: var(--soft); color: var(--teal-deep); }
.header-cta { margin-left: auto; display: flex; align-items: center; }
.menu-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--grad); color: var(--white); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.hero-copy { display: grid; gap: 22px; min-width: 0; max-width: 560px; }
.hero-copy p { font-size: 1.05rem; color: var(--text); }
.hero-media { position: relative; min-width: 0; justify-self: end; width: min(100%, 560px); }
.hero-media .circle { width: 100%; aspect-ratio: 1; border-radius: var(--pin); overflow: hidden; }
.hero-media .circle img { width: 100%; height: 100%; object-fit: cover; }
.pin-mark { position: absolute; top: 8%; left: -2%; width: 22%; aspect-ratio: 1; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); box-shadow: 0 16px 30px -14px rgba(9,34,67,.6); }
.pin-mark::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: var(--white); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges span { background: var(--soft-2); border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 400; display: inline-flex; gap: 8px; align-items: center; }
.hero-badges svg { width: 16px; height: 16px; color: var(--teal-deep); }

/* Two cards (grey + gradient) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { border-radius: 16px; padding: clamp(28px, 3.5vw, 44px); display: grid; gap: 18px; align-content: start; min-width: 0; }
.duo-card.grey { background: var(--soft-2); }
.duo-card.grad { background: var(--grad-card); color: var(--white); }
.duo-card.grad h3 { color: var(--white); }
.duo-card p { color: inherit; }
.duo-card.grey p { color: var(--muted); }
.dots { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dots li { position: relative; padding-left: 22px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-deep); }
.duo-card.grad .dots li::before { background: var(--white); }
.duo-card.grad .dots li { font-weight: 400; }

/* Accordion with image */
.acc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.acc-media { position: relative; min-width: 0; }
.acc-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--pin); }
.acc-media img:not(.active) { position: absolute; inset: 0; opacity: 0; }
.acc-media img { transition: opacity .35s; }
.acc { display: grid; gap: 0; min-width: 0; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item button { width: 100%; background: none; border: 0; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-family: var(--font); font-size: 1.3rem; font-weight: 600; color: var(--text); text-align: left; }
.acc-item button .plus { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--soft-2); display: grid; place-items: center; transition: background .2s, transform .25s; }
.acc-item button .plus svg { width: 16px; height: 16px; }
.acc-item.open button .plus { background: var(--grad); color: var(--white); transform: rotate(45deg); }
.acc-item button:hover { color: var(--teal-deep); }
.acc-body { display: none; padding: 0 0 24px; gap: 14px; }
.acc-item.open .acc-body { display: grid; }
.acc-body p { color: var(--muted); }

/* Panel of white cards */
.panel { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.panel-grid.four { grid-template-columns: repeat(4, 1fr); }
.mini { background: var(--white); border-radius: 16px; padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.mini .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: var(--white); display: grid; place-items: center; }
.mini .ico svg { width: 22px; height: 22px; }
.mini h4 { font-size: 1.05rem; }
.mini p { color: var(--muted); font-size: .95rem; }

/* Media rows */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.media-row + .media-row { margin-top: clamp(56px, 8vw, 96px); }
.media-row.flip .media-img { order: 2; }
.media-img { min-width: 0; }
.media-img img { width: 100%; max-width: 500px; aspect-ratio: 1; object-fit: cover; border-radius: var(--pin); }
.media-row.flip .media-img img { margin-left: auto; }
.media-copy { display: grid; gap: 18px; min-width: 0; max-width: 540px; }
.media-copy p { color: var(--muted); font-size: 1.05rem; }

/* Service cards with photo */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-grid.three { grid-template-columns: repeat(3, 1fr); }
.svc { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s; min-width: 0; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(9,34,67,.5); }
.svc img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.svc div { padding: 22px; display: grid; gap: 10px; align-content: start; }
.svc p { color: var(--muted); font-size: .95rem; }

/* CTA cards */
.cta-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card { background: var(--white); border-radius: 16px; padding: clamp(28px, 3.5vw, 44px); display: grid; gap: 16px; align-content: start; text-decoration: none; color: var(--text); border: 1px solid var(--line); transition: box-shadow .25s; min-width: 0; }
.cta-card:hover { box-shadow: 0 20px 40px -28px rgba(9,34,67,.5); }
.cta-card p { color: var(--muted); }
.cta-card .btn { justify-self: start; }

/* Inner page hero */
.page-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--teal-deep); }
.page-hero-copy { display: grid; gap: 20px; min-width: 0; }
.page-hero-copy p { font-size: 1.05rem; }
.page-hero-media { min-width: 0; justify-self: end; width: min(100%, 500px); position: relative; }
.page-hero-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--pin); }
.page-hero-media .pin-mark { width: 18%; top: 4%; left: -4%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.form-card { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 40px); min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; font-weight: 300; font-size: 1rem; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(1,174,173,.15); }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--muted); max-width: 42ch; }
.form-note { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--teal-deep); font-weight: 400; }
.info-stack { display: grid; gap: 18px; min-width: 0; }
.info-card { border-radius: 16px; padding: 28px; display: grid; gap: 16px; background: var(--soft-2); }
.info-card.grad { background: var(--grad-card); color: var(--white); }
.info-card.grad h3, .info-card.grad a { color: var(--white); }
.lines { display: grid; gap: 12px; }
.lines div { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.lines svg { width: 20px; height: 20px; margin-top: 3px; }
.lines a { text-decoration: none; overflow-wrap: anywhere; }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-variant-numeric: tabular-nums; }

/* Footer */
.site-footer { background: var(--navy); color: #c4d0de; padding-top: clamp(64px, 8vw, 96px); }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand img { height: 46px; width: auto; }
.foot-brand p { max-width: 36ch; }
.foot-phone { font-size: 1.4rem; font-weight: 500; color: var(--white); text-decoration: none; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; color: #c4d0de; }
.site-footer ul a:hover { color: var(--teal); }
.foot-contact div { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.foot-contact svg { width: 18px; height: 18px; color: var(--teal); margin-top: 3px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.foot-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; font-size: .85rem; }

/* Responsive */
@media (max-width: 1100px) {
  .panel-grid.four, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--white); flex-direction: column; padding: 10px 20px 22px; box-shadow: 0 20px 30px -20px rgba(9,34,67,.4); display: none; }
  .nav.open { display: flex; }
  .nav > a, .nav-drop > button { border-left: 0; border-bottom: 1px solid var(--line); padding: 14px 4px; width: 100%; justify-content: space-between; }
  .nav-drop { flex-direction: column; }
  .drop-panel { position: static; width: 100%; box-shadow: none; border: 0; padding: 6px 0; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; display: none; }
  .drop-panel::before { display: none; }
  .nav-drop.open .drop-panel { display: grid; }
  .nav .mobile-cta { display: grid; gap: 10px; margin-top: 14px; }
  .hero .wrap, .page-hero .wrap, .duo, .acc-wrap, .media-row, .cta-duo, .contact-grid { grid-template-columns: 1fr; }
  .hero-media, .page-hero-media { justify-self: center; width: min(100%, 440px); }
  .media-row.flip .media-img { order: 0; }
  .media-img img, .media-row.flip .media-img img { margin-inline: auto; }
  .acc-media { max-width: 440px; margin-inline: auto; width: 100%; }
  .panel-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid.three { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 921px) { .nav .mobile-cta { display: none; } }
@media (max-width: 560px) {
  .panel-grid, .panel-grid.four, .svc-grid, .svc-grid.three, .form-grid, .foot-top { grid-template-columns: 1fr; }
  .brand img { height: 34px; }
  .site-header .wrap { min-height: 72px; }
  .utility .wrap { justify-content: center; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Services 2x2 tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px); max-width: 980px; margin-inline: auto; }
.tile { display: grid; gap: 22px; justify-items: center; text-decoration: none; color: var(--text); min-width: 0; }
.tile img { width: 100%; max-width: 440px; aspect-ratio: 1; object-fit: cover; border-radius: var(--pin); transition: transform .35s, box-shadow .35s; }
.tile:hover img { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(9,34,67,.6); }
.tile-title { font-size: 1.45rem; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.tile-title svg { width: 20px; height: 20px; color: var(--teal-deep); transition: transform .2s; }
.tile:hover .tile-title { color: var(--teal-deep); }
.tile:hover .tile-title svg { transform: translateX(4px); }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; gap: 28px 14px; } .tile-title { font-size: 1rem; gap: 6px; } .tile-title svg { width: 16px; height: 16px; } .tile { gap: 12px; } }

/* ---------- Motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pinDrop { 0% { opacity: 0; transform: translateY(-70px) rotate(-45deg); } 60% { opacity: 1; transform: translateY(8px) rotate(-45deg); } 80% { transform: translateY(-4px) rotate(-45deg); } 100% { transform: translateY(0) rotate(-45deg); } }
@keyframes pinFloat { 0%, 100% { transform: translateY(0) rotate(-45deg); } 50% { transform: translateY(-10px) rotate(-45deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(1,174,173,.45); } 70% { box-shadow: 0 0 0 22px rgba(1,174,173,0); } 100% { box-shadow: 0 0 0 0 rgba(1,174,173,0); } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }

.hero-copy > *, .page-hero-copy > * { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2), .page-hero-copy > *:nth-child(2) { animation-delay: .1s; }
.hero-copy > *:nth-child(3), .page-hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4), .page-hero-copy > *:nth-child(4) { animation-delay: .3s; }
.hero-copy > *:nth-child(5), .page-hero-copy > *:nth-child(5) { animation-delay: .4s; }
.hero-media .circle, .page-hero-media img, .page-hero-media video { animation: scaleIn 1s cubic-bezier(.2,.7,.2,1) .15s both; }
.pin-mark { animation: pinDrop .9s cubic-bezier(.3,.8,.3,1) .7s both, pinFloat 4s ease-in-out 1.8s infinite, pulse 2.6s ease-out 1.8s infinite; }
.hero-media .circle video, .hero-media .circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

.btn--grad { position: relative; overflow: hidden; }
.btn--grad::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
.btn--grad:hover::after { animation: shine .8s ease; }
.btn:hover { transform: translateY(-2px); }

.mini { transition: transform .3s, box-shadow .3s; }
.mini:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -26px rgba(9,34,67,.55); }
.mini .ico { transition: transform .35s; }
.mini:hover .ico { transform: rotate(-8deg) scale(1.08); }
.duo-card { transition: transform .35s; }
.duo-card:hover { transform: translateY(-4px); }
.media-img img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.media-img:hover img { transform: scale(1.03) rotate(-1deg); }
.site-header { transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -20px rgba(9,34,67,.45); }

/* Scroll reveal (only once JS confirms support; content stays visible without JS) */
.reveal-ready .rv { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal-ready .rv.rv-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .page-hero-copy > *, .hero-media .circle, .page-hero-media img, .pin-mark { animation: none !important; }
  .pin-mark { transform: rotate(-45deg); }
  .reveal-ready .rv { opacity: 1 !important; transform: none !important; }
}
/* Tiles: squares with gently rounded corners; big curve top-left on every tile */
.tile img, .tile:nth-child(n) img { border-radius: 150px 24px 24px 24px; }
@media (max-width: 560px) { .tile img, .tile:nth-child(n) img { border-radius: 70px 14px 14px 14px; } }
.center-head p.nowrap-lg { max-width: none; }
@media (max-width: 920px) { .br-lg { display: none; } .center-head p.nowrap-lg { max-width: 70ch; } }

/* Service tiles: diagonal fly-in (left tiles from the left, right tiles from the right; top row from above, bottom row from below) */
.reveal-ready .tiles .tile.rv { transition-duration: 1s, 1s; }
.reveal-ready .tiles .tile:nth-child(1).rv:not(.rv-in) { transform: translate(-70px, -50px); }
.reveal-ready .tiles .tile:nth-child(2).rv:not(.rv-in) { transform: translate(70px, -50px); }
.reveal-ready .tiles .tile:nth-child(3).rv:not(.rv-in) { transform: translate(-70px, 50px); }
.reveal-ready .tiles .tile:nth-child(4).rv:not(.rv-in) { transform: translate(70px, 50px); }
.reveal-ready .tiles .tile:nth-child(odd).rv { --d: 0s; }
.reveal-ready .tiles .tile:nth-child(even).rv { --d: .12s; }
