/* ============================================================
   Praktica & Co — Site styles (components + page)
   ============================================================ */

/* -------- Skip link (accessibility) -------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: 12px; outline: 2px solid var(--sun-500); outline-offset: 2px; }

/* -------- Layout -------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(90px, 13vh, 150px) 0; }
.section--tight { padding: clamp(60px, 9vh, 92px) 0; }
.section--paper { background: var(--paper); }
.section--sun { background: var(--sun-500); }
.section--navy { background: var(--navy-900); }
.section--sunken {
  background: var(--navy-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.rule-bottom { border-bottom: 1px solid var(--gray-100); }

/* -------- Eyebrow -------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-eyebrow);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--navy-900);
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy-900);
}
.eyebrow--on-dark { color: var(--white); }
.eyebrow--on-dark::before { background: var(--sun-500); }

/* -------- Button -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.btn:active { transform: translateY(1px); }
.btn--sm { font-size: var(--text-sm); padding: 8px 16px; min-height: 38px; }
.btn--md { font-size: var(--text-md); padding: 11px 22px; min-height: 44px; }
.btn--lg { font-size: 1.0625rem; padding: 15px 28px; min-height: 52px; }

.btn--primary {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}
.btn--primary:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn--accent {
  background: var(--sun-500);
  color: var(--navy-900);
  border-color: var(--sun-500);
}
.btn--accent:hover { background: var(--sun-600); border-color: var(--sun-600); }

.btn--secondary {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--secondary:hover { background: var(--navy-900); color: var(--white); }

.btn--secondary.btn--on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--secondary.btn--on-dark:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn--accent:focus-visible { box-shadow: var(--shadow-focus-accent); }

/* -------- Tag -------- */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  line-height: 1.2;
}
.tag--accent { background: var(--sun-500); color: var(--navy-900); }
.tag--soft {
  background: var(--navy-50);
  color: var(--navy-600);
  border: 1px solid var(--gray-100);
}

/* -------- Progress bar -------- */
.progress-track {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
}
.progress-bar { height: 100%; width: 0%; background: var(--sun-500); }

/* -------- Floating CTA -------- */
.float-cta {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--navy-900);
  background: var(--sun-500);
  border-radius: var(--radius-full);
  padding: 13px 22px;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), background var(--dur-fast);
}
.float-cta:hover { background: var(--sun-600); }

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--sun-500);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.header-pad {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 64px;
  transition: padding var(--dur-base) var(--ease-standard);
}
.header-logo { display: flex; align-items: center; flex: none; }
.header-logo img { height: 45px; width: auto; display: block; }
.header-spacer { flex: 1 1 auto; }

/* Morph pill: label collapses to reveal action links on hover/focus */
.morph {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  height: 44px;
  flex: none;
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
  border-radius: var(--radius-full);
  padding: 0 20px;
}
.morph--left { margin-left: 24px; }
.morph-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-semibold);
  padding: 0;
  white-space: nowrap;
  max-width: 280px;
  opacity: 1;
  overflow: hidden;
  transition: max-width 620ms var(--ease-standard), opacity 320ms var(--ease-standard);
}
.morph-burger { display: inline-flex; flex-direction: column; gap: 3px; }
.morph-burger span { width: 16px; height: 2px; background: currentColor; display: block; }
.morph-items {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 620ms var(--ease-standard), opacity 420ms var(--ease-standard) 140ms;
}
.morph-link {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-semibold);
  padding: 6px 11px;
  border-radius: 7px;
  transition: opacity 320ms, background var(--dur-fast);
}
.morph-sep { flex: none; width: 1px; height: 18px; background: rgba(255, 255, 255, 0.28); }
/* Mobile-only menu items (booking + call) — hidden in the desktop sideways morph */
.morph-link--mobile { display: none; }
.morph:hover .morph-label, .morph:focus-within .morph-label {
  max-width: 0;
  opacity: 0;
  transition: max-width 620ms var(--ease-standard), opacity 220ms var(--ease-standard);
}
.morph:hover .morph-items, .morph:focus-within .morph-items { max-width: 560px; opacity: 1; }
.morph:hover .morph-link, .morph:focus-within .morph-link { opacity: 0.4; }
.morph .morph-link:hover, .morph .morph-link:focus { opacity: 1; background: var(--navy-700); }

