/*
 * Image Origami shared site styles
 * Loaded on the homepage and all inner pages.
 */

/* Keep the shared footer predictable inside Astra templates. */
.io-footer,
.io-footer * {
  box-sizing: border-box;
}

/* =========================================================
   DARK ORIGAMI FOOTER
   Matches the sticky navigation.
   ========================================================= */
.io-footer {
  position: relative;
  z-index: 60;
  overflow: hidden;
  padding: 72px 6.5vw 0;
  background: #2d2825;
  color: #fff8ee;
  border-top: 1px solid rgba(184,132,67,.26);
  isolation: isolate;
}

.io-footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.io-footer-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(184,132,67,.10), transparent 26%),
    radial-gradient(circle at 88% 76%, rgba(123,20,56,.18), transparent 30%),
    linear-gradient(125deg, rgba(255,255,255,.025), transparent 40%);
}

.io-footer-fold {
  position: absolute;
  width: 240px;
  height: auto;
  fill: rgba(255,248,238,.025);
  stroke: rgba(184,132,67,.16);
  stroke-width: 1.2;
}

.io-footer-fold line {
  stroke: rgba(184,132,67,.12);
}

.io-footer-fold-1 {
  left: -46px;
  top: 34px;
  transform: rotate(-12deg);
}

.io-footer-fold-2 {
  right: -50px;
  bottom: 14px;
  transform: rotate(16deg);
}

.io-footer-dot-grid {
  position: absolute;
  right: 20%;
  top: 40px;
  width: 60px;
  height: 60px;
  opacity: .35;
  background-image: radial-gradient(circle, rgba(184,132,67,.48) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
}

.io-footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: clamp(42px, 6vw, 84px);
  padding-bottom: 58px;
}

.io-footer-logo {
  display: inline-block;
  color: #fff8ee;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: .055em;
  text-decoration: none;
}

.io-footer-brand p {
  max-width: 390px;
  margin: 20px 0 0;
  color: rgba(255,248,238,.68);
  font-size: 13.5px;
  line-height: 1.75;
}

.io-footer-links {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 32px;
}

.io-footer-links h3,
.io-footer-contact .io-footer-kicker {
  margin: 0 0 18px;
  color: #d5ad7d;
  font-family: "Lato", Arial, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.io-footer-links a {
  display: block;
  width: fit-content;
  margin: 0 0 12px;
  color: rgba(255,248,238,.76);
  font-size: 12.5px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}

.io-footer-links a:hover {
  color: #fff8ee;
  transform: translateX(4px);
}

.io-footer-contact h3 {
  max-width: 340px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(31px, 3vw, 43px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}

.io-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  color: #fff8ee;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
}

.io-footer-cta::after {
  content: "";
  width: 38px;
  height: 1px;
  background: #b88443;
  transition: width .25s ease;
}

.io-footer-cta:hover::after {
  width: 64px;
}

.io-footer-bottom {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,248,238,.10);
}

.io-footer-bottom p {
  margin: 0;
  color: rgba(255,248,238,.48);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .06em;
}

@media (max-width: 900px) {
  .io-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .io-footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .io-footer {
    padding: 58px 22px 0;
  }

  .io-footer-inner,
  .io-footer-links {
    grid-template-columns: 1fr;
  }

  .io-footer-contact {
    grid-column: auto;
  }

  .io-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   SHARED INNER-PAGE HEADER, MENU AND FULL-WIDTH PAGE SHELL
   ========================================================= */

html,
body.io-inner-site {
  margin: 0;
  padding: 0;
}

body.io-inner-site {
  background: #fffaf4;
  color: #201a17;
  overflow-x: hidden;
  font-family: "Lato", Arial, Helvetica, sans-serif;
}

body.io-inner-site #page,
body.io-inner-site .site,
body.io-inner-site .site-content,
body.io-inner-site .ast-container,
body.io-inner-site .content-area,
body.io-inner-site .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.io-inner-header,
.io-inner-header * {
  box-sizing: border-box;
}

.io-inner-header {
  position: relative;
  z-index: 200;
  width: 100%;
  min-height: 72px;
  background: rgba(31, 26, 23, .98);
  color: #fff8ee;
  border-bottom: 1px solid rgba(184,132,67,.24);
  box-shadow: 0 12px 34px rgba(30,22,17,.12);
}

.io-inner-header-wrap {
  width: min(100%, 1440px);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.io-inner-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
  color: #fff8ee;
  text-decoration: none;
  white-space: nowrap;
}

.io-inner-logo-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .055em;
  line-height: 1;
}

.io-inner-logo-sub {
  color: #d5ad7d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.io-inner-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.io-main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.io-main-menu > li {
  position: relative;
  margin: 0;
  padding: 0;
}

.io-main-menu > li > a {
  display: flex;
  align-items: center;
  min-height: 72px;
  color: #fff4e8;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  white-space: nowrap;
}

.io-main-menu > li > a:hover,
.io-main-menu > li.current-menu-item > a,
.io-main-menu > li.current-menu-ancestor > a {
  color: #d9a85f;
}

