/*
Theme Name: Rukun Design
Description: Custom theme for the Rukun Design architecture, interiors and branding company. Home page with sidebar and project slider, a Projects page with a gallery page per project, editable Services and Clients, and contact details set from the Customizer.
Author: Rukun Design
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rukun-design
*/

/* Layout: Home is a fixed-height shell (left sidebar nav + project slider). Other sections are full width,
   with a top-right nav that slides in once Home is out of view and a vertical Contact tab on the right edge.
   Inner pages (Projects, a project) use the top bar from the start. */
:root {
  --paper: #ffffff;
  --paper-2: #dddddb;
  --side: #f7f7f6;
  --ink: #1d1d1b;
  --ink-2: #4d4d4a;
  --ink-3: #7c7c78;
  --green: #5b6f58;
  --green-dark: #4b5e49;
  --amber: #f2b01e;
  --line: #d9d9d5;
  --f-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-label: 'Montserrat', 'Open Sans', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.sr, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sec-note { margin: .4rem 0 0; font-size: .9rem; color: var(--ink-3); }

/* ---------- 3D logo intro ---------- */
.intro { display: none; }
.intro-on .intro, .intro.is-leaving { display: block; position: fixed; inset: 0; z-index: 1000; background: var(--side); transition: transform .95s cubic-bezier(.76, 0, .24, 1); }
.intro [hidden] { display: none !important; }
.intro-on, .intro-on body { overflow: hidden; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-word { position: absolute; left: 50%; max-width: none; height: auto; opacity: 0; transform: translate(-50%, 10px); transition: opacity .8s ease, transform 1s ease; }
.intro.show-word .intro-word { opacity: 1; transform: translate(-50%, 0); }
.intro-fallback { position: absolute; left: 50%; top: 50%; width: min(300px, 70vw); height: auto; transform: translate(-50%, -50%); animation: introFade 1s ease both; }
.intro.is-leaving { transform: translateY(-100%); }
@keyframes introFade { from { opacity: 0; } to { opacity: 1; } }
/* if the script never starts, the screen and the scroll lock lift on their own */
.intro-on { animation: introUnlock .01s linear 14s forwards; }
.intro-on .intro { animation: introGone .01s linear 14s forwards; }
@keyframes introUnlock { to { overflow: visible; } }
@keyframes introGone { to { visibility: hidden; pointer-events: none; } }

/* ---------- Home: sidebar + slider ---------- */
.home {
  display: grid;
  grid-template-columns: clamp(230px, 18.2vw, 340px) minmax(0, 1fr);
  height: min(100svh, 58vw);
  min-height: 600px;
  max-height: 1020px;
  background: var(--side);
}
.side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 3vh, 2rem);
  padding: 1.5rem clamp(1.2rem, 2vw, 2.2rem);
  min-height: 0;
}
.side .logo-link { align-self: center; display: block; }
.side .logo { width: min(100%, 250px); height: auto; }
.side nav ul { display: flex; flex-direction: column; gap: clamp(.55rem, 1.9vh, 1.15rem); }
.side nav a {
  position: relative;
  display: block;
  padding-left: 1.7rem;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  color: var(--ink-2);
  transition: color .2s;
}
.side nav a:hover { color: var(--ink); }
.side nav a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.side nav a[aria-current="true"]::before {
  content: "";
  position: absolute;
  left: 0; top: .1em; bottom: .1em;
  width: 3px;
  background: var(--amber);
}
.icons { display: flex; gap: 1.5rem; padding-left: 1.7rem; color: var(--ink); }
.icons a { display: grid; place-items: center; width: 30px; height: 30px; transition: color .2s; }
.icons a:hover { color: var(--green); }
.icons svg { width: 26px; height: 26px; }

