/* Tertia Works — combined Home + Services page (test, draft 371), v2.
   One descent, top to bottom: the Earth at night (the home poster) zooms toward the lights and
   darkens into the navy of «Τι κάνουμε»; four pillars rise as the count reaches 10; the home photo
   strip slides sideways across the edge into the areas; each service with its picture; the gold
   «Φτιάξε τη λίστα σου» with Εσύ / Εμείς; the closing statement fills in as it arrives.
   Brand: navy / deep navy / gold / whitewash / mist, Cardo + Inter, one pill button, one 14px
   picture corner, flat fields, no lines, no resting shadows. Scroll effects are in tertia-one.js. */
.tw-one {
  --m: clamp(16px, 4.4vw, 64px);
  --r: 14px;
  --ink: #16202e;
  --ink-soft: #3d4b5e;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --t-display: clamp(3rem, 10.4vw, 10.5rem);
  --t-h2: clamp(2.25rem, 4.4vw, 4.25rem);
  --t-h3: clamp(1.6rem, 1.15rem + 1.25vw, 2.375rem);
  --t-lead: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  --t-body: 1.0625rem;
}
.tw-one main .wp-block-post-content > .alignfull { margin-block: 0 !important; }
.tw-one :focus-visible { outline: 3px solid var(--tw-gold); outline-offset: 3px; border-radius: 4px; }
.tw-one :where(.tw1-hero, .tw1-pillars, .tw1-area, .tw1-list, .tw1-close) :is(h1, h2, h3) { font-family: "Cardo", Georgia, serif; text-transform: none; text-align: left; }
.tw-one :where(.tw1-area, .tw1-list) :where(p, li) { font-size: var(--t-body); line-height: 1.55; color: var(--ink); }
/* every field shares one frame */
.tw-one :is(.tw1-hero, .tw1-pillars, .tw1-area, .tw1-list, .tw1-close) {
  padding-left: max(var(--m), calc((100vw - 1280px) / 2)) !important;
  padding-right: max(var(--m), calc((100vw - 1280px) / 2)) !important;
  box-sizing: border-box;
}
.tw-one :is(.tw1-hero, .tw1-pillars, .tw1-strip, .tw1-area, .tw1-list, .tw1-close) * { margin-block: 0; }

