/* SafetyUnit Film & Television. The Loch colours: mist ground, white panels, deep petrol and sea-glass. Amber is kept for the logo and the header button. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --text: #14262B;
  --text-2: #55666B;
  --text-3: #5E7075;
  --grey: #EEF2F3;
  --white: #FFFFFF;
  --line: #DCE4E6;
  --link: #1C6B77;
  --amber: #FDBF00;
  --petrol: #0F3540;
  --petrol-dark: #0B2A33;
  --glass: #8FD3CF;
  --glass-deep: #2F8F9D;
  --glass-tint: #E3F2F1;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Inter", Arial, sans-serif;
  --display: var(--font);
  --max: 1024px;
  --wide: 1280px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--glass-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--petrol); }
h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.16; letter-spacing: -0.005em; }
h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.22; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 12px 18px; z-index: 50; }
.skip:focus { left: 16px; top: 16px; }

.kicker { font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.sub, .lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; font-weight: 400; color: var(--text-2); }
.center .sub { max-width: 720px; margin-left: auto; margin-right: auto; }
.note { color: var(--text-2); font-size: 15px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--text-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 22px; border-radius: 12px; background: var(--petrol); color: var(--white); font: 600 16px/1.2 var(--font); border: 1px solid var(--petrol); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--petrol-dark); text-decoration: none; color: var(--white); }
.btn-ghost { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.btn-ghost:hover { background: var(--petrol); color: var(--white); }
.btn-sm { min-height: 36px; padding: 6px 16px; font-size: 14px; background: var(--amber); border-color: var(--amber); color: var(--text); }
.btn-sm:hover { background: #FFCD2E; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 28px; }
.center .actions { justify-content: center; }
.more { font-size: 16px; font-weight: 600; color: var(--link); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.hwrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 152px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a.nl { color: var(--text); font-size: 14px; text-decoration: none; padding: 8px 0; }
.nav a.nl:hover { color: var(--link); }
.nav a.nl[aria-current="page"] { font-weight: 600; color: var(--petrol); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; padding: 8px 4px; color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 44px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 36px rgba(15, 53, 64, 0.12); padding: 10px 0; min-width: 240px; display: flex; flex-direction: column; }
.menu-panel a { padding: 12px 22px; color: var(--text); font-size: 17px; }
.menu-panel a:hover { background: var(--grey); text-decoration: none; }
@media (max-width: 960px) { .nav a.nl { display: none; } .menu { display: block; } }
@media (max-width: 420px) { .nav .btn-sm { display: none; } }
@media (max-width: 560px) { .hwrap { height: 60px; } .brand img { width: 132px; } }

/* Page opening: centred type, wide photograph */
.hero { padding: clamp(44px, 6vw, 80px) 0 0; background: var(--white); }
.hero h1 { max-width: 880px; margin: 0 auto; }
.hero .sub { margin-top: 18px; }
.hero-pic { max-width: var(--wide); margin: clamp(36px, 5vw, 56px) auto 0; padding: 0 22px; }
.hero-pic img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.hero-pic.short img { aspect-ratio: 24 / 9; }
@media (max-width: 760px) { .hero-pic img, .hero-pic.short img { aspect-ratio: 4 / 3; } }
.creds { text-align: center; color: var(--text-2); font-size: 15px; padding: 22px 22px 0; max-width: 860px; margin: 0 auto; }

/* Sections */
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section.grey { background: var(--grey); }
.section.white { background: var(--white); }
.intro { max-width: 820px; margin: 0 auto 40px; display: flex; flex-direction: column; gap: 14px; text-align: center; }

/* Service tiles */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: var(--wide); margin: 0 auto; }
.section .wrap .services { margin: 0 -100px; }
@media (max-width: 1240px) { .section .wrap .services { margin: 0; } }
@media (max-width: 980px) { .services { grid-template-columns: minmax(0, 1fr); } }
.services.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.section .wrap .services.two { margin: 0 auto; }
@media (max-width: 980px) { .services.two { grid-template-columns: minmax(0, 1fr); } }

