:root {
  --cream: #FBF6EF;
  --ink: #15112A;
  --ink-2: #4A4560;
  --amber: #F7A21B;
  --orange: #F0612A;
  --magenta: #C2376E;
  --purple: #5B2A9E;
  --line: rgba(21, 17, 42, .14);
  --font: "Bricolage Grotesque", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font: 400 18px/1.55 var(--font); font-variation-settings: "opsz" 14; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--amber); color: var(--ink); }

h1, h2, h3, .statement, .num b, .tile__n, .big { font-variation-settings: "opsz" 96; letter-spacing: -.035em; line-height: .98; }
h2 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 700; }
h3 { font-size: 24px; font-weight: 650; letter-spacing: -.015em; line-height: 1.1; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }
.sec { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.hl { color: var(--orange); }

/* pills */
.pill { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.pill:hover { transform: translateY(-2px); }
.pill--solid { background: var(--ink); color: var(--cream); }
.pill--solid:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.pill:not(.pill--solid):hover { background: var(--ink); color: var(--cream); }
.pill--lg { padding: 16px 28px; font-size: 17px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--cream) 90%, transparent); backdrop-filter: blur(8px); }
.top__in { display: flex; align-items: center; gap: 36px; height: 72px; }
.top__logo img { height: 36px; width: auto; }
.top__nav { display: flex; gap: 28px; margin-left: auto; font-weight: 500; }
.top__nav a { text-decoration: none; position: relative; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transition: transform .25s; }
.top__nav a:hover::after { transform: scaleX(1); }
@media (max-width: 800px) { .top__nav { display: none; } .top .pill { margin-left: auto; } }

