/* The Mediterranean Practice: home page (Column-inspired, original) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hm { --hm-bg: #F6F8FA; --hm-ink: #0A1B2A; --hm-mute: #6B7785; --hm-soft: #A7B1BB; --hm-acc: #0B5D8C; --hm-line: #E3E8EC; background: var(--hm-bg); color: var(--hm-ink); }
.hm .wrap { max-width: 1200px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.hm-sec { padding: clamp(72px, 9vw, 128px) 0; }

/* Type */
.hm-h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.025em; color: var(--hm-ink); margin: 0; max-width: 12ch; }
.hm-h1 .word { display: inline-block; opacity: 0; transform: translateY(18px); animation: hmRise .7s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes hmRise { to { opacity: 1; transform: none; } }
.hm-h1.sm { font-size: clamp(36px, 4.4vw, 60px); max-width: none; }
.hm-h2 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 18px 0 0; color: var(--hm-ink); }
.hm-h2.big { font-size: clamp(32px, 3.6vw, 48px); max-width: 20ch; }
.hm-h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; letter-spacing: -0.01em; margin: 0; color: var(--hm-ink); }
.hm-sub { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; color: #2B3A48; margin: 18px 0 0; max-width: 34ch; }
.hm-lead { font-size: 16px; line-height: 1.6; color: var(--hm-mute); margin: 14px 0 0; max-width: 46ch; }
.hm-chip { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--hm-acc); background: rgba(11,93,140,.07); padding: 4px 10px; border-radius: 4px; }
.hm-chip.on-dark { color: #8FD3EF; background: rgba(143,211,239,.10); }

/* Buttons */
.hm-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hm-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 9px; font-size: 15px; font-weight: 500; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.hm-btn svg { transition: transform .2s ease; }
.hm-btn:hover svg { transform: translateX(2px); }
.hm-btn-dark { background: var(--hm-ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 16px rgba(10,27,42,.22); }
.hm-btn-dark:hover { background: #12304A; }
.hm-btn-light { background: rgba(255,255,255,.7); color: var(--hm-ink); box-shadow: 0 0 0 1px rgba(10,27,42,.12), 0 1px 1px rgba(10,27,42,.04); }
.hm-btn-light:hover { background: #fff; box-shadow: 0 0 0 1px rgba(10,27,42,.18), 0 6px 14px rgba(10,27,42,.06); }

/* 1. Hero */
.hm-hero { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 70% 40%, #EAF5FB 0%, rgba(234,245,251,0) 70%), var(--hm-bg); }
.hm-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.hm-hero-in { position: relative; min-height: clamp(600px, 72vh, 760px); display: flex; align-items: center; }
.hm-hero-c { position: relative; z-index: 2; padding: 48px 0 64px; }
.hm-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--hm-mute); background: rgba(255,255,255,.85); padding: 6px 12px 6px 6px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(10,27,42,.06), 0 6px 18px rgba(10,27,42,.06); margin-bottom: 30px; }
.hm-badge b { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #fff; background: var(--hm-acc); padding: 3px 7px; border-radius: 5px; }
.hm-route { position: absolute; z-index: 3; width: 330px; left: 62%; top: 30%; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 14px; padding: 14px 16px 12px; box-shadow: 0 0 0 1px rgba(10,27,42,.06), 0 24px 60px rgba(10,27,42,.14); font-size: 13px; opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.hm-route.in { opacity: 1; transform: none; }
.hr-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; }
.hr-flag { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; font-weight: 500; color: #fff; background: #1E3A6E; }
.hr-flag.ng { background: #0F8A4B; }
.hr-who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.hr-who small { font-size: 11px; color: var(--hm-mute); }
.hr-who b { font-weight: 600; font-size: 14px; color: var(--hm-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-loc { font-size: 11px; color: var(--hm-soft); align-self: start; padding-top: 2px; }
.hr-arrow { color: var(--hm-soft); padding: 4px 0 4px 8px; }
.hr-status { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--hm-line); font-size: 12px; color: var(--hm-soft); }
.hr-status span { display: inline-flex; align-items: center; gap: 5px; }
.hr-status span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; }
.hr-status .ok { color: #0F8A4B; }
.hr-status .ok::before { background: currentColor; }
.hr-status .now { color: var(--hm-acc); }
.hr-code, .hm-code { font-family: var(--mono); font-size: 11.5px; line-height: 1.65; margin: 10px -16px -12px; padding: 10px 16px 12px; background: #F3F6F8; border-radius: 0 0 14px 14px; color: #3A4856; white-space: pre; overflow: hidden; }
.hr-code i, .hf-log i { font-style: normal; color: #0B5D8C; }
.hr-code s, .hf-log s { text-decoration: none; color: #0F8A4B; }
.hr-code u { text-decoration: none; color: #B45309; }
.hr-code .c, .hm-code .c { color: #98A3AE; }
.hm-forums { position: relative; z-index: 2; padding-bottom: 36px; }
.hm-marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hm-marq-in { display: flex; width: max-content; animation: hmMarq 48s linear infinite; }
.hm-marq-run { display: flex; gap: 48px; padding-right: 48px; }
.hm-marq-run span { font-size: 14px; font-weight: 500; color: #7F8B97; white-space: nowrap; letter-spacing: -.005em; }
@keyframes hmMarq { to { transform: translateX(-50%); } }
.hm-marq:hover .hm-marq-in { animation-play-state: paused; }

/* 2. Proof */
.hm-proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--hm-line); }
.hm-proof-c .hm-h3 span { color: var(--hm-soft); }
.hm-proof-c p { color: var(--hm-mute); margin: 18px 0 24px; max-width: 46ch; font-size: 15.5px; }
.hm-wave { width: 100%; height: 300px; display: block; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 85%, transparent); }
.hm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; }
.hm-facts div { margin: 0; }
.hm-facts dt { font-family: var(--display); font-size: clamp(22px, 2vw, 26px); font-weight: 500; letter-spacing: -.01em; color: var(--hm-acc); }
.hm-facts dd { margin: 6px 0 0; font-size: 12.5px; color: var(--hm-mute); }

/* 3. Showcase */
.hm-show-sec { padding-top: 0; }
.hm-show { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgba(10,27,42,.06), 0 30px 70px rgba(10,27,42,.06); padding: 14px; overflow: hidden; }
.hs-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hs-tab { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border: 0; border-radius: 10px; background: transparent; color: var(--hm-mute); font: 500 15px var(--body); cursor: pointer; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.hs-tab .bi { width: 30px; height: 30px; background: transparent; }
.hs-tab:hover { background: #F3F6F8; color: var(--hm-ink); }
.hs-tab[aria-selected="true"] { background: var(--hm-acc); color: #fff; box-shadow: 0 8px 18px rgba(11,93,140,.25); }
.hs-tab[aria-selected="true"] .bi { color: #fff; }
.hs-pane { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; min-height: 470px; padding: 34px 26px 26px; }
.hs-pane[hidden] { display: none; }
.hs-pane.on { animation: hsIn .5s ease; }
@keyframes hsIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hs-c { display: flex; flex-direction: column; gap: 18px; }
.hs-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hs-tags li { font-size: 13px; padding: 5px 10px; border-radius: 6px; background: #F1F4F7; color: #33414F; }
.hs-q { margin: auto 0 0; padding-top: 18px; }
.hs-q > span[aria-hidden] { font-family: var(--serif); font-size: 40px; line-height: .6; color: var(--hm-soft); display: block; height: 18px; }
.hs-q blockquote { margin: 8px 0 0; font-size: 17px; line-height: 1.5; color: var(--hm-ink); max-width: 40ch; }
.hs-q figcaption { margin-top: 12px; font-size: 13.5px; color: var(--hm-mute); }
.hs-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--hm-acc); }
.hs-link { font-size: 14px; font-weight: 500; color: var(--hm-acc); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.hs-art { position: relative; border-radius: 14px; overflow: hidden; background: #FAFBFC; min-height: 380px; }
.hs-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--dot) 1.3px, transparent 1.8px); background-size: 9px 9px; -webkit-mask-image: radial-gradient(70% 80% at 80% 85%, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%); mask-image: radial-gradient(70% 80% at 80% 85%, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%); }
.h-blue .hs-dots { --dot: #1DADDF; }
.h-teal .hs-dots { --dot: #1A9C97; }
.h-sand .hs-dots { --dot: #C98A4B; }
.hs-ui { position: absolute; left: 8%; right: 8%; bottom: 0; }
.hs-ui .bx-vis, .hm-panel-ui .bx-vis { min-height: 0; margin: 0; padding: 0; background: none; }
.hs-ui .ui { transform: none; max-width: 420px; margin: 0 auto; }

/* 4. How we work */
.hm-how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hm-how-c .hm-btn { margin-top: 24px; }
.hm-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.hm-feats h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: var(--hm-ink); }
.hm-feats p { font-size: 14.5px; line-height: 1.6; color: var(--hm-mute); margin: 0; }
.hm-file { background: #EEF2F5; border-radius: 16px; padding: 10px; box-shadow: 0 0 0 1px rgba(10,27,42,.05); }
.hf-card { background: #fff; border-radius: 12px; padding: 18px 18px 16px; box-shadow: 0 1px 2px rgba(10,27,42,.06), 0 10px 26px rgba(10,27,42,.06); }
.hf-top { display: flex; justify-content: space-between; align-items: center; }
.hf-top b { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.hf-ex { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--hm-soft); }
.hf-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--hm-mute); margin-top: 6px; }
.hf-meta .ok { color: #0F8A4B; }
.hf-bar { height: 4px; background: #EDF1F4; border-radius: 4px; margin: 18px 0 12px; overflow: hidden; }
.hf-bar i { display: block; height: 100%; width: 45%; background: linear-gradient(90deg, #1DADDF, #0B5D8C); border-radius: 4px; }
.hf-ends { display: flex; justify-content: space-between; font-size: 13px; }
.hf-ends span { display: flex; flex-direction: column; }
.hf-ends span:last-child { text-align: right; }
.hf-ends small { color: var(--hm-soft); font-size: 11.5px; }
.hf-log { padding: 16px 10px 6px; }
.hf-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--hm-soft); }
.hf-log ol { margin: 10px 0 0; padding: 0 0 0 30px; font-family: var(--mono); font-size: 12px; line-height: 1.85; color: #3A4856; }
.hf-log li::marker { color: #B8C1C9; font-size: 11px; }
.hf-log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 5. Dark */
.hm-dark-wrap { padding: 0 10px; }
.hm-dark { background: #07141F; color: #E6EEF3; border-radius: 22px; padding: clamp(72px, 8vw, 112px) 0; overflow: hidden; position: relative; }
.hm-dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(143,211,239,.07) 1px, transparent 1.4px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(60% 50% at 70% 20%, #000, transparent 75%); mask-image: radial-gradient(60% 50% at 70% 20%, #000, transparent 75%); pointer-events: none; }
.hm-dark .hm-h2 { color: #EAF4F9; max-width: 14ch; font-size: clamp(32px, 3.6vw, 48px); }
.hm-dark .hm-lead { color: #93A4B2; }
.hm-stand { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hm-layers { position: relative; height: 320px; }
.ly { position: absolute; left: 12%; width: 220px; height: 220px; transform: rotateX(58deg) rotateZ(-45deg); transform-style: preserve-3d; border-radius: 26px; }
.ly i { position: absolute; inset: 0; border-radius: 26px; }
.ly1 { top: -30px; } .ly2 { top: 40px; } .ly3 { top: 110px; }
.ly1 i { background: linear-gradient(135deg, #2C4659, #15283A); box-shadow: 0 0 0 1px rgba(143,211,239,.18) inset, 0 18px 0 #0E1E2C, 0 30px 50px rgba(0,0,0,.5); }
.ly2 i { background: linear-gradient(135deg, #1DADDF, #0B5D8C); box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 18px 0 #084466, 0 30px 50px rgba(0,0,0,.5); }
.ly3 i { background: repeating-linear-gradient(90deg, #2A3D4C 0 3px, #1B2B38 3px 6px); box-shadow: 0 0 0 1px rgba(143,211,239,.14) inset, 0 18px 0 #0B1823, 0 30px 50px rgba(0,0,0,.5); }
.lyl { position: absolute; right: 0; font-size: 12.5px; color: #93A4B2; padding-left: 16px; width: 38%; border-top: 1px solid rgba(143,211,239,.18); padding-top: 6px; text-align: right; }
.lyl.l1 { top: 54px; } .lyl.l2 { top: 124px; color: #8FD3EF; } .lyl.l3 { top: 194px; }
.hm-mods { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); margin-top: clamp(64px, 8vw, 112px); }
.hm-mod { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hm-mod h3 { font-size: 21px; font-weight: 500; color: #fff; margin: 0; }
.hm-mod p { font-size: 15px; line-height: 1.6; color: #93A4B2; margin: 10px 0 18px; max-width: 42ch; }
.hm-mod .hm-code { margin: 0; border-radius: 10px; background: #0D1F2D; color: #CFE3EE; box-shadow: 0 0 0 1px rgba(143,211,239,.12); padding: 14px 16px; font-size: 12.5px; }
.hm-mod .hm-code .c { color: #6FB9D9; }
.hm-mod-a { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; font-size: 14px; font-weight: 500; color: #8FD3EF; text-decoration: none; }
.hm-panel { background: #102332; border-radius: 16px; box-shadow: 0 0 0 1px rgba(143,211,239,.12); padding: 32px 16px 16px; display: flex; flex-direction: column; gap: 22px; }
.hm-panel-ui { display: flex; justify-content: center; }
.hm-panel-ui .ui { transform: none; border-radius: 14px; max-width: 400px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.hm-subs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hm-subs a { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px rgba(143,211,239,.12) inset; color: #DCE8EF; font-size: 13px; text-decoration: none; transition: background .2s ease; }
.hm-subs a:hover { background: rgba(255,255,255,.08); }
.hm-subs .bi { width: 26px; height: 26px; background: transparent; color: #8FD3EF; }

/* 6. Who we act for */
.hm-for-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 22px; padding-top: 30px; border-top: 1px solid var(--hm-line); }
.hm-aud { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.hm-aud-b { display: inline-flex; align-items: center; gap: 10px; border: 1px solid transparent; background: transparent; padding: 4px 12px; margin-left: -12px; border-radius: 9px; font: 500 clamp(26px, 2.8vw, 38px)/1.2 var(--display); letter-spacing: -.02em; color: rgba(10,27,42,.24); cursor: pointer; text-align: left; transition: color .25s ease, background .25s ease, box-shadow .25s ease; }
.hm-aud-b:hover { color: rgba(10,27,42,.5); }
.hm-aud-b .ai { display: none; color: var(--hm-acc); }
.hm-aud-b[aria-selected="true"] { color: var(--hm-ink); background: rgba(255,255,255,.7); border-color: #fff; box-shadow: 0 8px 16px rgba(10,27,42,.05), 0 4px 8px rgba(10,27,42,.05); }
.hm-aud-b[aria-selected="true"] .ai { display: inline-flex; }
.hm-aud-p { margin-top: 28px; min-height: 150px; }
.hm-aud-p p { font-size: 16px; line-height: 1.6; color: var(--hm-mute); max-width: 46ch; margin: 0 0 20px; }
.hm-pix { max-width: 440px; justify-self: end; width: 100%; -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%); }
.hm-pix svg { display: block; width: 100%; height: auto; animation: hsIn .5s ease; }

/* 7. Blocks */
.hm-groups { display: flex; flex-direction: column; gap: 44px; margin-top: 56px; }
.hm-group { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 32px; }
.hm-group h3 { font-size: 16px; font-weight: 600; margin: 8px 0 0; color: var(--hm-ink); max-width: 18ch; }
.hm-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hm-pill { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 9px; background: #EEF2F5; color: var(--hm-ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s ease, box-shadow .2s ease; }
.hm-pill:hover { background: #fff; box-shadow: 0 0 0 1px rgba(10,27,42,.08), 0 6px 14px rgba(10,27,42,.05); }
.hm-pill .bi { width: 28px; height: 28px; background: #fff; border-radius: 7px; color: var(--hm-acc); box-shadow: 0 1px 2px rgba(10,27,42,.08); }

/* 8. Insights */
.hm-ins { padding-top: 0; }
.hm-ins-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hm-ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.hm-art { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(10,27,42,.06); text-decoration: none; color: var(--hm-ink); transition: box-shadow .2s ease, transform .2s ease; }
.hm-art:hover { box-shadow: 0 0 0 1px rgba(10,27,42,.1), 0 16px 34px rgba(10,27,42,.08); transform: translateY(-2px); }
.hm-art-m { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--hm-mute); }
.hm-art b { font-size: 17px; line-height: 1.35; font-weight: 600; }
.hm-art p { margin: 0; font-size: 14px; color: var(--hm-mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-art-a { margin-top: auto; font-size: 13.5px; font-weight: 500; color: var(--hm-acc); display: inline-flex; gap: 6px; align-items: center; }

/* 9. Close */
.hm-close-wrap { padding: 0 10px 10px; }
.hm-close { background: #ECF0F3; border-radius: 22px; padding: clamp(64px, 8vw, 104px) 0; }
.hm-close-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.hcc { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 14px; background: rgba(255,255,255,.65); box-shadow: 0 0 0 1px rgba(10,27,42,.06); color: var(--hm-ink); text-decoration: none; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.hcc:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(10,27,42,.08), 0 16px 34px rgba(10,27,42,.07); }
.hcc .dotico { margin-bottom: 26px; }
.hcc b { font-size: 16px; font-weight: 600; }
.hcc small { font-size: 13.5px; color: var(--hm-mute); }

/* Home hides the global CTA fab label clash: nothing */

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .hm-route { width: 300px; }
  .hm-mod { grid-template-columns: minmax(0, 1fr); }
  .hm-stand { grid-template-columns: minmax(0, 1fr); }
  .hm-layers { display: none; }
}
@media (max-width: 900px) {
  .hm-proof-grid, .hm-how-grid, .hm-for-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-wave { height: 200px; }
  .hs-pane { grid-template-columns: minmax(0, 1fr); }
  .hs-art { min-height: 300px; }
  .hm-pix { display: none; }
  .hm-group { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hm-ins-grid, .hm-close-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Phone: compact, message first ---------- */
@media (max-width: 700px) {
  .hm .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .hm-sec { padding: 56px 0; }
  .hm-hero-in { min-height: 0; display: block; }
  .hm-hero-c { padding: 28px 0 22px; }
  .hm-badge { font-size: 12px; margin-bottom: 20px; }
  .hm-h1 { font-size: clamp(38px, 11vw, 46px); }
  .hm-sub { font-size: 17px; }
  .hm-ctas { margin-top: 22px; }
  .hm-ctas .hm-btn { flex: 1 1 auto; justify-content: center; height: 48px; }
  .hm-route { position: relative; left: auto !important; top: auto !important; width: auto; margin: 0 0 26px; }
  .hr-code { display: none; }
  .hm-forums { padding-bottom: 26px; }
  .hm-marq-run { gap: 32px; padding-right: 32px; }
  .hm-marq-run span { font-size: 13px; }
  .hm-proof-grid { gap: 8px; }
  .hm-wave { display: none; }
  .hm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; margin-top: 28px; }
  .hm-show { padding: 8px; border-radius: 16px; }
  .hs-tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .hs-tabs::-webkit-scrollbar { display: none; }
  .hs-tab { flex: none; height: 44px; padding: 0 14px; font-size: 14px; }
  .hs-tab .bi { display: none; }
  .hs-pane { min-height: 0; padding: 22px 12px 14px; gap: 16px; }
  .hs-art { display: none; }
  .hs-q blockquote { font-size: 16px; }
  .hm-feats { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 30px; }
  .hm-file { display: none; }
  .hm-dark-wrap, .hm-close-wrap { padding: 0 6px; }
  .hm-dark { border-radius: 18px; padding: 56px 0; }
  .hm-mods { gap: 36px; margin-top: 40px; }
  .hm-panel { display: none; }
  .hm-mod p { margin-bottom: 14px; }
  .hm-aud-b { font-size: 24px; padding: 3px 10px; margin-left: -10px; }
  .hm-aud-p { margin-top: 18px; min-height: 0; }
  .hm-groups { gap: 28px; margin-top: 32px; }
  .hm-pills { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hm-group:nth-child(n) .hm-pill:nth-child(n+5) { display: none; }
  .hm-ins-grid .hm-art:nth-child(n+3) { display: none; }
  .hm-art p { display: none; }
  .hm-close { border-radius: 18px; padding: 52px 0; }
  .hm-close-cards { margin-top: 28px; gap: 8px; }
  .hcc { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 14px; padding: 16px; }
  .hcc .dotico { margin: 0; grid-row: span 2; }
  .hcc b { flex: 1; }
  .hcc small { flex-basis: 100%; padding-left: 56px; margin-top: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-marq-in { animation: none; }
  .hm-h1 .word { animation: none; opacity: 1; transform: none; }
}
