/*
Theme Name: Bennico Office
Theme URI: https://bennico.org
Author: Bennico
Description: A discreet family office theme for Bennico.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: bennico-office
*/

:root {
  --paper: #f7f4ee;
  --paper-alt: #ece7dc;
  --ink: #20201d;
  --muted: #69665d;
  --line: #d7d0c3;
  --green: #243f35;
  --green-dark: #172a23;
  --green-light: #dfe8e1;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(24px, 6vw, 88px);
  border-bottom: 1px solid rgba(32, 32, 29, 0.09);
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(148px, 15.7vw, 200px);
  line-height: 1;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--muted);
  font-size: 14px;
}

.nav li {
  list-style: none;
}

.nav a:hover,
.text-link:hover {
  color: var(--green);
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 132px) clamp(24px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 900px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 26px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.06;
}

h3 {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 690px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.button:hover,
.wp-block-button__link:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: transparent;
  color: var(--green);
}

.button.secondary:hover {
  background: var(--green);
  color: var(--white);
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(24px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: end;
}

.section-copy,
.owners-copy p,
.principle-list p,
.focus p,
.content-page p,
.content-page li {
  color: var(--muted);
  font-size: 18px;
}

.section-copy {
  max-width: 580px;
  margin-bottom: 4px;
  font-size: 21px;
}

.focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line);
}

.focus article {
  min-height: 340px;
  padding: clamp(34px, 4vw, 58px);
  background: var(--paper);
}

.focus article:nth-child(2) {
  background: var(--white);
}

.owners {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1.25fr);
  background: linear-gradient(135deg, #314c42, #1f2f29);
  color: var(--white);
}

.owners-copy {
  grid-column: 2;
  max-width: 780px;
}

.owners .eyebrow,
.owners .text-link {
  color: var(--green-light);
}

.owners-copy p {
  color: rgba(255, 253, 248, 0.78);
  font-size: 20px;
}

.text-link {
  display: inline-flex;
  margin-top: 30px;
  color: var(--green);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.principles {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 7vw, 100px);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 54px;
}

.contact {
  background: var(--paper-alt);
}

.contact h2 {
  max-width: 800px;
}

.content-page {
  max-width: 980px;
  min-height: 68vh;
  padding: clamp(72px, 10vw, 132px) clamp(24px, 6vw, 88px);
}

.content-page h1 {
  font-size: clamp(44px, 6vw, 76px);
}

.content-page .lead {
  max-width: 760px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 56px;
  margin-top: 54px;
}

.content-grid div {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(24px, 6vw, 88px);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .brand {
    width: 164px;
  }

  .hero {
    min-height: auto;
  }

  .intro,
  .contact,
  .principles,
  .owners,
  .focus,
  .principle-list,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .focus article {
    min-height: auto;
  }

  .owners-copy {
    grid-column: auto;
  }
}
