/*
 * SUPPLIERS & TRADE.
 *
 * SCOPE. Every selector either begins `.lf-sp` — a prefix used on no other page
 * — or is nested under `.lf-legal--suppliers-and-trade`. The template, the
 * layout functions, delivery.css and contact.css are all shared, so nothing
 * here may be written unscoped.
 *
 * WHAT THIS PAGE IS FOR. Its reader is not a customer. A supplier deciding
 * whether Lomond is worth approaching is reading for two things — is my
 * category wanted, and does this look like a business that will be
 * straightforward to deal with. So the page is composed rather than listed:
 * one wide editorial statement, four category panels with the fourth
 * deliberately open-ended, and a form that asks for very little to begin with.
 *
 * The form itself is the customer-care component, unchanged — same partial,
 * same classes, same field metrics. Only its surround is written here.
 */

.lf-legal--suppliers-and-trade,
.lf-sp {
  --sp-r-sm: 10px;
  --sp-r-md: 13px;
  --sp-r-lg: 16px;
  --sp-r-xl: 20px;
  --sp-r-2xl: 24px;

  --sp-shell:  #FBF9F6;
  --sp-panel:  #F4F0EA;
  --sp-white:  #FFFFFF;
  --sp-hair:   #EAE4DC;
  --sp-hair-2: #DDD4C9;

  --sp-lift: 0 8px 24px rgba(0, 20, 46, .055);
  --sp-deep: 0 24px 70px rgba(0, 20, 46, .045);
  --sp-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============================================================ the canvas */

.lf-legal--suppliers-and-trade .lf-dhero2 {
  padding-block: clamp(.5rem, 1.4vw, 1.35rem) clamp(1.75rem, 3vw, 2.75rem);
  align-items: end;
}
.lf-legal--suppliers-and-trade .lf-dhero2__h {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 14ch;
}
.lf-legal--suppliers-and-trade .lf-dhero2__lede {
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  max-width: 34rem;
  padding-bottom: .35rem;
}
.lf-legal--suppliers-and-trade { padding-bottom: 0; }

.lf-sp { margin-top: clamp(3rem, 6.6vw, 6.25rem); }
.lf-sp__head { margin-bottom: clamp(1.5rem, 2.8vw, 2.25rem); max-width: 60ch; }
.lf-sp__h {
  font-family: var(--lf-serif); font-weight: 400;
  font-size: clamp(1.75rem, 2.9vw, 2.5rem); line-height: 1.12;
  letter-spacing: -0.012em; color: var(--lf-navy); margin: 0;
}
.lf-sp__intro {
  margin: .85rem 0 0; font-size: 1.02rem; line-height: 1.75; color: var(--lf-taupe-deep);
}
.lf-sp__note {
  margin: clamp(1.25rem, 2.2vw, 1.75rem) 0 0;
  padding-left: 1rem; border-left: 2px solid var(--lf-gold-rule);
  font-size: .95rem; line-height: 1.7; color: var(--lf-taupe-deep); max-width: 62ch;
}

/* ================================================== what we are after == */

/*
 * FOUR PANELS, AND THE FOURTH IS NOT A CATEGORY.
 *
 * "Categories we have not listed" is the commercially important one, so it is
 * given the navy ground rather than a dashed border or a lighter tone — a
 * placeholder treatment would say the opposite of what the panel says.
 */
.lf-spgroups {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.4rem);
}
.lf-spgroup {
  display: grid; align-content: start; gap: .55rem;
  background: var(--sp-shell);
  border: 1px solid var(--sp-hair);
  border-radius: var(--sp-r-2xl);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
}
.lf-spgroup__icon {
  display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem; border-radius: var(--sp-r-sm);
  border: 1px solid var(--lf-gold-line); background: rgba(255, 255, 255, .7);
  color: var(--lf-gold); margin-bottom: .5rem;
}
.lf-spgroup__icon .lf-dicon { width: 1.3rem; height: 1.3rem; margin: 0; }
.lf-spgroup__name {
  font-family: var(--lf-serif); font-weight: 400;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.15;
  color: var(--lf-navy); margin: 0;
}
.lf-spgroup__body { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--lf-taupe-deep); }
/* The examples read as a specimen line, not as a paragraph — they are a list
   in prose form and should look like one. */
