:root {
  --navy:#082f63;
  --navy-dark:#052044;
  --yellow:#f8bd2f;
  --orange:#d97835;
  --pink:#ce9298;
  --white:#fff;
  --ink:#0c2340;
  --muted:#677487;
  --line:#d9dde3;
  --max:1320px;
  --shadow:0 20px 60px rgba(5,32,68,.16)
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  font-family:Inter,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.6
}

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

a {
  color:inherit;
  text-decoration:none
}

.container {
  width:min(var(--max),calc(100% - 48px));
  margin:auto
}

.section {
  padding:88px 0
}

.eyebrow {
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--yellow);
  margin:0 0 16px
}

.eyebrow.orange {
  color:var(--orange)
}

.eyebrow.light {
  color:var(--yellow)
}

h1,h2,h3 {
  font-family:"Barlow Condensed",sans-serif;
  text-transform:uppercase;
  line-height:.96;
  margin:0
}

h1 {
  font-size:clamp(4.5rem,8vw,8.6rem);
  letter-spacing:-.035em
}

h2 {
  font-size:clamp(2.6rem,4vw,4.8rem);
  letter-spacing:-.02em
}

h3 {
  font-size:1.35rem
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 24px;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  border:0;
  cursor:pointer;
  transition:.25s
}

.button-yellow {
  background:var(--yellow);
  color:var(--navy-dark)
}

.button-yellow:hover {
  transform:translateY(-2px);
  filter:brightness(1.04)
}

.button-navy {
  background:var(--navy);
  color:#fff
}

.button-outline {
  border:1px solid rgba(255,255,255,.75);
  color:#fff
}

.text-link {
  font-weight:800;
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.04em
}

.text-link:after {
  content:" →"
}

.site-header {
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(8,47,99,.08)
}

.nav-wrap {
  height:92px;
  display:flex;
  align-items:center;
  gap:32px
}

.brand img {
  width:215px
}

.main-nav {
  margin-left:auto;
  display:flex;
  gap:25px;
  align-items:center
}

.main-nav a {
  font-size:.77rem;
  font-weight:800;
  text-transform:uppercase
}

.main-nav a:hover {
  color:var(--orange)
}

.menu-toggle {
  display:none;
  background:none;
  border:0;
  padding:8px
}

.menu-toggle span {
  display:block;
  width:25px;
  height:2px;
  background:var(--navy);
  margin:5px
}

.hero {
  min-height:780px;
  position:relative;
  display:grid;
  align-items:center;
  overflow:hidden
}

.hero-media {
  position:absolute;
  inset:0;
  background:url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=92') center/cover
}

.hero-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.9) 33%,rgba(255,255,255,.15) 63%,rgba(5,32,68,.08) 100%)
}

.hero-inner {
  position:relative;
  z-index:2
}

.hero-copy {
  width:min(630px,100%)
}

.hero-copy h1 {
  color:var(--navy);
  max-width:620px
}

.hero-copy h1:after {
  content:"";
  display:block;
  width:55px;
  height:4px;
  background:var(--yellow);
  margin:24px 0
}

.hero-lead {
  font-size:1.05rem;
  max-width:560px
}

.hero-actions {
  display:flex;
  gap:16px;
  margin-top:30px
}

.hero .button-outline {
  color:var(--navy);
  border-color:var(--navy)
}

.value-grid {
  display:grid;
  grid-template-columns:1.35fr repeat(4,1fr);
  gap:0
}

.value-intro {
  padding-right:34px
}

.value-intro p {
  color:var(--muted)
}

.value-card {
  padding:10px 28px;
  border-left:1px solid var(--line)
}

.value-card .icon {
  display:block;
  font-size:2.1rem;
  color:var(--navy);
  margin-bottom:20px
}

.value-card p {
  font-size:.89rem;
  color:var(--muted)
}

.stats {
  background:linear-gradient(90deg,var(--navy-dark),var(--navy));
  color:#fff;
  padding:35px 0
}

.stats-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr)
}

.stats-grid div {
  text-align:center;
  padding:8px 24px;
  border-right:1px solid rgba(255,255,255,.25)
}

.stats-grid div:last-child {
  border:0
}

.stats strong {
  display:block;
  font-family:"Barlow Condensed";
  font-size:3rem;
  color:var(--yellow);
  line-height:1
}

.stats span {
  display:block;
  text-transform:uppercase;
  font-size:.68rem;
  margin-top:10px
}

.standard {
  background:#f7f5f1
}

