/* Websites for every business: the listings page (/shop), each listing (/shop/<industry>) and the brief form. */

/* Website thumbnail: a little drawn website in the industry's colour */
.th { --c: #00858e; aspect-ratio: 16 / 10; border-radius: 14px; background: color-mix(in srgb, var(--c) 10%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c) 18%, var(--line)); padding: 7% 8% 0; overflow: hidden; display: flex; }
.th__win { flex: 1; background: var(--panel); border-radius: 10px 10px 0 0; box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 18%, transparent); display: flex; flex-direction: column; overflow: hidden; }
.th__bar { display: flex; gap: 4px; padding: 7px 9px; border-bottom: 1px solid var(--line); }
.th__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--tint-3); }
.th__nav { display: flex; align-items: center; gap: 6px; padding: 8px 10px 0; }
.th__nav b { width: 18%; height: 6px; border-radius: 3px; background: var(--c); margin-right: auto; }
.th__nav span { width: 9%; height: 4px; border-radius: 2px; background: var(--tint-3); }
.th__hero { display: flex; align-items: center; gap: 8%; padding: 9% 10% 6%; }
.th__txt { flex: 1; display: grid; gap: 6px; }
.th__txt em { display: block; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--white) 75%, transparent); }
.th__txt em + em { width: 70%; }
.th__txt u { display: block; width: 38%; height: 11px; margin-top: 6px; border-radius: 6px; background: var(--c); }
.th__ic { width: 34%; aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, var(--panel)); color: var(--c); }
.th__ic svg { width: 52%; height: 52%; }
.th__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; padding: 0 10%; }
.th__row s { height: 34px; border-radius: 6px; background: var(--tint-2); }

