/* =========================================================
   DVN Visuals — stylesheet
   Colours: black, white and DVN yellow only.
   Type: Inter Tight for headings, Manrope for text.
   Sections alternate dark and light:
   hero (dark) · where I shoot (light) · latest work (dark)
   what I shoot (light) · about (dark) · book a shoot (light)
   contact (dark) · footer (light)
   Square corners, uppercase titles, open layouts (few boxes).
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600;700;800;900&family=Manrope:wght@500;600;700;800&display=swap');

/* ---------- 1. Settings ---------- */
:root {
  --black: #101010;
  --white: #fff;
  --yellow: #ffd400;

  --display: 'Inter Tight', 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --space: clamp(20px, 5vw, 80px);             /* side margins */
  --section-pad: clamp(88px, 10vw, 160px);     /* space above/below each section */
  --head-gap: clamp(40px, 4.5vw, 64px);        /* heading → content */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
::selection { background: var(--yellow); color: var(--black); }
h1, h2, h3 { font-family: var(--display); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--yellow); color: var(--black);
  padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- 2. Sections & headings ---------- */
.content-width { width: min(calc(100% - var(--space) * 2), 1360px); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
section[id] { scroll-margin-top: var(--header-h); }

.is-dark  { --fg: var(--white); --bg: var(--black); background: var(--black); color: var(--white); }
.is-light { --fg: var(--black); --bg: var(--white); background: var(--white); color: var(--black); }

.section-head { max-width: 760px; margin-bottom: var(--head-gap); }
.section-head-row {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
}
.section-title {
  margin: 0;
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.section-intro {
  max-width: 46ch; margin: 20px 0 0;
  font-size: clamp(17px, 1.35vw, 20px); font-weight: 600; line-height: 1.55;
}
.accent { color: var(--yellow); }

/* ---------- 3. Buttons ---------- */
.button {
  min-height: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 30px;
  border: 3px solid transparent;
  font-family: var(--display);
  font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.button:active { transform: scale(.98); }

/* Main action: yellow everywhere */
.button-primary { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.button-primary:hover { background: var(--fg, var(--black)); border-color: var(--fg, var(--black)); color: var(--bg, var(--white)); }

/* Second action: outline in the surrounding text colour */
.button-outline { background: transparent; border-color: currentColor; color: inherit; }
.button-outline:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

.button-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- 4. Header: see-through over the hero, white on scroll ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  color: var(--white);
  transition: background .3s, color .3s, box-shadow .3s;
}
.site-header.scrolled, .menu-open .site-header {
  background: var(--white); color: var(--black);
  box-shadow: 0 6px 24px rgba(16, 16, 16, .1);
}
.nav-shell {
  height: var(--header-h);
  width: min(calc(100% - var(--space) * 2), 1360px);
  margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.wordmark { flex: 0 0 auto; width: clamp(120px, 11vw, 150px); display: flex; }
.logo-svg { display: block; width: 100%; height: auto; }

.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav-links a:not(.button) {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 0;
  transition: box-shadow .2s;
}
.nav-links a:not(.button):hover { box-shadow: inset 0 -2px 0 var(--yellow); }
.nav-cta { min-height: 46px; padding: 0 22px; }
.site-header .nav-cta:hover { color: var(--yellow); background: transparent; border-color: var(--yellow); }
.site-header.scrolled .nav-cta:hover { color: var(--white); background: var(--black); border-color: var(--black); }
.menu-toggle { display: none; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(84svh, 680px);   /* compact: no taller than needed */
  display: flex;
}
.hero-image {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 54%;
}
.hero::after {  /* very dark overlay so the type leads */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16, 16, 16, .95) 0%, rgba(16, 16, 16, .9) 45%, rgba(16, 16, 16, .97) 100%);
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + clamp(40px, 5vw, 72px));
  padding-bottom: clamp(40px, 5vw, 72px);
}
.hero h1 {
  margin: 0;
  font-size: clamp(44px, 7.4vw, 120px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap;
  margin-top: clamp(36px, 4vw, 56px);
}
.hero-description { max-width: 430px; margin: 0; font-size: clamp(17px, 1.35vw, 20px); font-weight: 600; line-height: 1.55; }

/* ---------- 6. Tiles: one open pattern for places, services and packages ---------- */
.cards { display: grid; gap: clamp(40px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.cards-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.card-icon {
  width: 64px; height: 64px;
  margin-bottom: 24px;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--black);
  transition: background .25s, color .25s;
}
.card-icon img { width: 58%; height: 58%; object-fit: contain; filter: brightness(0); }
.card-icon svg {
  width: 54%; height: 54%;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter;
}
.card-icon .knob { fill: var(--yellow); transition: fill .25s; }
.card h3 {
  margin: 0;
  font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: .01em;
  text-transform: uppercase;
}
.card p { max-width: 38ch; margin: 12px 0 0; font-size: 16px; font-weight: 600; line-height: 1.65; }

/* Services: larger titles and a short list of what's covered */
.cards-2 .card-icon { width: 76px; height: 76px; }
.cards-2 .card h3 { font-size: clamp(26px, 2.5vw, 38px); letter-spacing: -.025em; }
.cards-2 .card p { font-size: clamp(17px, 1.3vw, 19px); margin-top: 14px; }
.tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 26px 0 0; padding: 0;
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.tags li { display: inline-flex; align-items: center; gap: 10px; }
.tags li::before { content: ""; width: 8px; height: 8px; background: var(--yellow); }

/* Packages: open columns */
.cards-4 { gap: clamp(40px, 4vw, 56px) clamp(24px, 2.6vw, 40px); }
.package h3 { font-size: 20px; }
.package p { font-size: 16px; }
.package:hover .card-icon { background: var(--black); color: var(--yellow); }
.package:hover .card-icon .knob { fill: var(--black); }

.callout { margin-top: clamp(48px, 5vw, 72px); }

/* ---------- 7. Latest work (Instagram) ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ig-post {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  background: var(--black);
}
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ig-post::after {  /* Instagram glyph appears on hover */
  content: ""; position: absolute; inset: 0;
  background: rgba(16, 16, 16, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='1' fill='%23fff' stroke='none'/%3E%3C/svg%3E") center / 40px no-repeat;
  opacity: 0; transition: opacity .3s;
}
.ig-post:hover img { transform: scale(1.05); }
.ig-post:hover::after { opacity: 1; }
.ig-post.is-video::before {  /* small play marker on videos */
  content: ""; position: absolute; top: 14px; right: 14px; z-index: 1;
  border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--white);
}

/* ---------- 8. About ---------- */
.about-layout {
  display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 680px);
  gap: clamp(36px, 5vw, 80px); align-items: start;
}
.about-image { aspect-ratio: 4 / 5; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-copy { max-width: 620px; }
.about-lead {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 34px); font-weight: 700; line-height: 1.18; letter-spacing: -.03em;
}
.about-body { margin-top: 0; max-width: 52ch; font-size: clamp(17px, 1.3vw, 19px); font-weight: 600; line-height: 1.7; }
.about-body p { margin: 0; }
.about-links { margin-top: clamp(32px, 3.5vw, 44px); flex-direction: column; align-items: stretch; width: min(100%, 300px); }
.about-links .button { text-transform: none; letter-spacing: 0; font-size: 16px; }
.about-links .button { justify-content: flex-start; gap: 14px; padding: 0 24px 0 22px; }
.btn-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.btn-icon .dot { fill: currentColor; stroke: none; }

/* ---------- 9. Contact ---------- */
.contact-layout {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 112px); align-items: start;
}
.contact-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.contact-direct { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-direct a {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.03em;
  overflow-wrap: anywhere;
  transition: color .2s;
}
.contact-direct a::after { content: "↗"; color: var(--yellow); }
.contact-direct a:hover { color: var(--yellow); }

.contact-form { color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field .optional { font-weight: 500; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--white); border-radius: 0;
  background-color: var(--white); color: var(--black);
  font-size: 16px;
  outline: none;
  transition: box-shadow .2s;
}
.field select {
  cursor: pointer; appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23101010' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input[type="date"]::-webkit-datetime-edit { color: var(--black); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); }
.field [aria-invalid="true"] { border-color: var(--yellow); }
.field-error { display: block; min-height: 12px; padding-top: 6px; font-size: 13px; font-weight: 800; color: var(--yellow); }

.form-bottom { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.submit-button { min-width: 180px; }
.submit-button:disabled { opacity: .7; cursor: wait; }
.form-status { max-width: 300px; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--white); color: var(--black); padding: clamp(72px, 8vw, 112px) 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(56px, 6vw, 88px);
}
.footer-logo { display: inline-block; width: clamp(150px, 13vw, 190px); }
.footer-tagline { max-width: 300px; margin: 20px 0 26px; line-height: 1.5; }
.footer-heading { margin: 2px 0 18px; font-family: var(--text); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col li { font-size: 16px; line-height: 1.4; overflow-wrap: break-word; }
.footer-col a { transition: box-shadow .2s; }
.footer-col a:hover { box-shadow: inset 0 -2px 0 var(--yellow); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap;
  border-top: 1px solid var(--black); padding-top: 24px;
  font-size: 14px;
}
.footer-credit strong { font-weight: 800; box-shadow: inset 0 -3px 0 var(--yellow); transition: background .2s; }
.footer-credit:hover strong { background: var(--yellow); }

/* ---------- 11. Laptop (≤1180px) ---------- */
@media (max-width: 1180px) {
  .cards-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 12. Tablet (≤900px) ---------- */
@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .menu-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .25s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--space) 28px;
    background: var(--white); color: var(--black);
    box-shadow: 0 6px 24px rgba(16, 16, 16, .1);
    visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.button) { display: flex; align-items: center; min-height: 52px; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
  .nav-cta { margin-top: 16px; min-height: 52px; }
  .site-header .nav-cta:hover { color: var(--white); background: var(--black); border-color: var(--black); }

  .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
  .about-image { max-width: 220px; }
  .contact-intro { position: static; }

  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- 13. Phone (≤700px) ---------- */
@media (max-width: 700px) {
  :root { --section-pad: 80px; }
  body { font-size: 16px; }

  .hero-image { object-position: 57% center; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-image { max-width: 200px; }
  .hero { min-height: 0; }
  .hero-content { padding-top: calc(var(--header-h) + 44px); padding-bottom: 52px; }
  .hero-bottom { flex-direction: column; align-items: stretch; }

  .cards-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .cards-4, .cards-2 { grid-template-columns: 1fr; gap: 48px; }

  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }


  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-contact { order: 5; grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 13b. Phone: centred layout ---------- */
@media (max-width: 700px) {
  .hero-content, .section-head, .card, .about-copy, .contact-intro,
  .footer-brand, .footer-col, .footer-bottom { text-align: center; }

  .hero-bottom, .button-row, .callout { align-items: center; justify-content: center; }
  .section-intro, .hero-description, .card p, .about-body, .footer-tagline { margin-left: auto; margin-right: auto; }

  .card { align-items: center; }
  .about-image { margin-inline: auto; }
  .about-links { margin-inline: auto; width: 100%; }
  .about-links .button { justify-content: center; }
  .contact-intro { margin-bottom: 8px; }

  .footer-logo { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-contact { order: 0; grid-column: auto; }
  .footer-bottom { align-items: center; }
  .hero-bottom > .button-row { width: 100%; }
  .submit-button { width: 100%; }
  .form-bottom { justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(32px, 9.4vw, 46px); }
  .button-row { flex-direction: column; align-items: stretch; }
  .callout .button { width: 100%; }
}

/* ---------- 15. Animations ---------- */
/* Only active when the script adds .anim (so the page still shows without JavaScript) */
.anim [data-reveal] {
  opacity: 0;
  transition: opacity .9s var(--ease), transform 1s var(--ease), clip-path 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.anim [data-reveal="up"]    { transform: translateY(32px); }
.anim [data-reveal="title"] { transform: translateY(40%); clip-path: inset(0 0 100% 0); }
.anim [data-reveal="pop"]   { transform: scale(.6) rotate(-8deg); }
.anim [data-reveal="zoom"]  { transform: scale(.94); }
.anim [data-reveal="wipe"]  { opacity: 1; clip-path: inset(0 0 100% 0); }
.anim [data-reveal="wipe"] img { transform: scale(1.18); transition: transform 1.6s var(--ease); }
.anim [data-reveal].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.anim [data-reveal="wipe"].in img { transform: scale(1); }

/* Hero photo: slow settle on load */
.anim .hero-image { transform: scale(1.05); animation: hero-settle 2.4s var(--ease) backwards; }
@keyframes hero-settle { from { transform: scale(1.15); opacity: 0; } to { transform: scale(1.05); opacity: 1; } }

/* Header slides down on load */
.anim .site-header { animation: header-in .9s var(--ease) both .1s; }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }

/* Small hover lifts */
.button { will-change: transform; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.card-icon { transition: background .25s, color .25s, transform .35s var(--ease); }
.card:hover .card-icon { transform: translateY(-4px) rotate(-4deg); }

/* ---------- 14. Respect "reduce motion" settings ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
