/* Unfiltered Britt — site styles. Source of truth: the Claude Design canvas "Unfiltered Britt Website". */

:root {
  --plum: #37153F;        /* dark ground */
  --plum-deep: #2A1530;   /* body text on light */
  --plum-mid: #4B2554;    /* dark placeholder fill */
  --ground: #F5F0FA;      /* light ground */
  --lilac: #E9DFF1;       /* alt light panel */
  --card: #FBF8FD;
  --ph-light: #E3D6EC;
  --ph-lilac: #DCCDE7;
  --purple: #8C62A9;      /* accent */
  --link: #6B4688;
  --muted: #4A2D5E;
  --text-alt: #3D2745;
  --text-on-dark: #EBE2F2;
  --lime: #C8D96A;
  --green: #1E3327;
  --green-deep: #162A1F;
  --green-ph: #1F3A2C;
  --text-on-green: #E6EDE8;
  --line-light: rgba(140, 98, 169, 0.25);
  --line-dark: rgba(245, 240, 250, 0.22);

  --display: 'Gloock', Georgia, 'Times New Roman', serif;
  --italic: 'Lora', Georgia, serif;
  --body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --label: 'Outfit', 'DM Sans', sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --radius: 22px;
  --radius-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--plum);
  color: var(--plum-deep);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}

.site { background: var(--ground); color: var(--plum-deep); }

a { color: var(--link); }
a:hover { color: var(--plum); }
img { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Type */
.label { font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.display { font-family: var(--display); line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; }
.display .it { font-family: var(--italic); font-style: italic; text-transform: lowercase; letter-spacing: -0.01em; }
.h-xl { font-size: clamp(52px, 7vw, 100px); line-height: 0.95; }
.h-l { font-size: clamp(42px, 5.4vw, 78px); }
.h-m { font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.h-s { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.02; }
.lede { font-size: 19px; line-height: 1.6; }
.quote { font-family: var(--italic); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--link); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn-light { background: var(--ground); color: var(--plum); border-color: var(--ground); }
.btn-light:hover { background: #fff; color: var(--plum); }
.btn-ghost { background: var(--plum); color: var(--ground); border-color: var(--ground); }
.btn-ghost:hover { background: var(--ground); color: var(--plum); }
.btn-plum { background: var(--plum); color: var(--ground); border-color: var(--plum); }
.btn-plum:hover { background: var(--plum-mid); color: var(--ground); }
.btn-lime { background: var(--lime); color: var(--green); border-color: var(--lime); }
.btn-lime:hover { background: #d8e78a; color: var(--green); }
.textlink {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--link); text-decoration: none; border-bottom: 2px solid transparent;
}
.textlink:hover { color: var(--plum); border-bottom-color: var(--purple); }

/* Placeholders (swap each for an <img>) */
.ph {
  display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; width: 100%;
  font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 2px dashed var(--purple); background: var(--ph-light); color: var(--muted);
}
.ph-dark { border-color: rgba(245, 240, 250, 0.55); background: var(--plum-mid); color: var(--ground); }
.ph-green { border-color: rgba(245, 240, 250, 0.5); background: var(--green-ph); color: var(--ground); }
.ph-lilac { background: var(--ph-lilac); }
.ph-rounded { border-radius: var(--radius); }
.ph-rounded-sm { border-radius: var(--radius-sm); }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-11 { aspect-ratio: 1 / 1; }
.photo { width: 100%; height: 100%; object-fit: cover; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10; background: var(--ground);
  border-bottom: 1px solid var(--line-light);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; text-decoration: none; color: var(--plum-deep); }
.brand-a { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; line-height: 44px; }
.brand-b { font-family: var(--italic); font-style: italic; font-size: 25px; line-height: 44px; color: var(--purple); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--plum-deep); border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--purple); color: var(--plum-deep); }
.nav-toggle {
  display: none; width: 48px; height: 48px; padding: 0; border: 2px solid var(--plum); border-radius: 50%;
  background: var(--ground); color: var(--plum); cursor: pointer; align-items: center; justify-content: center;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding: 8px 0 12px; border-top: 1px solid var(--line-light); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { min-height: 48px; }
  .nav-toggle .ic-close { display: none; }
  .nav.open .nav-toggle .ic-menu { display: none; }
  .nav.open .nav-toggle .ic-close { display: block; }
}

/* HERO */
.hero {
  background-color: var(--plum); color: var(--ground);
  background-image: repeating-linear-gradient(90deg, rgba(245,240,250,0.045) 0px, rgba(245,240,250,0.045) 1px, rgba(245,240,250,0) 1px, rgba(245,240,250,0) 28px);
}
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 72px; }
.hero-copy { flex: 1.4 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-copy .label { color: var(--ground); }
.hero h1 { color: var(--ground); }
.hero h1 .it { display: block; color: var(--lime); }
.hero p { max-width: 540px; font-size: 20px; line-height: 1.55; color: var(--text-on-dark); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.hero-photo-frame { position: relative; width: 100%; max-width: 420px; }
.hero-photo-frame .blob { position: absolute; left: -14%; bottom: -7%; width: 58%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--purple); }
.hero-photo-frame .ph, .hero-photo-frame .photo-wrap { position: relative; border-radius: var(--radius); aspect-ratio: 4 / 5; overflow: hidden; }
.hero-photo-frame .ph { padding: 24px; font-size: 13px; letter-spacing: 0.18em; }
.hero-strip { border-top: 1px solid var(--line-dark); }
.hero-strip .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 18px; padding-bottom: 18px;
  font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-on-dark);
}

