/* Capital Conservation Services — Site stylesheet
   Direction 01 · Monument · Institutional gravitas
   Edit once → applies to every page */

:root {
  --bg:        #f5f1e8;   /* parchment */
  --paper:    #fbf8f0;
  --ink:       #1a1916;   /* near-black, warm */
  --mute:     #6b6457;
  --hair:     #cdc4b4;
  --accent:   #7a5a2e;   /* warm bronze */
  --gold:     #c9a85a;
  --maxw:    1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Type */
.serif    { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
.mono     { font-family: ui-monospace, 'IBM Plex Mono', Menlo, monospace; }
.eyebrow  { font-family: ui-monospace, 'IBM Plex Mono', Menlo, monospace; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.eyebrow-mute { font-family: ui-monospace, 'IBM Plex Mono', Menlo, monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }

h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(48px, 6vw, 92px); line-height: 0.98; }
h2 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.02; }
h3 { font-size: 24px; }
em { font-style: italic; color: var(--accent); }

p { margin: 0; line-height: 1.55; color: var(--ink); }
.lead { font-size: 18px; color: var(--mute); max-width: 56ch; }

/* Layout primitives */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.divider { border-top: 1px solid var(--hair); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; transition: opacity 0.2s; cursor: pointer; border: none; }
.btn:hover { opacity: 0.8; }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-light { background: var(--bg); color: var(--ink); }

/* === HEADER === */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 32px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { line-height: 1; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 500; white-space: nowrap; }
.brand-tag { font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: 0.22em; color: var(--mute); margin-top: 4px; text-transform: uppercase; white-space: nowrap; }
.site-nav { display: flex; gap: 28px; flex-wrap: nowrap; }
.site-nav a { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: color 0.15s; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.header-end { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-end .btn { white-space: nowrap; }
.header-cta-full { display: inline; }
.header-cta-short { display: none; }

/* Mid-width: drop the brand-tag and full CTA label */
@media (max-width: 1100px) {
  .brand-tag { display: none; }
  .site-nav { gap: 22px; }
  .site-nav a { font-size: 11px; letter-spacing: 0.14em; }
  .header-cta-full { display: none; }
  .header-cta-short { display: inline; }
  .header-end .btn { padding: 12px 16px; }
}

/* Lang toggle (HIDDEN until FR copy is ready) */
.lang { display: none; }

.header-divider { border-top: 1px solid var(--hair); }

/* === FOOTER === */
.site-footer { background: #0f0e0c; color: #a39a88; padding: 56px 32px 32px; margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand-link { display: block; text-decoration: none; color: inherit; transition: opacity 0.2s; }
.footer-brand-link:hover { opacity: 0.75; }
.site-footer .footer-brand img { width: 88px; height: 88px; filter: invert(0.85) sepia(0.2) hue-rotate(10deg); }
.site-footer h4 { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.22em; color: #6b6457; margin: 0 0 14px; text-transform: uppercase; font-weight: 400; }
.site-footer .col-text { font-size: 13px; line-height: 1.7; color: #a39a88; }
.site-footer .col-text a { color: #d8d1bf; text-decoration: none; }
.site-footer .col-text a:hover { color: #c9a85a; }
.site-footer .footer-bottom { max-width: var(--maxw); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid #2a2824; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.15em; color: #6b6457; text-transform: uppercase; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer .footer-bottom a { color: #6b6457; text-decoration: none; transition: color 0.15s; }
.site-footer .footer-bottom a:hover { color: #c9a85a; }

/* === HERO === */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.hero h1 { text-wrap: pretty; }
.hero-meta { margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.hero-meta-line { width: 32px; height: 1px; background: var(--accent); }
.hero-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #1a1916; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 14px 18px; background: rgba(15,14,12,0.85); color: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 12px; backdrop-filter: blur(6px); }
.hero-caption-left .eyebrow-mute { color: rgba(245,241,232,0.55); }
.hero-caption-title { font-family: 'Cormorant Garamond', serif; font-size: 17px; margin-top: 4px; }
.hero-caption-meta { font-family: ui-monospace, monospace; font-size: 11px; color: rgba(245,241,232,0.7); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 28px 32px; max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stats .num { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; }
.stats .desc { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.14em; color: var(--mute); margin-top: 4px; text-transform: uppercase; line-height: 1.4; }

/* Project grid */
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 48px; gap: 24px; }
.section-head .more { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.project-card { text-decoration: none; color: var(--ink); display: block; }
.project-card .img { aspect-ratio: 4/5; overflow: hidden; background: #1a1916; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-card .meta { display: flex; justify-content: space-between; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.14em; color: var(--mute); margin-top: 16px; text-transform: uppercase; }
.project-card h3 { font-size: 24px; margin: 8px 0 4px; font-family: 'Cormorant Garamond', serif; font-weight: 500; letter-spacing: -0.01em; }
.project-card .loc { color: var(--mute); font-size: 14px; }
.tag { display: inline-block; padding: 4px 10px; border: 1px solid var(--accent); color: var(--accent); font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 10px; }

/* Dark section */
.dark { background: var(--ink); color: var(--bg); }
.dark .eyebrow { color: var(--gold); }
.dark .lead { color: #d8d1bf; }
.dark em { color: var(--gold); }

/* Phases (4-step engagement) */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); }
.phase { padding: 32px 24px 32px 0; border-right: 1px solid var(--hair); }
.phase:last-child { border-right: none; padding-right: 0; }
.phase:not(:first-child) { padding-left: 24px; }
.phase .num { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; }
.phase h3 { font-size: 28px; margin: 10px 0 14px; font-weight: 500; }
.phase p { font-size: 14px; color: var(--mute); line-height: 1.5; }

/* Services columns */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.service-col { padding: 32px 24px 32px 0; border-right: 1px solid var(--hair); }
.service-col:last-child { border-right: none; padding-right: 0; }
.service-col:not(:first-child) { padding-left: 24px; }
.service-col .num { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; }
.service-col h3 { font-size: 26px; margin: 10px 0 18px; font-weight: 500; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.service-list li { font-size: 14px; color: var(--mute); line-height: 1.4; padding-left: 14px; position: relative; }
.service-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 1px; background: var(--accent); }

/* Awards */
.awards { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 64px; align-items: start; padding: 0 0; }
.award { border-left: 1px solid var(--hair); padding-left: 28px; }
.award .name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; }
.award .year { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--mute); margin-top: 6px; text-transform: uppercase; }
.award .for { color: var(--ink); font-size: 14px; margin-top: 12px; font-style: italic; line-height: 1.5; }

/* Center CTA */
.cta { text-align: center; padding: 110px 32px; }
.cta .seal { margin: 0 auto 24px; }
.cta h2 { font-size: clamp(48px, 6vw, 80px); }
.cta-buttons { display: inline-flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }

/* Homepage seal moment — large logo as a section anchor */
.seal-moment { padding: 120px 32px; text-align: center; background: var(--paper); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.seal-moment .seal-img { width: 240px; height: 240px; margin: 0 auto; opacity: 0.95; }
.seal-moment .seal-eyebrow { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.32em; color: var(--accent); text-transform: uppercase; margin-top: 28px; }
.seal-moment .seal-line { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 48px); margin-top: 14px; max-width: 22ch; margin-inline: auto; line-height: 1.1; }
.seal-moment .seal-sub { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; color: var(--mute); margin-top: 18px; }

/* Mobile */
@media (max-width: 880px) {
  .hero-grid, .project-grid, .services-grid, .phases, .stats, .awards, .site-footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .stats { padding: 28px 24px; }
  .site-nav { display: none; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 22px; }
  .award, .phase, .service-col { border: none !important; padding: 24px 0 !important; border-top: 1px solid var(--hair) !important; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
}
