/* Pepper Hospitality — v3 standalone implementation */

:root {
  --bg: #FAF7F1;
  --bg-alt: #F2EDE3;
  --bg-alt-2: #F4EFE6;
  --text: #1B1B19;
  --text-soft: #57564F;
  --text-softer: #6B695F;
  --text-muted: #4B4A45;
  --text-faint: #8A887E;
  --text-faint-2: #A79878;
  --accent: #8C6C41;
  --accent-dark: #6E5432;
  --accent-light: #D6B888;
  --accent-lighter: #C39A5C;
  --border: #E4DCCC;
  --border-soft: #E0D7C5;
  --border-input: #DED4C0;
  --border-strong: #C9BCA4;
  --dark: #1B1B19;
  --dark-bg-alt: #E4DCCC;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

::selection { background: #E6DAC6; }

.serif { font-family: 'Cormorant Garamond', serif; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes revealUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-9px) rotate(-3deg); } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-11px) rotate(4deg); } }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--accent); }

.brand {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--text);
  text-align: center;
}

.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 23px; letter-spacing: 0.06em; }
.brand-sub { font-size: 8.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-right a { color: var(--text-muted); }
.nav-right a:hover:not(.btn-enquire) { color: var(--accent); }

.btn-enquire {
  padding: 11px 24px;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: background 200ms ease, color 200ms ease;
}
.btn-enquire:hover { background: var(--accent); color: var(--bg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 4px clamp(20px, 5vw, 64px) 12px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a.mobile-menu-cta { color: var(--accent); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-right a:not(.btn-enquire) { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  justify-items: center;
  background: var(--bg-alt-2);
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  animation: rise 1s ease-out both;
}

.hero-cta {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vw, 44px);
  transform: translateX(-50%);
  padding: 16px 38px;
  background: var(--dark);
  color: var(--bg);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
  transition: background 200ms ease;
}
.hero-cta:hover { background: var(--accent); color: var(--bg); }

/* ---------- About ---------- */

.about {
  padding: clamp(64px, 11vh, 128px) clamp(20px, 6vw, 80px);
  display: grid;
  justify-items: center;
  text-align: center;
}

.about-inner {
  max-width: 780px;
  animation: revealUp 0.9s ease-out both;
  animation-timeline: view();
  animation-range: entry 4% cover 26%;
}

.about-lead {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(22px, 2.9vw, 34px);
  line-height: 1.5;
  text-wrap: pretty;
}

.about-body {
  margin: 26px auto 0;
  max-width: 600px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-soft);
  text-wrap: pretty;
}

/* ---------- Focus / Services ---------- */

.focus {
  padding: clamp(56px, 9vh, 110px) clamp(20px, 6vw, 80px);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.section-head h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.14;
}

.section-head p {
  margin: 0;
  max-width: 340px;
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-softer);
  text-wrap: pretty;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
}

.focus-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-soft);
}

.focus-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 4px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  color: var(--text-softer);
  transition: color 300ms ease;
}

.focus-item .no {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--text-faint-2);
  transition: color 300ms ease;
}

.focus-item .title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

.focus-item .arrow {
  font-size: 13px;
  opacity: 0;
  transition: opacity 300ms ease;
}

.focus-item.active { color: var(--text); }
.focus-item.active .no { color: var(--accent); }
.focus-item.active .arrow { opacity: 1; }

.focus-panel {
  position: relative;
  min-height: clamp(320px, 42vh, 470px);
  background: var(--dark-bg-alt);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 600ms ease;
}

.focus-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,27,25,0) 30%, rgba(27,27,25,0.82) 100%);
}

.focus-panel-copy {
  position: absolute;
  left: clamp(20px, 3vw, 36px);
  right: clamp(20px, 3vw, 36px);
  bottom: clamp(22px, 3vw, 34px);
  color: var(--bg);
}

.focus-panel-copy .no {
  margin: 0 0 10px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--accent-light);
}

.focus-panel-copy .title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
}

.focus-panel-copy .body {
  margin: 12px 0 0;
  max-width: 420px;
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(250, 247, 241, 0.88);
  text-wrap: pretty;
}

.focus-panel-copy .link {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  border-bottom: 1px solid rgba(250, 247, 241, 0.5);
  padding-bottom: 5px;
  transition: color 200ms ease, border-color 200ms ease;
}
.focus-panel-copy .link:hover { color: var(--accent-light); border-color: var(--accent-light); }