/* Section scaffolding */
.section { padding-top: 104px; padding-bottom: 104px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.section-head .lead { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.section-head .lede { flex: 1 1 380px; min-width: 0; max-width: 480px; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.bg-ground { background: var(--ground); color: var(--plum-deep); }
.bg-lilac { background: var(--lilac); color: var(--plum-deep); }
.bg-plum { background: var(--plum); color: var(--ground); }
.bg-green { background: var(--green); color: var(--ground); }
.bg-ground .label, .bg-lilac .label { color: var(--link); }
.bg-lilac .label { color: var(--muted); }
.bg-ground .display, .bg-lilac .display { color: var(--plum-deep); }
.bg-ground .display .it, .bg-lilac .display .it { color: var(--purple); }
.bg-plum .label, .bg-green .label, .bg-plum .display, .bg-green .display, .bg-green .display .it { color: var(--ground); }
.bg-plum .display .it { color: var(--lime); }
.bg-plum .lede { color: var(--text-on-dark); }
.bg-green .lede, .bg-green p { color: var(--text-on-green); }

/* ABOUT */
.about .wrap { display: flex; flex-wrap: wrap; gap: 48px 72px; padding-top: 104px; padding-bottom: 88px; }
.about-lead { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-body { flex: 1.3 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 1.6; }

/* OLD PHOTOS */
.old .wrap { padding-top: 80px; padding-bottom: 96px; }
.old-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.old-head h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1; }
.old-head p { font-family: var(--italic); font-style: italic; font-size: 22px; color: var(--muted); }
.polaroids { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 36px 32px; }
.polaroid {
  margin: 0; padding: 14px 14px 18px; background: var(--card); border: 1px solid rgba(140,98,169,0.22);
  box-shadow: 0 14px 28px rgba(55,21,63,0.16); display: flex; flex-direction: column; gap: 14px;
}
.polaroid:nth-child(1) { transform: rotate(-2deg); }
.polaroid:nth-child(2) { transform: rotate(1.5deg); }
.polaroid:nth-child(3) { transform: rotate(-1deg); }
.polaroid:nth-child(4) { transform: rotate(2deg); }
.polaroid figcaption { font-family: var(--italic); font-style: italic; font-size: 18px; line-height: 1.35; }

/* TOOLS */
.tool-feature {
  display: flex; flex-wrap: wrap; align-items: stretch; background: var(--green-deep);
  border: 1px solid rgba(245,240,250,0.2); border-radius: var(--radius); overflow: hidden;
}
.tool-shot { flex: 1.2 1 420px; min-width: 0; min-height: 340px; margin: 24px; }
.tool-shot .ph { height: 100%; min-height: 340px; padding: 24px; font-size: 13px; letter-spacing: 0.18em; }
.tool-shot .photo-wrap { height: 100%; min-height: 340px; border-radius: var(--radius-sm); overflow: hidden; }
.tool-copy { flex: 1 1 360px; min-width: 0; padding: 40px 40px 40px 24px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.tool-copy p { font-size: 18px; line-height: 1.6; }
@media (max-width: 600px) { .tool-copy { padding: 8px 24px 32px; } }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.tool-next {
  min-height: 132px; padding: 28px; border: 2px dashed rgba(245,240,250,0.4); border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.tool-next .name { font-family: var(--display); font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; color: var(--ground); }

/* SHOP */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 28px; }
.product { background: var(--card); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product .ph { border: 0; border-bottom: 2px dashed var(--purple); }
.product-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.product-body .label { font-size: 12px; }
.product-body h3 { font-size: 28px; line-height: 1.08; }
.product-body p { font-size: 17px; line-height: 1.55; color: var(--text-alt); }
.product-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price { font-weight: 700; font-size: 18px; color: var(--plum-deep); }
.center { display: flex; justify-content: center; }

/* INSTAGRAM */
.ig .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.ig-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.ig-head .lead { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ig-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.handle {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--radius-sm);
  font-family: var(--body); font-weight: 700; font-size: 16px; text-decoration: none; background: var(--plum); color: var(--ground);
}
.handle:hover { background: var(--plum-mid); color: var(--ground); }
.round {
  width: 48px; height: 48px; padding: 0; border: 2px solid var(--plum); border-radius: 50%; background: var(--lilac); color: var(--plum);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.round:hover { background: var(--plum); color: var(--lilac); }
.rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px;
  scrollbar-color: var(--purple) transparent;
}
.rail > * { flex: 0 0 264px; aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; }
.rail a { display: block; }

/* BUSINESSES */
.biz .wrap { display: flex; flex-direction: column; gap: 72px; }
.biz-head { display: flex; flex-direction: column; gap: 20px; }
.biz-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.biz-row.reverse { flex-direction: row-reverse; }
.biz-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.biz-copy p { font-size: 18px; line-height: 1.6; }
.biz-media { flex: 1 1 400px; min-width: 0; }
.rule { height: 1px; background: rgba(140,98,169,0.3); }

/* ART */
.art .wrap { display: flex; flex-direction: column; gap: 56px; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); align-items: end; gap: 40px 28px; }
.art-grid figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.art-grid figcaption { font-family: var(--italic); font-style: italic; font-size: 17px; line-height: 1.35; color: var(--text-on-dark); }

/* CONTACT */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.contact-lead { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-lead p { max-width: 460px; }
.contact-lead a { font-weight: 700; }
.form {
  flex: 1.1 1 420px; min-width: 0; padding: 36px; background: var(--card); border: 1px solid var(--line-light); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 480px) { .form { padding: 24px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 0 16px; border: 1.5px solid var(--purple); border-radius: var(--radius-sm); background: var(--ground);
  font-family: var(--body); font-size: 17px; color: var(--plum-deep);
}
.field input { height: 52px; }
.field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; min-height: 140px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { font-size: 15px; color: var(--muted); }
.form-note.ok { color: #2F6B3C; }
.form-note.err { color: #9B2C2C; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FOOTER */
.footer { background: var(--plum); color: var(--ground); }
.footer .wrap { padding-top: 80px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 64px; }
.footer-mark { font-family: var(--display); font-size: clamp(52px, 7vw, 104px); line-height: 0.92; letter-spacing: -0.02em; text-transform: uppercase; color: var(--ground); }
.footer-mark .dot { color: var(--lime); }
.footer-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-ctas .ig-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 18px; color: var(--ground); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.footer-nav a, .copyright {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--ground);
}
.footer-nav a:hover { color: var(--lime); }
.copyright { color: var(--text-on-dark); }

@media (max-width: 600px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 48px; gap: 40px; }
  .about .wrap { padding-top: 72px; padding-bottom: 64px; }
  .hero-photo-frame .blob { left: -6%; }
}