/* -------- Hero -------- */
.hero { padding: clamp(112px, 15vh, 180px) 0 clamp(72px, 9vh, 110px); }
.hero h1 {
  margin: 22px 0 30px;
  font-weight: var(--fw-semibold);
  font-size: clamp(3.9rem, 10.5vw, 9.4rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  text-wrap: balance;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.hero h1 .line > span { display: block; }
.hero-lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-body);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-note {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--navy-700);
}

/* -------- Behaviour chain (tabs) -------- */
.chain { margin-top: clamp(60px, 10vh, 110px); scroll-margin-top: 96px; }
.chain-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 18px;
}
.chain-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.chain-hint { font-size: 13px; color: var(--navy-700); }
.chain-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 6px;
}
.chain-arrow { font-family: var(--font-display); font-size: 22px; color: var(--navy-300); }
.chain-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  padding: 11px 17px;
  background: var(--white);
  color: var(--navy-900);
  border: 1px solid rgba(12, 27, 51, 0.2);
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base),
              border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}
.chain-tab .num { font-size: 0.72em; opacity: 0.55; }
/* Pivotal step (02 Käytäntö) always reads dark — it is the lever */
.chain-tab--pivotal { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.chain-tab[aria-selected="true"] {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.chain-panel {
  margin-top: 22px;
  border-left: 3px solid var(--navy-900);
  padding: 3px 0 3px 22px;
  max-width: 44em;
}
.chain-panel h3 {
  margin: 0 0 6px;
  font-weight: var(--fw-semibold);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.05;
  color: var(--navy-900);
}
.chain-panel p {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--text-body);
}
.chain-panel-inner { transition: opacity var(--dur-base); }

/* -------- Stats (raamit) -------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--navy-900);
}
.stat-value .num {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.stat-value .unit {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}
.stat p {
  margin: 12px 0 0;
  max-width: 26ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
}

/* -------- Navy statement (miksi nyt) -------- */
.statement {
  margin: 0;
  max-width: 22ch;
  font-weight: var(--fw-semibold);
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--white);
  text-wrap: pretty;
}
.statement-foot {
  margin: 36px 0 0;
  font-size: 17px;
  color: var(--text-on-dark-muted);
}
.statement-foot a {
  color: var(--white);
  font-weight: var(--fw-medium);
  text-decoration: underline;
  text-decoration-color: var(--sun-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* -------- Section heading block -------- */
.sky-highlight { color: var(--sky-600); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-bottom: clamp(28px, 5vh, 54px);
}
.section-head h2 {
  margin: 12px 0 0;
  font-weight: var(--fw-semibold);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.0;
  color: var(--navy-900);
}
.section-head p {
  margin: 0 0 6px;
  max-width: 30ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* -------- Services accordion -------- */
.svc { border-top: 1px solid var(--gray-100); }
.svc--last { border-bottom: 1px solid var(--gray-100); }
.svc-header {
  cursor: pointer;
  display: grid;
  grid-template-columns: clamp(44px, 6vw, 76px) 1fr auto 46px;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 30px clamp(4px, 1vw, 12px);
  transition: background var(--dur-base) var(--ease-standard);
}
.svc-header:hover { background: var(--navy-50); }
.svc-num {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: var(--navy-300);
  transition: color 240ms;
}
.svc[data-open="true"] .svc-num { color: var(--navy-900); }
.svc-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  transition: transform 240ms var(--ease-out);
}
.svc-header:hover .svc-title { transform: translateX(6px); }
.svc-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.svc-meta span.svc-sub { font-size: 15px; color: var(--text-muted); }
.svc-price {
  justify-self: end;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--navy-900);
  white-space: nowrap;
}
.svc-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--navy-900);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--navy-900);
  transform: rotate(0deg);
  transition: transform 320ms var(--ease-out), background var(--dur-base), color var(--dur-base);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: var(--fw-regular);
  line-height: 1;
}
.svc[data-open="true"] .svc-icon {
  transform: rotate(45deg);
  background: var(--navy-900);
  color: #fff;
}
.svc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--ease-out);
}
.svc[data-open="true"] .svc-body { grid-template-rows: 1fr; }
.svc-body-inner { overflow: hidden; min-height: 0; }
.svc-content {
  padding: 2px clamp(4px, 1vw, 12px) 40px calc(clamp(44px, 6vw, 76px) + clamp(12px, 2vw, 28px));
  max-width: 720px;
  opacity: 0;
  transition: opacity 300ms 120ms;
}
.svc[data-open="true"] .svc-content { opacity: 1; }
.svc-content p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
}
.svc-content p:last-of-type { margin-bottom: 22px; }
.svc-part {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin: 0 0 8px;
}
.svc-part .label {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-900);
  white-space: nowrap;
}
.svc-part .txt { font-size: 16px; line-height: 1.55; color: var(--text-body); }

