:root {
  color-scheme: light;
  --deep: #052e36;
  --ink: #092830;
  --body: #304249;
  --white: #f8faf8;
  --pale: #dff0eb;
  --rule: #a9c5c4;
  --mint: #91f6c6;
  --mint-hover: #b7ffdb;
  --icon: #007d82;
  --gutter: clamp(1.25rem, 4.6vw, 4.5rem);
  font: 100%/1.53 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--deep); color: var(--ink); }
h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(81rem, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: .7rem; left: .7rem; transform: translateY(-180%); padding: .6rem 1rem; background: var(--mint); color: var(--ink); }
.skip:focus { transform: none; }

.masthead, .contact, footer { background: var(--deep); color: var(--white); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 4.4rem; }
.wordmark {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  flex: 0 0 auto;
  font-size: clamp(1.15rem, 2.55vw, 1.82rem);
  font-weight: 720;
  letter-spacing: -.051em;
  line-height: 1.1;
  text-decoration: none;
}
.wordmark::before { content: ""; flex: 0 0 .72em; aspect-ratio: 1; border-radius: 50%; background: var(--mint); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3.2vw, 2.3rem); }
.nav-link { font-size: .96rem; font-weight: 600; text-decoration: none; }
.nav-link:hover, .email:hover { text-decoration: underline; text-underline-offset: .21em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .63rem clamp(.8rem, 2.45vw, 2.1rem);
  border: 2px solid transparent;
  border-radius: .55rem;
  background: var(--mint);
  color: #04282e;
  font-size: clamp(.98rem, 1.92vw, 1.22rem);
  font-weight: 740;
  line-height: 1.22;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--mint-hover); }
.button:focus-visible { outline-color: var(--mint); }
.button-outline { min-height: 2.65rem; padding: .45rem 1.05rem; border-color: #e5f5f2; color: var(--white); background: transparent; font-size: .96rem; }
.button-outline:hover { background: #164750; }

.hero { background: #052f38 url("assets/coast.webp") center center / cover no-repeat; color: var(--white); }
.hero-inner { padding-block: clamp(3rem, 4.8vw, 5.4rem); }
h1, h2, h3 { letter-spacing: -.047em; line-height: 1.06; }
h1 { width: min(8.35em, 55%); font-size: clamp(2.5rem, 5.05vw, 5.2rem); font-weight: 740; text-wrap: pretty; }
.hero p { width: min(25rem, 48%); margin-top: .9rem; font-size: clamp(1.05rem, 1.9vw, 1.28rem); line-height: 1.41; }
.hero .button { margin-top: 1.45rem; }

.band { padding-block: clamp(2rem, 3.25vw, 3rem); background: var(--white); }
.process { background: var(--pale); }
h2 { font-size: clamp(2rem, 3.78vw, 3.52rem); font-weight: 750; }
h3 { font-size: clamp(1.29rem, 2.1vw, 1.64rem); font-weight: 730; text-wrap: pretty; }
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.3rem; padding: 0; list-style: none; }
.columns > * { min-width: 0; padding-inline: clamp(1rem, 3.35vw, 2.8rem); }
.columns > :first-child { padding-left: 0; }
.columns > :last-child { padding-right: 0; }
.columns > * + * { border-left: 1px solid var(--rule); }
.band p { color: var(--body); font-size: clamp(1rem, 1.63vw, 1.15rem); line-height: 1.49; }
.columns p { margin-top: .52rem; max-width: 31ch; }
.icon { display: block; width: clamp(2.35rem, 4.35vw, 3.18rem); height: auto; margin-bottom: .72rem; color: var(--icon); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.care { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: start; }
.care-intro { padding-right: clamp(1.25rem, 3.4vw, 2.9rem); }
.care-intro p { margin-top: .75rem; max-width: 35ch; }
.care-list { border-left: 1px solid var(--rule); padding-left: clamp(1.25rem, 3.4vw, 2.9rem); }
.care-list article { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem 1.2rem; }
.care-list article + article { border-top: 1px solid var(--rule); margin-top: .8rem; padding-top: .8rem; }
.care-list h3 { font-size: clamp(1.19rem, 1.95vw, 1.52rem); }
.care-list p { margin-top: .3rem; font-size: 1rem; }
.care-icon { margin: 0; width: clamp(1.8rem, 3.8vw, 2.8rem); color: #09606a; }

.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.1rem 2rem; padding-block: clamp(1.85rem, 3.2vw, 3.1rem); }
.contact h2 { font-size: clamp(1.85rem, 3.42vw, 3.02rem); }
.contact p { margin-top: .45rem; color: #d9eae8; }
.contact .button { flex: 0 0 auto; }
.footer-inner { min-height: 4.2rem; border-top: 1px solid #6b9299; }
.footer-inner .wordmark { font-size: clamp(1.08rem, 2.08vw, 1.4rem); }
.email { font-size: 1rem; text-decoration: none; overflow-wrap: anywhere; }

@media (max-width: 750px) {
  .header-inner { min-height: 4rem; }
  nav { gap: .8rem; }
  .nav-link { display: none; }
  .button-outline { padding-inline: .62rem; font-size: .86rem; }
  .hero { background-image: linear-gradient(90deg, #03262de0 0%, #03262da0 82%, #03262d67), url("assets/coast.webp"); background-position: 58% center; }
  h1 { width: min(12em, 100%); }
  .hero p { width: min(24rem, 100%); }
  .columns { grid-template-columns: minmax(0, 1fr); margin-top: 1.25rem; }
  .columns > * { padding-inline: 0; }
  .columns > * + * { padding-top: 1.25rem; margin-top: 1.25rem; border-left: 0; border-top: 1px solid var(--rule); }
  .columns p { max-width: 42ch; }
  .care { grid-template-columns: minmax(0, 1fr); }
  .care-intro { padding-right: 0; }
  .care-list { margin-top: 1.25rem; padding: 1.15rem 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .contact-inner, .footer-inner { align-items: start; flex-direction: column; }
  .footer-inner { padding-block: 1rem 1.4rem; gap: .65rem; }
}

@media (max-width: 365px) {
  .header-inner { gap: .5rem; }
  .header-inner .wordmark { font-size: 1.02rem; }
  .button-outline { padding-inline: .4rem; font-size: .8rem; }
}
