/*
Theme Name: Bound Bella
Theme URI: https://www.boundbella.co.uk
Author: Bound Bella Limited
Author URI: https://www.boundbella.co.uk
Description: Premium responsive WordPress theme for Bound Bella, a UK women's outerwear manufacturing business.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: bound-bella
*/

:root {
  --ink: #121116;
  --charcoal: #1d1b20;
  --graphite: #302c33;
  --rose: #b98083;
  --rose-soft: #e8c9c5;
  --champagne: #d6b16a;
  --cream: #f7f2e9;
  --mist: #f3f1ee;
  --line: rgba(18, 17, 22, .12);
  --shadow: 0 24px 70px rgba(18, 17, 22, .14);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(247, 242, 233, .88);
  border-bottom: 1px solid rgba(18, 17, 22, .08);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 82px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-link img {
  width: 158px;
}

.main-nav {
  justify-self: center;
}

.main-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(18, 17, 22, .76);
  font-size: .92rem;
  font-weight: 700;
  transition: color .22s ease, background .22s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--ink);
  background: rgba(214, 177, 106, .18);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(18, 17, 22, .18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(18, 17, 22, .24);
}

.button.secondary {
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  border: 1px solid rgba(18, 17, 22, .12);
  box-shadow: none;
}

.hero {
  position: relative;
  padding: 154px 0 82px;
  background:
    radial-gradient(circle at 12% 18%, rgba(214, 177, 106, .26), transparent 34%),
    linear-gradient(135deg, var(--cream) 0%, #ffffff 44%, #eee6dc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(18, 17, 22, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 17, 22, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(360px, .9fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--rose);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--champagne);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.65rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
}

h3 {
  font-size: 1.08rem;
  font-weight: 850;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(18, 17, 22, .72);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.stat {
  padding: 18px;
  border: 1px solid rgba(18, 17, 22, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .58);
}

.stat strong {
  display: block;
  font-size: .96rem;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: rgba(18, 17, 22, .62);
  font-size: .82rem;
}

.hero-image-panel {
  position: relative;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 17, 22, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--charcoal);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
}

.image-frame::after,
.protected-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(18, 17, 22, .16), transparent 42%, rgba(214, 177, 106, .1));
  pointer-events: auto;
}

.caption-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(330px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius);
  background: rgba(18, 17, 22, .78);
  color: #fff;
  backdrop-filter: blur(14px);
}

.caption-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: .9rem;
}

.section {
  padding: 94px 0;
}

.section.dark {
  color: #fff;
  background:
    radial-gradient(circle at 84% 16%, rgba(185, 128, 131, .26), transparent 28%),
    linear-gradient(135deg, #141217, #252128 58%, #18161a);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(260px, .45fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 42px;
}

.section-header p {
  color: rgba(18, 17, 22, .66);
  font-size: 1.02rem;
}

.dark .section-header p {
  color: rgba(255, 255, 255, .72);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(18, 17, 22, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 177, 106, .45);
  box-shadow: 0 18px 45px rgba(18, 17, 22, .1);
}

.card::before {
  content: attr(data-number);
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(214, 177, 106, .34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  line-height: 1;
}

.card p {
  position: relative;
  color: rgba(18, 17, 22, .66);
}

.icon-pill {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: rgba(185, 128, 131, .14);
  color: var(--rose);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(340px, .86fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split-copy p {
  color: rgba(18, 17, 22, .68);
  font-size: 1.02rem;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 0 6px rgba(214, 177, 106, .16);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
}

.process-step {
  min-height: 220px;
  padding: 28px;
  background: rgba(255, 255, 255, .045);
}

.process-step span {
  display: block;
  margin-bottom: 30px;
  color: var(--champagne);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.process-step p {
  color: rgba(255, 255, 255, .72);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(18, 17, 22, .94), rgba(48, 44, 51, .92)),
    url("assets/images/premises.jpg") center / cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-panel p {
  max-width: 680px;
  color: rgba(255, 255, 255, .76);
}

.page-hero {
  padding: 148px 0 64px;
  background: linear-gradient(135deg, var(--cream), #fff);
  border-bottom: 1px solid rgba(18, 17, 22, .08);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.page-content {
  padding: 70px 0 90px;
}

.content-card {
  max-width: 920px;
  padding: 44px;
  border: 1px solid rgba(18, 17, 22, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
}

.content-card h2,
.content-card h3 {
  margin: 34px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(340px, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 16px;
  border: 1px solid rgba(18, 17, 22, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .66);
}

.map-frame {
  overflow: hidden;
  margin-top: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(18, 17, 22, .1);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(18, 17, 22, .1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 46px rgba(18, 17, 22, .09);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: rgba(18, 17, 22, .72);
  font-size: .88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(18, 17, 22, .14);
  border-radius: 6px;
  background: #fbfaf8;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(214, 177, 106, .18);
  color: var(--ink);
  font-weight: 700;
}

.notice.error {
  background: rgba(185, 128, 131, .18);
}

.site-footer {
  color: #fff;
  background: #121116;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(160px, .5fr));
  gap: 34px;
  padding: 58px 0;
}

.footer-main img {
  width: 150px;
}

.footer-main p,
.footer-main a,
.footer-bottom {
  color: rgba(255, 255, 255, .68);
}

.footer-main h3 {
  margin-bottom: 16px;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
}

.protected-image,
.image-protected {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-actions .button {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 12px;
    border: 1px solid rgba(18, 17, 22, .1);
    border-radius: var(--radius);
    background: rgba(247, 242, 233, .98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    display: grid;
  }

  .hero-grid,
  .split,
  .section-header,
  .contact-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .admin-bar .site-header {
    top: 0;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-stats,
  .cards,
  .process-grid,
  .form-row,
  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .content-card,
  .contact-form,
  .cta-panel {
    padding: 24px;
  }
}
