/* Cornerstone Danube - Shared Stylesheet */
/* Color Palette: White background, black text, green accents */

:root {
  --green: #2D7A4F;
  --green-dark: #1F5938;
  --green-light: #E8F2EC;
  --black: #0A0A0A;
  --grey-dark: #444444;
  --grey-mid: #888888;
  --grey-light: #E5E5E5;
  --grey-bg: #FAFAFA;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 26px; }
h4 { font-size: 20px; font-family: 'Source Serif Pro', Georgia, serif; font-weight: 600; }

p {
  margin-bottom: 18px;
  color: var(--grey-dark);
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-dark);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ====== HEADER / NAVIGATION ====== */

.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  z-index: 100;
  padding: 18px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--black);
  display: inline-block;
  line-height: 1.2;
}

.logo-mark {
  color: var(--green);
  font-weight: 600;
}

.logo-tagline {
  display: block;
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-mid);
  text-transform: uppercase;
  margin-top: 4px;
  line-height: 1.4;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.main-nav a {
  font-family: 'Source Serif Pro', Georgia, serif;
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a:hover {
  color: var(--green);
}

.main-nav a.active {
  color: var(--green);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--green);
}

/* ====== HERO ====== */

.hero {
  padding: 110px 0 90px;
  background: linear-gradient(180deg, var(--white) 0%, var(--grey-bg) 100%);
  border-bottom: 1px solid var(--grey-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: radial-gradient(circle at 80% 30%, rgba(45, 122, 79, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.hero-eyebrow {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 64px;
  max-width: 900px;
  margin-bottom: 28px;
  line-height: 1.1;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
  font-weight: 400;
}

.hero-lede {
  font-size: 21px;
  max-width: 720px;
  color: var(--grey-dark);
  line-height: 1.55;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--green);
  color: var(--white);
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.hero-cta:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 122, 79, 0.25);
}

.hero-cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.hero-cta:hover .hero-cta-arrow {
  transform: translateX(4px);
}

/* ====== SECTION ====== */

.section {
  padding: 90px 0;
}

.section-grey {
  background: var(--grey-bg);
}

.section-eyebrow {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-size: 44px;
  margin-bottom: 24px;
  max-width: 720px;
}

.section-title em {
  font-style: italic;
  color: var(--green);
}

.section-lede {
  font-size: 19px;
  max-width: 720px;
  color: var(--grey-dark);
  margin-bottom: 56px;
  line-height: 1.6;
}

/* ====== PILLAR CARDS ====== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--grey-light);
  padding: 44px 36px;
  position: relative;
  transition: all 0.3s ease;
}

.pillar:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.pillar-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--green);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.pillar h3 {
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.pillar p {
  color: var(--grey-dark);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ====== PHILOSOPHY / TWO COLUMN ====== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.two-col-left .section-eyebrow {
  margin-bottom: 22px;
}

.two-col-left h2 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 0;
}

.two-col-left h2 em {
  font-style: italic;
  color: var(--green);
}

/* ====== VALUE PROPS / FEATURES ====== */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.value-item {
  border-top: 2px solid var(--green);
  padding-top: 22px;
}

.value-item h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--black);
}

.value-item p {
  font-size: 15px;
  color: var(--grey-dark);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ====== QUOTE / PHRASE BLOCK ====== */

.phrase-block {
  text-align: center;
  padding: 80px 0;
  background: var(--black);
  background-color: #0A0A0A !important;
  color: var(--white);
}

.phrase-block .container-narrow {
  text-align: center;
}

.phrase-block blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 38px;
  line-height: 1.3;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.phrase-block blockquote em {
  color: #6FB892;
  font-style: italic;
}

.phrase-block-attribution {
  margin-top: 32px;
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

/* ====== SERVICES PAGE LISTS ====== */

.service-detail {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--grey-light);
}

.service-detail:first-of-type {
  margin-top: 48px;
  padding-top: 0;
  border-top: none;
}

.service-header {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: baseline;
  margin-bottom: 28px;
}

.service-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
}

.service-detail h3 {
  font-size: 32px;
  margin-bottom: 0;
}

.service-detail p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey-dark);
  margin-bottom: 18px;
  max-width: 880px;
}

.service-detail ul {
  list-style: none;
  margin: 24px 0 24px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 36px;
  max-width: 880px;
}

.service-detail ul li {
  padding-left: 24px;
  position: relative;
  font-size: 16px;
  color: var(--grey-dark);
  line-height: 1.5;
}

.service-detail ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

/* ====== ABOUT PAGE ====== */

.about-hero p {
  font-size: 19px;
  max-width: 760px;
  line-height: 1.7;
  color: var(--grey-dark);
  margin-bottom: 22px;
}

.about-section {
  margin-top: 64px;
}

.about-section h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--black);
}

.about-section h3 em {
  font-style: italic;
  color: var(--green);
}

.about-section p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 800px;
}

/* ====== CONTACT PAGE ====== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 56px;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--black);
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--grey-dark);
}

.contact-info-block {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--grey-light);
}

.contact-info-block:last-child {
  border-bottom: none;
}

.contact-form {
  background: var(--grey-bg);
  padding: 48px 40px;
  border-left: 3px solid var(--green);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--black);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}

.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--grey-light);
  background: var(--white);
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 15px;
  color: var(--black);
  transition: border-color 0.2s ease;
}

.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--green);
}

.form-submit {
  background: var(--green);
  color: var(--white);
  padding: 14px 36px;
  border: none;
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-submit:hover {
  background: var(--green-dark);
}

/* ====== FOOTER ====== */

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
}

.footer-brand .logo-mark {
  color: #6FB892;
}

.footer-brand .logo-tagline {
  color: var(--grey-mid);
}

.footer-brand p {
  margin-top: 18px;
  color: var(--grey-mid);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6FB892;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--grey-mid);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--grey-mid);
  font-size: 13px;
  margin: 0;
}

.footer-bottom .subsidiary-line {
  color: #6FB892;
  font-style: italic;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 900px) {
  h1 { font-size: 42px; }
  .hero h1 { font-size: 44px; }
  .section-title { font-size: 32px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 32px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-detail ul { grid-template-columns: 1fr; }
  .service-header { grid-template-columns: 60px 1fr; gap: 16px; }
  .service-num { font-size: 36px; }
  .main-nav { gap: 20px; }
  .phrase-block blockquote { font-size: 26px; }
  .hero, .section { padding: 60px 0; }
}

@media (max-width: 600px) {
  .main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-lede { font-size: 17px; }
}

/* ====== ANIMATIONS ====== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow { animation: fadeInUp 0.6s ease forwards; }
.hero h1 { animation: fadeInUp 0.7s 0.1s ease both; }
.hero-lede { animation: fadeInUp 0.7s 0.2s ease both; }
.hero-cta { animation: fadeInUp 0.7s 0.3s ease both; }
