/* ---------- Tokens ---------- */
:root{
  --ink: #101A2B;
  --ink-soft: #2B3A52;
  --paper: #FAFAF9;
  --paper-alt: #F3F2EE;
  --accent: #C68A4E;
  --muted: #6B7280;
  --line: #E6E3DC;
  --white: #FFFFFF;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

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

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: opacity .2s ease, background-color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover{ opacity: 0.88; }
.btn-outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover{ border-color: var(--ink); }
.btn-small{
  padding: 9px 16px;
  font-size: 13px;
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250,250,249,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.logo-mark{ flex-shrink: 0; height: 35px; width: auto; }
.logo-mark-light{
  /* renders the navy/orange mark as solid white for the dark footer */
  filter: brightness(0) invert(1);
}
.logo-word{
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.14em;
}

/* ---------- Hero ---------- */
.hero{ padding: 56px 0 64px; }
.hero-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.hero-copy h1{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1.08;
  margin: 0 0 24px;
  color: var(--ink);
}
.lede{
  font-size: 16.5px;
  color: var(--muted);
  max-width: 420px;
  margin: 0 0 34px;
}
.hero-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-media{
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.hero-media img{
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  margin: 0 auto;
  display: block;
}
.hero-copy{ padding-top: 48px; }

/* ---------- Approach / philosophy quote ---------- */
.pillars{ padding: 24px 0 64px; text-align: center; }
.pillars-quote{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 2.2vw, 25px);
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
}
.rule{
  width: 46px;
  height: 1px;
  background: var(--line);
  margin: 24px auto 40px;
}
.credibility-line{
  color: var(--muted);
  font-size: 13.5px;
  max-width: 480px;
  margin: 0 auto;
}

/* ---------- OBIRAG LA panel ---------- */
.la-panel{
  background: var(--paper-alt);
  border-radius: 20px;
  margin: 0 32px 64px;
}
.la-inner{
  max-width: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
}
.la-media{
  overflow: hidden;
  border-radius: 20px 0 0 20px;
}
.la-media img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 340px;
}
.la-copy{
  padding: 56px 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.la-lock{ color: var(--ink); margin-bottom: 18px; }
.la-copy h2{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 14px;
}
.la-strong{
  font-weight: 600;
  margin: 0 0 8px;
}
.la-copy p{
  color: var(--muted);
  font-size: 14.5px;
  max-width: 320px;
  margin: 0 0 26px;
}
.la-copy .btn{ align-self: flex-start; }

/* ---------- Talk / Contact actions ---------- */
.talk{ padding: 8px 0 64px; }
.talk-inner{
  background: var(--paper-alt);
  border-radius: 20px;
  padding: 44px 40px;
}
.talk-heading{
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
.talk-heading h2{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 12px;
}
.talk-heading p{
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.talk-actions{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.talk-card{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 22px 20px;
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color .2s ease, transform .2s ease;
}
.talk-card:hover{
  border-color: var(--ink);
  transform: translateY(-2px);
}
.talk-card--wide{
  grid-column: 1 / -1;
  background: var(--paper);
  border-color: var(--accent);
}
.talk-card-title{
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}
.talk-card-sub{
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 8px;
}
.talk-card svg{ color: var(--accent); }

/* ---------- Modals ---------- */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(16,26,43,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.modal-overlay[hidden]{ display: none; }
.modal-card{
  position: relative;
  background: var(--paper);
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close{
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
}
.modal-close:hover{ color: var(--ink); }
.modal-card .la-lock{ color: var(--ink); margin-bottom: 14px; }
.modal-card h3{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 8px;
}
.modal-sub{
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
  line-height: 1.5;
}
.field{
  display: block;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.field span{
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
.field input,
.field textarea{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
}
.field input:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--ink);
}
.field textarea{ resize: vertical; }
.field input[type="file"]{
  padding: 8px 12px;
  font-size: 13px;
}
.field-hint{
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  font-weight: 400;
}
.upload-warning{
  color: #B3432B;
  font-size: 12px;
  margin: 6px 0 0;
}
.hp-field{ position: absolute; left: -9999px; }
.modal-card form .btn{ width: 100%; justify-content: center; margin-top: 4px; }
.form-error{
  color: #B3432B;
  font-size: 13px;
  margin: 12px 0 0;
}
.modal-success h4{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 8px;
}
.modal-success p{
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.login-gate-note{
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
}
.login-gate-note p{
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.login-gate-note .btn{ width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink);
  color: rgba(250,250,249,0.86);
  position: relative;
  overflow: hidden;
  padding-top: 40px;
}
.footer-inner{
  padding-bottom: 28px;
  position: relative;
  z-index: 1;
}
.logo-light{ color: var(--white); }
.footer-tagline{
  margin: 12px 0 0;
  font-size: 14.5px;
  color: rgba(250,250,249,0.6);
  line-height: 1.7;
}
.footer-bottom{
  border-top: 1px solid rgba(250,250,249,0.12);
  padding: 14px 32px 16px;
  font-size: 13px;
  color: rgba(250,250,249,0.45);
  position: relative;
  z-index: 1;
}
.footer-watermark{
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 220px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; margin-bottom: 8px; }
  .hero-copy{ padding-top: 0; }
  .la-inner{ grid-template-columns: 1fr; }
  .la-media img{ min-height: 240px; }
  .la-copy{ padding: 40px 28px; }
  .wrap{ padding: 0 20px; }
  .footer-inner{ padding-bottom: 28px; }
  .footer-bottom{ padding: 14px 20px 16px; }
  .la-panel{ margin: 0 20px 48px; }
  .talk{ padding: 0 20px 48px; }
  .talk-inner{ padding: 36px 24px; }
  .talk-actions{ grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn{ transition: none; }
}
