/* IZIA Branding: home page (index.html). Loads after base.css. */
/* ============ Hero ============ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 112px 0 clamp(64px, 6.5vw, 200px);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg) url('../images/hero/banner.jpg') center / cover no-repeat;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(27, 27, 27, .55) 0%, rgba(27, 27, 27, .72) 60%, var(--bg-2) 100%);
}
.hero-content { max-width: 820px; }
.hero h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.2;
  margin: 12px 0 10px;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
}
.hero-tagline {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: 1px;
  margin: 14px 0 18px;
}

.scroll-cue {
  position: relative;
  display: block;
  margin: 20px auto 0;
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold-grad);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ============ Ribbon: gold band draws in from the right, services run along its curve ============ */
.ribbon {
  position: relative;
  z-index: 3;
  margin: -9vw 0 -2vw;
  overflow: hidden;
  pointer-events: none;
}
.ribbon svg { display: block; width: 100%; height: auto; }
/* pathLength="1" on the paths: -1 hides the stroke past its right end, 0 is fully drawn */
.ribbon-draw { stroke-dasharray: 1 1; }
.ribbon.is-armed .ribbon-draw { stroke-dashoffset: -1; }
.ribbon.is-armed.is-drawn .ribbon-draw {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.5s cubic-bezier(.22, 1, .36, 1);
}
.ribbon-text {
  font-family: var(--f-display);
  font-size: 58px;
  letter-spacing: .05em;
  fill: var(--bg);
  dominant-baseline: central;
}
.ribbon-dot { font-family: var(--f-ui); }
@media (min-width: 861px) {
  .ribbon-band { stroke-width: 78px; }
  .ribbon-text { font-size: 40px; }
}
/* the band and its text scale with this width, so a smaller width means smaller text */
@media (max-width: 860px) {
  .ribbon { --ribbon-w: 900px; margin: -58px 0 -20px; }
  .ribbon svg { width: var(--ribbon-w); margin-left: calc(50% - var(--ribbon-w) / 2); }
}
@media (max-width: 560px) {
  .ribbon { --ribbon-w: 720px; margin: -46px 0 -16px; }
}
@media (max-width: 380px) {
  .ribbon { --ribbon-w: 620px; margin: -40px 0 -14px; }
}

/* ============ Intro ============ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 70px);
  align-items: center;
}
.intro p.lead { font-size: 18px; color: var(--muted); }
.intro blockquote {
  margin-top: 18px;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--gold);
  font-family: var(--f-head);
  font-size: 19px;
  font-weight: 700;
  font-style: italic;
}
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ============ Section header ============ */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 60px;
  margin-bottom: clamp(24px, 3vw, 34px);
}
.sec-head p { color: var(--muted); max-width: 460px; }

