/* ============================================================
   Willow's Holding SA — single-page site
   Palette: warm paper #f7f5f0 · ink #22201b · willow gold #d2a63e / #8a6d24
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f7f5f0;
  font-family: 'Archivo', sans-serif;
  color: #22201b;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; }
[hidden] { display: none !important; }
section { scroll-margin-top: 92px; }

::selection { background: #ecdcb0; }
:focus-visible { outline: 2px solid #8a6d24; outline-offset: 3px; border-radius: 2px; }
input:focus-visible, textarea:focus-visible { outline: 2px solid #8a6d24; outline-offset: 1px; }
input::placeholder, textarea::placeholder { color: #8b8578; }

.section-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 72px);
}

/* ---------------- NAV ---------------- */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e4dfd4;
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 40px; height: 37px; }
.brand-name { font-family: 'Newsreader', serif; font-size: 21px; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); flex-wrap: wrap; }
.nav-link {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #4a463d;
  transition: color .25s ease;
}
.nav-link:hover { color: #8a6d24; }
.nav-cta {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #201807;
  background: #d2a63e;
  padding: 11px 20px;
  border-radius: 999px;
  transition: background .25s ease;
}
.nav-cta:hover { background: #c1962f; }

/* ---------------- HERO ---------------- */
.hero { position: relative; overflow: hidden; }
.hero-emblem {
  position: absolute;
  bottom: 18px;
  right: clamp(16px, 5vw, 84px);
  width: min(620px, 64vh, 52vw);
  height: auto;
  opacity: 0.13;
  pointer-events: none;
}
.willow-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 12vw, 150px) clamp(20px, 5vw, 72px) clamp(60px, 9vw, 120px);
}
.hero-title {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-size: clamp(42px, 7.4vw, 94px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 16ch;
}
.hero-title em { font-style: italic; color: #8a6d24; }
.hero-lede {
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.65;
  color: #57534a;
  max-width: 56ch;
  margin: clamp(32px, 4vw, 48px) 0 0;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: clamp(40px, 5vw, 60px);
  flex-wrap: wrap;
}
.btn-outline {
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #22201b;
  border: 1px solid #8a6d24;
  padding: 15px 30px;
  border-radius: 999px;
  transition: background .25s ease;
}
.btn-outline:hover { background: #f3ead2; }
.link-underline {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #57534a;
  border-bottom: 1px solid #c9c3b5;
  padding-bottom: 3px;
  transition: color .25s ease, border-bottom-color .25s ease;
}
.link-underline:hover { color: #8a6d24; border-bottom-color: #8a6d24; }

/* ---------------- SECTIONS ---------------- */
.section { position: relative; overflow: hidden; border-top: 1px solid #e4dfd4; }
.section--tint { background: #fffdf9; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8a6d24;
  margin-bottom: 14px;
}
.growline {
  width: 64px;
  height: 2px;
  background: #d2a63e;
  transform: scaleX(0);
  transform-origin: left;
  margin-bottom: 22px;
}
.section-title {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}
.prose {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.72;
  color: #454138;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.prose:last-child { margin-bottom: 0; }

/* ---------------- ABOUT ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

/* ---------------- FOCUS ---------------- */
.focus-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.focus-head-note { font-size: 14px; color: #8b8578; max-width: 34ch; line-height: 1.6; }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.focus-card { display: flex; flex-direction: column; }
.focus-frame {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  border: 1px solid #e4dfd4;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.focus-frame:hover { transform: translateY(-4px); }
.focus-plx {
  position: absolute;
  left: 0; right: 0;
  top: -12%; bottom: -12%;
  background: #f0ede2;
  will-change: transform;
}
.focus-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.focus-img:not([src]), .focus-img[src=""] { display: none; }
.focus-plx.no-photo .focus-img { display: none; }
.focus-plx.has-photo .focus-hint { display: none; }
.focus-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b0a992;
}
.focus-cardhead { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.focus-num { font-family: 'Newsreader', serif; font-size: 15px; color: #8a6d24; }
.focus-name {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 27px);
  margin: 0;
}
.focus-copy { font-size: 15px; line-height: 1.68; color: #57534a; margin: 14px 0 0; }

/* ---------------- PRESENCE ---------------- */
.presence-head { margin-bottom: clamp(40px, 5vw, 56px); }
.presence-head .prose { max-width: 90ch; }
.presence-title { margin-bottom: 24px; }
.presence-body {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
}
.map-frame {
  flex: 2 1 460px;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e4dfd4;
  position: relative;
  background: #eee9db;
}
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8b8578;
}
.map-placeholder-title { font-family: 'Newsreader', serif; font-size: 20px; color: #6f6a5f; }
.map-placeholder-sub { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.map-iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
.jurisdictions { flex: 1 1 240px; }
.jurisdictions-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b8578;
  margin-bottom: 6px;
}
.jurisdiction-list { list-style: none; margin: 0; padding: 0; }
.jurisdiction {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #e4dfd4;
  transition: transform .3s ease;
}
.jurisdiction--last { border-bottom: 0; }
.jurisdiction:hover { transform: translateX(6px); }
.jur-name { font-family: 'Newsreader', serif; font-size: 20px; }
.jur-home { color: #8a6d24; }
.jur-tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8b8578; }
.jur-code { font-size: 12px; color: #b7b1a3; }

/* ---------------- CONTACT ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-lede { font-size: clamp(16px, 1.5vw, 18px); margin: 0 0 28px; max-width: 44ch; }
.contact-privacy {
  font-size: 13px;
  line-height: 1.7;
  color: #8b8578;
  margin: 0;
  max-width: 42ch;
}
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f6a5f;
}
.field input, .field textarea {
  background: #fffdf9;
  border: 1px solid #d9d3c5;
  border-radius: 5px;
  color: #22201b;
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  padding: 14px 15px;
  letter-spacing: normal;
}
.field textarea { resize: vertical; }
.form-error {
  font-size: 14px;
  line-height: 1.6;
  color: #8f3b2d;
  background: #f9ece7;
  border: 1px solid #e4c4b8;
  border-radius: 6px;
  padding: 12px 16px;
}
.btn-send {
  align-self: flex-start;
  margin-top: 4px;
  background: #d2a63e;
  border: 1px solid #d2a63e;
  color: #201807;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s ease, opacity .25s ease;
}
.btn-send:hover { background: #c1962f; }
.btn-send:disabled { opacity: 0.6; cursor: default; }
.thankyou {
  border: 1px solid #e2d4a8;
  background: #f6efdc;
  border-radius: 8px;
  padding: clamp(32px, 5vw, 48px);
}
.thankyou-dot { width: 11px; height: 11px; background: #8a6d24; border-radius: 50%; margin-bottom: 22px; }
.thankyou-title { font-family: 'Newsreader', serif; font-weight: 400; font-size: 26px; margin: 0 0 12px; }
.thankyou-copy { font-size: 16px; line-height: 1.7; color: #454138; margin: 0; }

/* ---------------- FOOTER ---------------- */
.footer { background: #211b10; color: #d8d2c2; }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 84px) clamp(20px, 5vw, 72px);
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 64px);
  justify-content: space-between;
}
.footer-brand { flex: 1 1 280px; }
.footer-brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand-row img { width: 52px; height: 48px; }
.footer-brand-name { font-family: 'Newsreader', serif; font-size: 22px; color: #f2f4ef; }
.footer-tagline { font-size: 14px; line-height: 1.7; color: #a89f8a; margin: 0; max-width: 38ch; }
.footer-heading {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8d8266;
  margin-bottom: 16px;
}
.footer-address { font-style: normal; font-size: 15px; line-height: 1.8; color: #d8d2c2; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.footer-link { color: #d8d2c2; transition: color .25s ease; }
.footer-link:hover { color: #d2a63e; }
.footer-base {
  border-top: 1px solid #3b3220;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #8d8266;
}

/* ---------------- FOCUS GRID BREAKPOINTS ---------------- */
@media (max-width: 1000px) { .focus-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 560px)  { .focus-grid { grid-template-columns: 1fr; } }

/* ---------------- WILLOW EMBLEM RESPONSIVE ---------------- */
@media (max-width: 760px) {
  .hero-emblem {
    opacity: 0.08 !important;
    width: min(80vw, 420px) !important;
    right: 50% !important;
    transform: translateX(50%);
  }
}

/* ---------------- PRINT ---------------- */
@media print {
  .willow-canvas, .hero-emblem { display: none !important; }
}

/* ---------------- REDUCED MOTION ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
