/* Isle of Wight Advertising: the service pages and Answers.
   Built by work/make-pages.py. Same tokens as the homepage (site/index.html). */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2?v=2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-latin.woff2?v=2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-latin-italic.woff2?v=2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --sc-canvas: #F7F9FA;
  --sc-surface: #FFFFFF;
  --sc-ink: #14181F;
  --sc-ink-soft: #4E5866;
  --sc-accent: #0A6FB0;
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Playfair Display", Georgia, serif;
  --sc-font-text: "Inter", system-ui, -apple-system, sans-serif;
  --sc-hairline: #E1E7EC;
  --sc-hairline-strong: #CDD6DE;
  --sc-shadow-color: 212 40% 10%;
  --sc-r-sm: 8px; --sc-r-md: 14px; --sc-r-lg: 22px;
  --night: #0E141C;
  --night-ink: #F3F6F8;
  --night-soft: #A9B5C2;
  --sky: #7CC4F0;
  --brand: #0B84CC;
  --tint: #DCF0FA;
  --mist: #EEF2F5;
}
html { background: var(--sc-canvas); }
body { font-feature-settings: "cv11", "ss01"; }
h1, h2, h3 { font-family: var(--sc-font-display); font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
.wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--sc-gutter); }
.label { font-size: 0.75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-ink-soft); margin: 0; }

/* buttons: pill, like IOW Stock */
.btn {
  --bg: var(--sc-accent); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.4rem; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .98rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 2px hsl(207 80% 20% / .25), 0 6px 16px -6px hsl(207 80% 30% / .45), inset 0 1px 0 hsl(0 0% 100% / .18);
  transition: background-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:hover { --bg: #085F99; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { --bg: color-mix(in oklab, currentColor 10%, transparent); }

/* the bar */
.bar {
  position: sticky; top: 0; z-index: 70;
  display: flex; align-items: center; gap: 1.5rem;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--sc-gutter) 12px;
  background: color-mix(in oklab, var(--sc-canvas) 88%, transparent); color: var(--sc-ink);
  box-shadow: 0 1px 0 var(--sc-hairline);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.mark { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; color: inherit; flex: none; }
.mark img { height: 30px; width: auto; }
.mark span { font-family: var(--sc-font-display); font-size: 8.5px; letter-spacing: .52em; padding-left: .52em; line-height: 1; }
.bar__nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: .93rem; }
.bar__nav a { text-decoration: none; color: var(--sc-ink-soft); padding-block: .6rem; }
.bar__nav a:hover, .bar__nav a[aria-current] { color: var(--sc-ink); }
.bar__nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--brand); }
.bar .btn { min-height: 44px; padding: 0 1.15rem; font-size: .92rem; }
@media (max-width: 860px) { .bar__nav { display: none; } .bar .btn { margin-left: auto; } }
@media (max-width: 420px) { .mark img { height: 26px; } .bar .btn { padding: 0 .95rem; font-size: .86rem; } }

/* crumbs */
.crumbs { font-size: .85rem; color: var(--sc-ink-soft); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--sc-hairline-strong); }
.crumbs a { color: inherit; }

/* page head */
.head { padding-block: clamp(1.75rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5.5rem); }
.head__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.head h1 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.6rem); line-height: 1.02; margin: .9rem 0 0; }
.head h1 em { font-style: italic; color: #085F99; }
.head__lede { font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); margin: 1.3rem 0 0; max-width: 40ch; text-wrap: pretty; }
.head__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.head__fig { margin: 0; }
.head__fig img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--sc-e3); }
.head__fig figcaption { font-size: .82rem; color: var(--sc-ink-soft); margin-top: .8rem; }
.head--article .head__grid { grid-template-columns: minmax(0, 1fr); max-width: 50rem; }
.head--article h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.8rem); }
.byline { display: flex; align-items: center; gap: .8rem; margin-top: 1.8rem; font-size: .92rem; color: var(--sc-ink-soft); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--sc-ink); font-weight: 600; }
@media (max-width: 900px) { .head__grid { grid-template-columns: 1fr; } }

