/* ============================================================
   Kastrul Holding — stylesheet
   ============================================================ */

:root {
  --bg:          #F9F7F2;
  --bg-alt:      #F1EBDE;
  --surface:     #E5DFD3;
  --text:        #3D3028;
  --text-soft:   #6b5b50;
  --accent:      #D2317A;
  --accent-dark: #a8235f;
  --rule:        rgba(61, 48, 40, 0.12);
  --shadow:      0 1px 2px rgba(61, 48, 40, 0.04),
                 0 10px 32px rgba(61, 48, 40, 0.08);

  --f-serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --f-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --container: 1220px;
  --container-narrow: 760px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------- reset --------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* --------- container --------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: var(--container-narrow); }

/* --------- nav --------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease), background 250ms var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--rule);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img {
  height: 96px;
  width: auto;
  display: block;
}
.nav__cta {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  padding: 12px 24px;
  border: 1px solid var(--text);
  border-radius: 999px;
  transition: background 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease);
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--text);
  color: var(--bg);
}

/* --------- eyebrow --------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--center::before { display: none; }
.eyebrow--center::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  margin-left: 12px;
}
.eyebrow--center {
  display: inline-flex;
  align-items: center;
}
.eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
}
.eyebrow--light::before { background: rgba(255, 255, 255, 0.7); }

/* --------- hero --------- */
.hero {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 140px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__headline {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero__sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  max-width: 55ch;
  color: var(--text-soft);
  margin: 0 0 36px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: var(--surface);
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero__visual:hover img { transform: scale(1.03); }
.hero__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(249, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 6px 20px rgba(61, 48, 40, 0.1);
}
.hero__badge-line {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.hero__badge-line:first-child {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 2px;
}

/* Fuchsia dot */
.dot {
  color: var(--accent);
  display: inline-block;
}

/* --------- generic section --------- */
.section {
  padding: clamp(80px, 11vw, 140px) 0;
}
.section--cards {
  padding-top: 0; /* banner owns the top */
  background: var(--bg-alt);
}
.section__head { margin-bottom: 56px; }
.section__head--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section__title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.section__title--light { color: #fff; }
.section__lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text-soft);
  margin: 16px 0 0;
  max-width: 60ch;
}
.section__lede--light { color: rgba(255, 255, 255, 0.85); }
.section__head--center .section__lede { margin-left: auto; margin-right: auto; }

.prose p {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.7;
  margin: 0 0 1.1em;
  color: var(--text);
}
.prose p:last-child { margin-bottom: 0; }

/* --------- split section (image + text) --------- */
.section--split { background: var(--bg-alt); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split__visual {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.split__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split__visual:hover img { transform: scale(1.03); }

/* --------- banner (above cards section) --------- */
.banner {
  width: 100%;
  height: clamp(200px, 28vw, 360px);
  overflow: hidden;
  position: relative;
  margin-bottom: clamp(80px, 10vw, 120px);
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(249, 247, 242, 0) 0%,
    rgba(249, 247, 242, 0) 55%,
    rgba(241, 235, 222, 0.6) 90%,
    var(--bg-alt) 100%);
}

/* --------- cards --------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 44px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease),
              border-color 400ms var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__num {
  font-family: var(--f-serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.card__title {
  font-family: var(--f-serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}
.card__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0;
}

/* --------- seeking (full-bleed hero section) --------- */
.seeking {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(120px, 16vw, 200px) 0;
  overflow: hidden;
}
.seeking__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 22, 18, 0.55) 0%, rgba(30, 22, 18, 0.82) 100%),
    linear-gradient(90deg, rgba(30, 22, 18, 0.5) 0%, rgba(30, 22, 18, 0.2) 100%);
}
.seeking__inner {
  position: relative;
  z-index: 1;
}

/* --------- features --------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  border-top: 1px solid var(--rule);
  padding-top: 48px;
}
.features--light {
  border-top-color: rgba(255, 255, 255, 0.2);
}
.feature {
  position: relative;
  padding-left: 22px;
}
.feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.feature__title {
  font-family: var(--f-serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.features--light .feature__title { color: #fff; }
.feature__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0;
}
.features--light .feature__body { color: rgba(255, 255, 255, 0.78); }

/* --------- contact --------- */
.section--contact {
  padding-bottom: clamp(96px, 12vw, 160px);
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.contact__visual {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.contact__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.contact__visual:hover img { transform: scale(1.03); }
.form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
}
.form input[type="text"],
.form input[type="email"],
.form textarea {
  font: inherit;
  font-size: 16px;
  background: transparent;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 12px 2px;
  outline: 0;
  resize: vertical;
  border-radius: 0;
  transition: border-color 200ms var(--ease);
}
.form input::placeholder,
.form textarea::placeholder { color: rgba(61, 48, 40, 0.35); }
.form input:focus,
.form textarea:focus { border-bottom-color: var(--accent); }
.form input:user-invalid,
.form textarea:user-invalid { border-bottom-color: #b33a3a; }

/* --------- buttons --------- */
.btn {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 200ms var(--ease), transform 200ms var(--ease),
              box-shadow 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease);
  align-self: flex-start;
  margin-top: 8px;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(210, 49, 122, 0.3);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--ghost:hover {
  background: var(--text);
  color: var(--bg);
}

.form__hint {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

/* --------- footer --------- */
.footer {
  background: var(--text);
  color: rgba(249, 247, 242, 0.85);
  padding: 44px 0 48px;
  text-align: center;
}
.footer__line {
  font-size: 14px;
  margin: 0;
  letter-spacing: 0.02em;
}
.footer__line strong {
  color: var(--bg);
  font-weight: 600;
}
.footer__line a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.footer__line a:hover {
  color: #f06ab0;
  border-bottom-color: currentColor;
}
.footer__sep {
  margin: 0 12px;
  color: rgba(249, 247, 242, 0.3);
}

/* --------- reveal animation --------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

::selection { background: var(--accent); color: #fff; }

/* --------- responsive --------- */
@media (max-width: 1000px) {
  .hero__grid,
  .split,
  .contact {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__visual,
  .split__visual,
  .contact__visual {
    aspect-ratio: 16/10;
    max-width: 640px;
  }
  .cards { grid-template-columns: 1fr; }
  .features {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 36px;
  }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  .nav__inner { padding: 14px 22px; gap: 16px; }
  .nav__logo img { height: 64px; }
  .nav__cta {
    font-size: 14px;
    padding: 9px 18px;
  }
  .hero { padding: 40px 0 64px; }
  .hero__headline { font-size: clamp(38px, 10vw, 54px); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__badge { left: 14px; bottom: 14px; padding: 10px 14px; }
  .banner { height: 200px; margin-bottom: 64px; }
  .form__row { grid-template-columns: 1fr; }
  .btn { width: 100%; align-self: stretch; }
  .footer__line { line-height: 1.9; }
}
