/* House of Ishan — editorial luxury wedding studio */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..700&family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --ink: #1d1712;
  --ink-soft: #2c231b;
  --paper: #f6efe2;
  --paper-deep: #ece0c9;
  --cream-line: rgba(29, 23, 18, 0.14);
  --gold: #a9803f;
  --gold-light: #d3ab6a;
  --rust: #8a3d2a;
  --ivory-line: rgba(246, 239, 226, 0.22);
  --max: 1280px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Bodoni Moda', serif;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* fixed grain overlay — never on scrolling containers */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 1.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background-color: rgba(29, 23, 18, 0.94);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand .seal { width: 34px; height: 34px; flex-shrink: 0; }

.brand-name {
  color: var(--paper);
  font-family: 'Bodoni Moda', serif;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}

.nav-links a {
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.3rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-light);
  transition: right 0.35s ease;
}
.nav-links a:hover::after { right: 0; }

.nav-links a.cta-link {
  border: 1px solid var(--ivory-line);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}
.nav-links a.cta-link::after { display: none; }
.nav-links a.cta-link:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  cursor: pointer;
  padding: 0.3rem;
}

.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse 90% 70% at 78% 15%, #322619 0%, transparent 55%), linear-gradient(160deg, #241b13 0%, #17120d 62%, #120e0a 100%);
  color: var(--paper);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-rings {
  position: absolute;
  right: -12vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(62vw, 780px);
  opacity: 0.55;
  animation: spin 140s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hero-rings { animation: none; } }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 10rem var(--gutter) 7rem;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
}
.eyebrow .rule { width: 34px; height: 1px; background: var(--gold-light); }

.hero h1 {
  font-size: clamp(3.1rem, 8vw, 6.6rem);
  line-height: 0.98;
  max-width: 16ch;
}
.hero h1 span.line2 {
  display: block;
  margin-left: clamp(1rem, 9vw, 5.5rem);
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  margin-top: 2.2rem;
  max-width: 34ch;
  font-size: 1.08rem;
  color: rgba(246,239,226,0.78);
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary {
  background: var(--gold-light);
  color: var(--ink);
}
.btn-primary:hover { transform: translateY(-2px); background: #e6c48b; }
.btn-ghost {
  border-color: var(--ivory-line);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-2px); }

.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: 3rem;
  writing-mode: vertical-rl;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,239,226,0.55);
  z-index: 2;
}

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(246,239,226,0.5);
  z-index: 2;
}
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(246,239,226,0.6), transparent); animation: dropline 2.4s ease-in-out infinite; }
@keyframes dropline { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue .line { animation: none; } }

/* ---------- generic section utilities ---------- */
section { position: relative; }

.section-pad { padding: clamp(5rem, 10vw, 9rem) 0; }

.eyebrow-dark {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow-dark .rule { width: 34px; height: 1px; background: var(--rust); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--paper);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.manifesto-quote {
  position: relative;
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.35;
  color: var(--ink-soft);
}
.manifesto-quote .mark {
  position: absolute;
  top: -3.5rem;
  left: -1.2rem;
  font-size: 9rem;
  color: var(--paper-deep);
  z-index: 0;
  font-style: normal;
  user-select: none;
}
.manifesto-quote p { position: relative; z-index: 1; margin: 0; }
.manifesto-attr {
  margin-top: 1.6rem;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}
.manifesto-side {
  border-left: 1px solid var(--cream-line);
  padding-left: clamp(1.5rem, 4vw, 3rem);
}
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 4rem);
}
.stat h3 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--rust);
}
.stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* ---------- Services (asymmetric list) ---------- */
.services { background: var(--paper-deep); }
.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 2.8rem) 0;
  border-bottom: 1px solid var(--cream-line);
  align-items: baseline;
}
.service-row:first-of-type { border-top: 1px solid var(--cream-line); }
.service-row:nth-of-type(even) .service-body { margin-left: clamp(0rem, 6vw, 4.5rem); }

.service-num {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.service-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(1rem, 4vw, 3rem);
}
.service-body h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-style: italic;
}
.service-body p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42ch;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .service-body { grid-template-columns: 1fr; gap: 0.6rem; }
  .service-row:nth-of-type(even) .service-body { margin-left: 0; }
}

