/* ===================================================================
   Island Breeze Bookkeeping — styles
   Palette: pine-teal + seafoam + warm sand + muted sunset-gold
   Type:   Fraunces (display) + Inter (body)
   =================================================================== */

:root {
  /* Brand */
  --teal-900: #143F38;   /* deepest pine */
  --teal-700: #1F5C54;   /* logo banner */
  --teal-500: #2F7A6E;
  --seafoam:  #CDE4DB;
  --seafoam-soft: #E4F0EB;
  --sand:     #F7F2E9;   /* page background */
  --sand-deep:#EFE7D7;
  --gold:     #D29A52;   /* sparing accent */
  --gold-soft:#E8C68C;

  --ink:      #23302C;   /* primary text */
  --ink-soft: #4F5E58;   /* secondary text */
  --line:     #E2DCCF;   /* hairlines on sand */
  --white:    #FFFFFF;

  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20,63,56,.06), 0 4px 16px rgba(20,63,56,.06);
  --shadow-md: 0 8px 30px rgba(20,63,56,.10);
  --ease: cubic-bezier(.2,.7,.2,1);

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-900); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal-500);
  margin: 0 0 .75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: .72rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal-700); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-900); color: var(--white); }
.btn-ghost { background: transparent; color: var(--teal-900); border-color: var(--teal-700); }
.btn-ghost:hover { background: var(--seafoam-soft); color: var(--teal-900); }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,242,233,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
/* Utility top bar */
.topbar { background: var(--teal-900); color: #CFE0D8; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 1rem; }
.topbar-tag { letter-spacing: .02em; color: #BFD4CC; }
.topbar-links { display: flex; align-items: center; gap: 1.3rem; }
.topbar-links a { color: #DDE9E2; }
.topbar-links a:hover { color: #fff; }
.topbar-cta { background: var(--gold); color: #3a2a10 !important; padding: .28rem .85rem; border-radius: 999px; font-weight: 600; }
.topbar-cta:hover { background: var(--gold-soft); color: #3a2a10 !important; }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand-logo { height: 56px; width: auto; display: block; }
.brand-text {
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem;
  line-height: 1.05; color: var(--teal-900); white-space: nowrap;
}
.brand-accent { color: var(--teal-500); }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { font-weight: 500; font-size: .98rem; color: var(--ink); }
.nav-menu a:hover { color: var(--teal-700); }
.nav-cta { color: var(--white) !important; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #0E2A25; color: #F6F1E8; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    /* left + bottom scrims keep the headline legible over any photo */
    linear-gradient(100deg, rgba(8,26,22,.85) 0%, rgba(8,26,22,.55) 38%, rgba(8,26,22,.12) 70%, rgba(8,26,22,0) 100%),
    linear-gradient(to top, rgba(8,26,22,.80) 0%, rgba(8,26,22,.10) 42%, rgba(8,26,22,0) 70%),
    /* drop a real Maui sunset photo here; until then the gradient below shows */
    url("assets/hero.jpg") center/cover no-repeat,
    radial-gradient(55% 48% at 70% 60%, rgba(255,214,150,.60), transparent 62%),
    linear-gradient(to bottom, #28507A 0%, #6E4E7C 22%, #C76C66 42%, #ED9F5E 55%, #F2C089 60%, #7C9A90 66%, #2F6F64 82%, #123C36 100%);
}
.hero-inner {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 24px clamp(3.5rem, 7vw, 5.5rem);
  max-width: 980px; min-height: 70vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 {
  color: #FFFFFF; max-width: 15ch; font-weight: 600;
  font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.04;
  text-shadow: 0 2px 28px rgba(8,26,22,.45);
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #DDE9E2; max-width: 56ch; margin-top: .5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.hero .btn-ghost { color: #F4EFE6; border-color: rgba(244,239,230,.5); }
.hero .btn-ghost:hover { background: rgba(244,239,230,.10); color: #fff; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.8rem 24px; }
.trust-item { display: flex; flex-direction: column; gap: .15rem; }
.trust-item strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--teal-900); }
.trust-item span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--seafoam-soft); }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-lede { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { border-color: var(--teal-500); box-shadow: var(--shadow-md); }
.card p { color: var(--ink-soft); }
.card-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.card-list li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; font-size: .94rem; color: var(--ink); }
.card-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 13px; height: 1px; background: var(--teal-500); }

/* ---------- Capabilities ---------- */
.capabilities { margin-top: 3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.capabilities-title { text-align: center; margin-bottom: 1.4rem; color: var(--teal-900); }
.cap-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem 1.4rem; }
.cap-grid li { position: relative; padding-left: 1.3rem; font-size: .95rem; color: var(--ink-soft); }
.cap-grid li::before { content: ""; position: absolute; left: 0; top: .68em; width: 9px; height: 1px; background: var(--teal-500); }

/* ---------- Who I Serve ---------- */
.who-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.who-text h2 { max-width: 14ch; }
.who-text p { color: var(--ink-soft); }
.who-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.who-pill {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal-500);
  border-radius: var(--radius-sm);
  padding: .95rem 1.1rem; font-weight: 500; font-size: .96rem; color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: center; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; background: var(--seafoam); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo.photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--seafoam), var(--seafoam-soft));
}
.about-photo.photo-placeholder::before {
  content: "Your headshot here"; font-family: var(--font-display); font-style: italic;
  color: var(--teal-700); font-size: 1.1rem;
}
.photo-caption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(20,63,56,.82); color: #fff; font-size: .82rem; font-weight: 600;
  padding: .35rem .8rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.about-photo.photo-placeholder .photo-caption { display: none; }
.about-text p { color: var(--ink-soft); }
.pull-quote {
  margin: 1.6rem 0 0; padding: 1rem 0 1rem 1.4rem; border-left: 3px solid var(--gold);
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--teal-900);
}

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); }
.why-item h3 { color: var(--teal-900); margin-bottom: .4rem; }
.why-item p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-text p { color: var(--ink-soft); }
.contact-details { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-details li { display: flex; flex-direction: column; gap: .15rem; }
.contact-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--teal-500); }
.contact-social { display: flex; gap: 1rem; }
.contact-hint { font-size: .82rem; color: var(--ink-soft); }
.contact-logo { width: 150px; height: auto; margin-top: 2rem; }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--sand); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(47,122,110,.15); background: #fff;
}
.field textarea { resize: vertical; }
.hidden-field { display: none; }
.form-note { text-align: center; font-size: .88rem; color: var(--ink-soft); margin: .9rem 0 0; }
.form-note.success { color: var(--teal-700); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #CFE0D8; padding: 2.5rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { font-family: var(--font-display); color: #FBF7EF; font-size: 1.1rem; }
.footer-brand span { font-size: .9rem; }
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a { color: #CFE0D8; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { width: 100%; font-size: .82rem; color: rgba(207,224,216,.7); margin: 0; padding-top: 1rem; border-top: 1px solid rgba(207,224,216,.15); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .cards, .why-grid { grid-template-columns: 1fr 1fr; }
  .who-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .about-photo { max-width: 360px; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand); border-bottom: 1px solid var(--line);
    padding: .5rem 24px 1.2rem; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: .8rem; text-align: center; }
  .nav-menu a.nav-cta { border-bottom: none; }

  .topbar-tag { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-links { gap: 1rem; font-size: .8rem; }
}

@media (max-width: 600px) {
  .cards, .why-grid, .who-list, .cap-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  body { font-size: 16px; }
  .brand-text { font-size: 1.05rem; white-space: normal; }
  .topbar-links { font-size: .78rem; }
}

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