:root {
  --sand: #f6f1e7;
  --paper: #fffdf8;
  --ink: #23201b;
  --ink-2: #5b544a;
  --sea: #1f6f78;
  --sea-deep: #12484f;
  --sun: #d98a3d;
  --rule: #e6ddcd;
  --shadow: 0 12px 40px -20px rgba(18, 72, 79, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

.wrap { width: min(1100px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.02em; line-height: 1.1; }

a { color: inherit; }

/* Masthead */
.masthead {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 253, 248, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; }
.brand .mark {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--sea); color: #fff; font-family: Georgia, serif; font-size: .95rem;
}
.brand .word { font-size: 1.05rem; }
nav a { margin-left: 1.4rem; text-decoration: none; color: var(--ink-2); font-size: .95rem; }
nav a:hover { color: var(--sea); }

/* Hero */
.hero {
  background:
    linear-gradient(180deg, rgba(18,72,79,.72), rgba(18,72,79,.55)),
    radial-gradient(120% 120% at 80% 0%, #2b8b93 0%, #12484f 60%, #0d363b 100%);
  color: #fff;
  padding: 6rem 0 5rem;
}
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .72rem;
  color: #ffd9a8; margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 1rem; }
.hero .lede { max-width: 40rem; font-size: 1.15rem; color: #eaf3f2; }
.hero-actions { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.cta {
  display: inline-block; padding: .8rem 1.5rem; border-radius: 999px;
  background: var(--sun); color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.cta:hover { transform: translateY(-2px); }
.cta.ghost { background: transparent; border: 1px solid rgba(255,255,255,.6); box-shadow: none; }

/* Sections */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--paper); }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .6rem; color: var(--sea-deep); }
.section-head p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }

.cluster { margin-top: 2.8rem; }
.cluster:first-of-type { margin-top: 0; }
.cluster-title {
  font-size: 1.1rem; color: var(--sun); margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: .7rem;
  text-transform: uppercase; letter-spacing: .1em; font-family: inherit; font-weight: 700;
}
.cluster-title::before { content: ""; width: 1.8rem; height: 2px; background: var(--sun); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.cards article {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 14px;
  padding: 1.5rem; box-shadow: 0 6px 24px -18px rgba(18,72,79,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.section.alt .cards article { background: var(--sand); }
.cards article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pin {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--sea); background: rgba(31,111,120,.1);
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .8rem;
}
.cards h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.cards p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* Contact */
.contact { max-width: 640px; }
.contact h2 { color: var(--sea-deep); }
.contact form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact label { display: grid; gap: .35rem; font-size: .9rem; color: var(--ink-2); }
.contact input, .contact textarea {
  font: inherit; padding: .7rem .8rem; border: 1px solid var(--rule);
  border-radius: 10px; background: var(--paper);
}
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--sea); border-color: transparent; }
.contact button {
  justify-self: start; padding: .8rem 1.6rem; border: 0; border-radius: 999px;
  background: var(--sea); color: #fff; font-weight: 600; cursor: pointer;
}
.contact button:hover { background: var(--sea-deep); }

/* Footer */
footer { padding: 2.5rem 0; color: var(--ink-2); font-size: .88rem; border-top: 1px solid var(--rule); }
