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

/* =========================
   THAA DESIGN SYSTEM
   MERGED STRUCTURE CSS
   ========================= */

/* -------------------------
   ROOT VARIABLES
-------------------------- */
:root {
  /* COLORS */
  --ink-forest: #1F2A24;
  --paper: #F6F3EE;
  --linen: #EEE9E1;
  --line: #D8D4CC;
  --accent: #4B5A45;
  --muted: #5E615C;

  /* TYPOGRAPHY */
  --serif: "Cormorant Garamond", serif;
  --sans: "Inter", sans-serif;

  /* SPACING */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* CONTAINER */
  --container-padding: 60px;

  --rhythm-block: 18vh;
}

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

/* -------------------------
   GLOBAL
-------------------------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.1px;

  color: var(--ink-forest);
  background: var(--paper);

  padding: 0 var(--container-padding);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--ink-forest);
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 500;
}

h1 {
  font-size: 3rem;
  margin-bottom: var(--space-5);
}

h2 {
  font-size: 2.25rem;
  margin-bottom: var(--space-4);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--space-4);
  color: var(--ink-forest);
}

small {
  font-size: 0.875rem;
  color: var(--muted);
}

/* -------------------------
   LINKS
-------------------------- */
a {
  color: var(--ink-forest);
  text-decoration: none;
  transition: all 0.25s ease;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* -------------------------
   LISTS
-------------------------- */
ul, ol {
  padding-left: var(--space-5);
  margin-bottom: var(--space-5);
}

li {
  margin-bottom: var(--space-2);
}

/* -------------------------
   QUOTES
-------------------------- */
blockquote {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.6;

  color: var(--accent);

  border-left: 2px solid var(--line);

  padding-left: var(--space-5);
  margin: var(--space-7) 0;
}

/* =========================
   BANNER
========================= */

/* Top banner */
.banner {
  height: 4vh;

  background: var(--paper);
  color: var(--ink-forest);

  display: flex;
  align-items: center;
  justify-content: center;

  border-bottom: 0.5px solid var(--line);
}

/* Invisible inner container */
.banner-content {
  width: 100%;

  padding: 0 var(--container-padding);

  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;

  font-size: 0.875rem;
  font-weight: 300;

  color: var(--muted);
}

.banner-icon {
  width: 16px;
  height: 16px;
}

.banner-article {
  margin-right: 12px;
}

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

.header {
  height: 18vh;

  background: var(--paper);

  display: grid;

  /* 9 columns */
  grid-template-columns:
    80px
    160px
    180px
    200px
    1fr
    140px
    120px
    120px
    80px;

  align-items: end;

  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);

  padding-bottom: 28px;
}