/* -------- Näin etenemme (steps) -------- */
.lede-block { max-width: 40ch; margin-bottom: clamp(40px, 6vh, 68px); }
.lede-block h2 {
  margin: 12px 0 14px;
  font-weight: var(--fw-semibold);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.0;
  color: var(--navy-900);
}
.lede-block p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-body); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.step { border-top: 2px solid var(--navy-900); padding-top: 22px; }
.step--sun { border-top-color: var(--sun-500); }
.step-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.step-num {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--navy-900);
}
.step-line { flex: 1; height: 1px; background: var(--gray-200); }
.step h3 {
  margin: 0 0 8px;
  font-weight: var(--fw-semibold);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.05;
  color: var(--navy-900);
}
.step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-body); }

/* -------- Slogan band -------- */
.slogan h2 {
  margin: 0;
  max-width: 12ch;
  font-weight: var(--fw-semibold);
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.slogan-sub {
  margin: 26px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: var(--fw-medium);
  color: var(--navy-800);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(20px, 4vw, 44px);
  margin-top: clamp(48px, 7vh, 76px);
}
.pillar { border-top: 2px solid rgba(12, 27, 51, 0.3); padding-top: 14px; }
.pillar-title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--navy-900);
}
.pillar p { margin: 6px 0 0; max-width: 30ch; font-size: 15px; line-height: 1.55; color: var(--navy-800); }

/* -------- Ville (founder) -------- */
.ville {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(36px, 6vw, 84px);
}
.ville-photo {
  flex: 1 1 300px;
  max-width: 400px;
  aspect-ratio: 4 / 5;
}
.photo-slot {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  background: var(--navy-50);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-slot .placeholder {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy-400);
  text-align: center;
  padding: 0 24px;
}
.ville-body { flex: 1 1 420px; padding-top: clamp(0px, 2vh, 24px); }
.ville-body h2 {
  margin: 12px 0 4px;
  font-weight: var(--fw-semibold);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.0;
  color: var(--navy-900);
}
.ville-role { margin: 0 0 26px; font-size: 15px; color: var(--text-muted); }
.ville-quote {
  margin: 0 0 18px;
  max-width: 21em;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.18;
  color: var(--navy-900);
  text-wrap: pretty;
}
.ville-body p.body {
  margin: 0 0 18px;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
}
.ville-body p.body:last-of-type { margin-bottom: 28px; }
.contact-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--navy-900);
  text-decoration: none;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.chip:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* -------- Footer -------- */
.site-footer { background: var(--navy-900); padding: clamp(90px, 13vh, 150px) 0 40px; }
.footer-title {
  margin: 16px 0 20px;
  font-weight: var(--fw-semibold);
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.98;
  color: var(--white);
}
.footer-lede {
  margin: 0 0 34px;
  max-width: 44em;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}
