/* HighBridge Properties — shared brand stylesheet
   Used by presentation and survey templates. Edit brand tokens here once. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@500;600;700&family=Source+Sans+3:wght@400;600&display=swap');

:root {
  --teal:       #005852;  /* primary */
  --teal-blue:  #006981;
  --green:      #17780F;  /* accent */
  --near-black: #171B1F;
  --navy:       #1E2939;
  --light:      #D0DAD9;
  --white:      #FFFFFF;

  --bg:         #F6F8F8;
  --card:       #FFFFFF;
  --line:       #E2E8E7;
  --text:       #1E2939;
  --muted:      #5C6B6A;

  --display: 'Cormorant Garamond', Georgia, serif;
  --ui:      'Montserrat', system-ui, sans-serif;
  --body:    'Source Sans 3', system-ui, sans-serif;

  --maxw: 880px;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(23,27,31,.08), 0 8px 24px rgba(23,27,31,.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Masthead ---- */
.masthead {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-blue) 100%);
  color: var(--white);
  padding: 48px 0 40px;
}
.masthead .wrap { display: flex; flex-direction: column; gap: 6px; }
.brandmark {
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: .9;
}
.masthead h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  margin: 8px 0 4px;
}
.masthead .sub { font-family: var(--ui); font-weight: 500; font-size: 15px; opacity: .92; }
.masthead .meta { margin-top: 14px; font-size: 14px; opacity: .85; display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- Section / accordion ---- */
.doc { padding: 28px 0 80px; }
.section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 16px 0;
  overflow: hidden;
}
.section > button.section-head {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}
.section > button.section-head:focus-visible { outline: 2px solid var(--teal-blue); outline-offset: -2px; }
.section-head .chev { transition: transform .2s ease; color: var(--teal); font-size: 22px; line-height: 1; }
.section.open .section-head .chev { transform: rotate(90deg); }
.section-body {
  display: none;
  padding: 4px 24px 24px;
  border-top: 1px solid var(--line);
}
.section.open .section-body { display: block; }

/* ---- Typography inside sections ---- */
.section-body h3 {
  font-family: var(--ui); font-weight: 600; font-size: 15px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--teal);
  margin: 22px 0 8px;
}
.section-body p { margin: 0 0 14px; }
.section-body ul { margin: 0 0 14px; padding-left: 20px; }
.section-body li { margin: 6px 0; }
.lead { font-size: 19px; color: var(--muted); }

/* ---- Stat row ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin: 18px 0; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: 32px; color: var(--teal); line-height: 1; }
.stat .l { font-family: var(--ui); font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---- Table ---- */
table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-family: var(--ui); font-weight: 600; color: var(--navy); background: var(--bg); }

/* ---- Chart ---- */
.chart-box { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin: 16px 0; }

/* ---- Footer ---- */
.foot { border-top: 1px solid var(--line); padding: 26px 0 60px; color: var(--muted); font-size: 13px; }
.foot strong { color: var(--navy); font-family: var(--ui); }

/* ---- Buttons / forms (survey) ---- */
.btn {
  font-family: var(--ui); font-weight: 600; font-size: 16px;
  background: var(--teal); color: #fff; border: none; border-radius: 8px;
  padding: 14px 28px; cursor: pointer; transition: background .15s ease;
}
.btn:hover { background: var(--teal-blue); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.field { margin: 0 0 20px; }
.field label { display: block; font-family: var(--ui); font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.field .req { color: var(--green); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; font-family: var(--body); font-size: 16px; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal-blue); outline-offset: -1px; border-color: var(--teal-blue); }
.radio-group, .check-group { display: flex; flex-direction: column; gap: 8px; }
.radio-group label, .check-group label { font-family: var(--body); font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }

.note { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 6px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.status-msg { margin-top: 16px; font-family: var(--ui); font-weight: 600; }
.status-msg.ok { color: var(--green); }
.status-msg.err { color: #B42318; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .masthead { padding: 36px 0 30px; }
}