/* hero */
.hero { overflow: hidden; }
.hero__in { display: grid; align-items: center; gap: 24px; padding-top: clamp(32px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 110px); }
@media (min-width: 960px) { .hero__in { grid-template-columns: 1.25fr 1fr; } }
.tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; background: #fff; border: 1px solid var(--line); padding: 8px 16px 8px 12px; border-radius: 999px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(240, 97, 42, .2); }
.hero h1 { font-size: clamp(64px, 11.5vw, 176px); font-weight: 800; letter-spacing: -.05em; line-height: .86; margin: 32px 0 36px; }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.mark { width: min(100%, 520px); justify-self: center; overflow: visible; }
.mark__ring, .mark__line { fill: none; stroke: url(#g); stroke-width: 40; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; }
.mark__ring { stroke-dasharray: 84 16; stroke-dashoffset: 74; }
.mark__node { fill: url(#g); }
@media (max-width: 959px) { .mark { width: min(48%, 300px); order: -1; justify-self: end; margin: -8px -4% -20px 0; } }
@media (prefers-reduced-motion: no-preference) {
  .mark__ring { animation: draw-ring 1.4s cubic-bezier(.6, 0, .2, 1) both; }
  .mark__line { animation: draw 1s .7s cubic-bezier(.6, 0, .2, 1) both; }
  .mark__node, .mark circle:last-child { animation: pop .5s 1.5s both; transform-origin: 252px 150px; }
  .mark { animation: spin 40s linear infinite; }
}
@keyframes draw-ring { from { stroke-dasharray: 0 100; } }
@keyframes draw { from { stroke-dashoffset: 100; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes spin { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }

/* numbers: flat color fields */
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .numbers { grid-template-columns: repeat(4, 1fr); } }
.num { padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 40px); min-height: clamp(180px, 20vw, 260px); display: flex; flex-direction: column; justify-content: space-between; }
.num b { font-size: clamp(64px, 8vw, 120px); font-weight: 800; }
.num span { font-weight: 500; font-size: 17px; max-width: 16ch; }
.num--1 { background: var(--amber); }
.num--2 { background: var(--orange); }
.num--3 { background: var(--magenta); color: #fff; }
.num--4 { background: var(--purple); color: #fff; }

/* about on ink */
.ink { background: var(--ink); color: var(--cream); }
.ink .kicker, .ink .hl { color: var(--amber); }
.statement { font-size: clamp(34px, 5vw, 72px); font-weight: 700; max-width: 18ch; }
.about { display: grid; gap: 24px; margin-top: 56px; color: #C9C5D8; max-width: 980px; }
@media (min-width: 760px) { .about { grid-template-columns: 1fr 1fr; gap: 48px; } }
.pillars { display: grid; gap: 40px; margin-top: 88px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.big { display: block; font-size: 120px; font-weight: 800; line-height: .8; margin-bottom: 24px; }
.c1 { color: var(--amber); } .c2 { color: var(--orange); } .c3 { color: #E9588E; }
.pillars h3 { margin-bottom: 10px; }
.pillars p { color: #C9C5D8; }

/* solutions rail */
.sols { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(64px, 8vw, 110px); }
.sols .kicker { color: var(--magenta); }
.sols__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.sols__hint { font-weight: 600; color: var(--ink-2); }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(16px, calc((100vw - 1320px) / 2 + 40px)) 24px; scroll-padding: 0 max(16px, calc((100vw - 1320px) / 2 + 40px)); scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.rail:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.tile { flex: 0 0 min(84vw, 360px); scroll-snap-align: start; border-radius: 28px; padding: 32px 28px 36px; min-height: 480px; display: flex; flex-direction: column; transition: transform .3s; }
.tile--wide { flex-basis: min(88vw, 700px); }
@media (max-width: 619px) { .rail { flex-direction: column; overflow: visible; padding: 0 16px; } .tile, .tile--wide { flex-basis: auto; min-height: 0; } .tile__n { font-size: 64px; padding-bottom: 28px; } .sols__hint { display: none; } }
.tile:hover { transform: translateY(-6px); }
.tile__n { font-size: 88px; font-weight: 800; margin-bottom: auto; padding-bottom: 40px; opacity: .9; }
.tile h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; margin-bottom: 10px; }
.tile > p { opacity: .85; margin-bottom: 24px; max-width: 34ch; }
.tile li { padding: 8px 0; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); font-weight: 500; }
.groups { display: grid; gap: 20px; }
@media (min-width: 620px) { .groups { grid-template-columns: repeat(3, 1fr); } }
.groups h4 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; opacity: .8; }
.groups li { font-size: 16px; }
.t1 { background: var(--amber); }
.t2 { background: var(--orange); }
.t3 { background: var(--magenta); color: #fff; }
.t4 { background: var(--purple); color: #fff; }
.t5 { background: var(--ink); color: var(--cream); }
.t5 .tile__n { color: var(--amber); }
.t6 { background: #fff; border: 2px solid var(--ink); }
.t6 .tile__n { color: var(--magenta); }
.t7 { background: var(--amber); }

/* method on purple */
.purple { background: var(--purple); color: #fff; }
.purple .kicker { color: var(--amber); }
.purple h2 { max-width: 14ch; }
.lead { font-size: clamp(19px, 1.8vw, 23px); max-width: 620px; margin-top: 28px; color: #E3DAF2; }
.circuit { display: grid; gap: 0; margin-top: 80px; position: relative; }
.circuit li { position: relative; padding: 0 0 48px 44px; }
.circuit li::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: -12px; width: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.circuit li:last-child::before { display: none; }
.node { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px var(--purple), 0 0 0 8px rgba(247, 162, 27, .5); }
.circuit li:nth-child(2) .node { background: var(--orange); }
.circuit li:nth-child(3) .node { background: #E9588E; }
.circuit li:nth-child(4) .node { background: #fff; }
.circuit small { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.circuit h3 { font-size: 30px; margin: 10px 0; }
.circuit p { color: #E3DAF2; max-width: 32ch; }
@media (min-width: 900px) {
  .circuit { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .circuit li { padding: 48px 0 0; }
  .circuit li::before { left: 22px; right: -32px; top: 9px; bottom: auto; width: auto; height: 4px; }
  .node { top: 0; }
}

/* why: photo + list */
.why { display: grid; background: var(--cream); }
@media (min-width: 960px) { .why { grid-template-columns: 1fr 1fr; } }
.why__photo { position: relative; min-height: 380px; background: var(--magenta); }
.why__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.15); }
.why__text { padding: clamp(64px, 8vw, 120px) clamp(16px, 5vw, 80px); }
.why__text .kicker { color: var(--magenta); }
.why__list { margin-top: 48px; }
.why__list div { padding: 22px 0; border-top: 2px solid var(--ink); }
.why__list dt { font-size: 26px; font-weight: 700; letter-spacing: -.02em; font-variation-settings: "opsz" 96; }
.why__list dd { color: var(--ink-2); margin-top: 6px; max-width: 46ch; }
@media (min-width: 1200px) { .why__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; } .why__list dt { font-size: 22px; line-height: 1.15; } }

/* mission */
.mv { display: grid; gap: 16px; }
@media (min-width: 900px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv__card { border-radius: 28px; padding: clamp(28px, 4vw, 52px); }
.mv__card p:last-child { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -.015em; font-weight: 500; }
.mv__card--orange { background: var(--orange); }
.mv__card--ink { background: var(--ink); color: var(--cream); }
.mv__card--ink .kicker { color: var(--amber); }
.quote { margin: clamp(72px, 9vw, 130px) 0; }
.quote p { font-size: clamp(32px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; max-width: 20ch; font-variation-settings: "opsz" 96; }
.quote .hl { color: var(--magenta); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(4, 1fr); } }
.sw { display: block; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 20px; }
.values li:nth-child(1) .sw { background: var(--amber); }
.values li:nth-child(2) .sw { background: var(--orange); }
.values li:nth-child(3) .sw { background: var(--magenta); }
.values li:nth-child(4) .sw { background: var(--purple); }
.values p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }

/* contact */
.contact { background: var(--ink); color: var(--cream); padding: clamp(88px, 11vw, 160px) 0 72px; overflow: hidden; position: relative; }
.contact::after { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -220px; border-radius: 50%; border: 60px solid var(--purple); opacity: .6; pointer-events: none; }
.contact .wrap { position: relative; z-index: 1; }
.contact .kicker { color: var(--amber); }
.contact h2 { font-size: clamp(52px, 9vw, 136px); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin-bottom: 48px; }
.contact .hl { color: var(--amber); }
.contact__mail { display: inline-block; font-size: clamp(22px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.02em; text-decoration: none; background: var(--orange); color: var(--ink); padding: 12px 28px; border-radius: 999px; overflow-wrap: anywhere; transition: background .2s; }
.contact__mail:hover { background: var(--amber); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 80px; }
.contact__card { display: block; text-decoration: none; padding: 24px; border-radius: 20px; border: 1px solid rgba(251, 246, 239, .2); transition: border-color .2s, background .2s; }
.contact__card:hover { border-color: var(--amber); background: rgba(251, 246, 239, .04); }
.contact__card .mono { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.contact__card span:last-child { font-size: 18px; }

.foot { background: var(--ink); color: #9C97B0; border-top: 1px solid rgba(251, 246, 239, .12); padding: 28px 0; font-size: 15px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot img { height: 32px; width: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
