/* ==========================================================================
   Hotama — Landing page
   Tokens come from the Hotama logo: navy #1C2D41, cyan #00AFBF, teal #009A98.
   #007F86 is a deepened brand teal so white button text passes WCAG AA.
   ========================================================================== */

:root {
  --ink: #1C2D41;
  --slate: #5B6878;
  --slate-2: #4E5D6E;
  --cta: #007F86;
  --cta-dark: #00616A;
  --cyan: #00AFBF;
  --teal: #009A98;
  --mist: #E3F6F8;
  --paper: #F2F6F7;
  --tile: #F4F8F9;
  --line: #D6E3E6;
  --line-2: #CFE0E4;
  --white: #FFFFFF;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 9vw, 128px);
  --glow: 0 0 0 6px rgba(0, 175, 191, 0.14), 0 14px 34px rgba(0, 175, 191, 0.45);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--cta); }
a:hover { color: var(--cta-dark); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 10px; }
input, textarea, button { font: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 30px; border-radius: 999px; border: 0;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--cta); color: var(--white); box-shadow: var(--glow); }
.btn--primary:hover { background: var(--cta-dark); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { color: var(--cta); border-color: var(--cta); }
.btn--dark { min-height: 44px; padding: 0 22px; font-size: 15px; background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #0F1C2C; color: var(--white); }
.btn--light { min-height: 48px; padding: 0 24px; font-size: 15px; background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--mist); color: var(--ink); }
.btn--sm { min-height: 48px; padding: 0 24px; font-size: 15px; }
.btn--block { width: 100%; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  padding-inline: clamp(12px, 3vw, 32px);
}
.nav {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--white); border-radius: 999px; padding: 10px 10px 10px 24px;
  box-shadow: 0 1px 2px rgba(28, 45, 65, 0.06), 0 12px 32px rgba(28, 45, 65, 0.08);
}
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
.nav__links a { color: var(--ink); text-decoration: none; }
.nav__links a:hover { color: var(--cta); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid #D5E3E7; background: var(--white); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-panel {
  max-width: 1280px; margin: 8px auto 0; background: var(--white); border-radius: 24px;
  padding: 12px; box-shadow: 0 12px 32px rgba(28, 45, 65, 0.12);
}
.nav-panel a {
  display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px;
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.nav-panel a:hover { background: var(--paper); }
.nav-panel .btn { margin-top: 8px; width: 100%; justify-content: center; color: var(--white); }

/* Hero ------------------------------------------------------------------ */
.hero {
  background: linear-gradient(180deg, #C9EDF2 0%, #E3F6F8 34%, #F6FCFD 62%, #FFFFFF 82%);
  padding: clamp(150px, 15vw, 196px) 0 72px;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.8); border: 1px solid #C6E3E8; font-size: 14px;
}
.badge img { height: 22px; width: auto; }
.badge strong { font-weight: 700; }
.hero__title {
  margin-top: 28px; max-width: 14ch;
  font-size: clamp(46px, 6.6vw, 92px); font-weight: 700; line-height: 1; letter-spacing: -0.045em;
}
.hero__title .serif { display: block; font-size: 1.16em; line-height: 0.98; letter-spacing: -0.02em; }
.hero__lead { margin-top: 28px; max-width: 600px; font-size: 19px; line-height: 1.6; color: var(--slate-2); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero__strip { --s: 1; margin-top: clamp(56px, 7vw, 88px); display: flex; justify-content: center; overflow: hidden; }
.hero__track { display: flex; align-items: center; gap: calc(20px * var(--s)); flex: none; }
.shot { flex: none; object-fit: cover; border-radius: calc(24px * var(--s)); }
.shot--wide  { width: calc(260px * var(--s)); height: calc(210px * var(--s)); }
.shot--tall  { width: calc(210px * var(--s)); height: calc(260px * var(--s)); }
.shot--laptop{ width: calc(320px * var(--s)); height: calc(232px * var(--s)); }
.shot--hero  { width: calc(236px * var(--s)); height: calc(312px * var(--s)); }

/* The one orchestrated moment: the portfolio strip rises in on load. */
@media (prefers-reduced-motion: no-preference) {
  .shot { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__track .shot:nth-child(1) { animation-delay: .30s; }
  .hero__track .shot:nth-child(2) { animation-delay: .22s; }
  .hero__track .shot:nth-child(3) { animation-delay: .14s; }
  .hero__track .shot:nth-child(4) { animation-delay: .06s; }
  .hero__track .shot:nth-child(5) { animation-delay: .14s; }
  .hero__track .shot:nth-child(6) { animation-delay: .22s; }
  .hero__track .shot:nth-child(7) { animation-delay: .30s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Clients --------------------------------------------------------------- */
.clients { padding: 56px 0 24px; }
.clients__lead { font-size: 15px; color: var(--slate); text-align: center; margin-bottom: 32px; }
.logo-wall {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.logo-wall li {
  height: 112px; border-radius: 18px; background: var(--tile);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.logo-wall img { height: var(--h, 40px); width: auto; max-width: 88%; object-fit: contain; opacity: 0.78; }
.clients__more { margin-top: 32px; text-align: center; font-size: 17px; }
.clients__more strong { font-weight: 700; }

/* About ----------------------------------------------------------------- */
.about { padding-block: var(--section-y); }
.about__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px 48px; }
.about__label { padding-top: 10px; }
.about__label h2 { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.about__label img { height: 18px; width: auto; }
.about__body { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.about__statement {
  max-width: 30em; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.32;
  font-weight: 500; letter-spacing: -0.02em;
}
.about__cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 48px;
  font-size: 16px; line-height: 1.7; color: var(--slate);
}
.about__photo img {
  width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 40%; border-radius: 28px;
}
.about__photo figcaption { margin-top: 12px; font-size: 14px; color: var(--slate); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat { border-left: 1px solid var(--line); padding-left: 24px; }
.stat__num { font-size: clamp(48px, 5vw, 68px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stat__label { margin-top: 12px; font-size: 15px; color: var(--slate); }

/* Statement band -------------------------------------------------------- */
.band-wrap { padding-inline: clamp(12px, 2vw, 24px); }
.band {
  position: relative; overflow: hidden; max-width: 1360px; margin: 0 auto; border-radius: 36px;
  background: linear-gradient(135deg, #00535B 0%, #007079 45%, #009A98 100%);
  padding: clamp(56px, 8vw, 112px) clamp(28px, 7vw, 104px);
}
.band__glow {
  position: absolute; right: -120px; bottom: -160px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 175, 191, 0.55) 0%, rgba(0, 175, 191, 0) 70%);
}
.band__owl { position: absolute; right: -40px; bottom: -70px; width: 480px; height: auto; opacity: 0.1; }
.band__quote {
  position: relative; max-width: 920px; margin: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.55); padding-left: clamp(20px, 3vw, 36px);
  color: var(--white); font-size: clamp(30px, 3.9vw, 54px); line-height: 1.14; font-weight: 500; letter-spacing: -0.025em;
}

/* Section heads --------------------------------------------------------- */
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px 48px; margin-bottom: 48px;
}
.section-title { font-size: clamp(36px, 4vw, 54px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
.section-head p { max-width: 400px; font-size: 16px; line-height: 1.65; color: var(--slate); }

/* Services -------------------------------------------------------------- */
.services { padding-block: var(--section-y); }
.services .section-title { max-width: 12ch; }
.services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service {
  border-radius: 20px; background: var(--paper); border: 1px solid transparent;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service.is-open { background: var(--white); border-color: #CDE4E8; box-shadow: 0 10px 30px rgba(28, 45, 65, 0.07); }
.service__btn {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: none; border: 0; border-radius: 20px; text-align: left; cursor: pointer; color: var(--ink);
}
.service__icon { width: 36px; height: 36px; flex: none; transition: width .2s ease, height .2s ease; }
.service.is-open .service__icon { width: 40px; height: 40px; }
.service__title { font-size: 17px; font-weight: 500; }
.service.is-open .service__title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.service__panel { padding: 0 20px 22px 74px; }
.service__desc { font-size: 15.5px; line-height: 1.65; color: var(--slate-2); }
.service__example { margin-top: 14px; font-size: 14px; color: var(--slate); }
.service__example strong { color: var(--ink); font-weight: 600; }

.services__media { position: relative; min-height: 560px; border-radius: 28px; overflow: hidden; background: var(--mist); }
.services__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .3s ease;
}
.services__media img.is-fading { opacity: 0; }
.chip {
  position: absolute; left: 20px; bottom: 20px; max-width: min(420px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.94); border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(28, 45, 65, 0.12);
}
.chip__title { font-size: 16px; font-weight: 600; }
.chip__meta { margin-top: 4px; font-size: 14px; color: var(--slate); }

/* Projects -------------------------------------------------------------- */
.projects { padding-bottom: var(--section-y); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 20px; }
.bento + .bento { margin-top: 40px; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }
.span-12 { grid-column: span 12; }
.work { display: flex; flex-direction: column; gap: 16px; }
.work img { width: 100%; height: var(--img-h, 300px); object-fit: cover; border-radius: 24px; }
.work__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.work__meta { margin-top: 4px; font-size: 15px; color: var(--slate); }

.more {
  background: var(--ink); color: var(--white); border-radius: 24px; padding: clamp(28px, 3.4vw, 44px);
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 56px;
}
.more__intro { flex: 1 1 280px; max-width: 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.more__title { font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.more__text { margin-top: 10px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.74); }
.more__list {
  flex: 2 1 420px; margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px;
}
.pill {
  padding: 8px 14px; border-radius: 999px; font-size: 14px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Featured case --------------------------------------------------------- */
.case { background: var(--paper); padding-block: clamp(80px, 9vw, 120px); }
.case__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 24px; align-items: stretch;
}
.case__text { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-right: clamp(0px, 2vw, 24px); }
.case__title { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; }
.case__lead { font-size: 16.5px; line-height: 1.7; color: var(--slate-2); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; }
.checklist li { display: flex; align-items: center; gap: 12px; }
.checklist svg { flex: none; }
.also { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.also img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
.also__label { font-size: 14px; color: var(--slate); }
.also__text { margin-top: 2px; font-size: 15.5px; }
.also__text strong { font-weight: 600; }
.case__image { width: 100%; height: 100%; min-height: 480px; object-fit: cover; border-radius: 28px; }
.case__card {
  background: var(--white); border-radius: 28px; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.case__card > img { height: 52px; width: auto; align-self: flex-start; }
.facts { display: flex; flex-direction: column; gap: 20px; }
.facts dt { font-size: 14px; color: var(--slate); }
.facts dd { margin-top: 4px; font-size: 16px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.tag { padding: 6px 12px; border-radius: 999px; background: var(--mist); color: #00535B; font-size: 13.5px; font-weight: 600; }

/* CTA ------------------------------------------------------------------- */
.cta { padding-block: var(--section-y); }
.cta__inner {
  position: relative; min-height: 520px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.cta__title { max-width: 15ch; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; }
.cta__lead { margin-top: 22px; max-width: 460px; font-size: 17px; line-height: 1.6; color: var(--slate); }
.cta .btn { margin-top: 32px; padding: 0 32px; }
.float { position: absolute; object-fit: cover; border-radius: 22px; }
.float--1 { left: 2%; top: 4%; width: 150px; height: 124px; }
.float--2 { left: 8%; bottom: 2%; width: 156px; height: 156px; }
.float--3 { right: 6%; top: 0; width: 124px; height: 124px; }
.float--4 { right: 1%; bottom: 10%; width: 176px; height: 136px; }

/* Contact + footer ------------------------------------------------------ */
.contact {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF9FA 40%, #DDF3F6 100%);
  padding-top: clamp(80px, 9vw, 120px);
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 28px; }
.contact__title { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; }
.contact__title .serif { display: block; font-size: 1.12em; letter-spacing: -0.015em; }
.contact__lead { max-width: 440px; font-size: 17px; line-height: 1.65; color: var(--slate-2); }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list li.is-top { align-items: flex-start; }
.contact-list a { color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.55; }
.contact-list a:hover { color: var(--cta); }
.contact-list .strong { font-weight: 600; }
.contact-list li.is-top a { padding-top: 10px; }
.icon-circle {
  flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--white);
  border: 1px solid #CDE4E8; display: inline-flex; align-items: center; justify-content: center; color: var(--cta);
}

.form {
  background: var(--white); border-radius: 28px; padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 1px 2px rgba(28, 45, 65, 0.05), 0 20px 48px rgba(28, 45, 65, 0.08);
  display: flex; flex-direction: column; gap: 18px;
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--slate); }
.field input, .field textarea {
  width: 100%; border: 1px solid #CBDADE; border-radius: 14px; background: var(--white);
  color: var(--ink); font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input { min-height: 50px; padding: 0 16px; }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #7A8794; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(0, 175, 191, 0.18); }
.field.has-error input, .field.has-error textarea { border-color: #B42318; }
.field__error { font-size: 13.5px; color: #B42318; }
.form .btn--primary { box-shadow: 0 0 0 6px rgba(0, 175, 191, 0.12), 0 12px 28px rgba(0, 175, 191, 0.35); }
.form__note { font-size: 13.5px; color: var(--slate); text-align: center; }

.footer {
  max-width: var(--container); margin: clamp(72px, 8vw, 112px) auto 0;
  padding: 40px var(--gutter) clamp(32px, 4vw, 56px);
}
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; border-top: 1px solid #C7E3E8; padding-top: 40px; }
.footer__brand { max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { height: 28px; width: auto; align-self: flex-start; }
.footer__brand p { font-size: 15px; line-height: 1.65; color: var(--slate-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; font-weight: 500; align-items: flex-start; }
.footer__links a { color: var(--ink); text-decoration: none; }
.footer__links a:hover { color: var(--cta); }
.footer__copy { margin-top: 40px; font-size: 14px; color: var(--slate-2); }

/* Section reveal ---------------------------------------------------------
   Only active when JS runs (html.js), so content never hides without it.
   Elements with [data-reveal], and each child of [data-reveal-group], rise in
   as they enter the viewport; items entering together are staggered in JS. */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity .8s cubic-bezier(.2, .7, .2, 1),
    transform .8s cubic-bezier(.2, .7, .2, 1),
    background-color .25s ease, color .2s ease, border-color .25s ease, box-shadow .25s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="scale"] { transform: translateY(24px) scale(.97); }
.js [data-reveal].is-revealed,
.js [data-reveal-group] > .is-revealed { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .about__grid, .services__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .about__label { padding-top: 0; }
  .case__grid { grid-template-columns: minmax(0, 1fr); }
  .case__image { min-height: 360px; }
  .bento > * { grid-column: span 12; }
  .float { display: none; }
  .cta__inner { min-height: 0; }
  .services__media { min-height: 420px; }
}
@media (max-width: 760px) {
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall li { height: 96px; }
}
@media (max-width: 640px) {
  .nav { padding-left: 18px; }
  .nav__cta { display: none; }
  .hero__strip { --s: 0.66; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .service__panel { padding-left: 20px; }
  .work img { height: min(var(--img-h, 300px), 320px); }
  .band { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
