@import url("design-tokens.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.22;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 42px 68px;
  font-size: 15px;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 21px;
}
.nav { display: flex; align-items: center; gap: var(--space-nav-gap); }
.nav a { font-weight: 400; }
.nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
}
.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.language-active { font-weight: 500; }
.language-inactive { opacity: .58; }

.hero {
  min-height: 760px;
  display: grid;
  place-items: start center;
  padding: 205px 24px 132px;
}
.hero-inner {
  width: min(1280px, 100%);
  text-align: center;
  margin-top: 0;
}
.hero h1,
.steps h2,
.statement h2,
.contact h2,
.card h3 {
  font-family: var(--font-heading);
  margin: 0;
}
.hero h1,
.steps h2 {
  text-transform: uppercase;
}
.hero h1 {
  font-size: var(--hero-h1);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.055em;
}
.hero p {
  max-width: none;
  margin: 31px auto 36px;
  font-size: var(--hero-subtitle);
  line-height: 1.35;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  min-height: var(--button-height);
  padding: 0 var(--space-button-x);
  font-weight: 400;
  font-size: var(--button-text);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.button-dark { background: var(--ink); color: var(--white-soft); }
.button-light { background: #e7bd74; color: var(--ink); }

.statement {
  min-height: 700px;
  background-image: linear-gradient(90deg, rgba(37,33,31,.08), rgba(37,33,31,.03)), url("../assets/texture.jpg");
  background-size: cover;
  background-position: center 45%;
  display: flex;
  align-items: center;
}
.statement-overlay {
  width: min(var(--max), calc(100% - 90px));
  margin: 0 auto;
}
.statement h2 {
  color: white;
  font-size: clamp(42px, 4.9vw, 74px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.055em;
  text-transform: none;
  max-width: 930px;
}

.steps {
  padding: 136px var(--space-section-x) 108px;
  text-align: center;
}
.steps h2 {
  font-size: var(--section-heading);
  font-weight: 700;
  letter-spacing: -0.045em;
  margin-bottom: var(--space-heading-to-content);
}
.cards {
  width: min(var(--max), 100%);
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-card-gap);
}
.card {
  min-height: 156px;
  border-radius: var(--radius-lg);
  background: var(--sand-card);
  padding: 28px 28px;
  text-align: left;
}
.card h3 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.card p { margin: 0; font-size: var(--body-large); line-height: 1.42; max-width: 300px; }

.wave-separator {
  height: 120px;
  background: var(--cream);
  line-height: 0;
  overflow: hidden;
}
.wave-separator svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wave-separator path { fill: var(--sand); }

.contact {
  background: var(--sand);
  padding: 72px 68px 76px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 84px;
  align-items: start;
}
.contact-copy h2 {
  font-size: var(--section-heading);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -0.055em;
  text-transform: none;
  margin-bottom: 46px;
}
.contact-copy p {
  font-size: var(--body-large);
  line-height: 1.58;
  max-width: 470px;
  margin: 0 0 var(--space-paragraph);
}
.contact-form { max-width: 560px; width: 100%; }
.contact-form label {
  display: block;
  margin-bottom: 20px;
  font-size: var(--form-label);
  font-weight: 400;
}
.contact-form .full { font-size: var(--form-label); font-weight: 400; margin-bottom: 10px; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
input, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #2a2623;
  border-radius: 28px;
  background: var(--white-soft);
  min-height: 46px;
  padding: 12px 18px;
  font: var(--form-label) var(--font-body);
  color: var(--ink);
  outline: none;
}
input:focus, textarea:focus {
  border-color: #2a2623;
}
textarea { min-height: 132px; resize: vertical; border-radius: 28px; }
::placeholder { color: #7d8995; }

.footer {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 68px;
  background: var(--cream);
}
.footer p { font-size: 11px; margin: 0; }

@media (max-width: 820px) {
  .site-header { padding: 28px 24px; align-items: flex-start; }
  .nav { gap: 18px; font-size: 13px; flex-wrap: wrap; justify-content: flex-end; }
  .hero { min-height: 620px; padding-top: 170px; }
  .hero h1 { font-size: clamp(46px, 12vw, 72px); }
  .hero p { font-size: clamp(16px, 4.6vw, 20px); max-width: 340px; white-space: normal; }
  .statement { min-height: 440px; background-position: center; }
  .statement-overlay { width: calc(100% - 48px); }
  .statement h2 { font-size: clamp(38px, 10vw, 56px); }
  .steps { padding-inline: 24px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .contact { grid-template-columns: 1fr; padding: 64px 24px; gap: 42px; }
  .two-cols { grid-template-columns: 1fr; gap: 0; }
  .footer { padding: 0 24px; }
}

/* Services page */
.site-header-static {
  position: relative;
  inset: auto;
}
.services-hero {
  padding: 84px var(--space-section-x) 76px;
  text-align: center;
}
.services-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--section-heading);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 0 0 34px;
}
.availability-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  min-width: 300px;
  margin: 0;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: #a7f2ca;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.service-intro {
  width: min(var(--max), calc(100% - 136px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
  gap: 92px;
  align-items: start;
}
.service-copy h2,
.follow-up-service h2 {
  font-family: var(--font-heading);
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.service-copy h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  margin: 32px 0 9px;
}
.price {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 34px;
}
.service-copy ul {
  margin: 0 0 4px 18px;
  padding: 0;
}
.service-copy li,
.follow-up-service p,
.accordion-section p,
.accordion-section li {
  font-size: 17px;
  line-height: 1.5;
}
.service-copy li { margin-bottom: 4px; }
.service-image-wrap {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1.14;
  overflow: hidden;
}
.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.follow-up-service {
  width: min(var(--max), calc(100% - 136px));
  margin: 104px auto 0;
  max-width: 420px;
  transform: translateX(calc((var(--max) - 420px) / -2));
}
.follow-up-service h2 { margin-bottom: 28px; }
.follow-up-service p { margin: 0 0 20px; }
.accordion-section {
  width: min(var(--max), calc(100% - 136px));
  margin: 116px auto 0;
  padding-top: 64px;
  border-top: 1px solid var(--ink);
}
.accordion-group { display: block; }
.accordion-group summary {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  cursor: pointer;
}
.accordion-group summary::-webkit-details-marker { display: none; }
.accordion-group h2 {
  font-family: var(--font-heading);
  font-size: var(--section-heading);
  line-height: .98;
  letter-spacing: -0.055em;
  margin: 0;
}
.chevron {
  width: 20px;
  height: 20px;
  border-right: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 180ms ease;
}
details[open] .chevron { transform: rotate(45deg) translateY(-3px); }
details:not([open]) .chevron { transform: rotate(-45deg); }
.section-intro {
  margin: 28px 0 74px 74px;
  max-width: 420px;
}
.faq-item { margin: 0 0 58px 40px; }
.faq-item h3 {
  font-family: var(--font-body);
  color: #b48217;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 22px;
}
.faq-item p {
  margin: 0 0 18px;
  max-width: 1060px;
}
.sources-section { margin-bottom: 86px; }
.sources-section p { margin: 70px 0 0 40px; }
.source-link {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 820px) {
  .site-header-static { padding-bottom: 20px; }
  .services-hero { padding: 64px 24px 56px; }
  .availability-pill { min-width: 0; width: 100%; max-width: 320px; }
  .service-intro,
  .follow-up-service,
  .accordion-section {
    width: calc(100% - 48px);
  }
  .service-intro { grid-template-columns: 1fr; gap: 44px; }
  .follow-up-service { transform: none; max-width: none; margin-top: 72px; }
  .accordion-section { margin-top: 84px; padding-top: 44px; }
  .accordion-group summary { gap: 18px; }
  .section-intro, .faq-item, .sources-section p { margin-left: 0; }
  .section-intro { margin-bottom: 54px; }
}

/* v13 updates */
.statement-home {
  background-image: linear-gradient(90deg, rgba(37,33,31,.06), rgba(37,33,31,.01)), url("../assets/orb-shadow.jpg");
  background-size: cover;
  background-position: center center;
}
.statement-home .statement-overlay {
  transform: translateY(-10px);
}

.services-overview {
  width: min(var(--max), calc(100% - 136px));
  margin: 0 auto 104px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 92px;
  align-items: start;
}
.service-component {
  max-width: 470px;
}
.service-component h2 {
  font-family: var(--font-heading);
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.service-component h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  margin: 32px 0 9px;
}
.service-component ul {
  margin: 0 0 4px 18px;
  padding: 0;
}
.service-component li,
.service-component p {
  font-size: 17px;
  line-height: 1.5;
}
.service-component li { margin-bottom: 4px; }
.service-component p { margin: 0 0 20px; }
.service-component .price {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 34px;
}
.service-component-followup {
  justify-self: start;
}
.service-banner {
  width: 100%;
  height: 295px;
  margin: 0 0 96px;
  overflow: hidden;
}
.service-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.service-banner + .accordion-section {
  margin-top: 0;
}

@media (max-width: 820px) {
  .services-overview {
    width: calc(100% - 48px);
    grid-template-columns: 1fr;
    gap: 56px;
    margin-bottom: 72px;
  }
  .service-component { max-width: none; }
  .service-banner {
    height: 220px;
    margin-bottom: 72px;
  }
  .statement-home { background-position: center center; }
}


/* Why Sykli page */
.why-intro {
  width: min(var(--max), calc(100% - 136px));
  margin: 86px auto 0;
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(420px, 1.08fr);
  gap: 96px;
  align-items: start;
}
.why-copy h1 {
  font-family: var(--font-heading);
  font-size: var(--section-heading);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  margin: 110px 0 62px;
}
.why-copy h2 {
  font-family: var(--font-heading);
  font-size: 25px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 54px;
}
.why-copy p {
  font-size: var(--body-large);
  line-height: 1.5;
  margin: 0 0 28px;
  max-width: 560px;
}
.why-image-wrap {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1.14;
  overflow: hidden;
}
.why-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.why-accordion {
  margin-top: 116px;
  margin-bottom: 152px;
}
.behind-layout {
  display: grid;
  grid-template-columns: minmax(360px, .72fr) minmax(300px, .58fr);
  gap: 92px;
  margin: 72px 0 0 74px;
  align-items: start;
}
.behind-copy {
  max-width: 620px;
}
.behind-copy p {
  font-size: var(--body-large);
  line-height: 1.48;
  margin: 0 0 28px;
}
.background-list { margin-top: 84px; }
.background-list h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 32px;
}
.background-list p { margin-bottom: 30px; }
.behind-image-placeholder {
  width: 100%;
  min-height: 520px;
}
.footer-spacious { margin-top: 80px; }

@media (max-width: 820px) {
  .why-intro {
    width: calc(100% - 48px);
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
  }
  .why-copy h1 { margin: 54px 0 42px; }
  .why-copy h2 { margin-bottom: 36px; }
  .why-accordion {
    width: calc(100% - 48px);
    margin-top: 84px;
    margin-bottom: 84px;
  }
  .behind-layout {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-left: 0;
  }
  .behind-image-placeholder { display: none; }
}

/* v15 updates */
.service-banner { height: 299px; }

.date-field {
  position: relative;
  margin-bottom: 20px;
  font-size: var(--form-label);
}
.date-field > label {
  margin-bottom: 8px;
}
.date-input-wrap {
  position: relative;
  width: 100%;
}
.date-display {
  padding-right: 56px;
  cursor: pointer;
}
.calendar-trigger {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 6px;
  cursor: pointer;
}
.calendar-trigger svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.date-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 0;
  width: min(360px, 100%);
  background: var(--cream);
  border: 1px solid rgba(42, 38, 35, .55);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(42, 38, 35, .12);
  padding: 22px;
  font-family: var(--font-body);
  color: var(--ink);
}
.date-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.calendar-month {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.calendar-nav,
.calendar-actions button,
.calendar-day {
  font-family: var(--font-body);
}
.calendar-nav,
.calendar-actions button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  padding: 4px 8px;
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.calendar-weekdays {
  margin-bottom: 8px;
  font-size: 13px;
  opacity: .7;
}
.calendar-day {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
}
.calendar-day:hover,
.calendar-day:focus-visible {
  background: rgba(42, 38, 35, .08);
}
.calendar-day.is-outside {
  opacity: .32;
}
.calendar-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(42, 38, 35, .45);
}
.calendar-day.is-selected {
  background: var(--ink);
  color: var(--white-soft);
}
.calendar-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  border-top: 1px solid rgba(42, 38, 35, .18);
  padding-top: 14px;
}
.calendar-actions button {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-page {
  width: min(1500px, calc(100% - 136px));
  margin: 78px auto 118px;
  display: grid;
  grid-template-columns: minmax(460px, .92fr) minmax(460px, 1.08fr);
  gap: 94px;
  align-items: start;
}
.contact-page-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5vw, 82px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.055em;
  margin: 92px 0 38px;
  max-width: 720px;
}
.contact-page-copy p {
  font-size: var(--body-large);
  line-height: 1.58;
  max-width: 700px;
  margin: 0 0 var(--space-paragraph);
}
.contact-page-copy .contact-form {
  margin-top: 96px;
  max-width: 760px;
}
.contact-page-image {
  margin: 0;
  width: 100%;
  height: 960px;
  overflow: hidden;
}
.contact-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 820px) {
  .contact-page {
    width: calc(100% - 48px);
    grid-template-columns: 1fr;
    gap: 56px;
    margin-top: 48px;
    margin-bottom: 72px;
  }
  .contact-page-copy h1 {
    margin-top: 42px;
    font-size: clamp(42px, 11vw, 62px);
  }
  .contact-page-copy .contact-form { margin-top: 54px; }
  .contact-page-image { height: 420px; order: -1; }
  .date-popover { width: 100%; }
}