.slider { position: relative; overflow: hidden; background: #2a2a28; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.is-on { opacity: 1; }
.slide > img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 32%);
  pointer-events: none;
}
.cap {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 3.6vw, 70px);
  bottom: clamp(24px, 4.2vw, 64px);
  right: 120px;
  color: #fff;
}
.cap::before { content: ""; display: block; width: 58px; height: 3px; background: var(--amber); margin-bottom: 1rem; }
.cap p { margin: 0; font-weight: 300; font-size: clamp(1.7rem, 2.7vw, 2.7rem); line-height: 1.1; }
.cap a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.arrows {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 3vw, 56px);
  bottom: clamp(22px, 3.6vw, 56px);
  display: flex;
  gap: .4rem;
}
.arrows button { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; opacity: .88; transition: opacity .2s; }
.arrows button:hover { opacity: 1; }
.arrows svg { width: 30px; height: 30px; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255,255,255,.93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform .35s ease, visibility 0s;
}
.admin-bar .topbar { top: 32px; }
body.rukun-front.at-home .topbar { transform: translateY(-100%); visibility: hidden; transition: transform .35s ease, visibility 0s .35s; }
.topbar-in {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.05rem calc(var(--gutter) + 54px) .9rem var(--gutter);
}
body.rukun-inner .topbar-in { justify-content: space-between; padding-block: .7rem; }
.mini-link { display: none; }
body.rukun-inner .mini-link { display: block; }
.topbar .mini { height: 66px; width: auto; }
.menu-btn { display: none; }
.topbar nav ul { display: flex; gap: clamp(1.2rem, 3.2vw, 3.3rem); }
.topbar nav a {
  position: relative;
  display: block;
  padding-bottom: .5rem;
  font-size: .95rem;
  color: var(--ink-2);
  transition: color .2s;
}
.topbar nav a:hover { color: var(--ink); }
.topbar nav a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.topbar nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: -.2rem; right: -.2rem; bottom: 0;
  height: 3px;
  background: var(--amber);
}

.tab-contact {
  position: fixed;
  right: 0;
  top: clamp(110px, 21vh, 240px);
  z-index: 40;
  background: var(--green);
  color: #fff;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 1.5rem .85rem;
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .05em;
  transition: opacity .3s, background .2s;
}
.tab-contact:hover { background: var(--green-dark); }
body.at-home .tab-contact, body.at-contact .tab-contact { opacity: 0; pointer-events: none; }

/* ---------- Sections ---------- */
.sec {
  padding-block: clamp(6rem, 10vw, 8.5rem) clamp(4rem, 7vw, 6rem);
  padding-inline: var(--gutter);
}
.wrap { max-width: 1320px; margin-inline: auto; }
.eyebrow {
  margin: 0;
  font-family: var(--f-label);
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow a:hover { color: var(--ink); }
h2, .h2 {
  margin: .5rem 0 0;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.about { background: var(--paper-2); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5.5vw, 5.5rem);
  align-items: center;
}
.about-photo img { width: 100%; aspect-ratio: 789 / 672; object-fit: cover; }
.about h2 { font-size: clamp(2rem, 3.3vw, 3.4rem); }
.lead { margin: 1.6rem 0 clamp(2rem, 5vw, 3.6rem); max-width: 34rem; font-size: 1.1rem; line-height: 1.65; color: var(--ink-2); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem clamp(1.5rem, 3vw, 3rem); }
.mv > div { min-width: 0; }
.mv h3 { margin: 0; font-weight: 400; font-size: 1.5rem; }
.mv h3::after { content: ""; display: block; width: 34px; height: 3px; background: var(--amber); margin: .6rem 0 1rem; }
.mv p { margin: 0; color: var(--ink-2); line-height: 1.6; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem) 2rem;
  margin-top: clamp(2.2rem, 4.5vw, 3.8rem);
}
.svc { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; text-align: center; }
.svc img { width: min(100%, 290px); height: clamp(110px, 12.5vw, 175px); object-fit: contain; }
.svc .no-icon { height: clamp(110px, 12.5vw, 175px); }
.svc span { font-family: var(--f-label); font-weight: 400; font-size: clamp(1rem, 1.5vw, 1.3rem); letter-spacing: .06em; color: var(--ink-2); }

