:root {
  --ink: #142536;
  --ink-soft: #516273;
  --blue: #116cab;
  --blue-bright: #23a5df;
  --blue-deep: #0b3f72;
  --blue-night: #072d52;
  --sky: #eaf6fc;
  --paper: #ffffff;
  --mist: #f4f7f9;
  --line: #dbe3e9;
  --red: #e31d2b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow: 0 24px 70px rgba(7, 45, 82, 0.16);
  --wrap: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.section {
  padding: clamp(86px, 10vw, 150px) 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: white;
  background: var(--blue-night);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: white;
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(20, 37, 54, 0.11);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: var(--wrap);
  min-height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  position: relative;
  z-index: 2;
  width: 190px;
}

.brand img {
  width: 100%;
  height: 66px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  transition: filter 220ms ease;
}

.site-header.scrolled .brand img,
.site-header.menu-active .brand img {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 0.91rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--blue-bright);
  transition: right 180ms ease;
}

.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta):focus-visible::after {
  right: 0;
}

.nav-cta {
  padding: 11px 17px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: white;
  border-color: var(--blue);
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  min-height: max(760px, 100svh);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--blue-night);
}

.hero-image,
.hero-shade,
.hero-sweep {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background: url("assets/lake-naret.jpg") center 44% / cover no-repeat;
  transform: scale(1.015);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 26, 47, 0.84) 0%, rgba(5, 26, 47, 0.52) 45%, rgba(5, 26, 47, 0.08) 78%),
    linear-gradient(0deg, rgba(5, 26, 47, 0.36), transparent 45%);
}

.hero-sweep {
  z-index: -1;
  inset: auto -24% -43% 34%;
  height: 78%;
  border: 1px solid rgba(88, 193, 238, 0.52);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-content {
  padding-top: 106px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #a9dcf5;
}

.hero h1,
.section h2,
.place-panel h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3.6rem, 7.5vw, 7.4rem);
}

.hero-copy {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.87rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease, color 170ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #0b5c96;
  border-color: #0b5c96;
}

.button-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: white;
  color: var(--blue-night);
}

.hero-contact {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 310px;
  padding: 24px 34px;
  color: white;
  background: var(--blue);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.hero-contact span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-contact strong {
  font-size: 1.04rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.25fr);
  gap: clamp(54px, 9vw, 130px);
  align-items: start;
}

.section h2,
.place-panel h2,
.contact h2 {
  font-size: clamp(2.7rem, 5vw, 5.3rem);
}

.intro-copy {
  max-width: 700px;
}

.intro-copy p {
  margin: 0 0 24px;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.regulatory-note {
  margin-top: 36px !important;
  padding: 18px 0 0 22px;
  border-left: 2px solid var(--blue-bright);
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.services {
  color: white;
  background: var(--blue-night);
}

.services .eyebrow {
  color: #7fc9ed;
}

.services-head {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}

.services-head > p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.66);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.service-card {
  min-width: 0;
  background: var(--blue-night);
}

.service-card[open] {
  background: #0d477e;
}

.service-card-wide {
  grid-column: 1 / -1;
}

.service-card summary {
  min-height: 156px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 25px;
  align-items: center;
  padding: 30px 34px;
  cursor: pointer;
  list-style: none;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-card summary:focus-visible {
  outline: 2px solid white;
  outline-offset: -6px;
}

.service-number {
  align-self: start;
  color: #72c5ee;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.service-card small {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-card strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
}

.service-plus {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.service-plus::before,
.service-plus::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 1px;
  background: white;
  transform: translate(-50%, -50%);
}

.service-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.service-card[open] .service-plus::after {
  transform: translate(-50%, -50%) rotate(0);
}

.service-body {
  max-width: 580px;
  padding: 0 34px 38px 88px;
  color: rgba(255, 255, 255, 0.77);
}

.service-body p {
  margin: 0 0 20px;
}

.service-body ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.service-body li {
  position: relative;
  padding-left: 18px;
}

.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 1px;
  background: #72c5ee;
}

.service-body-columns {
  max-width: none;
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 60px;
}

.place-section {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #d8e7ef;
}

.place-image {
  position: absolute;
  inset: 0;
  background: url("assets/locarno.jpg") center 46% / cover no-repeat;
}

.place-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 24, 43, 0.34), transparent 60%);
}