/* ALL COLUMNS */
.header-column {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* MENU LINKS */
.nav-item a {
  font-family: var(--sans);

  font-size: 0.92rem;
  font-weight: 400;

  letter-spacing: 0.3px;

  color: var(--ink-forest);

  text-decoration: none !important;
  border-bottom: none !important;

  white-space: nowrap;

  transition:
    color 0.25s ease,
    font-weight 0.25s ease,
    transform 0.25s ease,
    font-size 0.25s ease;
}

/* HOVER */
.nav-item a:hover {
  color: var(--accent);

  font-weight: 500;

  font-size: 0.96rem;

  transform: translateY(-1px);

  text-decoration: none !important;
  border-bottom: none !important;
}

/* LOGO */
.logo-column a {
  font-family: var(--serif);

  font-size: 1.5rem;
  font-weight: 500;

  letter-spacing: 0.4px;

  color: var(--ink-forest);

  text-decoration: none !important;
  border-bottom: none !important;

  white-space: nowrap;
}

/* LOGO HOVER */
.logo-column a:hover {
  color: var(--accent);

  text-decoration: none !important;
  border-bottom: none !important;
}

/* =========================
   CONTENT
========================= */

.content {
  flex: 1;

  min-height: calc(100vh - 52vh);

  padding: var(--space-7) 0;

  background: var(--paper);
}

.hero-image-container {
  width: 100%;

  border: 0.5px solid var(--line);

  padding: 2px;

  background: var(--paper);

  margin-bottom: 1.8rem;
}

.hero-image {
  display: block;

  width: 100%;
  height: 60vh;

  object-fit: cover;
}

.content-banner {
  flex: 1;

  min-height: var(--rhythm-block);

  padding: var(--space-7) 0;

  background: var(--linen);
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-block;

  padding: 12px 22px;

  font-size: 0.95rem;
  font-family: var(--sans);
  letter-spacing: 0.3px;

  border: 1px solid var(--line);

  background: transparent;
  color: var(--ink-forest);

  transition: all 0.25s ease;
}

.btn:hover {
  background: var(--ink-forest);
  color: var(--paper);
  border-color: var(--ink-forest);
}

.btn-primary {
  background: var(--ink-forest);
  color: var(--paper);
  border: 1px solid var(--ink-forest);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

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

.footer-border {
  height: 0.5vh;

  background: var(--paper);

  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}

/* MAIN FOOTER GRID */
.footer-info {
  min-height: 34vh;

  background: var(--paper);

  display: grid;

  grid-template-columns:
    80px
    1.6fr
    160px
    160px
    160px
    1.6fr
    80px;

  column-gap: 28px;

  padding-top: 48px;
  padding-bottom: 48px;

  border-bottom: 0.5px solid var(--line);
}

/* AFTER COLUMN 2 */
.footer-info > :nth-child(2) {
  border-right: 0.5px solid var(--line);
  padding-right: 28px;
}

/* AFTER COLUMN 5 */
.footer-info > :nth-child(5) {
  border-right: 0.5px solid var(--line);
  padding-right: 28px;
}

/* SPACE ADJUSTMENT FOR NEXT COLUMN */
.footer-info > :nth-child(3),
.footer-info > :nth-child(6) {
  padding-left: 28px;
}

/* GENERIC COLUMN */
.footer-column {
  display: flex;
  flex-direction: column;
}

/* EMPTY COLUMNS */
.footer-empty {
  pointer-events: none;
}

/* =========================
   COMPANY COLUMN
========================= */

.footer-company {
  display: block;
}

.footer-company-logo {
  float: left;

  width: 72px;
  height: 72px;

  margin-right: 18px;
  margin-bottom: 8px;
}

.footer-company-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;
}

.footer-company p {
  margin: 0;

  color: var(--muted);
  
  line-height: 1.9;
}

/* =========================
   LINK COLUMNS
========================= */

.footer-links {
  gap: 14px;

  align-items: flex-start;
  justify-content: flex-start;

  text-align: left;
}

.footer-links a {
  width: fit-content;

  font-size: 0.92rem;
  font-weight: 400;

  letter-spacing: 0.3px;

  color: var(--muted);

  text-decoration: none !important;
  border-bottom: none !important;

  transition:
    color 0.25s ease,
    font-size 0.25s ease,
    transform 0.25s ease,
    font-weight 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent);

  font-size: 0.96rem;
  font-weight: 500;

  transform: translateY(-1px);

  text-decoration: none !important;
  border-bottom: none !important;
}

/* =========================
   CONTACT COLUMN
========================= */

.footer-contact-column {
  color: var(--muted);
}

/* MAP */
.footer-map {
  width: 100%;
  height: 180px;

  border: 0.5px solid var(--line);

  margin-bottom: 24px;

  overflow: hidden;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* CONTACT DETAILS */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-icon {
  width: 16px;
  height: 16px;

  margin-top: 4px;

  opacity: 0.8;
}

/* =========================
   COPYRIGHT
========================= */

.footer-copyright {
  height: 4vh;

  background: var(--paper);

  display: flex;
  align-items: center;
  justify-content: center;

  border-top: 0.5px solid var(--line);
}

.copyright-content {
  width: 100%;
  height: 100%;

  padding: 0 var(--container-padding);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.875rem;
  font-weight: 300;

  color: var(--muted);

  line-height: 1;
}

.copyright-content p {
  margin: 0;
  padding: 0;
  line-height: 1;
}

/* =========================
   FORMS
========================= */

input,
textarea {
  width: 100%;

  padding: 12px 14px;

  background: var(--paper);

  border: 1px solid var(--line);

  color: var(--ink-forest);

  font-family: var(--sans);
  font-size: 1rem;

  margin-bottom: var(--space-4);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

@media (max-width: 768px) {

  body {
    padding: 0 24px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .header {
    height: auto;
    padding: 24px 0;
  }

  .header ul {
    flex-direction: column;
    gap: var(--space-4);
  }

  .footer-info-flex {
    flex-direction: column;
  }

  .footer-info-column {
    border: none !important;
    padding: var(--space-5) 0;
  }

  .banner-content,
  .copyright-content {
    padding: 0 24px;
  }
}

/* =========================
   STRUCTURE
========================= */

.home-structure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;

  padding: 0px 0;
}

/* CARD */
.structure-card {
  border-top: 0.5px solid var(--line);

  padding-top: 24px;
}

/* TITLE */
.structure-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

/* TEXT */
.structure-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-forest);

  margin-bottom: 16px;
}