.footer-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
  margin-top: clamp(56px, 8vh, 84px);
}
.footer-label {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-400);
  margin-bottom: 8px;
}
.footer-grid a {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--white);
  text-decoration: none;
}
.footer-grid a:hover {
  text-decoration: underline;
  text-decoration-color: var(--sun-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: clamp(56px, 8vh, 84px);
  padding-top: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-bottom img { width: 107px; height: 50px; display: block; }
.footer-fine { margin: 0; font-size: 13px; color: var(--navy-300); }
.footer-fine a {
  color: var(--navy-300);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}
.footer-fine a:hover { color: var(--white); text-decoration-color: var(--sun-500); }

/* -------- Reveal (JS-driven; visible by default for no-JS / reduced motion) -------- */
[data-reveal] { will-change: opacity, transform; }

/* -------- Responsive -------- */
@media (max-width: 720px) {
  .morph--left { display: none; }
  .header-logo img { height: 38px; }

  /* Menu pill morphs the SAME way as desktop — the "Valikko" label
     fades out and the links take its place inside one unified navy
     element — but here the element grows DOWNWARD instead of sideways,
     so it never expands over the logo on narrow screens.
     The items panel is anchored to the pill's top edge (top: 0), so it
     reads as one continuous shape that unfolds from the button. */
  .morph--menu { overflow: visible; border: 0; }
  /* Label ("Valikko") stays visible while closed; cancel the desktop
     sideways collapse. It fades away on open (see [data-open] rule below). */
  .morph--menu .morph-label,
  .morph--menu:hover .morph-label,
  .morph--menu:focus-within .morph-label {
    max-width: none;
    opacity: 1;
    transition: opacity var(--dur-base) var(--ease-standard);
  }
  /* Unified panel: starts at the pill's top edge and unfolds downward.
     Also overrides the desktop :hover/:focus-within sideways morph so it
     never leaks in at mobile widths — open state is driven by [data-open]. */
  .morph--menu .morph-items,
  .morph--menu:hover .morph-items,
  .morph--menu:focus-within .morph-items {
    position: absolute;
    top: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: max(100%, 190px);
    width: max-content;
    max-width: min(80vw, 300px);
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    padding: 6px;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height var(--dur-slow) var(--ease-out),
                opacity var(--dur-base) var(--ease-standard);
  }
  .morph--menu[data-open="true"] .morph-items {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
  }
  /* Label morphs away when open (like desktop). Placed AFTER the
     hover/focus rule so equal-specificity source order wins. */
  .morph--menu[data-open="true"] .morph-label { opacity: 0; pointer-events: none; }
  .morph--menu .morph-sep { display: none; }
  .morph--menu .morph-link { display: block; padding: 12px 16px; border-radius: var(--radius-md); opacity: 1; }
  /* Don't dim links via the desktop hover rule; only hover/focus the touched one */
  .morph--menu:hover .morph-link,
  .morph--menu:focus-within .morph-link { opacity: 1; }
  .morph--menu .morph-link:hover,
  .morph--menu .morph-link:focus { opacity: 1; background: var(--navy-700); }
  /* Booking + call links: only in the mobile menu */
  .morph--menu .morph-link--mobile { display: block; }
  /* Separate the action links from the nav links */
  .morph--menu .morph-link--mobile + .morph-link--mobile,
  .morph--menu .morph-link[href^="tel"] {
    margin-top: 2px;
  }
  .morph--menu .morph-link--cta {
    margin-top: 6px;
    text-align: center;
    background: var(--sun-500);
    color: var(--navy-900);
  }
  .morph--menu .morph-link--cta:hover,
  .morph--menu .morph-link--cta:focus { background: var(--sun-600); color: var(--navy-900); }

  .svc-header {
    grid-template-columns: clamp(36px, 8vw, 56px) 1fr 40px;
    gap: 8px 14px;
  }
  /* Keep prices visible on mobile — place them under the title (col 2, row 2)
     so they stay a trust signal. Icon stays top-right (col 3, row 1). */
  .svc-price {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    font-size: 1.05rem;
  }
  .svc-icon { grid-column: 3; grid-row: 1; }
  .svc-content {
    padding-left: clamp(4px, 1vw, 12px);
    padding-right: clamp(4px, 1vw, 12px);
  }
  .section-head { align-items: flex-start; }
}