/* ---------- Approach ---------- */

.approach {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;
}

.approach-media {
  min-height: clamp(320px, 46vh, 520px);
  background-color: var(--dark-bg-alt);
  background-size: cover;
  background-position: center;
}

.approach-copy {
  display: grid;
  align-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px);
  animation: revealUp 0.9s ease-out both;
  animation-timeline: view();
  animation-range: entry 4% cover 24%;
}

.approach-copy h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.18;
  text-wrap: balance;
}

.approach-copy p.lead {
  margin: 22px 0 0;
  max-width: 520px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-soft);
  text-wrap: pretty;
}

.principles {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}

.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
}

.principle .no {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--accent);
}

.principle p {
  margin: 0;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- Experiences ---------- */

.experiences {
  padding: clamp(56px, 9vh, 110px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.experiences .section-head {
  padding: 0 clamp(20px, 6vw, 80px);
  margin-bottom: clamp(28px, 3.5vw, 46px);
}

.rail-controls { display: flex; gap: 8px; }

.rail-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.rail-btn:hover { background: var(--dark); color: var(--bg); border-color: var(--dark); }

.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px clamp(20px, 6vw, 80px) 26px;
  scroll-snap-type: x mandatory;
}

.rail::-webkit-scrollbar { height: 2px; }
.rail::-webkit-scrollbar-thumb { background: var(--border-strong); }
.rail::-webkit-scrollbar-track { background: var(--border); }

.experience-card {
  position: relative;
  flex: 0 0 clamp(230px, 24vw, 320px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  scroll-snap-align: start;
  display: block;
  color: var(--bg);
}

.experience-card .media {
  position: absolute;
  inset: 0;
  background-color: #D9CFB9;
  background-size: cover;
  background-position: center;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.experience-card:hover .media { transform: scale(1.06); }

.experience-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,27,25,0) 16%, rgba(27,27,25,0.34) 46%, rgba(27,27,25,0.9) 100%);
}

.experience-card .copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.experience-card .name {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
}

.experience-card .kind {
  margin: 6px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.78);
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 80px);
  padding: clamp(60px, 10vh, 120px) clamp(20px, 6vw, 80px);
}

.contact h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.14;
}

.contact-lead {
  margin: 20px 0 36px;
  max-width: 420px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.82;
  color: var(--text-soft);
  text-wrap: pretty;
}

.contact-list {
  display: grid;
  gap: 20px;
  max-width: 420px;
}

.contact-item {
  display: grid;
  gap: 5px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}

.contact-item .label {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint-2);
}

.contact-item a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--text);
}
.contact-item a:hover { color: var(--accent); }

.contact-form {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: clamp(28px, 3vw, 44px);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.contact-form .form-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
}

.interest-group { display: grid; gap: 10px; }

.interest-group .label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.interest-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 9px 16px;
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border-input);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.chip:hover:not(.active) {
  border-color: var(--text);
  color: var(--text);
}

.chip.active {
  background: var(--dark);
  color: var(--bg);
  border-color: var(--dark);
}

.field { display: grid; gap: 7px; }

.field .label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--border-input);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  outline: none;
  transition: border-color 200ms ease;
}

.field input:focus,
.field textarea:focus { border-color: var(--accent); }

.field textarea { resize: vertical; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn-submit {
  padding: 15px 34px;
  background: var(--dark);
  color: var(--bg);
  border: 0;
  font-family: 'Jost', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease;
}
.btn-submit:hover { background: var(--accent); }

.form-sent {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--accent-dark);
  display: none;
}
.form-sent.visible { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: var(--bg);
  padding: clamp(40px, 6vh, 64px) clamp(20px, 6vw, 80px) 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(250, 247, 241, 0.16);
}

.footer-brand p:first-child {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  letter-spacing: 0.06em;
}

.footer-brand p:last-child {
  margin: 6px 0 0;
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-lighter);
}

.footer-col {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-col .col-title {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.55);
}

.footer-col a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(250, 247, 241, 0.82);
}
.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
}

.footer-bottom p:first-child {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.5);
}

.footer-bottom p:last-child {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  color: rgba(250, 247, 241, 0.42);
}