.tile { background: var(--grey); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.section.grey .tile { background: var(--white); }
.tile .tt { padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.tile .tt p { color: var(--text-2); }
.tile .tp { display: block; margin-top: auto; }
.tile .tp img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Full-width photograph with text */
.band { position: relative; background: var(--petrol); color: var(--white); overflow: hidden; min-height: min(70vh, 620px); display: flex; align-items: flex-end; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,53,64,0.1) 20%, rgba(11,42,51,0.78) 68%, rgba(11,42,51,0.92) 100%); }
.band .wrap { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: clamp(44px, 6vw, 76px); }
.band .t { max-width: 720px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.band h2 { color: var(--white); }
.band .lead { color: rgba(255,255,255,0.9); }
.band .actions { margin-top: 8px; }
.band .pill { display: inline-flex; align-items: center; min-height: 46px; padding: 11px 22px; border-radius: 12px; background: var(--white); color: var(--petrol); font-size: 16px; font-weight: 600; text-decoration: none; }
.band .pill:hover { background: var(--glass-tint); text-decoration: none; }

/* Photo strip */
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; max-width: var(--wide); margin: 0 auto; padding: 0 22px; }
.strip img { width: 100%; height: clamp(220px, 26vw, 360px); object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; gap: 12px; } .strip img:first-child { grid-column: 1 / -1; } }
section[aria-label="On location"] .wrap { max-width: none; padding: 0; }

/* Founder */
.leader { display: flex; flex-direction: column; align-items: center; }
.portrait { width: 200px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px var(--glass), 0 14px 36px rgba(15, 53, 64, 0.14); margin-bottom: 32px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.leader .post { margin: 10px 0 16px; font-size: 15px; color: var(--text-2); font-weight: 500; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; align-items: center; margin-top: 28px; }
.badges img { width: auto; max-width: none; }
.badges .h46 { height: 46px; }
.badges .h40 { height: 40px; }
.badges .h36 { height: 36px; }
.co-badges { margin-top: 20px; }
.co-label { font-size: 13px; color: var(--text-3); margin-bottom: -10px; }

/* Cards for service pages */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }
.feature { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.section.white .feature { background: var(--grey); }
.feature p { color: var(--text-2); }

/* Text blocks */
.block { max-width: 820px; margin: 0 auto; }
.block .bh { margin-bottom: 28px; }
.block .bt { display: flex; flex-direction: column; gap: 18px; }
.block .bt .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text); line-height: 1.55; }
.block .feature-grid { margin-top: 0; }
.block:has(.feature-grid) { max-width: var(--max); }

/* Closing section */
.cta h2 { max-width: 760px; margin: 0 auto; }
.cta .sub { margin-top: 16px; }

/* Contact and forms */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 20px; }
.contact-cards .card { background: var(--grey); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; }
.contact-cards .card:hover { text-decoration: none; background: var(--glass-tint); }
.contact-cards .n { font-size: 14px; color: var(--text-2); }
.contact-cards strong { font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; color: var(--petrol); }
.panel { display: block; background: var(--grey); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--text-2); }
.field input, .field textarea { font: inherit; font-size: 17px; min-height: 50px; padding: 12px 16px; border: 1px solid #D3DDE0; border-radius: 12px; background: var(--white); color: var(--text); width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(47, 143, 157, 0.45); outline-offset: 0; border-color: var(--glass-deep); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.checks label { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; min-height: 46px; padding: 0 18px; border: 1px solid #D3DDE0; border-radius: 12px; cursor: pointer; background: var(--white); }
.checks input { width: 18px; height: 18px; accent-color: var(--petrol); }
.hp { position: absolute; left: -9999px; }
.pill-petrol { display: inline-flex; align-items: center; min-height: 46px; padding: 11px 26px; border-radius: 12px; background: var(--petrol); color: var(--white); border: 0; font: 600 16px var(--font); cursor: pointer; }
.pill-petrol:hover { background: var(--petrol-dark); }

/* Prose */
.prose { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 24px; margin-top: 18px; }
.prose h1 { font-size: clamp(30px, 3.8vw, 42px); }
.prose .eyebrow { color: var(--text-2); }

/* Footer */
.ftr { background: var(--grey); color: var(--text-2); font-size: 14px; line-height: 1.55; }
.fwrap { max-width: var(--max); margin: 0 auto; padding: 44px 22px 28px; display: flex; flex-direction: column; gap: 24px; }
.ftr .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px 40px; }
@media (max-width: 860px) { .ftr .top { grid-template-columns: 1fr 1fr; } }
.ftr .top > div { display: flex; flex-direction: column; gap: 8px; }
.ftr img { width: 170px; height: auto; margin-bottom: 6px; }
.ftr h4 { margin: 0 0 2px; font-size: 14px; font-weight: 600; color: var(--text); }
.ftr a { color: var(--text-2); }
.ftr a:hover { color: var(--text); }
.ftr .legal { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 4px; color: var(--text-3); font-size: 13px; }