/* ============ Services (capsule gallery) ============ */
.services { overflow-x: clip; }
/* text sits close to the left edge; capsules run out past the right edge */
.caps-layout {
  padding-left: clamp(20px, 3.5vw, 64px);
  padding-right: 20px;
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: clamp(56px, 6vw, 96px);
  align-items: center;
}
.caps-intro { color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 360px; }
.caps-detail {
  position: relative;
  margin: 30px 0 26px;
  padding: 4px 0 4px 22px;
  min-height: 176px;
}
.caps-detail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(236, 188, 82, .12));
  transform-origin: top;
}
/* the line redraws on every service change, and a glint runs down it */
.caps-detail.swap::before { animation: capLine .7s var(--ease) backwards; }
@keyframes capLine { from { transform: scaleY(0); } }
.caps-detail::after {
  content: "";
  position: absolute;
  left: 0;
  width: 2px;
  height: 46px;
  background: linear-gradient(rgba(255, 241, 181, 0), #fff1b5 50%, rgba(255, 241, 181, 0));
  filter: drop-shadow(0 0 4px var(--gold));
  animation: capGlint 2.2s ease-in-out infinite;
}
@keyframes capGlint {
  0% { top: -46px; opacity: 0; }
  20%, 80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.caps-detail.swap > * { animation: capSwap .55s var(--ease) backwards; }
.caps-detail.swap > :nth-child(2) { animation-delay: .05s; }
.caps-detail.swap > :nth-child(3) { animation-delay: .1s; }
    @keyframes capSwap { from { opacity: 0; transform: translateY(12px); } }
.caps-detail h3 { font-size: 24px; margin: 0 0 8px; }
.caps-detail p { color: var(--muted); font-size: 15px; }

.caps-stage { position: relative; min-width: 0; }
.caps { position: relative; display: flex; gap: 14px; height: 520px; }
.cap {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-3);
  cursor: pointer;
  transition: flex-grow .6s var(--ease), flex-basis .6s var(--ease), border-color .4s, box-shadow .6s;
}
.cap.is-active {
  flex-grow: 3;
  border-color: rgba(236, 188, 82, .3);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .8), 0 0 36px -10px rgba(236, 188, 82, .45);
}
/* open capsule: two gold light arcs travelling around the border */
@property --cap-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.cap::before, .ind::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--cap-ang),
    transparent 0deg 95deg, #c9902e 130deg, #fff1b5 165deg, #f2c55c 175deg, transparent 180deg 275deg,
    #c9902e 310deg, #fff1b5 345deg, #f2c55c 355deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.cap.is-active::before, .ind::before { opacity: 1; animation: capSpin 3.2s linear infinite; }
