@import url("tokens.css?v=6");

/* ============================================================
   Little Loop Studio - base system
   Structure comes from hairline rules and generous space,
   not from cards, shadows, or borders on everything.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: 0.005em;
  margin: 0 0 var(--s-3);
  color: var(--ink);
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; }

p { margin: 0 0 var(--s-3); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.script {
  font-family: var(--font-script);
  font-size: var(--t-script);
  line-height: 1.05;
  font-weight: 400;
  color: var(--blue-ink);
  letter-spacing: 0.01em;
  padding-block: 0.12em;
}

/* the signature of this genre: wide-tracked caps as a quiet label */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--t-eyebrow);
  font-weight: 400;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--blue-deep);
  margin: 0 0 var(--s-2);
  display: block;
}

.eyebrow--rule {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  justify-content: center;
}
.eyebrow--rule::before,
.eyebrow--rule::after {
  content: "";
  height: 1px;
  width: clamp(1.5rem, 6vw, 3.5rem);
  background: var(--sand-deep);
}

small, .small { font-size: var(--t-small); color: var(--ink-soft); }

a { color: var(--blue-ink); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 780px; }
.wrap--mid    { max-width: 1000px; }

.section { padding-block: var(--section-y); }
.section--band  { background: var(--cream-deep); }
.section--tint  { background: var(--blue-wash); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }

.center { text-align: center; }
.center p { margin-inline: auto; }

.rule {
  border: 0;
  height: 1px;
  background: var(--sand);
  margin-block: var(--s-5);
}

.stack > * + * { margin-top: var(--s-3); }
.stack-lg > * + * { margin-top: var(--s-5); }

/* two-column editorial split, collapses cleanly */
.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left  { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
  .split--flip > :first-child { order: 2; }
}

/* ---------- decorative frame (used sparingly) ---------- */

.framed { position: relative; }
.framed::after {
  content: "";
  position: absolute;
  inset: clamp(8px, 1.6vw, 18px);
  border: 1px solid var(--blue);
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 68px;
  padding-block: var(--s-2);
}

.brand { display: flex; align-items: center; gap: var(--s-2); text-decoration: none; }
.brand img { height: clamp(46px, 5.6vw, 68px); width: auto; }
.brand__text { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.04em; color: var(--ink); }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
}
.nav a {
  font-size: var(--t-eyebrow);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blue); }

/* mobile menu: details/summary, no JS needed */
.menu { display: block; }
@media (min-width: 900px) { .menu { display: none; } }
.menu > summary {
  list-style: none;
  cursor: pointer;
  font-size: var(--t-eyebrow);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.55rem 0.15rem;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel {
  position: absolute;
  top: 100%;          /* sit below the header bar, not inside it */
  left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
  padding: var(--s-3) var(--gutter) var(--s-4);
}
.menu__panel a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--sand);
  text-decoration: none;
  color: var(--ink);
  font-size: var(--t-eyebrow);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}
.menu__panel a:last-child { border-bottom: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--t-eyebrow);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--sand-deep); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }

.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

/* ---------- forms ---------- */

.field { margin-bottom: var(--s-4); }
.field > label {
  display: block;
  font-size: var(--t-eyebrow);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.55rem;
}
.field .hint { display: block; font-size: var(--t-small); color: var(--ink-faint); margin-top: 0.45rem; }

input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--sand-deep);
  border-radius: var(--radius-none);
  padding: 0.85rem 0.9rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--blue-ink);
  background: var(--cream);
}
input:focus-visible, select:focus-visible, textarea:focus-visible,
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue-ink);
  outline-offset: 3px;
}
::placeholder { color: var(--ink-faint); opacity: 1; }

.field-row { display: grid; gap: var(--s-3); }
@media (min-width: 720px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- gallery ---------- */

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.5rem, 1.4vw, 1.1rem);
}
@media (min-width: 760px)  { .grid-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid-gallery { grid-template-columns: repeat(4, 1fr); } }