/* Home page opening photograph */
.hero-full { position: relative; min-height: min(86vh, 800px); display: flex; align-items: flex-end; background: var(--petrol); color: #fff; overflow: hidden; }
.hero-full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,53,64,0.25) 0%, rgba(15,53,64,0.45) 35%, rgba(11,42,51,0.84) 72%, rgba(11,42,51,0.94) 100%); }
.hero-full .wrap { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: clamp(52px, 7vw, 92px); }
.hero-full h1 { color: #fff; max-width: 940px; margin: 0 auto; }
.hero-full .sub { color: rgba(255,255,255,0.9); margin-top: 18px; }
.btn-light { background: #fff; border-color: #fff; color: var(--petrol); }
.btn-light:hover { background: var(--glass-tint); color: var(--petrol); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,0.75); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Platform screens */
.platform .shot-main { max-width: 1120px; margin: 40px auto 0; padding: 0 22px; }
.platform .shot-main img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15, 53, 64, 0.05), 0 14px 36px rgba(15, 53, 64, 0.1); }
.platform .shot-main.narrow { max-width: 900px; }
.shot-pair { max-width: 1120px; margin: 24px auto 0; padding: 0 22px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; }
@media (max-width: 860px) { .shot-pair { grid-template-columns: minmax(0, 1fr); } }
.shot-pair.two-phones { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .shot-pair.two-phones { grid-template-columns: minmax(0, 1fr); } }
.shot-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 20px; }
.shot-card img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(15, 53, 64, 0.08); }
.shot-card.phone { align-items: center; }
.shot-card.phone img { width: auto; max-width: 100%; max-height: 520px; border-radius: 30px; box-shadow: 0 0 0 8px var(--text), 0 14px 36px rgba(15, 53, 64, 0.16); }
.shot-card figcaption { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.shot-card figcaption p { color: var(--text-2); }
.sec-pair .shot-card:first-child { justify-content: center; }
.caption-note { margin-top: 28px; color: var(--text-2); font-size: 15px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* Badges supplied on a white ground: blend the white away so they sit on the page colour */
.badges img[src*="badge-iirsm"], .badges img[src*="badge-oshcr"] { mix-blend-mode: multiply; }

/* Colour (v4.12). Two colours only: deep petrol and sea-glass. One pale sea-glass tint for alternate sections and cards, and a petrol footer. */
.section.grey { background: var(--glass-tint); }
.tile, .section.white .feature, .contact-cards .card, .panel { background: var(--glass-tint); }
.section.grey .tile, .section.grey .feature { background: var(--white); }
.tile .tt p, .feature p { color: var(--text); }
.contact-cards .card:hover { background: #D5ECEA; }
.section.cta { background: var(--glass-tint); }
.section.grey + .section.cta { background: var(--white); }
.creds { color: var(--petrol); }
.ftr { background: var(--petrol); color: #A9C4C9; }
.ftr h4 { color: #FFFFFF; }
.ftr a { color: #D6E4E7; }
.ftr a:hover { color: #FFFFFF; }
.ftr .legal { border-top-color: #26505B; color: #A9C4C9; }

/* Phones (v4.14) */
.more { display: inline-block; padding: 8px 0; }
@media (max-width: 960px) { .nav a.nl.tel { display: inline-block; font-weight: 600; font-size: 15px; color: var(--petrol); } }
@media (max-width: 560px) { .nav { gap: 16px; } .nav .btn-sm { display: none; } }
@media (max-width: 700px) {
  .platform .shot-main.swap-phone img { width: auto; max-width: 100%; max-height: 520px; margin: 0 auto; border-radius: 30px; box-shadow: 0 0 0 8px var(--text), 0 14px 36px rgba(15, 53, 64, 0.16); }
  .platform .shot-main.swap-phone { padding: 8px 30px 0; }
  .platform .shot-main.narrow, .sec-pair .shot-card:first-child { display: none; }
}
.nav a.nl.tel { white-space: nowrap; }
@media (max-width: 400px) { .brand img { width: 118px; } .hwrap { padding: 0 16px; gap: 10px; } .nav { gap: 12px; } }

/* Version 4.24: sign in, questions, and quiet movement */
.btn-sm.btn-sign { background: transparent; border-color: var(--petrol); color: var(--petrol); margin-right: 8px; }
.btn-sm.btn-sign:hover { background: var(--petrol); color: #fff; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; color: var(--text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 20px; color: var(--petrol); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .hero-full h1, .hero-full .sub, .hero-full .actions, .hero h1, .hero .sub, .hero .actions { animation: su-rise 0.6s ease-out both; }
  .hero-full .sub, .hero .sub { animation-delay: 0.08s; }
  .hero-full .actions, .hero .actions { animation-delay: 0.16s; }
  .tile, .feature, .shot-card, .faq details { transition: transform 0.18s ease, box-shadow 0.18s ease; }
  .tile:hover, .feature:hover, .shot-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(15, 53, 64, 0.10); }
  .faq details[open] p { animation: su-open 0.2s ease-out both; }
  .btn { transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
  .btn:hover { transform: translateY(-1px); }
}
@keyframes su-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes su-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .btn-sm.btn-sign { display: none; } }
.ftr .top { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
@media (max-width: 1000px) { .ftr .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr .top { grid-template-columns: 1fr; } }

/* Version 4.24: movement learned from the Westmark build */
.rotator { height: 1.6em; overflow: hidden; margin: 16px auto 0; color: rgba(255,255,255,0.92); font-weight: 500; font-size: 17px; }
.rot-track { display: flex; flex-direction: column; }
.rot-track span { height: 1.6em; line-height: 1.6em; display: block; }
.rot-track span::before { content: "\2713"; color: var(--glass); margin-right: 10px; font-weight: 700; }
.ribbon { overflow: hidden; max-width: 1100px; margin: 18px auto 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.rib-track { display: flex; width: max-content; gap: 0; }
.rib-track span { white-space: nowrap; color: var(--text-3, #6B7F84); font-size: 14px; padding: 0 22px; position: relative; }
.rib-track span::after { content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--glass); transform: translateY(-50%); }
.live { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--petrol); background: var(--glass-tint); border-radius: 999px; padding: 6px 14px; }
.live .dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #2E9E6A; }
.glow { background-image: radial-gradient(260px circle at var(--mx, -400px) var(--my, -400px), rgba(255,255,255,0.65), rgba(255,255,255,0) 70%); }
.tile.glow, .feature.glow { background-repeat: no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .rot-track { animation: su-rotate 12s cubic-bezier(.6,0,.2,1) infinite; }
  .rib-track { animation: su-drift 40s linear infinite; }
  .ribbon:hover .rib-track { animation-play-state: paused; }
  .live .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2E9E6A; animation: su-ping 2s ease-out infinite; }
}
@keyframes su-rotate {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.6em); }
  50%, 70% { transform: translateY(-3.2em); }
  75%, 95% { transform: translateY(-4.8em); }
  100% { transform: translateY(-6.4em); }
}
@keyframes su-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes su-ping { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@media (max-width: 600px) { .rotator { font-size: 15px; } }
.hero-full .ribbon { margin-top: 34px; }
.hero-full .rib-track span { color: rgba(255,255,255,0.78); }
.hero-full .rib-track span::after { background: var(--glass); }
.hero-full .wrap { padding-bottom: clamp(36px, 5vw, 64px); }

/* iPad and iPhone Safari: keep text at the size set here when the device is turned, and keep everything inside the screen width */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, picture, video, svg { max-width: 100%; height: auto; }
.ribbon, .rotator, .hero-full { contain: paint; }

/* Contact card at /c */
.card-page { background: var(--grey); min-height: 100vh; }
.cardwrap { max-width: 520px; margin: 0 auto; padding: 32px 18px 28px; }
.ccard { background: #fff; border-radius: 20px; padding: 32px 26px; text-align: center; box-shadow: 0 1px 2px rgba(15,53,64,0.05), 0 14px 36px rgba(15,53,64,0.08); }
.clogo img { width: 190px; height: auto; margin: 0 auto 22px; display: block; }
.ccard h1 { font-size: 30px; margin: 0; color: var(--petrol); }
.crole { margin: 6px 0 0; font-weight: 600; color: var(--text); }
.ccreds { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.cline { margin: 16px 0 0; color: var(--text-2); }
.cbtns { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.cbtns .btn { width: 100%; }
.clinks { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.cfoot { text-align: center; font-size: 12px; color: var(--text-3, #6B7F84); margin: 18px 8px 0; }
.cphoto { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 16px; background: var(--grey); }
