/* 4C Digital group page. Self-contained: no external fonts, scripts or requests. */

@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/jost-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/jost-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/playfair-display-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/playfair-display-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/playfair-display-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-style: italic; font-display: swap; src: url(../fonts/playfair-display-latin-500-italic.woff2) format("woff2"); }

:root {
  --ink: #0b1c33;
  --ink-2: #16304f;
  --sky: #f1f7fd;       /* page */
  --sky-2: #e0edfa;     /* alternate sections, hero base */
  --sky-3: #cfe3f6;     /* tinted section */
  --sky-4: #b3d3f1;     /* contact card */
  --paper: #ffffff;
  --blue: #1d5fa6;      /* numbers, links */
  --accent: #a34e0b;    /* orange for small text (AA on light blue) */
  --accent-hi: #f29445; /* orange for buttons and highlights */
  --text: #1c2b40;
  --muted: #53647a;
  --line: #cddff0;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(11, 28, 51, .06), 0 12px 32px -12px rgba(29, 95, 166, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sky); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.12; margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(241, 247, 253, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(11, 28, 51, .08); transition: box-shadow .25s; }
.nav.scrolled { box-shadow: 0 8px 24px -14px rgba(29, 95, 166, .5); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 500 1.25rem var(--serif); letter-spacing: .01em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; letter-spacing: .02em; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover { color: var(--ink); border-color: var(--accent-hi); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 500 1rem var(--sans); letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: .94rem; }
.btn-brass { background: var(--accent-hi); color: var(--ink); }
.btn-brass:hover { background: #f6a35c; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { border-color: rgba(11, 28, 51, .35); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .55); }
.link { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--accent-hi); padding-bottom: 2px; }
.link:hover { color: var(--accent); }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.cta-row.center { justify-content: center; margin-top: 44px; }

/* ---------- hero ---------- */
.hero { background:
    radial-gradient(900px 440px at 88% -8%, rgba(242, 148, 69, .26), transparent 60%),
    radial-gradient(760px 460px at 0% 100%, rgba(80, 150, 220, .3), transparent 62%),
    linear-gradient(180deg, #e6f1fc 0%, #d3e6f8 100%);
  color: var(--ink); padding: 110px 0 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(29, 95, 166, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 95, 166, .07) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; max-width: 880px; }
.eyebrow { font: 500 .82rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.eyebrow.dark, .eyebrow.light { margin-bottom: 14px; }
.hero h1 { color: var(--ink); font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: #c2540a; }
.lede { margin-top: 26px; max-width: 700px; font-size: 1.2rem; color: var(--ink-2); font-weight: 400; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 84px; border-top: 1px solid rgba(11, 28, 51, .16); }
.facts li { padding: 28px 24px 34px 0; display: flex; flex-direction: column; gap: 6px; }
.facts li + li { padding-left: 24px; border-left: 1px solid rgba(11, 28, 51, .12); }
.facts b { font: 500 2.6rem/1 var(--serif); color: var(--blue); }
.facts span { color: var(--ink-2); font-size: .95rem; max-width: 20ch; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section.alt { background: var(--sky-2); }
.section.tint { background: var(--sky-3); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.005em; }
.sub { margin-top: 18px; font-size: 1.12rem; color: var(--muted); font-weight: 400; }
.section.tint .sub { color: var(--ink-2); }

.shot { display: block; overflow: hidden; border-radius: var(--r) var(--r) 0 0; background: var(--ink); border-bottom: 1px solid var(--line); }
.shot img { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.shot:hover img { transform: scale(1.035); }

.feature { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.feature .shot { border-radius: 0; border-bottom: 0; border-right: 1px solid var(--line); height: 100%; background: #021024; }
.feature .shot img { height: auto; }
.feature-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.feature-body h3 { font-size: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .85rem; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--sky); color: var(--text); }
.ticks li { position: relative; padding-left: 28px; margin: 6px 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--accent-hi); border-bottom: 2px solid var(--accent-hi); transform: rotate(-45deg); }

.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11, 28, 51, .06), 0 22px 44px -16px rgba(29, 95, 166, .4); }
.card-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.6rem; margin: 10px 0 12px; }
.card-body p { color: var(--muted); }
.card-body .meta { margin-top: 14px; font-size: .9rem; color: var(--text); font-weight: 500; }
.card-body .cta-row { margin-top: auto; padding-top: 22px; }
.tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 500 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--a, var(--accent-hi)); }

.shot.soon { display: grid; place-items: center; aspect-ratio: 1200 / 741; background: linear-gradient(135deg, #dcebfa, #bcd7f1); }
.shot.soon:hover img { transform: none; }
.cheque { position: relative; width: 78%; aspect-ratio: 2.4 / 1; background: #fff; border: 1px solid #a9c6e4; border-radius: 8px; box-shadow: 0 10px 26px -12px rgba(29, 95, 166, .5); }
.cq-line { position: absolute; height: 3px; border-radius: 2px; background: #c9dcef; }
.cq-a { left: 8%; top: 26%; width: 46%; } .cq-b { left: 8%; top: 46%; width: 62%; } .cq-c { left: 8%; top: 66%; width: 30%; }
.cq-box { position: absolute; right: 8%; top: 22%; width: 18%; height: 22%; border: 2px solid #c9dcef; border-radius: 4px; }
.cheque em { position: absolute; inset: auto 0 -16px 0; margin: 0 auto; width: max-content; font: 500 .8rem var(--sans); letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: #fff; background: var(--ink); padding: 8px 18px; border-radius: 999px; }
.client { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, border-color .3s; }
.client:hover { transform: translateY(-4px); border-color: var(--accent-hi); }
.client img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; }
.client span { display: flex; flex-direction: column; padding: 18px 22px 22px; }
.client b { font: 500 1.25rem var(--serif); color: var(--ink); }
.client i { font-style: normal; font-size: .9rem; color: var(--muted); margin-top: 2px; }

.principles h3 { font-size: 1.45rem; margin-bottom: 12px; padding-top: 18px; border-top: 2px solid var(--accent-hi); }
.principles p { color: var(--muted); }

.contact { padding-top: 0; }
.contact-card { background: linear-gradient(135deg, var(--sky-4) 0%, #cfe3f6 100%); border: 1px solid #a5c8ea; border-radius: 22px; padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(242, 148, 69, .4), transparent 70%); }
.contact-card h2 { color: var(--ink); font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.contact-card .sub { color: var(--ink-2); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: relative; }
.contact-actions .small { color: var(--ink-2); font-size: .92rem; margin-top: 6px; }

.foot { background: var(--sky-2); color: var(--ink-2); padding: 64px 0 0; border-top: 1px solid var(--line); }
.foot .brand { color: var(--ink); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot-brand p { margin-top: 14px; max-width: 30ch; }
.foot h4 { font: 500 .78rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.foot nav { display: flex; flex-direction: column; gap: 6px; }
.foot nav h4:not(:first-child) { margin-top: 20px; }
.foot nav a { text-decoration: none; color: var(--ink-2); }
.foot nav a:hover { color: var(--blue); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 22px 0 28px; font-size: .88rem; color: var(--muted); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
html:not(.js) .rv { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(11, 28, 51, .12); }
  .feature, .grid2, .grid3, .contact-card, .foot-in { grid-template-columns: 1fr; }
  .feature .shot { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-body { padding: 30px 24px; }
  .contact-card { padding: 40px 28px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 72px; }
}
@media (max-width: 520px) {
  .facts b { font-size: 2rem; }
  .btn { padding: 13px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .card, .client, .shot img, .btn { transition: none; }
}

/* ---------- ArtworkFix page additions ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.afx-hero { padding-bottom: 0; }
.afx-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; padding-bottom: 96px; }
.afx-copy h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.afx-shot { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(11, 28, 51, .55), 0 0 0 1px rgba(11, 28, 51, .12); transform: perspective(1400px) rotateY(-4deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); background: #0e1116; }
.afx-shot:hover { transform: perspective(1400px) rotateY(0deg); }
.afx-shot img { width: 100%; height: auto; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 28px; color: var(--ink-2); font-size: .95rem; }
.meta-row li { position: relative; padding-left: 22px; }
.meta-row li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.btn-primary { background: var(--ink); color: #fff; }

.facts-light { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -54px; position: relative; z-index: 2; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.facts-light li { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.facts-light li + li { border-left: 1px solid var(--line); }
.facts-light b { font: 500 2.4rem/1 var(--serif); color: var(--blue); }
.facts-light span { color: var(--muted); font-size: .95rem; }

.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); }
.tile h3 { font-size: 1.35rem; margin-bottom: 10px; }
.tile p { color: var(--muted); }
.section.tint .tile, .section.alt .tile { background: var(--paper); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--accent-hi); }
.steps li > span { font: 500 2.2rem/1 var(--serif); color: var(--blue); }
.steps b { font: 500 1.2rem var(--serif); color: var(--ink); display: block; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .98rem; }

.price-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.price-card, .lic-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: var(--shadow); }
.price-top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.price-top span { font: 500 3.6rem/1 var(--serif); color: var(--ink); }
.price-top small { color: var(--muted); font-size: 1rem; }
.selects { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.selects.single { grid-template-columns: 1fr; }
.selects select { appearance: none; width: 100%; padding: 13px 16px; border: 1px solid #b9cfe6; border-radius: 10px; background: #fff; font: 400 1rem var(--sans); color: var(--ink); }
.selects select[hidden] { display: none; }
.tax-box { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--sky); padding: 6px 18px; }
.tax-hint { padding: 12px 0; color: var(--muted); }
.trow { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.trow:last-of-type { border-bottom: 0; }
.trow.total { font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.tax-note { padding: 8px 0 12px; color: var(--muted); font-size: .9rem; }
.mid-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.mid-note b { font-family: Consolas, "Courier New", monospace; letter-spacing: .06em; color: var(--ink); }
.mid-note small { display: block; margin-top: 4px; }
#midInput { margin-left: 6px; width: 15.5em; border: 1px solid #b9cfe6; border-radius: 8px; padding: 6px 10px; font: .85rem Consolas, "Courier New", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: #fff; }
.buy-err { color: #9a3412; }
.cta-col { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.cta-col .btn { justify-content: center; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.fine { margin-top: 16px; font-size: .88rem; color: var(--muted); }
.fine a { text-decoration: underline; }
.lic-card h3 { font-size: 1.6rem; margin-bottom: 18px; }
.lic-card ol { counter-reset: l; display: flex; flex-direction: column; gap: 20px; }
.lic-card li { counter-increment: l; display: grid; grid-template-columns: 38px 1fr; gap: 4px 14px; }
.lic-card li::before { content: counter(l); grid-row: 1 / span 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sky-2); color: var(--blue); font: 500 1.1rem var(--serif); }
.lic-card li b { color: var(--ink); font-weight: 500; }
.lic-card li span { color: var(--muted); font-size: .96rem; }

.faq-wrap { max-width: 860px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 4px 22px; }
.faq summary { cursor: pointer; padding: 16px 0; font: 500 1.15rem var(--serif); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }
.foot code { font-family: Consolas, "Courier New", monospace; font-size: .8rem; word-break: break-all; }

@media (max-width: 980px) {
  .afx-hero-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 80px; }
  .afx-shot { transform: none; }
  .facts-light { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .facts-light li:nth-child(3) { border-left: 0; }
  .facts-light li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .price-card, .lic-card { padding: 28px 22px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .selects { grid-template-columns: 1fr; }
}