/* LINK */
.structure-card a {
  font-size: 0.9rem;
  font-weight: 400;

  color: var(--ink-forest);

  text-decoration: none;
  border-bottom: none;

  transition: all 0.25s ease;
}

.structure-card a:hover {
  color: var(--accent);
  font-weight: 500;

  transform: translateX(2px);
}

/* =========================
   PHILOSOPHY
========================= */

.section {
  padding: 90px 0;
}

.section-header {
  max-width: 820px;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
}

.philosophy-section {
  padding: 90px 0;
}

/* HEADER */
.philosophy-header {
  max-width: 720px;
  margin-bottom: 60px;
}

.philosophy-header h2 {
  margin-bottom: 12px;
}

.philosophy-header p {
  font-size: 1.05rem;
  color: var(--muted);
}

/* GRID */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

/* ITEM */
.philosophy-item {
  border-top: 0.5px solid var(--line);
  padding-top: 18px;
}

.philosophy-item h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.philosophy-item h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.philosophy-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-forest);
}

/* =========================
   VISUAL BREATHING ROOM
========================= */

.breathing-image {
  width: 100%;

  /* vertical rhythm control */
  margin-top: 48px;
  margin-bottom: 0px; /*96px;*/

  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);

  padding: 2px;

  background: var(--paper);
}

.breathing-image img {
  width: 100%;
  height: var(--rhythm-block);

  object-fit: cover;

  display: block;
}


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

.stewardship-section {
  display: grid;

  grid-template-columns: 1fr 1.2fr;

  gap: 96px;

  align-items: start;
}

/* LEFT COLUMN */
.stewardship-intro {
  max-width: 520px;
}

.stewardship-intro h2 {
  margin-bottom: 16px;
}

.stewardship-intro p {
  font-size: 1rem;
  line-height: 1.9;

  color: var(--muted);

  margin-bottom: 0;
}

/* RIGHT COLUMN */
.stewardship-principles {
  display: flex;
  flex-direction: column;
}

/* INDIVIDUAL ITEM */
.stewardship-item {
  padding: 0 0 28px 0;
  margin-bottom: 28px;

  border-bottom: 0.5px solid var(--line);
}

.stewardship-item:last-child {
  margin-bottom: 0;
}

/* TITLES */
.stewardship-item h4 {
  margin-bottom: 10px;

  font-size: 1.05rem;
}

.stewardship-item h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

/* TEXT */
.stewardship-item p {
  font-size: 0.95rem;
  line-height: 1.8;

  color: var(--ink-forest);

  margin-bottom: 0;
}


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


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

.journal-section {
  padding: 96px 0;
}

/* HEADER */
.journal-header {
  max-width: 100%; /*720px;*/
  margin-bottom: 64px;
}

.journal-header p {
  color: var(--muted);
  line-height: 1.8;
}

/* GRID (THIS IS THE KEY FIX) */
.journal-grid {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 28px;
}

/* CARD */
.journal-card {
  display: flex;
  flex-direction: column;
}

/* IMAGE */
.journal-card img {
  width: 100%;
  height: 180px;

  object-fit: cover;

  border: 0.5px solid var(--line);
  padding: 2px;
  background: var(--paper);

  margin-bottom: 14px;
}

/* TITLE */
.journal-card h4 {
  margin-bottom: 6px;
}

/* TEXT */
.journal-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}