@keyframes capSpin { to { --cap-ang: 360deg; } }
.cap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(.9) brightness(.5);
  transition: filter .6s var(--ease), transform 1.2s var(--ease);
}
.cap:hover img { filter: grayscale(.6) brightness(.65); }
.cap.is-active img { filter: grayscale(0) brightness(.88); transform: scale(1.04); }
.cap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(27, 27, 27, .4) 0%, rgba(27, 27, 27, 0) 28%, rgba(27, 27, 27, .88) 100%);
}
/* collapsed: vertical label; expanded: horizontal tag */
.cap-vert {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
  transition: opacity .3s;
}
.cap-tag {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translate(-50%, 12px);
  padding: 8px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(27, 27, 27, .7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
  opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cap.is-active .cap-vert { opacity: 0; }
.cap.is-active .cap-tag { opacity: 1; transform: translate(-50%, 0); transition-delay: .3s; }

/* after the last capsule, outside the cards: gold words with light sweeping along them */
.caps-more {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 0 .28em;
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.caps-more span {
  display: inline-block;
  color: var(--gold);
  background: linear-gradient(90deg, #c9902e 0%, #f2c55c 35%, #fff6d0 50%, #f2c55c 65%, #c9902e 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShine 2.8s linear infinite;
}

/* desktop: the section pins and scrolling carries the capsules from right to left (positions set by JS).
   The pin is only as tall as its content, so nothing is left empty when the section ends;
   --pin-top centres it below the navbar. */
.services.is-pinned { padding: 0; }
.services.is-pinned .caps-pin {
  position: sticky;
  top: var(--pin-top, 84px);
  padding: 34px 0;
}
.services.is-pinned .caps { display: block; height: min(520px, 100vh - 150px); }
.services.is-pinned .cap, .services.is-rail .cap {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  transform-origin: 100% 50%;
  will-change: transform, width;
  animation: none;
}
/* phones and tablets: an endless rail, also placed by JS, running off the right edge */
.services.is-rail .caps {
  display: block;
  height: min(380px, 100svh - 110px);
  margin-right: -20px;
  overflow: hidden;
}
/* fills the space beside the last capsule (left edge set by JS) */
.services.is-pinned .caps-more {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  font-size: clamp(44px, 6.5vw, 104px);
  pointer-events: none;
}

@media (max-width: 1100px) {
  .caps-layout { gap: 56px; }
  .caps { height: 460px; gap: 10px; }
}
@media (max-width: 860px) {
  .caps-layout { grid-template-columns: 1fr; gap: 0; }
  .caps-detail { min-height: 0; margin: 24px 0 20px; }
}

@media (max-width: 400px) {
  .cap-tag { padding: 7px 12px; font-size: 11px; letter-spacing: .06em; }
}

/* ============ Approach (Ideas / Platform / Story) ============ */
.pillars {
  margin-top: clamp(24px, 3vw, 34px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  padding: 28px 28px;
  text-align: center;
  transition: background .4s;
}
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar:hover { background: var(--bg-3); }
.pillar-icon {
  width: 64px;
  height: 56px;
  margin: 0 auto 12px;
  color: var(--gold);
  display: grid;
  place-items: center;
  transition: transform .5s var(--ease);
}
.pillar:hover .pillar-icon { transform: translateY(-4px); }
.pillar-icon svg { width: 44px; height: 44px; }
.pillar h3 {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 10px;
}
.pillar p { color: var(--muted); max-width: 300px; margin-inline: auto; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
}

/* ============ Industries (self-running row of cards) ============ */
/* Base (reduced motion, no JS): a swipeable row. JS adds two copies of the row for the loop. */
.inds-pin { position: relative; overflow: hidden; padding: clamp(32px, 3.4vw, 46px) 0; }
.inds-giant {
  position: absolute;
  left: 0;
  bottom: 4%;
  font-family: var(--f-display);
  font-size: clamp(120px, 21vw, 340px);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 188, 82, .24);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.inds .sec-head, .inds-rail { position: relative; z-index: 1; }
.inds-rail { overflow-x: auto; scrollbar-width: none; }
.inds-rail::-webkit-scrollbar { display: none; }
.inds-track {
  --ind-gap: clamp(16px, 2vw, 28px);
  display: flex;
  align-items: flex-start;
  gap: var(--ind-gap);
  width: max-content;
  padding: 0 var(--ind-gap) 10px 0;
}
/* running: JS moves the track; pan-y leaves vertical page swipes to the browser */
.inds-rail.is-running {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.inds-rail.is-running .inds-track { will-change: transform; }
.inds-rail.is-dragging { cursor: grabbing; }
.ind {
  flex: 0 0 clamp(260px, 27vw, 400px);
  height: min(58vh, 470px);
  min-height: 340px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px solid rgba(236, 188, 82, .3);
  box-shadow: 0 0 30px -12px rgba(236, 188, 82, .45);
}
/* staggered heights; counted per row of five so the loop joins up exactly */
.ind:nth-child(5n + 2), .ind:nth-child(5n + 4) { margin-top: 56px; }
.ind-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  transition: transform .9s var(--ease);
}
.ind-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ind::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .68) 100%);
}
.ind:hover .ind-media { transform: scale(1.07); }
.ind h3, .ind p { text-shadow: 0 1px 8px rgba(0, 0, 0, .65); }
.ind h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.ind h3::before { content: ""; width: 3px; height: 20px; background: var(--gold-grad); }
.ind p {
  color: #dcdcdc;
  font-size: 15px;
  max-width: 44ch;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease);
}
.ind:hover p, .ind:focus-within p { max-height: 120px; opacity: 1; margin-top: 8px; }
.ind a::after { content: ""; position: absolute; inset: 0; }
@media (hover: none) { .ind p { max-height: none; opacity: 1; margin-top: 8px; } }

@media (max-width: 860px) {
  .ind { flex-basis: 78vw; height: 380px; min-height: 0; }
  .ind:nth-child(5n + 2), .ind:nth-child(5n + 4) { margin-top: 30px; }
}

/* ============ Process ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  padding: 24px 22px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .4s, transform .4s var(--ease);
}
.step:hover { border-color: rgba(236, 188, 82, .4); transform: translateY(-4px); }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--f-ui);
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 14px;
  transition: background .4s, color .4s;
}
.step:hover .step-num { background: var(--gold-grad); color: var(--bg); }
.step p { color: var(--muted); }
.step p b { color: var(--gold); font-weight: 700; letter-spacing: .04em; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ============ Careers band ============ */
.careers-band {
  position: relative;
  padding: clamp(26px, 3.5vw, 38px) clamp(24px, 4vw, 50px);
  background: var(--bg-3);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 0 40px -12px rgba(236, 188, 82, .45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.careers-band h2 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 10px; }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.contact h2 {
  font-family: var(--f-display);
  font-weight: normal;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.3;
  letter-spacing: 1px;
  margin: 14px 0 6px;
}
/* "Give us a Shout": gold letters pop in, a glint runs across them, sound waves pulse out */
.shout {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 6px 0 14px;
}
.shout-lead { font-family: var(--f-head); font-weight: 300; font-style: italic; font-size: clamp(20px, 2vw, 26px); color: var(--muted); }
.shout-word, .shout-word > span {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shout-word.is-split { background: none; }
.shout-word > span {
  display: inline-block;
  animation: shoutGlint 3.6s ease-in-out infinite;
  animation-delay: calc(1.2s + var(--i) * 80ms);
}
.shout.in .shout-word > span {
  animation: shoutPop .7s cubic-bezier(.3, 1.6, .5, 1) backwards, shoutGlint 3.6s ease-in-out infinite;
  animation-delay: calc(var(--d, 0ms) + .25s + var(--i) * 70ms), calc(1.2s + var(--i) * 80ms);
}
@keyframes shoutPop { from { opacity: 0; transform: translateY(60%) scale(.4) rotate(-12deg); } }
@keyframes shoutGlint {
  0%, 72%, 100% { filter: none; }
  80% { filter: brightness(1.45) drop-shadow(0 0 8px rgba(236, 188, 82, .7)); }
}
.shout-waves { position: relative; width: 34px; height: 40px; }
.shout-waves i {
  position: absolute;
  top: 50%;
  left: 0;
  border: 2px solid transparent;
  border-right-color: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: shoutWave 1.8s ease-out infinite;
}
.shout-waves i:nth-child(1) { width: 16px; height: 16px; margin-top: -8px; left: -8px; }
.shout-waves i:nth-child(2) { width: 32px; height: 32px; margin-top: -16px; left: -16px; animation-delay: .2s; }
.shout-waves i:nth-child(3) { width: 48px; height: 48px; margin-top: -24px; left: -24px; animation-delay: .4s; }
@keyframes shoutWave {
  0% { opacity: 0; transform: translateX(-4px); }
  30% { opacity: 1; }
  70%, 100% { opacity: 0; transform: translateX(4px); }
}
.contact .lead { font-size: 17px; color: var(--muted); max-width: 420px; }
.phone-card {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px 14px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color .4s;
}
.phone-card:hover { border-color: var(--gold); }
.phone-card .ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
}
.phone-card .ic svg { width: 20px; height: 20px; }
.phone-card small { display: block; font-family: var(--f-ui); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.phone-card strong { font-size: 19px; }

.form {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 16px;
}
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: 11px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color .3s;
}
.field select { appearance: none; cursor: pointer; }
.field.select::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 19px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: .6; cursor: wait; }
/* hidden field that only bots fill in */
.form-trap { position: absolute; left: -9999px; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--gold); min-height: 1em; }
.toast {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 60;
  max-width: 360px;
  padding: 14px 20px;
  font-family: var(--f-ui);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast.show { opacity: 1; transform: none; }
@media (max-width: 520px) { .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; text-align: center; } }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* steps and approach icons pop in after their card appears */
.step.in .step-num, .pillar.in .pillar-icon { animation: aPop .6s var(--ease) backwards; animation-delay: calc(var(--d, 0ms) + .35s); }
@keyframes aPop { from { opacity: 0; transform: scale(.4); } }