.io-main-menu .menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.io-main-menu .sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: -18px;
  z-index: 300;
  width: 292px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: rgba(31,26,23,.99);
  border-top: 2px solid #b88443;
  box-shadow: 0 22px 48px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .24s ease, visibility .24s ease, transform .24s ease;
}

.io-main-menu li:hover > .sub-menu,
.io-main-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.io-main-menu .sub-menu li {
  margin: 0;
  padding: 0;
}

.io-main-menu .sub-menu a {
  display: block;
  padding: 12px 20px;
  color: rgba(255,248,238,.82);
  text-decoration: none;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  border-left: 2px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease, padding-left .2s ease;
}

.io-main-menu .sub-menu a:hover,
.io-main-menu .sub-menu .current-menu-item > a {
  color: #fff;
  background: rgba(184,132,67,.15);
  border-left-color: #b88443;
  padding-left: 25px;
}

.io-main-menu > li:last-child > a {
  min-height: auto;
  padding: 13px 18px;
  border-radius: 999px;
  background: #b88443;
  color: #fff;
}

.io-main-menu > li:last-child > a:hover {
  background: #9d7038;
  color: #fff;
}

/* Inner page shell */
.io-inner-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.io-inner-page {
  width: 100%;
  margin: 0;
}

.io-inner-container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.io-inner-hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 96px 0 82px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.72) 0 1px, transparent 1px),
    linear-gradient(135deg, #fff8ee 0%, #f3e2cf 58%, #fffdf8 100%);
  background-size: 24px 24px, auto;
  border-bottom: 1px solid rgba(123,92,58,.12);
}

.io-inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(123,20,56,.05), transparent 36%),
    linear-gradient(25deg, transparent 62%, rgba(184,132,67,.10));
}

.io-inner-hero .io-inner-container {
  position: relative;
  z-index: 2;
}

.io-inner-eyebrow {
  margin: 0 0 16px;
  color: #7b1438;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .27em;
  text-transform: uppercase;
}

.io-inner-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #201a17;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(50px, 6vw, 84px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.045em;
}

.io-inner-title-line {
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 28px;
  background: #b88443;
}

.io-inner-hero-folds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.io-inner-hero-folds span {
  position: absolute;
  display: block;
  border: 1px solid rgba(184,132,67,.13);
  background: rgba(255,255,255,.07);
  clip-path: polygon(0 32%, 38% 0, 100% 16%, 82% 100%, 20% 82%);
}

.io-inner-hero-folds span:nth-child(1) {
  width: 220px;
  height: 150px;
  top: 34px;
  right: 7%;
  transform: rotate(10deg);
}

.io-inner-hero-folds span:nth-child(2) {
  width: 130px;
  height: 96px;
  right: 22%;
  bottom: 18px;
  transform: rotate(-18deg);
}

.io-inner-hero-folds span:nth-child(3) {
  width: 86px;
  height: 72px;
  left: 8%;
  bottom: 34px;
  transform: rotate(28deg);
}

.io-inner-content {
  width: 100%;
  padding: 78px 0 96px;
  background: #fffdf9;
}

.io-entry-content {
  color: #453a33;
  font-size: 16px;
  line-height: 1.8;
}

.io-entry-content > *:first-child {
  margin-top: 0;
}

.io-entry-content h2,
.io-entry-content h3,
.io-entry-content h4 {
  color: #201a17;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
}

.io-entry-content h2 {
  margin: 56px 0 20px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
}

.io-entry-content h3 {
  margin: 38px 0 16px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}

.io-entry-content p,
.io-entry-content ul,
.io-entry-content ol {
  max-width: 820px;
}

.io-entry-content a {
  color: #7b1438;
}

.io-entry-content .wp-block-button__link {
  border-radius: 999px;
  padding: 14px 22px;
  background: #7b1438;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* Ensure the shared footer spans the viewport on inner templates. */
body.io-inner-site .io-footer {
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (max-width: 1120px) {
  .io-inner-header-wrap {
    padding-inline: 24px;
  }

  .io-main-menu {
    gap: 18px;
  }

  .io-main-menu > li > a {
    font-size: 9px;
    letter-spacing: .12em;
  }
}

@media (max-width: 900px) {
  .io-inner-header-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 14px;
  }

  .io-inner-navigation {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .io-main-menu {
    width: max-content;
  }

  .io-main-menu > li > a {
    min-height: 42px;
  }

  .io-main-menu .sub-menu {
    display: none;
  }

  .io-inner-hero {
    min-height: 270px;
    padding: 74px 0 64px;
  }

  .io-inner-content {
    padding: 58px 0 72px;
  }
}

@media (max-width: 620px) {
  .io-inner-logo-title {
    font-size: 21px;
  }

  .io-inner-logo-sub {
    display: none;
  }

  .io-inner-container {
    width: min(100% - 36px, 1180px);
  }

  .io-inner-hero h1 {
    font-size: 48px;
  }
}