.grid-gallery figure { margin: 0; position: relative; overflow: hidden; }
.grid-gallery img {
  width: 100%;
  /* every source is an Instagram portrait crop, so 3:4 is the native shape.
     Forcing 1:1 here would cut the tops off garments and faces. */
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.grid-gallery figure:hover img { transform: scale(1.035); }
.grid-gallery figure.is-square img { aspect-ratio: 1 / 1; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: var(--s-6) var(--s-4);
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer .eyebrow { color: var(--blue); }
.site-footer h3 { color: var(--cream); }

.footer-grid { display: grid; gap: var(--s-5); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer-bottom {
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid color-mix(in srgb, var(--cream) 22%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  justify-content: space-between;
  font-size: var(--t-small);
  color: color-mix(in srgb, var(--cream) 68%, transparent);
}

/* ---------- scroll reveal ---------- */

/* Gated on .js (set by an inline script in <head>). Without JS the content is
   simply visible, never stuck at opacity 0. Hiding content by default and
   revealing it with script is a single point of failure; this removes it. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Scoped to large movers only. A blanket animation kill makes the site read
   as broken on phones (lesson from Ride Renew). Small transitions stay. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .grid-gallery figure:hover img { transform: none; }
}

/* ---------- utilities ---------- */

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 0; top: -3rem;
  background: var(--ink); color: var(--cream);
  padding: 0.7rem 1.1rem; z-index: 100;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }


/* ============================================================
   ORNAMENT LAYER
   The restraint pass left this too plain. Colour and pattern do
   the work here: large blue fields, a botanical lattice drawn
   from her own floral-diamond product prints, and scalloped
   edges instead of flat section joins.
   All SVG, all inline, no extra requests.
   ============================================================ */

/* ---------- large colour fields ---------- */

.band-blue {
  background: linear-gradient(165deg, var(--blue-band) 0%, var(--blue-band-dk) 100%);
  color: var(--cream);
  position: relative;
  isolation: isolate;
}
.band-blue h1, .band-blue h2, .band-blue h3 { color: var(--cream); }
.band-blue p, .band-blue .lede { color: color-mix(in srgb, var(--cream) 88%, transparent); }
.band-blue .eyebrow { color: var(--blue); }
.band-blue .script { color: var(--cream); }
.band-blue .eyebrow--rule::before,
.band-blue .eyebrow--rule::after { background: color-mix(in srgb, var(--blue) 70%, transparent); }
.band-blue a { color: var(--cream); }
/* .band-blue a is more specific than .btn--light, which made a cream button
   render cream text on cream. Restore the button's own colours explicitly. */
.band-blue a.btn--light { color: var(--ink); }
.band-blue a.btn--light:hover { color: var(--cream); }
.band-blue a.btn { border-color: var(--cream); }

.band-powder {
  background: var(--blue);
  color: var(--ink);
  position: relative;
  isolation: isolate;
}
.band-powder .eyebrow { color: var(--blue-band-dk); }

/* ---------- botanical lattice ----------
   A five petal bloom at each node of a diamond lattice. Echoes the
   floral-diamond print on her own products. */

.pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1.1' opacity='0.26' stroke-linecap='round'%3E%3Cpath d='M34 128 C40 104 35 82 27 64'/%3E%3Cpath d='M109 96 C115 72 110 50 102 32'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' opacity='0.22'%3E%3Cellipse cx='42' cy='110' rx='9' ry='3.8' transform='rotate(-28 42 110)'/%3E%3Cellipse cx='30' cy='100' rx='9' ry='3.8' transform='rotate(28 30 100)'/%3E%3Cellipse cx='38' cy='89' rx='8' ry='3.4' transform='rotate(-32 38 89)'/%3E%3Cellipse cx='28' cy='78' rx='8' ry='3.4' transform='rotate(32 28 78)'/%3E%3Cellipse cx='117' cy='78' rx='9' ry='3.8' transform='rotate(-28 117 78)'/%3E%3Cellipse cx='105' cy='68' rx='9' ry='3.8' transform='rotate(28 105 68)'/%3E%3Cellipse cx='113' cy='57' rx='8' ry='3.4' transform='rotate(-32 113 57)'/%3E%3Cellipse cx='103' cy='46' rx='8' ry='3.4' transform='rotate(32 103 46)'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' opacity='0.30'%3E%3Ccircle cx='27' cy='62' r='3.1'/%3E%3Ccircle cx='102' cy='30' r='3.1'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 150px;
}

/* cream-ground version, ink drawn in her blue instead of white */
.pattern--ink::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg fill='none' stroke='%237FA8C9' stroke-width='1.1' opacity='0.34' stroke-linecap='round'%3E%3Cpath d='M34 128 C40 104 35 82 27 64'/%3E%3Cpath d='M109 96 C115 72 110 50 102 32'/%3E%3C/g%3E%3Cg fill='%237FA8C9' opacity='0.28'%3E%3Cellipse cx='42' cy='110' rx='9' ry='3.8' transform='rotate(-28 42 110)'/%3E%3Cellipse cx='30' cy='100' rx='9' ry='3.8' transform='rotate(28 30 100)'/%3E%3Cellipse cx='38' cy='89' rx='8' ry='3.4' transform='rotate(-32 38 89)'/%3E%3Cellipse cx='28' cy='78' rx='8' ry='3.4' transform='rotate(32 28 78)'/%3E%3Cellipse cx='117' cy='78' rx='9' ry='3.8' transform='rotate(-28 117 78)'/%3E%3Cellipse cx='105' cy='68' rx='9' ry='3.8' transform='rotate(28 105 68)'/%3E%3Cellipse cx='113' cy='57' rx='8' ry='3.4' transform='rotate(-32 113 57)'/%3E%3Cellipse cx='103' cy='46' rx='8' ry='3.4' transform='rotate(32 103 46)'/%3E%3C/g%3E%3Cg fill='%237FA8C9' opacity='0.38'%3E%3Ccircle cx='27' cy='62' r='3.1'/%3E%3Ccircle cx='102' cy='30' r='3.1'/%3E%3C/g%3E%3C/svg%3E");
}

/* fade the pattern out toward the middle so type never fights it */
.pattern--vignette::before {
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 50%, transparent 18%, #000 88%);
          mask-image: radial-gradient(ellipse 78% 68% at 50% 50%, transparent 18%, #000 88%);
}

/* ---------- scalloped edges ---------- */

.scallop-bottom { position: relative; }
.scallop-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 26px;
  background: var(--cream);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26' preserveAspectRatio='none'%3E%3Cpath d='M0 26 L0 13 A13 13 0 0 0 26 13 A13 13 0 0 0 52 13 L52 26 Z' fill='%23000'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26' preserveAspectRatio='none'%3E%3Cpath d='M0 26 L0 13 A13 13 0 0 0 26 13 A13 13 0 0 0 52 13 L52 26 Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 52px 26px;  mask-size: 52px 26px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
}
.scallop-bottom--band::after { background: var(--cream-deep); }

/* ---------- scalloped frame around content ---------- */

.frame-scallop {
  position: relative;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background: var(--cream);
}
.frame-scallop::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--blue-mid);
  opacity: 0.7;
  pointer-events: none;
}
.frame-scallop::after {
  content: "";
  position: absolute;
  inset: 17px;
  border: 1px solid var(--blue);
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- ornamental divider with a centre bloom ---------- */

.divider-bloom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin-block: var(--s-5);
  color: var(--blue-mid);
}
.divider-bloom::before,
.divider-bloom::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  max-width: 170px;
  background: linear-gradient(90deg, transparent, var(--sand-deep), transparent);
}
.divider-bloom svg { width: 26px; height: 26px; flex: none; }

/* ---------- oversized hero mark ---------- */

.hero-mark {
  width: min(560px, 82vw);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.18));
}
.hero-mark--cream { width: min(620px, 86vw); }

/* ---------- image treatment ---------- */

.photo-frame { position: relative; padding: 12px; background: var(--cream); }
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--blue-mid);
  opacity: 0.55;
  pointer-events: none;
}
.photo-frame img { width: 100%; display: block; }

/* offer blocks: image-led, colour-backed, not flat cards */
.offer {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--sand);
}
.offer__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.offer__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.offer__body h3 { margin-bottom: 0.6rem; }

/* ---------- pull quote ---------- */

.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.5rem);
  font-weight: 300;
  line-height: 1.32;
  font-style: italic;
  max-width: 22ch;
  margin-inline: auto;
}