/* ---------- Buttons: one pill ---------- */
.tw-one .tw1-btn-gold .wp-block-button__link { background: var(--tw-gold); color: var(--tw-navy); }
.tw-one .tw1-btn-navy .wp-block-button__link { background: var(--tw-navy); color: var(--tw-whitewash); }
.tw-one .tw1-btn-ghost .wp-block-button__link { background: rgba(250, 248, 244, 0.14); color: var(--tw-whitewash); }
.tw-one .tw1-btn-text .wp-block-button__link { background: transparent; color: var(--tw-navy); padding-left: 0.5rem; padding-right: 0.5rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
@media (hover: hover) and (pointer: fine) {
  .tw-one .tw1-btn-gold .wp-block-button__link:hover { background: var(--tw-gold-soft); }
  .tw-one .tw1-btn-navy .wp-block-button__link:hover { background: #1d3a63; }
  .tw-one .tw1-btn-ghost .wp-block-button__link:hover { background: rgba(250, 248, 244, 0.24); }
  .tw-one .tw1-btn-text .wp-block-button__link:hover { text-decoration-thickness: 2px; }
}

/* ---------- 1. Hero: the Earth at night ---------- */
.tw-one .tw1-hero {
  position: relative; overflow: clip; isolation: isolate; color: var(--tw-whitewash);
  min-height: calc(100svh - 92px); display: grid; grid-template-rows: 1fr auto; gap: 48px;
  padding-top: clamp(48px, 10vh, 120px) !important; padding-bottom: clamp(40px, 7vh, 88px) !important;
}
.tw-one .tw1-earth { position: absolute; inset: 0; z-index: -2; margin: 0 !important; transform-origin: 68% 78%; }
.tw-one .tw1-earth img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; display: block; }
/* a neutral scrim under the words at the foot of the photo (the one allowed use of a fade) */
.tw-one .tw1-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: -1; background: linear-gradient(to top, rgba(10, 27, 51, 0.78), rgba(10, 27, 51, 0)); pointer-events: none; } /* neutral scrim over a photo: taste-skill-ignore */
.tw-one .tw1-dim { z-index: 0 !important; }
.tw-one .tw1-hero > :not(.tw1-earth):not(.tw1-dim) { position: relative; z-index: 1; }
.tw-one .tw1-dim { position: absolute; inset: 0; z-index: -1; background: var(--tw-navy); opacity: 0; pointer-events: none; }
.tw-one .tw1-hero h1 { align-self: start; font-weight: 400; font-size: var(--t-display) !important; line-height: 1.02; letter-spacing: -0.035em; color: var(--tw-whitewash); }
.tw-one .tw1-l1, .tw-one .tw1-l2 { display: block; }
.tw-one .tw1-l2 { color: var(--tw-gold); }
.tw-one .tw1-hero__foot { display: grid; grid-template-columns: minmax(0, 44ch) auto; justify-content: space-between; align-items: end; gap: 24px 48px; }
.tw-one .tw1-hero__foot p { font-size: var(--t-lead); line-height: 1.5; color: #e3e9f2; }
.tw-one .tw1-hero__foot .wp-block-buttons { gap: 10px; flex-wrap: wrap; }
@media (max-width: 781px) {
  .tw-one .tw1-hero { min-height: calc(100svh - 64px); gap: 32px; }
  .tw-one .tw1-hero h1 { font-size: clamp(2.4rem, 11.2vw, 5rem) !important; }

  .tw-one .tw1-hero__foot { grid-template-columns: 1fr; }
  .tw-one .tw1-earth img { object-position: 64% 50%; }
}
@media (prefers-reduced-motion: no-preference) {
  .tw-one .tw1-hero h1 > span, .tw-one .tw1-hero__foot > * { animation: tw1-rise 820ms var(--ease-out) both; }
  .tw-one .tw1-hero h1 > .tw1-l2 { animation-delay: 90ms; }
  .tw-one .tw1-hero__foot > :first-child { animation-delay: 240ms; }
  .tw-one .tw1-hero__foot > :last-child { animation-delay: 320ms; }
  .tw-one .tw1-earth img { animation: tw1-earth-in 1800ms var(--ease-out) both; }
}
@keyframes tw1-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes tw1-earth-in { from { opacity: 0.2; transform: scale(1.08); } to { opacity: 1; transform: none; } }

/* ---------- 2. Τι κάνουμε: the pillars and the count ---------- */
.tw-one .tw1-pillars { color: var(--tw-whitewash); padding-top: clamp(72px, 12vh, 140px) !important; padding-bottom: clamp(96px, 14vh, 160px) !important; }
.tw-one .tw1-pillars__stage { display: grid; gap: clamp(32px, 6vh, 64px); }
.tw-one .tw1-pillars__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.tw-one .tw1-pillars h2 { color: var(--tw-whitewash); font-weight: 400; font-size: var(--t-h2) !important; line-height: 1; letter-spacing: -0.03em; }
.tw-one .tw1-pillars__title p { font-size: var(--t-lead); line-height: 1.45; color: #c9d6e6; margin-top: 0.6em !important; max-width: 30ch; }
.tw-one .tw1-figure { display: flex; align-items: flex-end; gap: 16px; }
.tw-one .tw1-big { font-family: "Cardo", Georgia, serif; font-size: clamp(5rem, 11vw, 10rem); line-height: 0.78; letter-spacing: -0.04em; color: var(--tw-gold); font-variant-numeric: tabular-nums lining-nums; min-width: 1.05em; text-align: right; }
.tw-one .tw1-figure p:not(.tw1-big) { font-size: var(--t-body); line-height: 1.4; color: #c9d6e6; max-width: 14ch; }
.tw-one .tw1-temple { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 24px); padding: clamp(22px, 2.6vw, 36px) 0 clamp(16px, 1.8vw, 24px); }
/* lintel (gold) and step (mist): drawn as the building, not as decoration */
.tw-one .tw1-temple::before, .tw-one .tw1-temple::after { content: ""; position: absolute; left: calc(-1 * clamp(8px, 1.2vw, 18px)); right: calc(-1 * clamp(8px, 1.2vw, 18px)); }
.tw-one .tw1-temple::before { top: 0; height: clamp(14px, 1.8vw, 26px); background: var(--tw-gold); transform: translateY(var(--lintel-y, 0px)); opacity: var(--lintel-o, 1); }
.tw-one .tw1-temple::after { bottom: 0; height: clamp(10px, 1.2vw, 16px); background: #c9d6e6; }
.tw-one .tw1-pillar { position: relative; height: clamp(260px, 42vh, 440px); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(12px, 1.4vw, 22px); box-sizing: border-box; }
.tw-one .tw1-pillar::before { content: ""; position: absolute; inset: 0; background: var(--tw-mist); transform-origin: 50% 100%; transform: scaleY(var(--g, 1)); }
.tw-one .tw1-pillar > * { position: relative; opacity: var(--t, 1); transform: translateY(calc((1 - var(--t, 1)) * 16px)); }
.tw-one .tw1-pillar > .tw1-art { display: block; width: min(80%, 190px); height: auto; margin: clamp(4px, 1.5vh, 16px) auto auto; opacity: 1; transform: none; overflow: visible; }
/* each piece lands when the pillar's name appears (--t from the scroll loop; 1 when still) */
.tw-one .tw1-gp { transform-box: fill-box; transform-origin: 50% 100%; --e: clamp(0, calc(var(--t, 1) * 2.4 - var(--k) * 0.32), 1); opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 14px)) scale(calc(0.9 + var(--e) * 0.1)); }
@media (hover: hover) and (pointer: fine) {
  .tw-one .tw1-gp { transition: transform 260ms var(--ease-out); }
  .tw-one .tw1-pillar:hover .tw1-gp:last-child { transform: translateY(-4px); }
}
.tw-one .tw1-pillar__name { font-family: "Cardo", Georgia, serif; font-size: var(--t-h3); line-height: 1.05; letter-spacing: -0.01em; }
.tw-one .tw1-pillar__name a { color: var(--tw-navy); text-decoration: none; display: inline-block; padding: 6px 0; }
.tw-one .tw1-pillar__line { font-size: 0.9375rem; line-height: 1.4; color: var(--ink-soft); margin-top: 8px !important; }
@media (hover: hover) and (pointer: fine) {
  .tw-one .tw1-pillar::before { transition: background-color 200ms ease; }
  .tw-one .tw1-pillar:hover::before { background: #dfe8f2; } /* not white: the drawings have white parts */
  .tw-one .tw1-pillar:hover .tw1-pillar__name a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
}
.tw-one .tw1-pillars.is-pinned { height: 195svh; padding-top: 0 !important; padding-bottom: 0 !important; }
.tw-one .tw1-pillars.is-pinned .tw1-pillars__stage { position: sticky; top: 0; height: 100svh; align-content: center; padding: clamp(32px, 7vh, 88px) 0; box-sizing: border-box; }
.tw-one .tw1-pillars:focus-within .tw1-pillar { --g: 1 !important; --t: 1 !important; }
.tw-one .tw1-pillars:focus-within .tw1-temple { --lintel-y: 0px !important; --lintel-o: 1 !important; }
@media (max-width: 1023px) { .tw-one .tw1-pillar__name { font-size: 1.375rem; } }
@media (max-width: 599px) {
  .tw-one .tw1-pillars__head { gap: 20px; }
  .tw-one .tw1-big { font-size: 4.5rem; min-width: 0; }
  .tw-one .tw1-pillar { height: clamp(200px, 33svh, 300px); padding: 12px 6px; align-items: center; }
  .tw-one .tw1-pillar__name { writing-mode: vertical-rl; font-size: 1.375rem; }
  .tw-one .tw1-pillar > .tw1-pillar__name { transform: rotate(180deg) translateX(calc((1 - var(--t, 1)) * -16px)); }
  .tw-one .tw1-pillar__line { display: none; }
  .tw-one .tw1-pillar > .tw1-art { width: 92%; margin-top: 2px; }
  .tw-one .tw1-pillars.is-pinned { height: 175svh; }
  .tw-one .tw1-pillars.is-pinned .tw1-pillars__stage { padding: 24px 0; }
}

/* ---------- 2b. The photo strip, across the edge from navy into the areas ---------- */
.tw-one .tw1-strip {
  position: relative; display: flex; gap: clamp(12px, 1.4vw, 20px); background: var(--tw-mist) !important;
  padding: 0 var(--m) !important; overflow-x: auto; scrollbar-width: none;
}
.tw-one .tw1-strip::-webkit-scrollbar { display: none; }
.tw-one .tw1-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 42%; background: var(--tw-navy); }
.tw-one .tw1-strip.is-driven { overflow-x: clip; }
.tw-one .tw1-strip figure { position: relative; flex: 0 0 clamp(200px, 23vw, 330px); margin: 0 !important; }
.tw-one .tw1-strip.is-driven figure { will-change: transform; }
.tw-one .tw1-strip img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.tw-one .tw1-strip figcaption { font-size: 0.9375rem; line-height: 1.3; color: var(--ink-soft); margin: 10px 0 0 !important; text-align: left; }

/* ---------- 3. The areas ---------- */
.tw-one .tw1-area { padding-top: clamp(72px, 12vh, 150px) !important; padding-bottom: clamp(72px, 12vh, 150px) !important; }
.tw-one .tw1-area > * + * { margin-top: clamp(40px, 6vh, 64px) !important; }
.tw-one .tw1-area__head h2 { font-weight: 400; color: var(--tw-navy); font-size: var(--t-h2) !important; line-height: 0.95; letter-spacing: -0.03em; }
.tw-one .tw1-area__head p { font-size: var(--t-lead) !important; line-height: 1.45; color: var(--ink-soft) !important; margin-top: 0.75em !important; max-width: 34ch; }
.tw-one .tw1-area__rows { display: grid; gap: clamp(64px, 10vh, 112px); }
.tw-one .tw1-svc { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 360px); gap: 24px clamp(32px, 4vw, 64px); align-items: start; }
.tw-one .tw1-svc h3 { font-weight: 400; color: var(--tw-navy); font-size: var(--t-h3) !important; line-height: 1.08; letter-spacing: -0.015em; }
.tw-one .tw1-svc .tw1-hook { font-family: "Cardo", Georgia, serif; font-size: var(--t-lead) !important; line-height: 1.35; color: var(--tw-sea) !important; margin-top: 0.5em !important; max-width: 40ch; }
.tw-one .tw1-svc__text > p:not(.tw1-hook) { margin-top: 1em !important; max-width: 60ch; }
.tw-one .tw1-svc ul { margin: 1.1em 0 0 !important; padding-left: 1.1em; max-width: 60ch; }
.tw-one .tw1-svc li { margin: 0.3em 0 0; padding-left: 0.2em; }
.tw-one .tw1-svc li::marker { color: var(--tw-gold); }
.tw-one .tw1-svc figure { margin: 0; justify-self: end; width: 100%; overflow: hidden; border-radius: var(--r); }
.tw-one .tw1-svc img { display: block; width: 100%; height: auto; object-fit: cover; }
.tw-one .tw1-svc figure.is-par img { transform: translateY(var(--py, 0px)) scale(1.12); }
.tw-one .tw1-shape-a img { aspect-ratio: 4 / 5; }
.tw-one .tw1-shape-b img { aspect-ratio: 3 / 2; }
.tw-one .tw1-shape-c { max-width: 80%; }
.tw-one .tw1-shape-c img { aspect-ratio: 1 / 1; }
.tw-one .tw1-add {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 1.4em; min-height: 44px; padding: 0 18px 0 14px;
  font: inherit; font-size: 1rem; font-weight: 600; color: var(--tw-navy); background: rgba(19, 41, 75, 0.08); border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.tw-one .tw1-add:active { transform: scale(0.97); }
.tw-one .tw1-add[aria-pressed="true"] { background: var(--tw-navy); color: var(--tw-whitewash); }
@media (hover: hover) and (pointer: fine) { .tw-one .tw1-add:hover { background: rgba(19, 41, 75, 0.14); } .tw-one .tw1-add[aria-pressed="true"]:hover { background: #1d3a63; } }
.tw-one .tw1-icon { width: 18px; height: 18px; flex: none; }
.tw-one .tw1-icon .tw1-v { transform-origin: 50% 50%; transition: transform 240ms var(--ease-out), opacity 160ms ease; }
.tw-one [aria-pressed="true"] .tw1-icon .tw1-v { transform: rotate(90deg); opacity: 0; }
.tw-one .tw1-icon .tw1-tick { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 260ms var(--ease-out) 60ms; }
.tw-one .tw1-icon .tw1-h { transition: opacity 120ms ease; }
.tw-one [aria-pressed="true"] .tw1-icon .tw1-h { opacity: 0; }
.tw-one [aria-pressed="true"] .tw1-icon .tw1-tick { stroke-dashoffset: 0; }
@media (min-width: 1024px) {
  .tw-one .tw1-area { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 4vw, 64px); align-items: start; }
  .tw-one .tw1-area > * + * { margin-top: 0 !important; }
  .tw-one .tw1-area__head { position: sticky; top: 40px; }
}
@media (max-width: 781px) { .tw-one .tw1-svc { grid-template-columns: minmax(0, 1fr) 34%; gap: 20px 28px; } }
@media (max-width: 599px) {
  .tw-one .tw1-area { padding-top: 88px !important; padding-bottom: 72px !important; }
  .tw-one .tw1-svc { grid-template-columns: 1fr; }
  .tw-one .tw1-svc figure { order: -1; }
  .tw-one .tw1-shape-a { width: 100%; }
  .tw-one .tw1-shape-a img { aspect-ratio: 4 / 3; }
  .tw-one .tw1-shape-b { width: 76%; }
  .tw-one .tw1-shape-c { width: 60%; max-width: none; justify-self: start; }
  .tw-one .tw1-area__rows { gap: 56px; }
}

/* the area bar on phones and tablets (made by the script): where you are among the four */
.tw-one .tw1-areabar {
  position: sticky; top: 0; z-index: 30; height: 52px; margin-bottom: -52px; display: none;
  background: var(--tw-navy); color: var(--tw-whitewash);
  transform: translateY(-100%); visibility: hidden; transition: transform 260ms var(--ease-out), visibility 0s linear 260ms;
}
.tw-one .tw1-areabar.is-on { transform: none; visibility: visible; transition: transform 260ms var(--ease-out), visibility 0s; }
.tw-one .tw1-areabar ul { display: flex; height: 100%; margin: 0; padding: 0 calc(var(--m) - 12px); list-style: none; overflow-x: auto; scrollbar-width: none; }
.tw-one .tw1-areabar ul::-webkit-scrollbar { display: none; }
.tw-one .tw1-areabar li { margin: 0; }
.tw-one .tw1-areabar a { display: flex; align-items: center; height: 100%; padding: 0 12px; color: #c9d6e6; text-decoration: none; font-size: 0.9375rem; white-space: nowrap; transition: color 200ms ease; }
.tw-one .tw1-areabar a[aria-current="true"] { color: var(--tw-gold); }
.tw-one .tw1-areabar i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tw-gold); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 1023px) { .tw-one .tw1-areabar { display: block; } }

/* ---------- 4. Φτιάξε τη λίστα σου: Εσύ / Εμείς on the gold field ---------- */
.tw-one .tw1-list { padding-top: clamp(80px, 13vh, 160px) !important; padding-bottom: clamp(80px, 13vh, 160px) !important; color: var(--tw-navy); }
.tw-one .tw1-list h2 { color: var(--tw-navy); font-weight: 400; font-size: var(--t-h2) !important; line-height: 1; letter-spacing: -0.03em; }
.tw-one .tw1-list__head p { font-size: var(--t-lead) !important; color: var(--tw-navy) !important; margin-top: 0.6em !important; max-width: 34ch; }
.tw-one .tw1-tasks { margin-top: clamp(32px, 6vh, 56px) !important; }
.tw-one .tw1-tasks > ul { margin: 0; padding-left: 1.1em; columns: 2; column-gap: 32px; }
.tw-one .tw1-tasks > ul a { color: var(--tw-navy); }
.tw-one .tw1-list__send { margin-top: 24px !important; }
.tw-one .tw1-list__send .wp-block-buttons { gap: 8px; flex-wrap: wrap; align-items: center; }
.tw-one .tw1-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.tw-one .tw1-col { border-radius: 22px; padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
.tw-one .tw1-col--you { background: rgba(250, 248, 244, 0.42); }
.tw-one .tw1-col--us { background: var(--tw-navy); color: var(--tw-whitewash); }
.tw-one .tw1-col h3 { font-weight: 400; font-size: var(--t-h3) !important; line-height: 1; color: inherit; }
.tw-one .tw1-col ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; align-content: flex-start; flex: 1 1 auto; }
.tw-one .tw1-col li { margin: 0; }
.tw-one .tw1-task {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; box-sizing: border-box; text-align: left;
  font: inherit; font-size: 1rem; line-height: 1.25; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--tw-whitewash); color: var(--tw-navy);
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.tw-one .tw1-task:active { transform: scale(0.97); }
.tw-one .tw1-task[aria-pressed="true"] { background: #1d3a63; color: var(--tw-whitewash); }
@media (hover: hover) and (pointer: fine) { .tw-one .tw1-task:hover { background: #fff; } .tw-one .tw1-task[aria-pressed="true"]:hover { background: #2a4a78; } }
.tw-one .tw1-empty { font-size: 1rem; line-height: 1.45; color: inherit; opacity: 0.85; padding: 10px 0; }
.tw-one .tw1-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 8px; }
.tw-one .tw1-col--us :is(p, li), .tw-one .tw1-summary :is(p, li) { color: var(--tw-whitewash); }
.tw-one .tw1-col--you .tw1-empty { color: var(--tw-navy); }
.tw-one .tw1-count { font-family: "Cardo", Georgia, serif; font-size: 1.375rem; line-height: 1.2; }
.tw-one .tw1-count.is-bump { animation: tw1-bump 320ms var(--ease-out); }
@keyframes tw1-bump { 40% { transform: translateY(-4px); } }
.tw-one .tw1-summary .wp-block-button__link { background: var(--tw-gold); color: var(--tw-navy); }
.tw-one .tw1-alt { margin-top: 16px !important; font-size: var(--t-body); }
.tw-one .tw1-alt a { color: var(--tw-navy); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
::view-transition-group(*) { animation-duration: 320ms; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
@media (max-width: 781px) {
  .tw-one .tw1-board { grid-template-columns: 1fr; }
  .tw-one .tw1-tasks > ul { columns: 1; }
  /* the summary rides along at the bottom of the screen while the board is in view */
  .tw-one .tw1-summary { position: sticky; bottom: 12px; z-index: 5; background: var(--tw-navy); color: var(--tw-whitewash); border-radius: 999px; padding: 8px 8px 8px 20px; margin: 0 -8px; box-shadow: 0 10px 28px -10px rgba(10, 27, 51, 0.5); /* floats: taste-skill-ignore */ }
  .tw-one .tw1-summary .wp-block-button__link { padding: 0.7rem 1.1rem; }
  .tw-one .tw1-count { font-size: 1.125rem; }
}

/* the small list pill that follows you (made by the script; it floats) */
.tw-one .tw1-float {
  position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--tw-navy); color: var(--tw-whitewash); text-decoration: none; font-weight: 600; font-size: 1rem;
  box-shadow: 0 12px 32px -10px rgba(10, 27, 51, 0.45); /* floats over the page: taste-skill-ignore */
  transition: transform 260ms var(--ease-out), opacity 200ms ease, visibility 0s linear 260ms;
  transform: translateY(16px); opacity: 0; visibility: hidden;
}
.tw-one .tw1-float.is-on { transform: none; opacity: 1; visibility: visible; transition: transform 260ms var(--ease-out), opacity 200ms ease, visibility 0s; }
.tw-one .tw1-float:active { transform: scale(0.97); }
.tw-one .tw1-float b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: var(--tw-gold); color: var(--tw-navy); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.tw-one .tw1-float.is-bump b { animation: tw1-pop 320ms var(--ease-out); }
@keyframes tw1-pop { 40% { transform: scale(1.18); } }

/* ---------- 5. The close ---------- */
.tw-one .tw1-close { color: var(--tw-whitewash); padding-top: clamp(96px, 16vh, 190px) !important; padding-bottom: clamp(72px, 12vh, 140px) !important; }
.tw-one .tw1-close h2 { color: var(--tw-whitewash); font-weight: 400; font-size: clamp(2.5rem, 6vw, 5.75rem) !important; line-height: 1; letter-spacing: -0.035em; max-width: 21ch; text-wrap: balance; }
.tw-one .tw1-close__sub { font-size: var(--t-lead); line-height: 1.45; color: #c9d6e6; margin-top: 0.9em !important; max-width: 40ch; }
.tw-one .tw1-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 8vh, 80px) !important; }
.tw-one .tw1-cell { background: #1d3a63; border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 104px; box-sizing: border-box; }
.tw-one .tw1-cell p { color: var(--tw-whitewash); font-size: var(--t-lead); line-height: 1.35; }
.tw-one .tw1-cell .tw1-cell-label { font-size: 0.9375rem; color: #c9d6e6; }
.tw-one .tw1-cell a { color: var(--tw-whitewash); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.tw-one .tw1-cells .wp-block-buttons { display: flex; align-items: stretch; margin: 0 !important; }
.tw-one .tw1-cells .wp-block-button { flex: 1; display: flex; }
.tw-one .tw1-cells .wp-block-button__link { flex: 1; display: flex; align-items: center; justify-content: center; border-radius: var(--r); font-size: var(--t-lead); min-height: 104px; }
@media (max-width: 781px) { .tw-one .tw1-cells { grid-template-columns: 1fr; } .tw-one .tw1-cell, .tw-one .tw1-cells .wp-block-button__link { min-height: 84px; } }

/* ---------- Entrances (the script marks only what starts below the fold) ---------- */
.tw-one .tw1-pre { opacity: 0; transform: translateY(24px); }
.tw-one .tw1-pre.tw1-in { opacity: 1; transform: none; transition: opacity 520ms var(--ease-out), transform 640ms var(--ease-out); transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  .tw-one .tw1-pre { opacity: 1 !important; transform: none !important; }
  .tw-one *, .tw-one *::before { transition-duration: 0ms !important; animation: none !important; }
}

/* phones: the closing statement in two lines (after the base rule, so it wins) */
@media (max-width: 781px) { .tw-one .tw1-close h2 { font-size: clamp(1.9rem, 8.6vw, 3rem) !important; } }
@media (max-width: 400px) { .tw-one .tw1-areabar ul { padding: 0 6px; justify-content: space-between; } .tw-one .tw1-areabar a { padding: 0 6px; } }

/* ---------- Τι δεν προλαβαίνεις; The four areas as one to-do list (made by the script; without it the
   areas keep their rows and photographs) ---------- */
.tw-one .tw1-area.is-todo { background: var(--tw-whitewash) !important; padding-top: clamp(40px, 7vh, 72px) !important; padding-bottom: clamp(24px, 4vh, 40px) !important; }
#presence.is-todo { padding-top: clamp(80px, 13vh, 160px) !important; }
#admin.is-todo { padding-bottom: clamp(96px, 15vh, 180px) !important; }
.tw-one .tw1-area.is-todo > * + * { margin-top: 0 !important; }
.tw-one .tw1-todo-intro { margin-bottom: clamp(48px, 9vh, 104px) !important; }
.tw-one .tw1-todo-intro h2 { font-family: "Cardo", Georgia, serif; font-weight: 400; color: var(--tw-navy); font-size: clamp(2.75rem, 7.4vw, 7rem) !important; line-height: 0.98; letter-spacing: -0.035em; }
.tw-one .tw1-todo-intro > p { font-size: var(--t-lead) !important; line-height: 1.45; color: var(--ink-soft) !important; max-width: 40ch; margin-top: 0.8em !important; }
/* each area is a group on the list */
.tw-one .tw1-area.is-todo .tw1-area__head { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 8px !important; }
.tw-one .tw1-area.is-todo .tw1-area__head h2 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem) !important; color: var(--tw-sea); letter-spacing: -0.01em; line-height: 1.2; }
.tw-one .tw1-area.is-todo .tw1-area__head p { font-size: 0.9375rem !important; margin: 0 !important; max-width: none; }
.tw-one .tw1-area.is-todo .tw1-area__rows { display: grid; gap: clamp(24px, 4vh, 40px); }
.tw-one .tw1-area.is-todo .tw1-svc { display: block; }
.tw-one .tw1-area.is-todo .tw1-svc > h3 { margin: 0; font-size: inherit !important; line-height: inherit; }
/* a line of the list */
.tw-one .tw1-line {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 1.6vw, 20px);
  width: 100%; padding: clamp(10px, 1.6vh, 16px) 0; margin: 0;
  font: inherit; color: var(--tw-navy); text-align: left;
}
.tw-one .tw1-cb { display: grid; place-items: center; width: clamp(24px, 2.2vw, 32px); height: clamp(24px, 2.2vw, 32px); border-radius: 8px; box-sizing: border-box; border: 2.5px solid var(--tw-navy); color: var(--tw-navy); transition: background-color 220ms ease, border-color 220ms ease; }
.tw-one .tw1-cb svg { width: 70%; height: 70%; opacity: 0; transform: scale(0.6); transition: opacity 180ms ease, transform 300ms var(--ease-out); }
.tw-one .is-done .tw1-cb { background: var(--tw-gold); border-color: var(--tw-gold); }
.tw-one .is-done .tw1-cb svg { opacity: 1; transform: none; }
.tw-one .tw1-tt { font-family: "Cardo", Georgia, serif; font-weight: 400; font-size: clamp(1.75rem, 3.6vw, 3.5rem); line-height: 1.12; letter-spacing: -0.02em; min-width: 0; }

.tw-one .tw1-ours { font-size: 0.9375rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--tw-gold); color: var(--tw-navy); opacity: 0; transform: translateX(-10px); transition: opacity 220ms ease, transform 320ms var(--ease-out); }
.tw-one .is-done .tw1-ours { opacity: 1; transform: none; }
/* the service in full, always open under its line */
.tw-one .tw1-panel__in { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 320px); gap: 24px clamp(32px, 4vw, 56px); align-items: start; padding-left: calc(clamp(24px, 2.2vw, 32px) + clamp(12px, 1.6vw, 20px)); }
.tw-one .tw1-panel__in > .tw1-svc__text { padding-bottom: 28px; }
.tw-one .tw1-panel__in figure { margin: 4px 0 28px !important; width: 100%; max-width: none; justify-self: stretch; }
.tw-one .tw1-panel__in figure img { aspect-ratio: 4 / 3 !important; }
/* the close of the list */
.tw-one .tw1-todo-end { margin-top: clamp(48px, 9vh, 104px) !important; }
.tw-one .tw1-all { font-family: "Cardo", Georgia, serif; color: var(--tw-navy) !important; font-size: clamp(2.5rem, 6vw, 5.75rem) !important; line-height: 1 !important; letter-spacing: -0.035em; }
.tw-one .tw1-all__go { margin-top: 20px !important; font-size: var(--t-lead) !important; }
.tw-one .tw1-all__go a { color: var(--tw-navy); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
/* the countdown: under the title, then pinned while the list is read */
.tw-one .tw1-left-slot { margin-top: clamp(28px, 5vh, 48px) !important; }
.tw-one .tw1-left { display: flex; align-items: flex-end; gap: 16px; pointer-events: none; transition: opacity 300ms ease; }
.tw-one .tw1-left p { margin: 0 !important; }
.tw-one .tw1-left__n { font-family: "Cardo", Georgia, serif; font-size: clamp(5rem, 9vw, 8.5rem); line-height: 0.8; letter-spacing: -0.04em; color: var(--tw-gold); font-variant-numeric: tabular-nums lining-nums; }
.tw-one .tw1-left__n.is-tick { animation: tw1-tick 380ms var(--ease-out); }
@keyframes tw1-tick { 0% { transform: translateY(-10px); opacity: 0.4; } 100% { transform: none; opacity: 1; } }
.tw-one .tw1-left__l { font-size: 1rem; line-height: 1.35; color: var(--ink-soft); max-width: 12ch; padding-bottom: 6px; }
.tw-one .tw1-left.is-zero .tw1-left__l { color: var(--tw-navy); font-weight: 600; }
.tw-one .tw1-left.is-pinned { position: fixed; top: 36vh; z-index: 3; flex-direction: column; align-items: flex-start; gap: 10px; }
.tw-one .tw1-left.is-gone { opacity: 0; }
@media (max-width: 1023px) {
  .tw-one .tw1-left__n { font-size: clamp(4.5rem, 20vw, 6rem); }
  .tw-one .tw1-left.is-pinned { top: 62px; left: auto; right: var(--m); bottom: auto; flex-direction: row; align-items: center; gap: 8px; padding: 8px 16px 8px 14px; border-radius: 999px; background: var(--tw-navy); z-index: 35; }
  .tw-one .tw1-left.is-pinned .tw1-left__n { font-size: 1.375rem; line-height: 1; color: var(--tw-gold); }
  .tw-one .tw1-left.is-pinned .tw1-left__l { font-size: 0.9375rem; color: var(--tw-whitewash); max-width: none; padding: 0; white-space: nowrap; }
}
@media (min-width: 1024px) {
  .tw-one .tw1-area.is-todo { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(32px, 4vw, 64px); }
  .tw-one .tw1-area.is-todo > * { grid-column: 2; }
  .tw-one .tw1-area.is-todo > .tw1-todo-intro { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .tw-one .tw1-panel__in { grid-template-columns: 1fr; padding-left: 0; }
  .tw-one .tw1-panel__in figure { order: -1; margin: 0 0 4px !important; }
  .tw-one .tw1-ours { display: none; }
  .tw-one .tw1-line { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 599px) { .tw-one .tw1-tt { font-size: clamp(1.5rem, 7vw, 2rem); } }
/* phones: the always-open photos stay low, so the list stays short */
@media (max-width: 1023px) { .tw-one .tw1-panel__in figure img { aspect-ratio: 16 / 9 !important; } }

/* the add button reads «Προσθήκη», and «Προστέθηκε» once added */
.tw-one .tw1-add__on { display: none; }
.tw-one .tw1-add[aria-pressed="true"] .tw1-add__on { display: inline; }
.tw-one .tw1-add[aria-pressed="true"] .tw1-add__off { display: none; }

/* the checkbox is the visitor's: a real button (44px to tap), ticked by them or by «Προσθήκη» */
.tw-one .tw1-cb { position: relative; padding: 0; margin: 0; font: inherit; background: transparent; cursor: pointer; transition: background-color 220ms ease, border-color 220ms ease, transform 160ms var(--ease-out); }
.tw-one .tw1-cb::after { content: ""; position: absolute; inset: -10px; }
.tw-one .tw1-cb:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .tw-one .tw1-cb:hover { background: rgba(201, 162, 39, 0.18); } .tw-one .is-done .tw1-cb:hover { background: var(--tw-gold-soft); } }