/* ---------- Portfolio strip ---------- */
.portfolio { background: var(--ink); padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.portfolio-head h2 { color: var(--paper); font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 16ch; }
.portfolio-head p { color: rgba(246,239,226,0.6); max-width: 30ch; margin: 0; }

.portfolio-scroll {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x proximity;
  margin: 0 calc(var(--gutter) * -1);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.portfolio-scroll::-webkit-scrollbar { height: 6px; }
.portfolio-scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

.frame {
  position: relative;
  flex: 0 0 clamp(240px, 32vw, 380px);
  height: clamp(320px, 46vw, 480px);
  scroll-snap-align: start;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.6rem;
  isolation: isolate;
}
.frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%),
    var(--frame-grad);
}
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.frame:nth-child(1) { --frame-grad: radial-gradient(circle at 30% 20%, #7a5a3d, #2c2013 75%); }
.frame:nth-child(2) { --frame-grad: radial-gradient(circle at 70% 25%, #8f4432, #241611 75%); }
.frame:nth-child(3) { --frame-grad: radial-gradient(circle at 40% 70%, #6d7048, #201d11 75%); }
.frame:nth-child(4) { --frame-grad: radial-gradient(circle at 60% 30%, #9c7a3f, #211a10 75%); }
.frame:nth-child(5) { --frame-grad: radial-gradient(circle at 35% 60%, #7d3f4a, #1e1210 75%); }

.frame-caption {
  position: relative;
  color: var(--paper);
}
.frame-caption .names { font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 1.4rem; display: block; }
.frame-caption .loc { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); display: block; margin-top: 0.3rem; }

/* ---------- Process ---------- */
.process { background: var(--paper); }
.process-list {
  position: relative;
  margin-top: 3.5rem;
}
.process-list::before {
  content: '';
  position: absolute;
  left: 1.05rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: var(--cream-line);
}
.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1.5rem;
  padding: 2.2rem 0;
}
.process-item + .process-item { border-top: 1px solid var(--cream-line); }
.process-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bodoni Moda', serif;
  font-size: 0.9rem;
  background: var(--paper);
  z-index: 1;
}
.process-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-style: italic; margin-bottom: 0.6rem; }
.process-body p { margin: 0; color: var(--ink-soft); opacity: 0.85; max-width: 52ch; }
.process-item:nth-child(even) .process-body { margin-left: clamp(0rem, 8vw, 6rem); }
@media (max-width: 720px) {
  .process-item:nth-child(even) .process-body { margin-left: 0; }
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: linear-gradient(160deg, #241b13 0%, #17120d 70%);
  color: var(--paper);
}
.testimonial-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 780px;
}
.testimonial blockquote {
  margin: 0;
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.4;
}
.testimonial cite {
  display: block;
  margin-top: 1.6rem;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------- Investment ---------- */
.investment { background: var(--paper-deep); }
.investment-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem, 6vw, 5rem);
}
.investment-copy h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); max-width: 12ch; }
.investment-copy p { color: var(--ink-soft); max-width: 34ch; opacity: 0.85; }
.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--cream-line);
  align-items: baseline;
}
.tier:first-child { border-top: 1px solid var(--cream-line); }
.tier h4 { font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 1.3rem; margin: 0 0 0.4rem; }
.tier p { margin: 0; color: var(--ink-soft); opacity: 0.8; max-width: 46ch; font-size: 0.95rem; }
.tier .price { font-family: 'Bodoni Moda', serif; color: var(--rust); font-size: 1.2rem; white-space: nowrap; }
.footnote { margin-top: 1.4rem; font-size: 0.82rem; color: var(--ink-soft); opacity: 0.6; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.contact-copy h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); max-width: 12ch; }
.contact-copy p { color: var(--ink-soft); max-width: 34ch; opacity: 0.85; margin-top: 1.2rem; }
.contact-details { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.contact-details a, .contact-details span { font-size: 0.95rem; }
.contact-details .label { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.15rem; }
.contact-details a:hover { color: var(--rust); }

form.enquiry {
  display: grid;
  gap: 1.3rem;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field label { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); opacity: 0.7; }
.field input, .field textarea {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid var(--cream-line);
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 100px; }
.hp-field { position: absolute; left: -9999px; }

.enquiry .btn { justify-self: start; margin-top: 0.4rem; border: none; }
.form-note { font-size: 0.82rem; opacity: 0.6; margin-top: -0.3rem; }

.form-success {
  display: none;
  padding: 2rem;
  border: 1px solid var(--cream-line);
  border-radius: 4px;
  background: var(--paper-deep);
}
.form-success h3 { font-style: italic; font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-success p { margin: 0; opacity: 0.8; }
.form-success.show { display: block; }
.enquiry.hide { display: none; }

@media (max-width: 720px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(246,239,226,0.6);
  padding: 3.2rem var(--gutter) 2.4rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand .seal { width: 28px; height: 28px; }
.footer-brand span { font-family: 'Bodoni Moda', serif; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.85rem; color: var(--paper); }
.social { display: flex; gap: 1.4rem; }
.social a { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.social a:hover { color: var(--gold-light); }
.copyright { font-size: 0.78rem; opacity: 0.6; }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--ivory-line); max-width: var(--max); margin-left: auto; margin-right: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.78rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .manifesto-grid, .investment-grid, .contact-grid { grid-template-columns: 1fr; }
  .manifesto-side { border-left: none; border-top: 1px solid var(--cream-line); padding-left: 0; padding-top: 1.6rem; }
  .hero-meta { display: none; }
}

@media (max-width: 560px) {
  .hero h1 span.line2 { margin-left: 1.4rem; }
  .service-body { grid-template-columns: 1fr; }
  .manifesto-quote .mark { font-size: 6rem; top: -2.4rem; }
}

/* mobile nav drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.8rem;
  padding: 3rem var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer a { color: var(--paper); font-family: 'Bodoni Moda', serif; font-size: 2rem; font-style: italic; }
.mobile-drawer .close-drawer { position: absolute; top: 1.6rem; right: var(--gutter); background: none; border: none; color: var(--paper); cursor: pointer; }
