.service-landing {
  --landing-hero-serif: "Hero Junicode", Georgia, serif;
  --landing-section-serif: Junicode, Georgia, serif;
  --landing-hero-stroke: 1px;
  --landing-section-stroke: .5px;
  --landing-hero-leading: .94;
  --landing-section-leading: 1.1685;
  --landing-gap: clamp(14px, 2vw, 30px);
  --landing-radius: clamp(15px, 2vw, 30px);
  max-width: 1600px;
  padding-top: clamp(18px, 3vw, 48px);
}

html[lang="el"] .service-landing {
  --landing-hero-serif: "Hero STIX Two Text", Georgia, serif;
  --landing-section-serif: "Noto Serif", Georgia, serif;
  --landing-hero-stroke: .75px;
  --landing-section-stroke: .8px;
  --landing-hero-leading: 1.02;
  --landing-section-leading: 1.23;
}

.service-landing h1,
.service-landing h2 {
  font-weight: 400;
  font-synthesis: none;
}

.service-landing h2 {
  font-family: var(--landing-section-serif);
  line-height: var(--landing-section-leading);
  letter-spacing: -.025em;
  -webkit-text-stroke: var(--landing-section-stroke) currentColor;
}

.service-landing h1 {
  font-family: var(--landing-hero-serif);
  font-size: clamp(46px, 6.4vw, 102px);
  line-height: var(--landing-hero-leading);
  letter-spacing: -.035em;
  -webkit-text-stroke: var(--landing-hero-stroke) currentColor;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html[lang="el"] .service-landing h1 { font-size: clamp(42px, 5.6vw, 90px); }

.service-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  margin-top: clamp(22px, 3vw, 38px);
}

.service-landing__button,
.service-landing__jump {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  box-sizing: border-box;
  color: inherit;
  font-weight: 600;
  font-size: 15px;
}

.service-landing__button {
  justify-content: space-between;
  border-radius: 100px;
  padding: 11px 17px;
  background: var(--landing-button, var(--proothisis-ink));
  color: var(--landing-button-text, var(--proothisis-page));
  text-decoration: none;
}

.service-landing__jump { text-underline-offset: .28em; }
.service-landing__button span { font-size: 1.15em; }
.service-landing__button:hover { opacity: .86; }
.service-landing__jump:hover { text-decoration-thickness: 2px; }
.service-landing :is(a, summary):focus-visible {
  outline: 2px solid var(--landing-focus, var(--proothisis-ink));
  outline-offset: 4px;
}

.website-masthead {
  --landing-button: #f6eee1;
  --landing-button-text: #142e3d;
  --landing-focus: #f6eee1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: clamp(460px, 44vw, 650px);
  overflow: hidden;
  border-radius: var(--landing-radius);
  isolation: isolate;
  background: #0b344b;
  color: #fbf5ec;
}

.website-masthead__copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(28px, 4.2vw, 72px);
  padding-right: 0;
}

.website-masthead__copy > p,
.eshop-masthead__copy > p {
  max-width: 36ch;
  margin: clamp(14px, 2.1vw, 28px) 0 0;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.53;
  text-wrap: pretty;
}

.website-masthead__copy > p { color: #e1e9e9; }

.website-masthead__art {
  position: relative;
  min-width: 0;
  margin: 0;
}

.website-masthead__art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.website-masthead__art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b344b, transparent 25%);
  content: "";
  pointer-events: none;
}

.service-landing--eshops {
  --landing-button: #67362e;
  --landing-button-text: #fff4e9;
}

html[data-hero-theme="dark"] .service-landing--eshops {
  --landing-button: #efd1b9;
  --landing-button-text: #38221c;
}

.eshop-masthead__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, .85fr);
  align-items: end;
  gap: 18px clamp(24px, 5vw, 100px);
  margin: clamp(14px, 2.8vw, 45px) 0 clamp(24px, 4vw, 64px);
}

.eshop-masthead__copy > p {
  margin-top: 0;
  color: var(--proo-secondary);
}

.eshop-masthead__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(7px, 1.1vw, 16px);
}

.eshop-masthead__gallery figure {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: var(--landing-radius);
}

.eshop-masthead__window { aspect-ratio: 1.64; background: #383836; }
.eshop-masthead__shelf { background: #d6cfca; }

.eshop-masthead__gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eshop-masthead__window img { object-position: 50% 57%; }
.eshop-masthead__shelf img { object-position: 55% 58%; }

.service-landing .proothisis-block-content {
  margin-top: clamp(48px, 7vw, 108px);
}

.service-landing .proothisis-section { scroll-margin-top: 100px; }

.service-landing .proothisis-service-brief h2 {
  margin-top: 0;
  font-size: clamp(34px, 4vw, 62px);
}

.service-landing .proothisis-service-brief p + p { margin-top: 1em; }
.service-landing .proothisis-service-brief .wp-block-columns { margin-top: 0; }

.service-landing--websites .proothisis-scope .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--landing-gap);
}

.service-landing--websites .proothisis-scope .wp-block-column {
  border-top: 2px solid #4f7b94;
  border-radius: 0;
  background: none;
  padding: 13px 0 0;
}

.service-landing--eshops .proothisis-scope .wp-block-column {
  border: 1px solid var(--proo-border);
  border-radius: var(--landing-radius);
  padding: clamp(16px, 2vw, 26px);
}

.service-landing .proothisis-capability-visual { margin-block: 0 22px; }
.service-landing .proothisis-capability-visual img { border-radius: 9px; }

.service-landing__next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 30px;
  border-radius: var(--landing-radius);
  margin-top: 18px;
  padding: clamp(26px, 4.4vw, 64px);
}

.service-landing--websites .service-landing__next {
  --landing-button: #f6eee1;
  --landing-button-text: #142e3d;
  --landing-focus: #f6eee1;
  background: #0b344b;
  color: #fbf5ec;
}

.service-landing--eshops .service-landing__next { background: var(--proo-surface); }
.service-landing__next h2 { margin: 0; }
.service-landing__next .service-landing__button { flex-shrink: 0; }

@media (max-width: 1000px) {
  .website-masthead__copy { padding-left: clamp(23px, 3.7vw, 40px); }
  .eshop-masthead__intro { align-items: center; }
}

@media (max-width: 760px) {
  .website-masthead,
  .eshop-masthead__intro { grid-template-columns: minmax(0, 1fr); }
  .website-masthead { min-height: 0; }
  .website-masthead__copy { padding: 27px clamp(19px, 5vw, 30px) 14px; }
  .website-masthead__art { aspect-ratio: 1.42; }
  .website-masthead__art::after { background: linear-gradient(#0b344b, transparent 22%); }
  .eshop-masthead__intro { margin-top: 6px; }
  .eshop-masthead__gallery { grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); }
  .eshop-masthead__window { aspect-ratio: 1.06; }
  .eshop-masthead__window img { object-position: 49% 54%; }
  .service-landing--websites .proothisis-scope .wp-block-columns { grid-template-columns: minmax(0, 1fr); }
  .service-landing__next { align-items: flex-start; flex-direction: column; }
}
