/* Oceanwood Advisory & Consultancy — coastal & calm */
:root {
  --deep:   #0b3d52;   /* deep ocean */
  --ocean:  #14627e;   /* ocean blue */
  --teal:   #2a8c8c;   /* sea green/teal */
  --sea:    #5bb6a6;   /* lighter sea green accent */
  --sand:   #f4f1ea;   /* warm off-white */
  --mist:   #eaf2f4;   /* pale blue mist */
  --ink:    #16313b;   /* body text */
  --muted:  #5a7682;   /* muted text */
  --white:  #ffffff;
  --shadow: 0 10px 30px rgba(11,61,82,0.08);
  --radius: 14px;
  --maxw:   1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--deep);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--ocean); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tint { background: var(--mist); }
.section--sand { background: var(--sand); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 14px;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--deep); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--deep); border: 1.5px solid rgba(11,61,82,0.25); }
.btn--ghost:hover { background: var(--white); color: var(--deep); border-color: var(--teal); }
.btn--light { background: var(--white); color: var(--deep); }
.btn--light:hover { background: var(--sand); color: var(--deep); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(11,61,82,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Fraunces", serif; font-weight: 600; color: var(--deep); font-size: 1.18rem; }
.brand:hover { text-decoration: none; }
.brand small { display:block; font-family: "Inter", sans-serif; font-weight: 500; font-size: 0.66rem; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); }
.brand-mark { flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.97rem; }
.nav-links a.active { color: var(--teal); }
.nav-links a:hover { color: var(--teal); text-decoration: none; }
.nav-cta { padding: 10px 20px; font-size: 0.9rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display:block; width: 24px; height: 2px; background: var(--deep); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0b3d52 0%, #14627e 55%, #2a8c8c 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(91,182,166,0.35), transparent 55%),
    radial-gradient(ellipse at 0% 90%, rgba(11,61,82,0.5), transparent 50%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 56ch; }
.hero .actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.wave { display:block; width:100%; height:auto; margin-top:-1px; }

/* Page hero (interior) */
.page-hero { background: linear-gradient(160deg, #0b3d52 0%, #14627e 100%); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { color:#fff; }
.page-hero p { color: rgba(255,255,255,0.88); max-width: 62ch; font-size: 1.15rem; }
.page-hero .eyebrow { color: var(--sea); }

/* Cards / grid */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border: 1px solid rgba(11,61,82,0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,61,82,0.13); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--mist); display:flex; align-items:center; justify-content:center; margin-bottom: 18px; color: var(--teal); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* Sectors / pills */
.pills { display:flex; flex-wrap: wrap; gap: 12px; }
.pill { background: var(--white); border:1px solid rgba(11,61,82,0.12); color: var(--deep); padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; }

/* Stats */
.stats { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stat { text-align:center; }
.stat .num { font-family:"Fraunces",serif; font-size: 2.6rem; color: var(--teal); font-weight: 600; line-height:1; }
.stat .lbl { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }

/* Split (about) */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.portrait {
  border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow);
  background: linear-gradient(160deg,#14627e,#2a8c8c); aspect-ratio: 4/5;
  display:flex; align-items:flex-end; justify-content:center; color:#fff; position:relative;
}
.portrait img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top; z-index:1; }
.portrait .monogram { font-family:"Fraunces",serif; font-size: 6rem; opacity:0.25; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); }
.portrait .cap { position:relative; z-index:2; padding: 20px; background: linear-gradient(transparent, rgba(11,61,82,0.55)); width:100%; }
.portrait .cap strong { display:block; font-family:"Fraunces",serif; font-size:1.2rem; }
.portrait .cap span { font-size:0.85rem; opacity:0.9; }

/* Value list */
.vlist { list-style:none; margin:0; padding:0; }
.vlist li { position:relative; padding: 0 0 18px 34px; color: var(--ink); }
.vlist li::before { content:"›"; position:absolute; left:6px; top:-2px; color: var(--teal); font-size:1.4rem; font-weight:700; }
.vlist li strong { color: var(--deep); }

/* Process steps */
.steps { counter-reset: step; display:grid; gap: 22px; }
.step { display:flex; gap: 20px; align-items:flex-start; }
.step .n { counter-increment: step; flex:0 0 auto; width:44px; height:44px; border-radius:50%; background: var(--deep); color:#fff; font-family:"Fraunces",serif; font-size:1.2rem; display:flex; align-items:center; justify-content:center; }
.step .n::before { content: counter(step); }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); margin:0; }

/* CTA band */
.cta-band { background: linear-gradient(160deg,#0b3d52,#2a8c8c); color:#fff; border-radius: 20px; padding: 56px 48px; text-align:center; box-shadow: var(--shadow); }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 52ch; margin: 0 auto 26px; }

/* Contact */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:start; }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:600; font-size:0.9rem; color: var(--deep); margin-bottom:6px; }
.field input, .field textarea, .field select {
  width:100%; padding: 13px 15px; border:1.5px solid rgba(11,61,82,0.18); border-radius:10px;
  font: inherit; font-size:0.98rem; background:#fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,140,140,0.15); }
.contact-info .item { display:flex; gap:14px; align-items:flex-start; margin-bottom: 22px; }
.contact-info .ico { width:42px;height:42px;border-radius:10px;background:var(--mist);color:var(--teal);display:flex;align-items:center;justify-content:center;flex:0 0 auto; }
.form-note { font-size:0.85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--deep); color: rgba(255,255,255,0.78); padding: 56px 0 30px; }
.site-footer a { color: rgba(255,255,255,0.85); }
.footer-top { display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom: 30px; border-bottom:1px solid rgba(255,255,255,0.12); }
.footer-brand { font-family:"Fraunces",serif; font-size:1.3rem; color:#fff; }
.footer-brand small { display:block; font-family:"Inter",sans-serif; font-size:0.7rem; letter-spacing:2px; text-transform:uppercase; color: var(--sea); margin-top:4px; }
.footer-links { display:flex; gap: 28px; flex-wrap:wrap; list-style:none; margin:0; padding:0; }
.footer-bottom { padding-top: 22px; font-size:0.85rem; color: rgba(255,255,255,0.55); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }

/* Reveal on scroll */
.reveal { opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }

/* Responsive */
@media (max-width: 860px) {
  .grid-2, .grid-3, .split, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .nav-links {
    position: absolute; top: 72px; left:0; right:0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background:#fff; border-bottom:1px solid rgba(11,61,82,0.08);
    padding: 8px 24px 18px; box-shadow: var(--shadow);
    display:none;
  }
  .nav-links.open { display:flex; }
  .nav-links li { width:100%; }
  .nav-links a { display:block; padding: 12px 0; width:100%; }
  .nav-toggle { display:block; }
  .section { padding: 60px 0; }
  .cta-band { padding: 42px 24px; }
}