.standard-grid {
  display:grid;
  grid-template-columns:1.12fr repeat(4,1fr);
  gap:5px
}

.standard-intro {
  padding:12px 30px 0 0
}

.standard-intro p {
  color:var(--muted)
}

.standard-card {
  min-height:420px;
  display:flex;
  flex-direction:column
}

.standard-card img {
  height:225px;
  object-fit:cover
}

.standard-card div {
  flex:1;
  padding:22px
}

.standard-card p {
  font-size:.85rem;
  margin-bottom:0
}

.yellow {
  background:var(--yellow)
}

.orange-card {
  background:var(--orange);
  color:#fff
}

.pink {
  background:var(--pink)
}

.navy {
  background:var(--navy);
  color:#fff
}

.process-grid {
  display:grid;
  grid-template-columns:1.3fr repeat(4,1fr);
  gap:34px
}

.process-intro p {
  color:var(--muted)
}

.step {
  position:relative;
  padding-top:4px
}

.step span {
  font-family:"Barlow Condensed";
  font-weight:700;
  font-size:3.3rem;
  color:var(--yellow)
}

.step:nth-of-type(3) span {
  color:var(--orange)
}

.step:nth-of-type(4) span {
  color:var(--pink)
}

.step:nth-of-type(5) span {
  color:#91a4c1
}

.step p {
  font-size:.84rem;
  color:var(--muted)
}

.projects {
  background:var(--navy-dark);
  color:#fff;
  padding:70px 0 0
}

.projects-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  padding-bottom:30px
}

.project-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr)
}

.project-card {
  position:relative;
  min-height:380px;
  overflow:hidden
}

.project-card img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s
}

.project-card:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(5,32,68,.9),transparent 60%)
}

.project-card div {
  position:absolute;
  z-index:2;
  left:24px;
  bottom:22px
}

.project-card p {
  margin:6px 0 0;
  font-size:.84rem
}

.project-card:hover img {
  transform:scale(1.04)
}

.journal-grid {
  display:grid;
  grid-template-columns:1.2fr repeat(3,1fr);
  gap:22px
}

.journal-intro p {
  color:var(--muted)
}

.journal-card {
  border:1px solid var(--line);
  background:#fff;
  padding-bottom:22px
}

.journal-card img {
  height:230px;
  width:100%;
  object-fit:cover
}

.journal-card span,.journal-card h3,.journal-card a {
  display:block;
  margin-left:18px;
  margin-right:18px
}

.journal-card span {
  margin-top:16px;
  font-size:.72rem;
  color:var(--muted);
  text-transform:uppercase
}

.journal-card h3 {
  margin-top:8px
}

.journal-card a {
  margin-top:12px;
  font-weight:700;
  font-size:.75rem;
  text-transform:uppercase
}

.testimonial {
  background:linear-gradient(90deg,var(--navy-dark),var(--navy));
  color:#fff;
  padding:75px 0
}

.testimonial-inner {
  max-width:960px;
  text-align:center
}

.quote {
  font-size:5rem;
  color:var(--yellow);
  line-height:.4
}

.testimonial blockquote {
  font-family:"Barlow Condensed";
  font-size:clamp(2rem,3vw,3.4rem);
  line-height:1.05;
  margin:22px 0
}

.testimonial p {
  text-transform:uppercase;
  font-size:.75rem;
  color:var(--yellow)
}

.trust {
  padding:45px 0
}

.trust-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:22px
}

.trust-grid div {
  padding-left:18px;
  border-left:3px solid var(--yellow)
}

.trust strong,.trust span {
  display:block
}

.trust strong {
  text-transform:uppercase;
  font-size:.75rem
}

.trust span {
  font-size:.78rem;
  color:var(--muted);
  margin-top:7px
}

.contact {
  background:var(--navy);
  color:#fff
}

.contact-grid {
  display:grid;
  grid-template-columns:.9fr 1.5fr;
  gap:80px
}

.contact-copy p {
  color:#dce5f1
}

.contact-form {
  background:#fff;
  color:var(--ink);
  padding:34px;
  box-shadow:var(--shadow)
}

.field-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}

.contact-form label {
  display:block;
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
  margin-bottom:18px
}

.contact-form input,.contact-form select,.contact-form textarea {
  width:100%;
  margin-top:8px;
  padding:14px;
  border:1px solid var(--line);
  font:inherit;
  background:#fff
}

.site-footer {
  background:#041a37;
  color:#fff;
  padding:62px 0 18px
}