.place-panel {
  position: relative;
  width: min(650px, calc(100vw - 48px));
  margin: 0 0 -1px max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
  padding: clamp(44px, 6vw, 82px);
  color: white;
  background: rgba(11, 63, 114, 0.94);
  box-shadow: var(--shadow);
}

.place-panel .eyebrow {
  color: #92d3f2;
}

.place-panel p:not(.eyebrow) {
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.79);
}

.text-link {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.place-panel .text-link,
.text-link-light {
  color: white;
}

.values {
  background: var(--mist);
}

.values-intro {
  max-width: 760px;
  margin-bottom: 78px;
}

.values-intro > p:last-child {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.value-list {
  border-top: 1px solid #cbd7df;
}

.value-item {
  display: grid;
  grid-template-columns: 70px 0.7fr 1fr;
  gap: 34px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid #cbd7df;
}

.value-item > span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.value-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 400;
}

.value-item p {
  max-width: 580px;
  margin: 0;
  color: var(--ink-soft);
}

.history-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 10vw, 150px);
}

.history-heading {
  position: sticky;
  top: 130px;
  align-self: start;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 34px;
  padding: 0 0 55px;
}

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 48px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline time {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.84rem;
  font-weight: 750;
}

.timeline strong {
  display: block;
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
}

.contact {
  color: white;
  background: var(--blue);
  overflow: hidden;
}

.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(60px, 9vw, 130px);
}

.contact-shell::after {
  content: "";
  position: absolute;
  width: 740px;
  height: 420px;
  left: 45%;
  bottom: -350px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.contact .eyebrow {
  color: #c5ebfb;
}

.contact-main,
.contact-details {
  position: relative;
  z-index: 1;
}

.contact-main > p:not(.eyebrow) {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.button-light {
  color: var(--blue-deep);
  background: white;
  border-color: white;
}

.button-outline-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  color: var(--blue-deep);
  background: white;
  border-color: white;
}

.contact-details {
  display: grid;
  gap: 30px;
  align-content: start;
  padding-left: 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-details p,
.contact-details address {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
}

.contact-details a:not(.text-link) {
  display: block;
  color: white;
  text-decoration: none;
}

.contact-label {
  margin-bottom: 8px !important;
  color: #c5ebfb !important;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-link-light {
  margin-top: 12px;
}

.site-footer {
  padding: 44px 0;
  background: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.footer-brand {
  width: 130px;
}

.footer-brand img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.footer-inner > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.footer-meta a {
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  :root {
    --wrap: min(100% - 38px, 760px);
  }

  .header-inner {
    min-height: 80px;
  }

  .brand {
    width: 160px;
  }

  .brand img {
    height: 56px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    padding: 120px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    color: var(--ink);
    background: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav > a {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
  }

  .site-nav .nav-cta {
    margin-top: 10px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 750;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    background-position: 61% center;
  }

  .hero-content {
    padding-top: 82px;
    padding-bottom: 110px;
  }

  .hero-contact {
    left: 19px;
    right: auto;
    bottom: 18px;
    min-width: 0;
    padding: 17px 22px;
  }

  .intro-grid,
  .services-head,
  .history-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .service-body-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .value-item {
    grid-template-columns: 48px 0.75fr 1fr;
    gap: 20px;
  }

  .history-heading {
    position: static;
  }

  .contact-details {
    grid-template-columns: repeat(3, 1fr);
    padding: 34px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner > p {
    text-align: right;
  }

  .footer-meta {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  :root {
    --wrap: calc(100vw - 32px);
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15.6vw, 4.5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .services-head {
    gap: 28px;
    margin-bottom: 40px;
  }

  .service-card summary {
    min-height: 130px;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    padding: 25px 19px;
  }

  .service-card strong {
    font-size: 1.42rem;
  }

  .service-plus {
    width: 30px;
    height: 30px;
  }

  .service-body {
    padding: 0 20px 30px 52px;
  }

  .place-section {
    min-height: 660px;
    align-items: end;
  }

  .place-panel {
    width: calc(100vw - 32px);
    margin: 0 16px 16px;
    padding: 38px 28px;
  }

  .value-item {
    grid-template-columns: 42px 1fr;
    gap: 12px 16px;
  }

  .value-item p {
    grid-column: 2;
  }

  .timeline li {
    grid-template-columns: 70px 1fr;
    gap: 20px;
  }

  .timeline time {
    width: 64px;
    height: 64px;
  }

  .timeline li:not(:last-child)::before {
    left: 31px;
    top: 42px;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner > p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