.clients { background: var(--paper-2); text-align: center; }
.cl-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.2rem) 1.5rem;
  margin-top: clamp(2.2rem, 4.5vw, 3.8rem);
}
.cl { display: flex; flex-direction: column; align-items: center; gap: .9rem; color: #7e7e7b; }
.cl svg { width: clamp(56px, 6vw, 84px); height: clamp(56px, 6vw, 84px); }
.cl img { width: clamp(56px, 6vw, 84px); height: clamp(56px, 6vw, 84px); object-fit: contain; filter: grayscale(1); opacity: .8; }
.cl span { font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 300; color: var(--ink-2); }

.contact { background: var(--paper); }
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.studio-photo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 1.5rem;
  background-color: #e8e8e6;
  background-image: url("assets/img/map-bg.svg");
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}
.map-in { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.map-in svg.pin { width: 54px; height: 54px; color: var(--green); margin-bottom: .7rem; }
.map-in strong { font-weight: 600; font-size: 1.5rem; }
.map-in .sub { color: var(--ink-2); font-size: 1.05rem; }
.btn-dir {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 1.1rem;
  padding: .8rem 1.35rem;
  border: 1.5px solid var(--ink-2);
  border-radius: 7px;
  background: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-dir:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-dir svg { width: 20px; height: 20px; }
.map.has-embed { padding: 0; }
.map.has-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.has-embed .map-actions { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; }
.map.has-embed .btn-dir { margin-top: 0; background: #fff; }
.rule { border: 0; height: 1px; background: var(--line); margin: clamp(2rem, 4vw, 3rem) 0 clamp(1.4rem, 3vw, 2rem); }
h2.small { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.touch { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem clamp(2rem, 5.5vw, 5.5rem); margin-top: 1.3rem; }
.ci { display: flex; align-items: center; gap: 1.1rem; min-width: 0; }
.ci-ic { flex: none; width: 62px; height: 62px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.ci-ic svg { width: 28px; height: 28px; }
.ci b { display: block; font-weight: 600; font-size: 1.25rem; line-height: 1.3; }
.ci span, .ci a { display: block; font-size: 1.2rem; color: var(--ink-2); font-weight: 300; overflow-wrap: anywhere; }
.ci a:hover { color: var(--green); }
.ci .admin-note { font-size: .95rem; color: var(--ink-3); font-style: italic; }
.vr { align-self: stretch; width: 2px; background: var(--line); }
.soc { display: flex; gap: 1.2rem; }
.soc a { width: 58px; height: 58px; border: 2.5px solid var(--amber); border-radius: 50%; color: var(--amber); display: grid; place-items: center; transition: background .2s, color .2s; }
.soc a:hover { background: var(--amber); color: #fff; }
.soc svg { width: 28px; height: 28px; }

/* ---------- Inner pages: Projects, a project, generic pages ---------- */
.page-main { padding-top: clamp(6.5rem, 9vw, 8rem); padding-bottom: clamp(3.5rem, 6vw, 5.5rem); padding-inline: var(--gutter); }
.page-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.8rem 0 0; }
.filters a { display: block; padding: .55rem 1.05rem; border: 1px solid var(--line); border-radius: 7px; font-size: .95rem; color: var(--ink-2); transition: border-color .2s, color .2s, background .2s; }
.filters a:hover { border-color: var(--green); color: var(--green); }
.filters a[aria-current="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) clamp(1rem, 2vw, 1.8rem); }
.proj-card { display: block; min-width: 0; }
.proj-card .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.proj-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj-card:hover .ph img { transform: scale(1.03); }
.proj-card h3 { margin: 1.1rem 0 .25rem; font-weight: 400; font-size: 1.4rem; line-height: 1.2; }
.proj-card h3::before { content: ""; display: block; width: 34px; height: 3px; background: var(--amber); margin-bottom: .8rem; }
.proj-meta { margin: 0; color: var(--ink-3); font-size: .95rem; }
.empty-note { max-width: 36rem; color: var(--ink-2); font-size: 1.1rem; line-height: 1.6; }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 .8rem; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); }
.page-numbers.current, .page-numbers:hover { background: var(--green); border-color: var(--green); color: #fff; }

.proj-facts { display: flex; flex-wrap: wrap; gap: 1.2rem clamp(2rem, 5vw, 4rem); margin: 1.6rem 0 0; padding: 0; }
.proj-facts div { min-width: 0; }
.proj-facts dt { font-family: var(--f-label); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.proj-facts dd { margin: .3rem 0 0; font-size: 1.15rem; color: var(--ink); }
.proj-hero { margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.proj-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.entry-content { margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.entry-content > p, .entry-content > ul, .entry-content > ol, .entry-content > h2, .entry-content > h3 { max-width: 46rem; }
.entry-content p { color: var(--ink-2); font-size: 1.1rem; line-height: 1.7; }
.entry-content h2, .entry-content h3 { font-weight: 400; margin-top: 2rem; }
.entry-content ul { list-style: disc; padding-left: 1.4rem; }
.entry-content ol { padding-left: 1.4rem; }
.entry-content figure { margin: 1.6rem 0; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content figcaption { margin-top: .5rem; font-size: .92rem; color: var(--ink-3); }
.proj-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.proj-nav a { display: block; min-width: 0; color: var(--ink-2); transition: color .2s; }
.proj-nav a:hover { color: var(--green); }
.proj-nav small { display: block; font-family: var(--f-label); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.proj-nav .next { margin-left: auto; text-align: right; }

/* ---------- Footer ---------- */
.foot { background: var(--green); color: #fff; padding: 2.2rem var(--gutter); }
.foot-in { max-width: 1320px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2.3fr) auto; gap: 2rem clamp(1.5rem, 3vw, 3rem); align-items: center; }
.foot .name { margin: 0 0 .9rem; font-size: 1.5rem; font-weight: 400; }
.foot .copy { margin: 0; font-size: .85rem; opacity: .85; }
.foot-links { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-template-columns: repeat(3, max-content); gap: .9rem clamp(2rem, 5vw, 4.5rem); justify-content: start; }
.foot-links a { font-size: 1rem; font-weight: 300; opacity: .92; transition: opacity .2s; }
.foot-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.totop { display: flex; align-items: center; gap: 1rem; padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 2px solid rgba(255,255,255,.55); font-weight: 300; }
.totop .circ { width: 56px; height: 56px; border: 1.5px solid #fff; border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s; }
.totop:hover .circ { background: #fff; color: var(--green); }
.totop svg { width: 26px; height: 26px; }

/* ---------- Tablet / phone ---------- */
/* ---------- Top bar menu on every screen size ---------- */
.side { display: none; }
.topbar, body.rukun-front.at-home .topbar { transform: none; visibility: visible; }
.topbar-in, body.rukun-inner .topbar-in { justify-content: space-between; padding: .6rem var(--gutter); }
.mini-link, body.rukun-inner .mini-link { display: block; }
.topbar .mini { height: 44px; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; }
.menu-btn svg { width: 26px; height: 26px; }
.topbar nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); padding: .8rem var(--gutter) 1.2rem; box-shadow: 0 14px 24px rgba(0,0,0,.08); }
.topbar.open nav { display: block; }
.topbar nav ul { flex-direction: column; gap: .2rem; }
.topbar nav a { padding: .7rem 0; font-size: 1.05rem; }
.topbar nav a[aria-current="true"]::after { left: 0; right: auto; width: 34px; bottom: .25rem; }

/* Menu: logo name on the left and the three-line button on the right, on every screen size */
.home { display: block; height: auto; max-height: none; min-height: 0; background: var(--paper); padding: calc(80px + env(safe-area-inset-top, 0px)) 16px 0; }
.slider { height: min(calc(100svh - 96px), 820px); min-height: 420px; }
@media (min-width: 700px) {
  .menu-btn { display: none; }
  .topbar nav { display: block; position: static; width: auto; padding: 0; border: 0; background: none; box-shadow: none; }
  .topbar nav ul { flex-direction: row; align-items: center; gap: clamp(.8rem, 2.2vw, 2.4rem); }
  .topbar nav a { padding: .45rem 0; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
  .topbar nav a:hover { color: var(--ink); }
  .topbar nav a[aria-current="true"] { color: var(--ink); font-weight: 600; }
  .topbar nav a[aria-current="true"]::after { left: 0; right: 0; width: auto; bottom: 0; height: 2px; background: var(--amber); }
  .topbar-in, .view.rukun-inner .topbar-in { padding: .7rem calc(var(--gutter) + 40px) .7rem var(--gutter); }
  .topbar .mini { height: clamp(40px, 4.2vw, 50px); }
}
}

@media (max-width: 899px) {
  .sec { padding-block: 4.2rem 3.4rem; }
  .page-main { padding-top: 6rem; }
  .about-grid, .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .totop { border-left: 0; padding-left: 0; }
  .vr { display: none; }
}
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } }
@media (max-width: 700px) { .tab-contact { display: none; } }
@media (max-width: 560px) {
  .mv { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-links { grid-template-columns: repeat(2, max-content); grid-auto-flow: row; grid-template-rows: none; }
  .arrows button { width: 40px; height: 40px; }
  .cap { right: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Careers ---------- */
.job-list { border-top: 1px solid var(--line); }
.job-list li { border-bottom: 1px solid var(--line); }
.job { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem .2rem; transition: padding .25s ease, color .2s; }
.job:hover { padding-inline: 1rem; color: var(--green); }
.job-t { display: block; min-width: 0; }
.job-t strong { display: block; font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.25; }
.job-t small { display: block; margin-top: .25rem; color: var(--ink-3); font-size: .95rem; }
.job-go { flex: none; width: 28px; height: 28px; color: var(--amber); }
.job-go svg { width: 28px; height: 28px; }
.cv-note { margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--paper-2); }
.cv-note h2 { margin-top: 0; }
.cv-note p { margin: .6rem 0 0; max-width: 34rem; color: var(--ink-2); font-size: 1.05rem; }
.apply { margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.apply .btn-dir { margin-top: 0; }
.page-head .lead { margin: 1.2rem 0 0; }
@media (min-width: 900px) { .foot-links { grid-template-columns: repeat(4, max-content); } }

.about-logo { height: clamp(120px, 13vw, 170px); width: auto; margin-bottom: clamp(1.2rem, 2.5vw, 2rem); }
