/* Creative Classes BC colour facelift. Existing page model and interactions remain. */
:root {
  --ink: #252d35;
  --muted: #53646a;
  --paper: #fffdf8;
  --cream: #f8f4e9;
  --purple: #286a68;
  --violet: #675397;
  --coral: #c96c43;
  --gold: #ddaa36;
  --mint: #e4efec;
  --line: #dfded4;
  --shadow: 0 12px 34px rgba(31, 65, 62, .09);
}
body { color: var(--ink); background: #fffdf8; }
.cc-wrap { width: min(1280px, calc(100% - 64px)); }
.cc-header { background: #fffdf8; border-bottom: 1px solid #e7e5da; }
.cc-nav { min-height: 84px; }
.cc-header .cc-brand { position: relative; display: block; flex: 0 0 235px; width: 235px; height: 82px; overflow: hidden; font-size: 0 !important; }
.cc-header .cc-brand > * { display: none; }
.cc-header .cc-brand::before { content: ""; position: absolute; inset: 0; background: url('/assets/creative-colour/logos/logo-horizontal.png') -7px -183px / 247px 439px no-repeat; }
.cc-menu > a, .cc-menu summary { color: var(--ink); font-size: .95rem; font-weight: 800; }
.cc-menu details > div { border-color: var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.cc-menu details > div a:hover { background: var(--mint); }
.cc-nav-cta, .cc-menu .cc-nav-cta { background: #176369 !important; color: #fff !important; border-radius: 12px !important; padding: 10px 22px !important; }
.cc-nav-cta:hover, .cc-colour-hero-cta:hover { background: #0e5157 !important; color: #fff !important; }
.cc-button, .cc-search button, .cc-filter .cc-button { border-radius: 11px; background: #176369; color: #fff; }
.cc-filter .cc-link-button { justify-self: start; width: auto; min-width: 0; padding: 8px 0; border: 0; background: transparent; color: #176369; text-decoration: underline; box-shadow: none; }
.cc-kicker { color: var(--violet); font-weight: 900; letter-spacing: .11em; }
.cc-section-head h1, .cc-section-head h2, .cc-page-head h1, .cc-colour-section-heading h2 { color: var(--ink); font-weight: 1000; letter-spacing: -.035em; }

/* The home hero uses the supplied pottery photograph, while keeping the original form. */
.cc-colour-hero { padding: 0 0 32px; background: radial-gradient(circle at 30% 24%, #fffdfa, var(--cream) 75%); }
.cc-colour-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: stretch; height: 470px; gap: 26px; }
.cc-colour-hero-copy { position: relative; z-index: 1; align-self: center; padding: 34px 0 28px; }
.cc-colour-hero-copy .cc-kicker { margin: 0 0 15px; color: var(--violet) !important; text-transform: uppercase; font-size: .88rem; }
.cc-colour-hero h1 { max-width: 680px; margin: 0 0 14px; color: var(--ink); font-size: clamp(3.2rem, 5.1vw, 5.5rem); font-weight: 1000; line-height: .98; letter-spacing: -.045em; }
.cc-colour-hero h1::after { content: none; }
.cc-colour-hero-copy > p:not(.cc-kicker) { max-width: 500px; margin: 0 0 24px; color: var(--ink); font-size: clamp(1.13rem, 1.6vw, 1.5rem); line-height: 1.35; }
.cc-colour-hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 49px; padding: 11px 24px; border-radius: 13px; background: #176369; color: #fff; font-weight: 900; text-decoration: none; }
.cc-colour-hero-cta span { font-size: 1.45rem; line-height: .8; }
.cc-colour-hero-photo { position: relative; min-width: 0; height: 100%; overflow: hidden; border-radius: 45% 24px 24px 45% / 65% 24px 24px 65%; }
.cc-colour-hero-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.cc-colour-search-panel { position: relative; margin-top: -2px; padding: 23px 28px 26px; border: 1px solid #ecdfc7; border-radius: 21px; background: #f5ead6; box-shadow: 0 10px 28px rgba(88, 72, 49, .07); }
.cc-colour-search-panel h2 { margin: 0 0 15px; color: var(--ink); font-size: clamp(1.55rem, 2.6vw, 2.25rem); font-weight: 1000; letter-spacing: -.035em; }
.cc-colour-search-panel .cc-search { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 14px; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.cc-colour-search-panel .cc-search label { color: var(--ink); font-weight: 800; }
.cc-colour-search-panel .cc-search select { min-height: 52px; margin-top: 6px; border: 1px solid #ded8cb; border-radius: 11px; background: #fff; color: var(--ink); }
.cc-colour-search-panel .cc-search .cc-button { align-self: end; min-width: 164px; min-height: 52px; border-radius: 11px; background: #176369; font-weight: 900; }

/* Supplied category PNG canvases are positioned from their alpha artwork bounds. */
.cc-colour-category-band { padding: 24px 0 10px; background: #fffdf8; }
.cc-colour-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.cc-colour-section-heading h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.cc-colour-section-heading > a { flex: none; color: #176369; font-weight: 900; text-decoration: none; }
.cc-colour-section-heading > a:hover { text-decoration: underline; }
.cc-colour-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; }
.cc-colour-category { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 132px; padding: 9px 7px 12px; border-radius: 16px; color: var(--ink); text-align: center; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.cc-colour-category:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cc-colour-category:focus-visible { outline: 3px solid var(--teal, #286a68); outline-offset: 3px; }
.cc-colour-category-0 { background: #f8efe1; }
.cc-colour-category-1 { background: #e7f0ee; }
.cc-colour-category-2 { background: #f4ead8; }
.cc-colour-category-3 { background: #e7eeee; }
.cc-colour-category-4 { background: #f8e8dd; }
.cc-colour-category strong { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.15; }
.cc-colour-icon { display: block; position: relative; width: 68px; height: 68px; overflow: hidden; flex: none; }
.cc-colour-icon img { position: absolute; display: block; width: var(--asset-width); height: var(--asset-height); max-width: none; left: var(--asset-left); top: var(--asset-top); }
.cc-colour-starters { padding: 33px 0 44px; background: #fffdf8; }
.cc-colour-starter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cc-colour-starter-grid a { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); text-decoration: none; box-shadow: 0 5px 15px rgba(37, 45, 53, .05); }
.cc-colour-starter-grid img { display: block; width: 100%; height: 184px; object-fit: cover; object-position: center 43%; }
.cc-colour-starter-grid span, .cc-colour-starter-grid small { display: block; padding: 0 17px; }
.cc-colour-starter-grid span { margin-top: 13px; font-size: 1.05rem; font-weight: 950; }
.cc-colour-starter-grid small { margin: 5px 0 15px; color: #176369; font-size: .88rem; font-weight: 900; }

/* Shared directory, area, category and editorial treatments. */
.cc-directory { background: #fbf8f1; }
.cc-section { padding-top: 47px; padding-bottom: 47px; }
.cc-filter, .cc-search { border-color: var(--line); border-radius: 17px; box-shadow: 0 5px 18px rgba(37, 45, 53, .04); }
.cc-filter input, .cc-filter select, .browse-tools input, .browse-tools select { border-radius: 10px; }
.cc-card { overflow: hidden; border: 1px solid #dfe7e3; border-radius: 17px; background: #fff; box-shadow: 0 7px 20px rgba(37, 45, 53, .055); }
.cc-card-art-image { aspect-ratio: 16 / 9; background: #e8eeec; }
.cc-card-art-image img { object-fit: cover; }
.cc-card h3 { color: var(--ink); font-size: 1.07rem; }
.cc-tag { background: #e4efec; color: #235b59; border-radius: 7px; }
.cc-details { border-color: #bcd3ce; background: #f4faf8; color: #185d5b; border-radius: 9px; }
.cc-details:hover { background: #e4f0ec; }
.cc-details-panel { border-top-color: var(--coral); border-radius: 16px; }
.cc-city-grid a, .cc-city-directory a, .cc-taxonomy a { border: 1px solid #e4e6dd; border-radius: 12px; background: #fff; }
.cc-city-grid a:hover, .cc-city-directory a:hover, .cc-taxonomy a:hover { background: #e9f1ee; }
.cc-page-head { background: linear-gradient(115deg, #f8f4e9, #edf4f1); }
.cc-guide-card, .cc-browse-card { border-radius: 16px; }
.cc-guide-card { border-radius: 17px !important; padding-bottom: 20px !important; }
.cc-guide-card .cc-guide-card-image { display: block; width: calc(100% + 44px); max-width: none; height: 190px; margin: 0 -22px 19px; object-fit: cover; object-position: center; background: #e8efec; }
.cc-guide-card h2, .cc-guide-card h3 { color: var(--ink); }
.cc-guide-card p { flex: 1; }
.cc-guide-card .cc-guide-card-link { display: block; margin-top: auto; padding-top: 8px; color: #176369; font-size: .88rem; font-weight: 900; letter-spacing: 0; text-transform: none; }
.cc-guide-cover { margin: -14px 0 34px; overflow: hidden; border-radius: 17px; background: #e8efec; }
.cc-guide-cover img { display: block; width: 100%; max-height: 420px; aspect-ratio: 16 / 7; object-fit: cover; object-position: center; }

/* The separate account runtime shares the public site's chrome and palette. */
.theme-creative.owner-page { background: #fffdf8; color: var(--ink); }
.theme-creative .business-account-header { max-width: none; min-height: 84px; padding: 0 max(32px, calc((100% - 1280px)/2)); border-bottom: 1px solid #e7e5da; background: #fffdf8; }
.theme-creative .business-account-header .cc-brand { position: relative; display: block; flex: 0 0 235px; width: 235px; height: 82px; overflow: hidden; font-size: 0 !important; }
.theme-creative .business-account-header .cc-brand > * { display: none; }
.theme-creative .business-account-header .cc-brand::before { content: ""; position: absolute; inset: 0; background: url('/assets/creative-colour/logos/logo-horizontal.png') -7px -183px / 247px 439px no-repeat; }
.theme-creative .business-account-nav { font-size: .95rem; font-weight: 800; }
.theme-creative .business-account-nav a { text-decoration: none; }
.theme-creative .business-account-nav a:hover { color: #176369; text-decoration: underline; }
.theme-creative .owner-heading h1, .theme-creative h2 { color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-weight: 950; letter-spacing: -.035em; }
.theme-creative .owner-breadcrumb a { color: #176369; }
.theme-creative .owner-panel, .theme-creative .owner-preview { border-color: var(--line); border-radius: 17px; box-shadow: var(--shadow); }
.theme-creative .owner-page input, .theme-creative .owner-page textarea, .theme-creative .owner-page select { border-color: #bdcbc5; border-radius: 10px; }
.theme-creative.owner-page button.owner-primary, .theme-creative.owner-page .owner-primary, .theme-creative.owner-page .owner-account-signin { background: #176369; border-color: #176369; color: white; border-radius: 11px; }
.theme-creative.owner-page button:not(.owner-primary) { border-radius: 10px; }
.theme-creative .owner-toolbar, .theme-creative .owner-notice, .theme-creative .owner-success { background: #e7f0ed; }
.theme-creative .owner-badge { background: #d9e9e3; color: #1b5754; }
.theme-creative .owner-dashboard-savebar, .theme-creative .owner-savebar { background: #14545a; }
.theme-creative.owner-page :is(button,a,input,select,textarea):focus-visible { outline-color: var(--gold); }

/* Landscape and light wordmark sit above and inside the dark teal footer. */
.cc-footer { position: relative; margin-top: 140px; padding: 44px 0 25px; background: #11545b; color: white; }
.cc-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 170px; background: url('/assets/creative-colour/artwork/footer-landscape.png') center bottom / cover no-repeat; pointer-events: none; }
.cc-footer .cc-brand { position: relative; display: block; width: 285px; height: 82px; overflow: hidden; font-size: 0 !important; }
.cc-footer .cc-brand > * { display: none; }
.cc-footer .cc-brand::before { content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 72px; background: url('/assets/creative-colour/logos/logo-circle.png') -2px -31px / 75px 133px no-repeat; }
.cc-footer .cc-brand::after { content: ""; position: absolute; left: 82px; top: 4px; width: 198px; height: 68px; background: url('/assets/creative-colour/logos/logo-footer-light.png') -17px -194px / 260px 462px no-repeat; }
.cc-footer h2, .cc-footer a, .cc-footer p, .cc-footer-bottom { color: white; }
.cc-footer a:hover { color: #f3d285; }

@media (max-width: 980px) {
  .cc-colour-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cc-colour-hero-grid { grid-template-columns: 1fr 1fr; height: 420px; }
}
@media (max-width: 700px) {
  .cc-wrap { width: calc(100% - 32px); }
  .cc-nav { min-height: 70px; }
  .cc-header .cc-brand { flex-basis: 187px; width: 187px; height: 66px; }
  .cc-header .cc-brand::before { background-size: 196px 348px; background-position: -5px -145px; }
  .cc-colour-hero { padding-bottom: 19px; }
  .cc-colour-hero-grid { display: flex; flex-direction: column; gap: 15px; height: auto; }
  .cc-colour-hero-copy { padding: 28px 0 0; }
  .cc-colour-hero h1 { font-size: clamp(2.85rem, 10.5vw, 4.3rem); letter-spacing: -.035em; }
  .cc-colour-hero-photo { width: 100%; min-height: 250px; height: 290px; flex: 0 0 290px; border-radius: 42% 18px 18px 42% / 60% 18px 18px 60%; }
  .cc-colour-search-panel { margin-top: 18px; padding: 18px; }
  .cc-colour-search-panel .cc-search { grid-template-columns: 1fr; }
  .cc-colour-search-panel .cc-search .cc-button { width: 100%; }
  .cc-colour-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cc-colour-category { min-height: 118px; }
  .cc-colour-starter-grid { gap: 10px; }
  .cc-colour-starter-grid img { height: 130px; }
  .cc-colour-starter-grid span { font-size: .88rem; }
  .cc-footer { margin-top: 100px; }
  .cc-footer::before { height: 125px; }
  .cc-guide-card .cc-guide-card-image { height: 185px; }
  .cc-guide-cover img { aspect-ratio: 16 / 10; }
  .theme-creative .business-account-header { padding: 10px 16px; }
  .theme-creative .business-account-header .cc-brand { flex-basis: 187px; width: 187px; height: 66px; }
  .theme-creative .business-account-header .cc-brand::before { background-size: 196px 348px; background-position: -5px -145px; }
}
@media (max-width: 520px) {
  .cc-colour-section-heading { align-items: flex-start; }
  .cc-colour-section-heading h2 { font-size: 1.65rem; }
  .cc-colour-section-heading > a { font-size: .78rem; text-align: right; }
  .cc-colour-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .cc-colour-category { padding: 8px 3px; min-height: 105px; border-radius: 12px; }
  .cc-colour-icon { width: 57px; height: 57px; transform: scale(.84); transform-origin: center; }
  .cc-colour-category strong { margin-top: 0; font-size: .74rem; }
  .cc-colour-starter-grid { grid-template-columns: 1fr; }
  .cc-colour-starter-grid img { height: 175px; }
  .cc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .cc-colour-category { transition: none; }
}