.lf-spgroup__eg {
  margin: .5rem 0 0; padding-top: .85rem;
  border-top: 1px solid var(--sp-hair-2);
  font-size: .89rem; line-height: 1.75; color: var(--lf-taupe);
}
.lf-spgroup.is-open {
  background: var(--lf-navy); border-color: var(--lf-navy);
  box-shadow: var(--sp-deep);
}
.lf-spgroup.is-open .lf-spgroup__name { color: #fff; }
.lf-spgroup.is-open .lf-spgroup__body { color: rgba(255, 255, 255, .82); }
.lf-spgroup.is-open .lf-spgroup__eg {
  color: var(--lf-gold-on-navy); border-top-color: rgba(255, 255, 255, .18);
}
.lf-spgroup.is-open .lf-spgroup__icon {
  background: rgba(255, 255, 255, .08); border-color: rgba(161, 124, 69, .55);
  color: var(--lf-gold-on-navy);
}

/* ========================================== the one editorial moment === */

/*
 * MADE OF TYPE, NOT OF PHOTOGRAPHY.
 *
 * A photograph here would be either stock imagery pretending to be Lomond's or
 * a product shot implying a garden range that does not exist. Neither is
 * acceptable and neither is needed: two words set large enough carry it.
 */
.lf-spstate {
  background: var(--sp-panel);
  border: 1px solid var(--sp-hair);
  border-radius: var(--sp-r-2xl);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
}
.lf-spstate__eyebrow {
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  font-size: .76rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--lf-gold);
}
.lf-spstate__lines { margin: 0; display: grid; gap: .1rem; }
.lf-spstate__line {
  font-family: var(--lf-serif); font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5.5rem); line-height: 1.02;
  letter-spacing: -0.02em; color: var(--lf-navy);
}
/* The second line carries the point, so it takes the accent. */
.lf-spstate__line.is-alt { color: var(--lf-gold); font-style: italic; }
.lf-spstate__body {
  margin: clamp(1.5rem, 2.6vw, 2rem) auto 0; max-width: 46ch;
  font-size: 1.02rem; line-height: 1.75; color: var(--lf-taupe-deep);
}
/* The honest qualifier. Quiet, and not hidden — a supplier must not read the
   statement above as a range that already exists. */
.lf-spstate__note {
  margin: clamp(1.25rem, 2.2vw, 1.6rem) auto 0; max-width: 52ch;
  padding-top: 1.1rem; border-top: 1px solid var(--sp-hair-2);
  font-size: .89rem; line-height: 1.7; color: var(--lf-taupe-mid);
}

/* ============================================== what makes a good fit = */

.lf-spfit {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 3rem);
}
.lf-spfit__item {
  display: grid; align-content: start; gap: .5rem;
  padding-top: 1.1rem; border-top: 1px solid var(--sp-hair-2);
}
.lf-spfit__n {
  font-family: var(--lf-serif); font-size: 1.05rem; line-height: 1;
  color: var(--lf-gold); letter-spacing: .02em;
}
.lf-spfit__name {
  font-family: var(--lf-serif); font-weight: 400;
  font-size: 1.32rem; line-height: 1.2; color: var(--lf-navy); margin: 0;
}
.lf-spfit__body { margin: 0; font-size: .95rem; line-height: 1.7; color: var(--lf-taupe); }

/* ================================================ how it works, reused = */

.lf-legal--suppliers-and-trade .lf-dsec--timeline {
  background: var(--sp-shell);
  border: 1px solid var(--sp-hair);
  border-radius: var(--sp-r-2xl);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  margin-top: clamp(3rem, 6.6vw, 6.25rem);
}
/* delivery.css hard-codes five columns for its own page; the layout emits its
   own count, and these breakpoints are restated because a scoped rule with a
   class in front of it outranks the ones in that file. */