/* v16 refinements */
.services-hero h1 {
  text-transform: none;
}
.services-overview {
  align-items: start;
}
.service-component {
  align-self: start;
  padding-top: 0;
}
.service-component h2 {
  margin-top: 0;
}
.service-component-followup {
  align-self: start;
  justify-self: stretch;
}
.service-banner {
  height: 303px;
}
.service-banner img {
  object-position: center 46%;
}
.contact-copy h2 {
  text-transform: none;
}
.contact-page {
  width: min(var(--max), calc(100% - 136px));
  grid-template-columns: minmax(360px, .92fr) minmax(420px, 1.08fr);
  gap: 96px;
  margin-top: 86px;
  margin-bottom: 118px;
}
.contact-page-copy h1 {
  font-size: var(--section-heading);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 110px 0 54px;
  max-width: 720px;
}
.contact-page-copy p {
  max-width: 620px;
}
.contact-page-copy .contact-form {
  margin-top: 72px;
  max-width: 620px;
}
.contact-page-image {
  height: auto;
  aspect-ratio: 1 / 1.14;
}
.contact-page-image img {
  object-position: center center;
}

/* Design-system datepicker polish */
.date-popover {
  background: var(--cream);
  border: 1px solid rgba(42, 38, 35, .55);
  color: var(--ink);
}
.calendar-month {
  font-family: var(--font-heading);
  font-weight: 700;
}
.calendar-day.is-selected,
.calendar-day[aria-selected="true"] {
  background: var(--ink);
  color: var(--white-soft);
}
.calendar-day:hover,
.calendar-day:focus-visible {
  background: rgba(42, 38, 35, .08);
  outline: none;
}

@media (max-width: 820px) {
  .services-hero h1,
  .why-copy h1,
  .contact-page-copy h1 {
    font-size: clamp(34px, 10vw, 46px);
  }
  .contact-page {
    width: calc(100% - 48px);
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
  }
  .contact-page-copy h1 {
    margin: 54px 0 42px;
  }
  .contact-page-image {
    order: -1;
    aspect-ratio: 1 / 1.14;
    height: auto;
  }
}