.footer-grid {
  display:grid;
  grid-template-columns:1.5fr repeat(3,1fr);
  gap:55px
}

.footer-logo {
  width:220px;
  background:#fff;
  padding:8px
}

.footer-grid p,.footer-grid a {
  display:block;
  color:#b8c3d2;
  font-size:.82rem;
  margin:8px 0
}

.footer-grid h3 {
  font-size:1rem;
  color:var(--yellow)
}

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.13);
  margin-top:38px;
  padding-top:18px;
  display:flex;
  justify-content:space-between;
  color:#91a1b5;
  font-size:.72rem
}

.whatsapp,.back-to-top {
  position:fixed;
  right:22px;
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  z-index:50;
  font-weight:800
}

.whatsapp {
  bottom:22px;
  background:#25d366;
  color:#fff
}

.back-to-top {
  bottom:82px;
  border:0;
  background:var(--yellow);
  color:var(--navy);
  opacity:0;
  pointer-events:none;
  transition:.25s
}

.back-to-top.show {
  opacity:1;
  pointer-events:auto
}

.reveal {
  opacity:0;
  transform:translateY(25px);
  transition:.7s ease
}

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

@media(max-width:1100px) {
  .nav-cta {
    display:none
  }
  .value-grid,.standard-grid,.process-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .value-intro,.standard-intro,.process-intro {
    grid-column:1/-1;
    margin-bottom:25px
  }
  .project-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .journal-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .journal-intro {
    grid-column:1/-1
  }
  .trust-grid {
    grid-template-columns:repeat(3,1fr)
  }
}

@media(max-width:820px) {
  .container {
    width:min(100% - 30px,var(--max))
  }
  .site-header {
    position:fixed;
    width:100%
  }
  .nav-wrap {
    height:76px
  }
  .brand img {
    width:175px
  }
  .menu-toggle {
    display:block;
    margin-left:auto
  }
  .main-nav {
    position:absolute;
    top:76px;
    left:0;
    right:0;
    background:#fff;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    padding:22px 30px;
    border-top:1px solid var(--line)
  }
  .main-nav.open {
    display:flex
  }
  .hero {
    min-height:760px;
    padding-top:76px
  }
  .hero-overlay {
    background:linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.68))
  }
  .hero-copy {
    padding-top:70px
  }
  .hero-actions {
    flex-direction:column;
    align-items:flex-start
  }
  .stats-grid {
    grid-template-columns:repeat(2,1fr);
    gap:25px
  }
  .stats-grid div {
    border:0
  }
  .value-grid,.standard-grid,.process-grid,.journal-grid,.contact-grid,.footer-grid {
    grid-template-columns:1fr
  }
  .value-card {
    border-left:0;
    border-top:1px solid var(--line);
    padding:26px 0
  }
  .standard-intro,.process-intro,.journal-intro {
    grid-column:auto
  }
  .standard-card {
    min-height:auto
  }
  .project-grid {
    grid-template-columns:1fr
  }
  .projects-head {
    align-items:flex-start;
    gap:24px;
    flex-direction:column
  }
  .trust-grid {
    grid-template-columns:1fr 1fr
  }
  .field-row {
    grid-template-columns:1fr
  }
  .footer-bottom {
    flex-direction:column;
    gap:10px
  }
  .section {
    padding:68px 0
  }
}

@media(max-width:520px) {
  h1 {
    font-size:4.1rem
  }
  .value-grid,.standard-grid,.process-grid {
    grid-template-columns:1fr
  }
  .stats-grid,.trust-grid {
    grid-template-columns:1fr
  }
  .hero-lead {
    font-size:.95rem
  }
  .contact-form {
    padding:24px
  }
  .project-card {
    min-height:320px
  }
}

/* Refined brand/header and image-led values layout */
.nav-wrap {
  height:86px
}

.brand {
  display:flex;
  align-items:center;
  align-self:stretch;
  flex:0 0 auto
}

.brand img {
  width:178px;
  max-height:74px;
  object-fit:contain;
  object-position:left center
}

.value-grid {
  display:grid;
  grid-template-columns:minmax(260px,.92fr) minmax(0,3.08fr);
  gap:0;
  align-items:stretch
}

.value-intro {
  padding:4px 42px 0 0;
  position:relative;
  z-index:2
}

.value-intro h2 {
  font-size:clamp(3.4rem,5.2vw,6.1rem);
  max-width:330px
}

.value-intro p {
  max-width:320px
}