.lf-legal--suppliers-and-trade .lf-dtime {
  grid-template-columns: repeat(var(--lf-time, 4), minmax(0, 1fr));
}
@media (max-width: 900px) {
  .lf-legal--suppliers-and-trade .lf-dtime { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lf-legal--suppliers-and-trade .lf-dtime { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================ what helps us review === */

.lf-sphelps {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem); align-items: start;
}
.lf-sphelps__aside { position: sticky; top: 9.5rem; }
.lf-sphelps__list {
  list-style: none; margin: 0; padding: clamp(1.35rem, 2.4vw, 2rem);
  background: var(--sp-white); border: 1px solid var(--sp-hair);
  border-radius: var(--sp-r-xl);
  box-shadow: 0 1px 3px rgba(0, 20, 46, .025);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .1rem clamp(1rem, 2vw, 2rem);
}
.lf-sphelps__list li {
  display: flex; align-items: baseline; gap: .7rem;
  padding-block: .68rem;
  font-size: .95rem; line-height: 1.5; color: var(--lf-taupe-deep);
  border-bottom: 1px solid var(--sp-hair);
}
.lf-sphelps__mark {
  flex: none; width: .4rem; height: .4rem; border-radius: 50%;
  background: var(--lf-gold); transform: translateY(-.15rem);
}

/* ===================================================== the enquiry form */

.lf-sp--form { scroll-margin-top: 7rem; }
.lf-spform {
  display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start;
  background: var(--sp-shell);
  border: 1px solid var(--sp-hair);
  border-radius: var(--sp-r-2xl);
  box-shadow: var(--sp-deep);
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.lf-spform__aside { position: sticky; top: 9.5rem; }
.lf-spform__eyebrow {
  margin: 0 0 .6rem; font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lf-gold);
}
.lf-spform__h {
  font-family: var(--lf-serif); font-weight: 400;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1;
  letter-spacing: -0.012em; color: var(--lf-navy); margin: 0 0 .8rem;
}
.lf-spform__lede { margin: 0; font-size: 1rem; line-height: 1.72; color: var(--lf-taupe-deep); }
.lf-spform__note {
  margin: 1.15rem 0 0; font-size: .9rem; line-height: 1.65; color: var(--lf-taupe-mid);
}
/* The form surface itself is the customer-care component; only its ground
   changes, because here it sits inside a panel rather than on the page. */
.lf-spfields { background: var(--sp-white); }

/* ------------------------------------------------- the category chips -- */

/*
 * A MULTI-SELECT MADE OF REAL CHECKBOXES.
 *
 * The whole chip is the label, so the target is the chip and not a 16px box.
 * The input stays in the DOM and in the accessibility tree — moved off-screen
 * rather than `display: none`, which would take it out of the tab order — and
 * `:focus-visible` on it lights the chip.
 */
.lf-ccchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.lf-ccchip {
  position: relative;
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 2.85rem; padding: .6rem 1.05rem .6rem .85rem;
  border: 1px solid var(--sp-hair-2); border-radius: 999px;
  background: var(--sp-white); cursor: pointer;
  font-size: .93rem; line-height: 1.3; color: var(--lf-taupe-deep);
  transition: background .2s var(--sp-ease), border-color .2s var(--sp-ease),
              color .2s var(--sp-ease);
}
.lf-ccchip input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
  margin: 0; pointer-events: none;
}
.lf-ccchip__box {
  flex: none; display: grid; place-items: center;
  width: 1.15rem; height: 1.15rem; border-radius: 5px;
  border: 1px solid var(--sp-hair-2); background: var(--sp-white);
  color: transparent;
  transition: background .2s var(--sp-ease), border-color .2s var(--sp-ease),
              color .2s var(--sp-ease);
}
.lf-ccchip__box svg { width: .8rem; height: .8rem; }
.lf-ccchip:hover { border-color: var(--lf-gold-rule); color: var(--lf-navy); }
.lf-ccchip input:checked ~ .lf-ccchip__box {
  background: var(--lf-gold); border-color: var(--lf-gold); color: #fff;
}
.lf-ccchip:has(input:checked) {
  border-color: var(--lf-gold-rule); background: rgba(141, 106, 58, .06);
  color: var(--lf-navy);
}
.lf-ccchip:has(input:focus-visible) {
  outline: 2px solid var(--lf-gold); outline-offset: 3px;
}
/* `:has()` is the enhancement; this is the floor on a browser without it. */
.lf-ccchip input:focus-visible ~ .lf-ccchip__box { border-color: var(--lf-gold); }
.lf-ccfield__grouplabel {
  display: flex; align-items: baseline; gap: .6rem;
  margin: 0; font-size: .93rem; color: var(--lf-navy);
}

/* ---------------------------------------------------- the success state */

.lf-spdone {
  background: var(--sp-shell);
  border: 1px solid var(--sp-hair);
  border-radius: var(--sp-r-2xl);
  box-shadow: var(--sp-deep);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  max-width: 46rem;
}
.lf-spdone__mark {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  border-radius: var(--sp-r-md);
  border: 1px solid var(--lf-gold-line); background: var(--sp-white);
  color: var(--lf-gold); margin-bottom: 1.4rem;
}
.lf-spdone__mark svg { width: 1.6rem; height: 1.6rem; }
.lf-spdone__eyebrow {
  margin: 0 0 .6rem; font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lf-gold);
}
.lf-spdone__h {
  font-family: var(--lf-serif); font-weight: 400;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem); line-height: 1.1;
  letter-spacing: -0.012em; color: var(--lf-navy); margin: 0 0 .85rem;
}
.lf-spdone__lede {
  margin: 0 0 1.75rem; font-size: 1.02rem; line-height: 1.75;
  color: var(--lf-taupe-deep); max-width: 44ch;
}
.lf-spdone__lede strong { font-weight: 500; color: var(--lf-navy); }
.lf-spdone__links { margin: 0; }
.lf-spbtn {
  display: inline-flex; align-items: center; gap: .8rem;
  min-height: 3.25rem; padding: .9rem 1.8rem;
  background: var(--lf-navy); color: #fff; text-decoration: none;
  border: 1px solid var(--lf-navy); border-radius: var(--sp-r-md);
  font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 20, 46, .12);
  transition: background .25s var(--sp-ease), box-shadow .25s var(--sp-ease);
}
.lf-spbtn:hover { background: var(--lf-navy-80); color: #fff; }
.lf-spbtn span { transition: transform .28s var(--sp-ease); }
.lf-spbtn:hover span { transform: translateX(4px); }
.lf-spbtn:focus-visible { outline: 2px solid var(--lf-gold); outline-offset: 3px; }

/* =========================================================== responsive */

@media (max-width: 1080px) {
  .lf-spform { grid-template-columns: 1fr; }
  .lf-spform__aside, .lf-sphelps__aside { position: static; }
}
@media (max-width: 980px) {
  .lf-spfit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf-sphelps { grid-template-columns: 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
}
@media (max-width: 820px) {
  .lf-spgroups { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lf-legal--suppliers-and-trade .lf-dhero2 { padding-block: .5rem 1.5rem; }
  .lf-sp { margin-top: 2.25rem; }
  .lf-spfit { grid-template-columns: 1fr; gap: 1.5rem; }
  .lf-sphelps__list { grid-template-columns: 1fr; padding: 1.15rem 1.15rem .35rem; }
  .lf-spgroup, .lf-spstate, .lf-spform, .lf-spdone { border-radius: 18px; }
  .lf-spgroup { padding: 1.35rem 1.15rem; }
  .lf-spstate { padding: 1.75rem 1.15rem; }
  .lf-spform { padding: 1.25rem 1rem; }
  .lf-spdone { padding: 1.6rem 1.25rem; }
  .lf-spbtn { width: 100%; justify-content: center; }
  .lf-legal--suppliers-and-trade .lf-dsec--timeline {
    border-radius: 18px; padding: 1.35rem 1.15rem; margin-top: 2.25rem;
  }
  .lf-ccchip { min-height: 2.75rem; }
}

/* ====================================================== reduced motion */

@media (prefers-reduced-motion: reduce) {
  .lf-sp *, .lf-legal--suppliers-and-trade .lf-dsec--timeline * { transition: none !important; }
}