/* Listings */
.shop-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.shop-q { flex: 1 1 260px; max-width: 380px; position: relative; }
.shop-q input { width: 100%; padding: 13px 16px 13px 42px; border-radius: 999px; border: 1px solid var(--line-2, var(--line)); background: var(--panel); color: var(--white); font: 500 .95rem var(--font); }
.shop-q input:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 4px var(--accent-soft); }
.shop-q svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted-2); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.cats button { border: 1px solid var(--line); background: var(--panel); color: var(--muted); font: 600 .85rem var(--font); padding: 8px 15px; border-radius: 999px; cursor: pointer; }
.cats button:hover { color: var(--white); border-color: var(--line-2, var(--line)); }
.cats button[aria-pressed="true"] { background: var(--white); color: var(--bg, #fff); border-color: var(--white); }
.gigs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.gig { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.gig .th { transition: transform .35s ease, box-shadow .35s ease; }
.gig:hover .th { transform: translateY(-4px); }
.gig__cat { color: var(--muted-2); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.gig h3 { color: var(--white); font-size: 1.12rem; line-height: 1.35; margin-top: 4px; }
.gig p { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.gig__from { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; color: var(--muted); font-size: .85rem; }
.gig__from b { color: var(--white); font-size: 1.05rem; }
.gigs__none { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; text-align: center; }

/* One listing */
.crumb { font-size: .88rem; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--a1); }
.gh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.gh h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--ink, var(--white)); margin: 16px 0 18px; letter-spacing: -.02em; font-weight: 500; }
.gh h1 em { font-style: italic; color: var(--a1); }
.gh p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.gh__from { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.gh__from span { color: var(--muted); }
.gh__from b { color: var(--white); font-size: 1.5rem; }
.feat { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.feat div { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; color: var(--white); line-height: 1.5; }
.feat svg, .pk li svg, .pk__time svg { width: 18px; height: 18px; flex: none; color: var(--a1); margin-top: 2px; }
.pk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pk { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; position: relative; }
.pk--pop { border-color: var(--a1); box-shadow: 0 0 0 1px var(--a1) inset; }
.pk__tag { position: absolute; top: -12px; left: 30px; background: var(--a1); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.pk h3 { font-size: 1.5rem; color: var(--white); }
.pk__for { color: var(--muted); margin-top: 8px; }
.pk__price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pk__price b { font-size: 2.6rem; font-weight: 500; color: var(--white); letter-spacing: -.02em; }
.pk__price span { color: var(--muted); font-size: .92rem; }
.pk__time { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: .9rem; }
.pk ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.pk li { display: flex; gap: 10px; color: var(--muted); line-height: 1.5; }
.pk li.plus { color: var(--white); font-weight: 600; }
.pk .btn { margin-top: auto; justify-content: center; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: how; }
.how > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.how > div::before { counter-increment: how; content: "0" counter(how); display: block; color: var(--a1); font-weight: 700; font-size: .85rem; letter-spacing: .1em; margin-bottom: 12px; }
.how b { display: block; color: var(--white); margin-bottom: 6px; }
.how p { color: var(--muted); font-size: .95rem; }
.order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
.pick { display: grid; gap: 12px; margin-bottom: 22px; }
.pick label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; color: var(--white); font-weight: 600; background: var(--tint-1); }
.pick label span { color: var(--muted); font-weight: 500; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick input:checked + label { border-color: var(--a1); background: var(--accent-soft); }
.pick input:focus-visible + label { outline: 2px solid var(--a1); outline-offset: 2px; }
.sum { position: sticky; top: 110px; }
.sum h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--white); margin: 14px 0; }
.sum p { color: var(--muted); }
.sum__note { margin-top: 22px; padding: 18px; border-radius: var(--radius-sm); background: var(--tint-2); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; color: var(--white); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--a1); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin-top: 10px; }
.faq a { color: var(--a1); font-weight: 600; }
@media (max-width: 900px) { .gh, .pk-grid, .order { grid-template-columns: 1fr; } .gh { gap: 34px; } .how { grid-template-columns: 1fr 1fr; } .sum { position: static; } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } .pk { padding: 26px; } .form { padding: 24px; } .form-row { grid-template-columns: 1fr; } .shop-q { max-width: none; } }
.shead p + p { margin-top: 12px; }
/* "Websites start at $999" line above the two sizes, so a visitor knows the entry price before reading on */
.shead p strong { color: var(--ink); font-weight: 600; }

/* Call to action band */
.endcta { border-radius: 28px; background: var(--ink, #201c1b); color: var(--bg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.endcta h2 { font-family: var(--display, inherit); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.02em; color: var(--bg); }
.endcta h2 em { font-style: italic; color: var(--a3, #f2b544); }
.endcta p { color: var(--bg); opacity: .72; margin-top: 12px; max-width: 52ch; }
.gig__from { align-items: center; color: var(--a1); font-weight: 600; }
.gig__from svg { width: 18px; height: 18px; transition: transform .25s ease; }
.gig:hover .gig__from svg { transform: translateX(4px); }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--a1); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* The brief: our own modal with 4 steps */
.bf { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(15, 12, 11, .5); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s ease; }
.bf.open { opacity: 1; }
.bf[hidden] { display: none; }
.bf__card { width: 100%; max-width: 720px; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 30px 34px; box-shadow: 0 30px 90px rgba(0, 0, 0, .28); transform: translateY(14px) scale(.98); transition: transform .25s ease; }
.bf.open .bf__card { transform: none; }
.bf__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bf__top h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--white); margin-top: 8px; line-height: 1.2; }
.bf__x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--tint-2); color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.bf__x:hover { border-color: var(--white); }
.bf__bar { height: 4px; border-radius: 4px; background: var(--tint-2); margin: 22px 0 10px; overflow: hidden; }
.bf__bar i { display: block; height: 100%; width: 25%; background: var(--a1); border-radius: 4px; transition: width .3s ease; }
.bf__steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 0 24px; padding: 0; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.bf__steps li.on { color: var(--a1); }
.bf__step h3 { font-size: 1.2rem; color: var(--white); }
.bf__sub { color: var(--muted); font-size: .93rem; margin: 4px 0 20px; }
.bf__step textarea { min-height: 92px; }
.bf__nav { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.bf__nav span { flex: 1; }
.bf__nav [hidden] { display: none; }
.bf .form__error { margin: 0 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 14px; }
.chips.is-empty { outline: 2px solid #e0533d; outline-offset: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg, transparent); color: var(--muted); font-size: .88rem; font-weight: 500; line-height: 1.3; transition: border-color .15s, background .15s, color .15s; }
.chip:hover span { border-color: var(--line-2, var(--line)); color: var(--white); }
.chip input:checked + span { border-color: var(--a1); background: var(--accent-soft, rgba(0,133,142,.1)); color: var(--white); }
.chip input:checked + span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--a1); }
.chip input:focus-visible + span { outline: 2px solid var(--a1); outline-offset: 2px; }
.bf__done { text-align: center; padding: 30px 10px 10px; }
.bf__done h3 { font-size: 1.5rem; color: var(--white); margin: 16px 0 8px; }
.bf__done p { color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }
.bf__tick { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft, rgba(0,133,142,.12)); color: var(--a1); }
.bf__tick svg { width: 30px; height: 30px; }
body.bf-lock { overflow: hidden; }
@media (max-width: 900px) { .endcta { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bf { padding: 0; place-items: end stretch; } .bf__card { max-height: 94dvh; border-radius: 22px 22px 0 0; padding: 22px 18px; } .bf__steps { font-size: .68rem; } .bf__nav .btn { padding-inline: 18px; } }
@media (prefers-reduced-motion: reduce) { .bf, .bf__card, .bf__bar i { transition: none; } }
/* the cookie notice waits while the brief is open, so it never covers the form buttons */
body.bf-lock .aw-consent { display: none !important; }

/* What your website will have: intro on the left, numbered list on the right */
.fx { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.fx__intro { position: sticky; top: 120px; }
.fx__intro h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); color: var(--ink, var(--white)); margin: 14px 0 16px; letter-spacing: -.02em; }
.fx__intro h2 em { font-style: italic; color: var(--a1); }
.fx__intro > p { color: var(--muted); font-size: 1.05rem; max-width: 44ch; }
.fx__also { margin-top: 28px; padding: 20px 22px; border-radius: 18px; background: var(--bg-2, var(--tint-2)); border: 1px solid var(--line); }
.fx__also b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.fx__also ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fx__also li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--white); font-size: .86rem; font-weight: 500; }
.fx__also li svg { width: 14px; height: 14px; color: var(--a1); flex: none; }
.fx__cta { margin-top: 28px; }
.fx__list { list-style: none; margin: 0; padding: 0; counter-reset: none; border-top: 1px solid var(--line); }
.fx__list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; align-items: center; gap: 18px; padding: 26px 6px; border-bottom: 1px solid var(--line); transition: background .25s ease, padding .25s ease; }
.fx__no { font-family: var(--display, inherit); font-style: italic; font-size: 2rem; line-height: 1; color: var(--a1); opacity: .55; transition: opacity .25s ease; }
.fx__txt { font-family: var(--display, inherit); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.3; color: var(--ink, var(--white)); letter-spacing: -.01em; }
.fx__ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--a1); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.fx__ic svg { width: 18px; height: 18px; }
.fx__list li:hover { background: var(--tint-2); padding-inline: 16px; }
.fx__list li:hover .fx__no { opacity: 1; }
.fx__list li:hover .fx__ic { background: var(--a1); border-color: var(--a1); color: #fff; }
@media (max-width: 900px) { .fx { grid-template-columns: 1fr; } .fx__intro { position: static; } }
@media (max-width: 560px) { .fx__list li { grid-template-columns: 44px minmax(0, 1fr) 32px; gap: 12px; padding: 20px 2px; } .fx__no { font-size: 1.5rem; } .fx__ic { width: 32px; height: 32px; } .fx__list li:hover { padding-inline: 2px; } }
/* filters hide cards with [hidden]; .gig sets display:flex, so hidden needs its own rule */
.gig[hidden], .gigs__none[hidden] { display: none !important; }

/* The search keyword sits on top of the main heading, as a small label */
.h1kw { display: block; font-family: var(--font, inherit); font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--a1); margin-bottom: 14px; }

/* Tablets and small laptops (761 to 1100px): the full menu does not fit on one line, so use the menu button */
@media (min-width: 761px) and (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta .nav__go { display: none; }
  .site-header.open .nav__links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 80px; left: 0; right: 0; background: var(--bg-2, var(--bg)); border-bottom: 1px solid var(--line); padding: 14px 24px; gap: 2px; }
  .site-header.open .nav__links a { padding: 14px; }
  .site-header.open .nav__dd-btn { display: flex; }
  .site-header.open .nav__dd-btn svg { display: none; }
  .site-header.open .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 0 16px; background: none; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .site-header.open .nav__menu::before { display: none; }
  .site-header.open .nav__links > a::after, .site-header.open .nav__dd-btn::after { left: 14px; right: auto; width: 28px; bottom: 8px; }
}
