/* Home page, version 4. Loaded only by v4.html, on top of styles.css and v2.css (which holds the version 3 rules it builds on). */

/* 1. Calmer motion: the product tabs stay on screen long enough to be read */
.v4 .desk-tabs.is-auto [aria-selected="true"] .tab-progress{animation-duration:7s}

/* 2. Contact button next to the hero link, and after the product tabs */
.v4 .hero .actions .btn .i{font-size:18px}
.v4 .hero .actions .link{font-size:1rem}

/* 7. "Who we are" set like the rest of the page: left-aligned, same weight as the other headings */
.v4 .v2-who{text-align:left}
.v4 .v2-who .v2-label{justify-content:flex-start}
.v4 .v2-statement{margin:0 0 clamp(24px,3vw,36px);max-width:22em;font-weight:500;font-size:clamp(1.7rem,3.1vw,2.75rem);line-height:1.1;text-wrap:pretty}
.v4 .v2-statement span{font-weight:500}

/* 4. The three panels are where Arkon works, not offices */
.v4-where{margin-top:clamp(40px,6vw,80px);font-size:14px;color:var(--ink-2)}
.v4 .v3-places{margin-top:14px}
.v4 .services{border-top:1px solid var(--line)}

/* Brand section (V4-4): "Created for your brand." stays in the site's own typeface; only "Fully bespoke." (and the
   sample screens below) take the sample agency's typeface, which changes with the colour.
   "Fully bespoke." sits on a block of the opposite colour (the hue turned half a circle, kept dark enough for white text). */
.v4 .brandfield .h2{line-height:1.14}
.bf-mark{font-family:var(--t-font);letter-spacing:-.015em;transition:opacity .26s;background:#1f3fa8;background:oklch(from var(--tenant) .44 .17 calc(h + 180));color:#fff;padding:.02em .16em .08em;margin-inline:-.04em}
.v4 .brandfield.is-switching .bf-mark{opacity:.25}

/* Spacing (02/12): the same tighter rhythm as the home page */
.v4 .section{padding-block:clamp(56px,min(6.5vw,10svh),96px)}
.v4 .v2-how{padding-block:clamp(56px,min(6vw,9svh),88px)}

/* ════ 02/12, second batch ════ */

/* V4-4.1: "Fully bespoke." sits on its own line, so a wider or narrower typeface never moves "Created for your
   brand." or anything under it. */
.bf-mark{display:block;width:fit-content;white-space:nowrap;margin-top:.16em}

/* Each sample agency has its own typeface and its own logo: the shape of the badge and the cut of its letters.
   The same rules dress the logo wherever that agency appears: the four chips (V4-4.3), the three screens under them
   (V4-4.5 to 4.7), the product tabs (V4-5) and the worker app. v4.js puts data-brand on a section when its agency changes.
   The badge keeps the same size for every agency, so nothing moves when they change. */
.v4 [data-brand="marlowe"]{--t-font:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;--lg-r:24%;--lg-w:600;--lg-ls:.01em;--lg-tt:none;--lg-frame:1px;--lg-bar:0em}
.v4 [data-brand="kestrel"]{--t-font:"Avenir Next","Century Gothic",Futura,"Trebuchet MS",sans-serif;--lg-r:50%;--lg-w:500;--lg-ls:.06em;--lg-tt:lowercase;--lg-frame:0px;--lg-bar:0em}
.v4 [data-brand="halden"]{--t-font:Rockwell,"Roboto Slab","Courier New",ui-monospace,monospace;--lg-r:2px;--lg-w:700;--lg-ls:-.01em;--lg-tt:none;--lg-frame:0px;--lg-bar:.26em}
.v4 [data-brand="brightside"]{--t-font:ui-rounded,"Arial Rounded MT Bold","Varela Round","Trebuchet MS",sans-serif;--lg-r:50% 50% 50% 16%;--lg-w:700;--lg-ls:0em;--lg-tt:none;--lg-frame:0px;--lg-bar:0em}
.v4 .t-logo{border-radius:var(--lg-r,24%);font-family:var(--t-font);font-weight:var(--lg-w,600);letter-spacing:var(--lg-ls,.01em);text-transform:var(--lg-tt,none);outline:var(--lg-frame,1px) solid color-mix(in srgb,var(--tenant-on) 60%,transparent);outline-offset:-3.5px;box-shadow:inset 0 calc(var(--lg-bar,0em)*-1) 0 color-mix(in srgb,var(--tenant-on) 32%,transparent)}
/* the chips: each agency's name in its own typeface, with its logo (white badge, letters in the agency's colour) */
/* four names in four typefaces do not fit on one line: two rows of two, on purpose */
.v4 .tenant-switch{display:grid;grid-template-columns:repeat(2,max-content);gap:6px 8px}
@media (max-width:350px){.v4 .tenant-switch{grid-template-columns:max-content}}
.v4 .tenant-opt[data-brand]{gap:8px;height:38px;padding:0 13px 0 6px;border-radius:999px;font-family:var(--t-font);font-size:14px;white-space:nowrap}
.v4 .tenant-opt .t-logo{width:25px;height:25px;font-size:10px;background:#fff;color:var(--bc);outline-color:color-mix(in srgb,var(--bc) 50%,transparent);outline-offset:-3px;box-shadow:inset 0 calc(var(--lg-bar,0em)*-1) 0 color-mix(in srgb,var(--bc) 28%,transparent)}
@media (max-width:560px){.v4 .tenant-opt[data-brand]{height:36px;padding:0 11px 0 5px;font-size:13.5px}}

/* V4-4.5 to 4.7: the three captions sit on a black block in the site's own typeface. They never take the sample
   agency's colour or typeface, like "Created for your brand." above them. */
.v4 .surface figcaption{display:block;width:fit-content;margin-top:14px;padding:.3em .62em .36em;background:#0e0e0e;color:#fff;font:500 14.5px/1.3 var(--sans);letter-spacing:0}

/* A wider typeface must not push a title onto a second line and move the page: titles and names in the sample
   screens stay on one line (cut with an ellipsis if a screen is very narrow). */
.v4 .surface .s-title,.v4 .surface .s-title span{white-space:nowrap}
.v4 .surface .s-title{overflow:hidden;text-overflow:ellipsis}
.v4 [data-brand="halden"] .t-head,.v4 [data-brand="halden"] .t-name,.v4 [data-brand="halden"] [data-t="name"],.v4 [data-brand="halden"] [data-t="short"]{letter-spacing:-.02em}
