:root {
  --deep: #042f46;
  --ocean: #056f8c;
  --aqua: #6ddbd3;
  --sky: #b7f2ef;
  --gold: #f5c867;
  --cream: #fffaf0;
  --ink: #123243;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.welcome {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  grid-template-rows: auto 1fr;
  gap: 2rem;
  padding: clamp(1.4rem, 4vw, 4rem) clamp(1.4rem, 7vw, 7rem);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(109,219,211,.35), transparent 25%),
    linear-gradient(142deg, #03293f 4%, #075d7c 62%, #05879a 100%);
}

.welcome::after {
  content: "";
  position: absolute;
  left: -5%; right: -5%; bottom: -6rem;
  height: 12rem;
  border-radius: 50% 50% 0 0;
  background: var(--cream);
  opacity: .98;
}

.brand {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.brand-mark { width: 2.15rem; height: 2.15rem; object-fit: contain; object-position: center; filter: drop-shadow(0 4px 6px rgba(0,0,0,.16)); transform: rotate(-8deg); }
.cube-gallery {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.65rem, 1.5vw, 1.25rem);
  width: 100%;
  max-width: 1380px;
  margin: 1rem auto 2rem;
}
.cube-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: clamp(.8rem, 1.8vw, 1.35rem);
  background: rgba(255,255,255,.1);
  box-shadow: 0 22px 55px rgba(0,20,34,.24);
}
.cube-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 760px; padding-bottom: 5rem; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #087a87; }
h1, h2, h3 { margin-top: 0; line-height: 1.14; }
h1, h2 { font-family: "Libre Baskerville", Georgia, serif; }
h1 { margin-bottom: 1.5rem; font-size: clamp(2.45rem, 6vw, 5.7rem); letter-spacing: -.045em; }
h1 em { color: var(--sky); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -.035em; }
.introduction { max-width: 700px; margin: 0 0 2rem; font-size: clamp(1.08rem, 2vw, 1.3rem); color: rgba(255,255,255,.86); }
.introduction p { margin: 0 0 1rem; }
.introduction .direct-introduction { color: var(--sky); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #17313b; background: var(--gold); }
.button-secondary { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.reassurance { margin: .9rem 0 0; font-size: .9rem; color: rgba(255,255,255,.72); }
.dolphin-wordmark { position: relative; z-index: 2; align-self: center; justify-self: center; padding-bottom: 6rem; }
.dolphin { display: block; width: clamp(14rem, 30vw, 25rem); height: auto; filter: drop-shadow(0 26px 28px rgba(0,0,0,.2)); transform: rotate(-5deg); }
.glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.glow-one { width: 22rem; height: 22rem; right: -8rem; top: -7rem; background: rgba(105,241,220,.17); }
.glow-two { width: 13rem; height: 13rem; left: 35%; bottom: 8%; background: rgba(245,200,103,.09); }

.first-step { max-width: 1080px; margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 1.4rem; }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading p:last-child { color: #47636f; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-grid.single { grid-template-columns: minmax(0, 680px); }
.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .15rem 1rem;
  min-height: 170px;
  padding: 1.6rem;
  border: 1px solid #cce0df;
  border-radius: 1.3rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(15,70,82,.08);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(15,70,82,.14); }
.contact-card .icon { grid-row: 1 / 4; color: #078398; font-size: 2rem; }
.contact-label { color: #637b83; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { font-size: 1.25rem; }
.contact-card > * { min-width: 0; }
.contact-card strong { overflow-wrap: anywhere; word-break: break-word; }
.contact-card span:last-child { color: #637b83; font-size: .93rem; }
.promise { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; margin-top: 1.2rem; padding: 1.7rem; border-radius: 1.3rem; background: #dff6f2; }
.promise-mark { font-size: 2.5rem; }
.promise h3 { margin-bottom: .35rem; font-size: 1.25rem; }
.promise p { margin: 0; }

.principles { padding: clamp(4rem, 9vw, 7rem) 1.4rem; text-align: center; color: var(--white); background: var(--deep); }
.principles h2 { max-width: 770px; margin-inline: auto; }
.qualities { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin: 2rem auto; }
.qualities span { padding: .55rem 1rem; border: 1px solid rgba(183,242,239,.35); border-radius: 999px; color: var(--sky); }
.closing { margin-top: 2.8rem; color: var(--gold); font-family: "Libre Baskerville", Georgia, serif; font-size: 1.15rem; }
footer { padding: 2.4rem 1.4rem; text-align: center; background: #022435; color: rgba(255,255,255,.82); }
footer p { margin: .25rem auto; max-width: 760px; }
footer .small { color: rgba(255,255,255,.56); font-size: .82rem; }

@media (max-width: 760px) {
  .welcome { min-height: auto; grid-template-columns: 1fr; padding-bottom: 7rem; }
  .cube-gallery { grid-template-columns: 1fr; margin: 1rem auto .5rem; }
  .hero-copy { padding: 2.5rem 0 0; }
  .dolphin-wordmark { position: absolute; right: -2.2rem; bottom: 1.5rem; padding: 0; opacity: .3; }
  .dolphin { width: 11rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