/* body sections */
.band { padding-block: clamp(3.5rem, 7vw, 6.5rem); border-top: 1px solid var(--sc-hairline); }
.band--white { background: #fff; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.split > :first-child { position: sticky; top: 6.5rem; }
.split h2 { font-size: var(--sc-t-2xl); line-height: 1.06; margin: .7rem 0 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > :first-child { position: static; } }

.prose { max-width: 66ch; font-size: 1.06rem; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15rem; }
.prose h2 { font-size: var(--sc-t-xl); line-height: 1.15; margin: 2.8rem 0 .9rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.prose li { margin-bottom: .45rem; }
.prose a { color: #085F99; }
.prose strong { font-weight: 600; }
.prose--article { margin-inline: auto; max-width: 50rem; }
.prose--article > * { max-width: 66ch; }
.note { background: var(--tint); border-radius: var(--sc-r-md); padding: 1.1rem 1.3rem; color: #0B3D5E; }

.gets { list-style: none; margin: 0; padding: 0; }
.gets li { display: grid; grid-template-columns: 12rem 1fr; gap: 1.25rem; padding: 1.15rem 0; border-top: 1px solid var(--sc-hairline); }
.gets li:last-child { border-bottom: 1px solid var(--sc-hairline); }
.gets b { font-weight: 600; }
.gets span { color: var(--sc-ink-soft); }
@media (max-width: 700px) { .gets li { grid-template-columns: 1fr; gap: .25rem; } }

.how { list-style: none; margin: 0; padding: 0; counter-reset: how; display: grid; }
.how li { position: relative; padding: 0 0 1.7rem 2.6rem; }
.how li::before { counter-increment: how; content: counter(how); position: absolute; left: 0; top: .05rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: #085F99; font-size: .82rem; font-weight: 700; }
.how li::after { content: ""; position: absolute; left: .87rem; top: 2.1rem; bottom: .35rem; width: 1px; background: var(--sc-hairline-strong); }
.how li:last-child::after { display: none; }
.how b { display: block; font-weight: 600; margin-bottom: .2rem; }
.how span { color: var(--sc-ink-soft); }

/* example sites */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: 2.2rem; }
.case { display: grid; gap: .9rem; align-content: start; }
.case__frame { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--sc-e2), inset 0 0 0 1px var(--sc-hairline); }
.case__frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case h3 { font-size: 1.35rem; margin: 0; }
.case p { margin: 0; color: var(--sc-ink-soft); font-size: .97rem; }
.case__tag { font-size: .8rem; font-weight: 600; color: #085F99; }

/* trade cards */
.trades { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin-top: 2rem; }
.trade { display: grid; gap: .4rem; padding: 1.35rem 1.4rem 1.5rem; border-radius: var(--sc-r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--sc-hairline); text-decoration: none; color: inherit; transition: box-shadow 160ms var(--sc-ease-out), transform 160ms var(--sc-ease-out); }
.trade:hover { box-shadow: inset 0 0 0 1px var(--sc-hairline-strong), var(--sc-e2); transform: translateY(-2px); }
.trade b { font-family: var(--sc-font-display); font-weight: 500; font-size: 1.3rem; }
.trade span { color: var(--sc-ink-soft); font-size: .95rem; }
.trade i { font-style: normal; color: #085F99; font-weight: 600; font-size: .9rem; margin-top: .3rem; }

/* questions */
.faq details { border-top: 1px solid var(--sc-hairline); }
.faq details:last-child { border-bottom: 1px solid var(--sc-hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0; font-weight: 600; font-size: 1.05rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--sc-ease-out); }
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { margin: 0 0 1.25rem; color: var(--sc-ink-soft); max-width: 62ch; }

/* answers list */
.posts { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.posts li { border-top: 1px solid var(--sc-hairline); }
.posts li:last-child { border-bottom: 1px solid var(--sc-hairline); }
.posts a { display: grid; gap: .35rem; padding: 1.5rem 0; text-decoration: none; color: inherit; }
.posts b { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.2; }
.posts a:hover b { color: #085F99; }
.posts span { color: var(--sc-ink-soft); }
.posts small { color: var(--sc-ink-soft); font-size: .82rem; }

.related { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.related a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--sc-hairline-strong); text-decoration: none; font-size: .93rem; }
.related a:hover { box-shadow: inset 0 0 0 1px var(--sc-accent); color: #085F99; }

/* close */
.close { background: var(--night); color: var(--night-ink); padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; overflow: clip; }
.close::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 0%, hsl(205 70% 40% / .22), transparent 70%); pointer-events: none; }
.close__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.close h2 { font-size: var(--sc-t-3xl); line-height: 1.02; color: #fff; margin: 0; }
.close h2 em { color: var(--sky); }
.close__lede { color: var(--night-soft); margin: 1.2rem 0 0; max-width: 36ch; font-size: var(--sc-t-lg); line-height: 1.5; }
.close__who { display: flex; gap: .9rem; align-items: center; color: var(--night-soft); font-size: .95rem; }
.close__who b { color: #fff; font-weight: 600; display: block; }
.close__who img { width: 76px; height: 76px; border-radius: 50%; flex: none; object-fit: cover; box-shadow: 0 0 0 2px hsl(0 0% 100% / .14); }
.close .btn { margin-top: 2rem; }
@media (max-width: 900px) { .close__grid { grid-template-columns: 1fr; } }

/* footer */
.foot { background: var(--night); color: var(--night-soft); border-top: 1px solid hsl(0 0% 100% / .08); padding: 2.5rem var(--sc-gutter) calc(2.5rem + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: auto 1fr; gap: 2rem 3rem; font-size: .9rem; }
.foot .mark { color: var(--night-ink); align-self: start; }
.foot .mark img { height: 26px; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 2rem 3.5rem; justify-content: flex-end; }
.foot__cols nav { display: grid; gap: .5rem; align-content: start; }
.foot__cols b { color: var(--night-ink); font-weight: 600; margin-bottom: .2rem; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__line { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid hsl(0 0% 100% / .08); }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } .foot__cols { justify-content: flex-start; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.visually-hidden:focus { position: fixed !important; z-index: 99; top: .75rem; left: .75rem; width: auto; height: auto; clip: auto; padding: .7rem 1rem; border-radius: 999px; background: var(--sc-ink); color: #fff; }
.head__fig img { max-height: 36rem; object-fit: cover; }