.value-cards-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-left:1px solid var(--line);
  border-top:1px solid transparent
}

.value-card {
  padding:0;
  border:0;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  min-height:330px;
  display:grid;
  grid-template-rows:minmax(150px,1fr) 180px;
  background:#fff;
  overflow:hidden
}

.value-card:nth-child(-n+2) {
  border-top:0
}

.value-copy {
  padding:28px 34px 24px
}

.value-card .icon {
  display:block;
  font-size:2.2rem;
  color:var(--navy);
  margin-bottom:18px;
  line-height:1
}

.value-card h3 {
  font-size:1.45rem
}

.value-card p {
  font-size:.9rem;
  color:var(--muted);
  max-width:330px;
  margin-bottom:0
}

.value-card img {
  width:100%;
  height:180px;
  object-fit:cover;
  transition:transform .45s ease,filter .45s ease
}

.value-card:hover img {
  transform:scale(1.025);
  filter:saturate(1.05)
}

@media(max-width:1100px) {
  .value-grid {
    grid-template-columns:1fr
  }
  .value-intro {
    padding:0 0 34px;
    max-width:700px
  }
  .value-intro h2 {
    max-width:none
  }
  .value-cards-grid {
    border-left:0;
    border-top:1px solid var(--line)
  }
}

@media(max-width:820px) {
  .nav-wrap {
    height:74px
  }
  .brand img {
    width:145px;
    max-height:64px
  }
  .main-nav {
    top:74px
  }
  .value-cards-grid {
    grid-template-columns:1fr
  }
  .value-card {
    grid-template-rows:auto 210px;
    border-left:0
  }
  .value-card img {
    height:210px
  }
}


/* =========================================================
   Horizontal scroll story: Samui Modern Standard
   ========================================================= */
.horizontal-standard {
  position: relative;
  background: #f7f5f1;
}

.horizontal-sticky {
  position: sticky;
  top: 86px;
  height: calc(100vh - 86px);
  min-height: 640px;
  overflow: hidden;
}

.horizontal-track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.horizontal-panel {
  position: relative;
  flex: 0 0 min(82vw, 1120px);
  height: 100%;
  overflow: hidden;
}

.horizontal-intro {
  flex-basis: min(72vw, 920px);
  display: grid;
  align-items: center;
  padding: 8vw;
  background: #f7f5f1;
}

.horizontal-intro .horizontal-panel-copy {
  max-width: 680px;
}

.horizontal-intro h2 {
  font-size: clamp(4rem, 6vw, 7rem);
  max-width: 760px;
}

.horizontal-intro p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.05rem;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}

.scroll-cue span {
  font-size: 1.35rem;
  animation: horizontalCue 1.5s ease-in-out infinite;
}

@keyframes horizontalCue {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.horizontal-feature {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
}

.horizontal-image-wrap {
  height: 100%;
  overflow: hidden;
}

.horizontal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.horizontal-feature:hover .horizontal-image-wrap img {
  transform: scale(1.025);
}

.horizontal-feature .horizontal-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(34px, 5vw, 76px);
}

.horizontal-feature h3 {
  max-width: 420px;
  font-size: clamp(2.6rem, 4vw, 5.2rem);
  margin-top: 18px;
}

.horizontal-feature p {
  max-width: 400px;
  margin: 22px 0 0;
}

.horizontal-feature .button {
  align-self: flex-start;
  margin-top: 30px;
}

.panel-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.horizontal-progress {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(8, 47, 99, .12);
}

.horizontal-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@media (max-width: 820px), (prefers-reduced-motion: reduce) {
  .horizontal-standard {
    height: auto !important;
  }

  .horizontal-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .horizontal-track {
    display: block;
    width: auto;
    height: auto;
    transform: none !important;
  }

  .horizontal-panel,
  .horizontal-intro {
    width: auto;
    height: auto;
    min-height: 0;
  }

  .horizontal-intro {
    padding: 76px 15px 54px;
  }

  .horizontal-intro h2 {
    font-size: clamp(3.3rem, 15vw, 5.2rem);
  }

  .scroll-cue,
  .horizontal-progress {
    display: none;
  }

  .horizontal-feature {
    display: grid;
    grid-template-columns: 1fr;
  }

  .horizontal-image-wrap {
    height: 58vw;
    min-height: 300px;
    max-height: 520px;
  }

  .horizontal-feature .horizontal-panel-copy {
    min-height: 320px;
    padding: 38px 15px 46px;
    justify-content: center;
  }
}
