
/* =========================================================
   John Unrue Photography
   Premium Wide Layout CSS
   Fixes narrow desktop presentation + luxury spacing
   ========================================================= */

:root{
  --bg:#f6f3ee;
  --surface:#ffffff;
  --ink:#151515;
  --soft-ink:#333333;
  --muted:#555555;
  --line:rgba(0,0,0,.09);
  --line-soft:rgba(0,0,0,.055);
  --accent:#b79d6a;
  --accent-dark:#8f7540;
  --black:#111111;
  --white:#ffffff;
  --max:1560px;
  --content:1240px;
  --shadow:0 24px 60px rgba(0,0,0,.075);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

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

p{
  margin:0 0 1rem;
}

.container{
  width:min(90%, var(--max));
  margin:0 auto;
}

/* Header / Navigation */
.site-header,
header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(246,243,238,.97);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px);
}

.nav-wrap,
.nav{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2.5rem;
  padding:0;
}

.brand{
  font-size:1.2rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  white-space:nowrap;
  color:var(--ink);
}

.main-nav,
.nav-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:1.5rem;
  flex-wrap:wrap;
}

.main-nav a,
.nav-links a{
  position:relative;
  font-size:1rem;
  line-height:1;
  white-space:nowrap;
  color:var(--ink);
  transition:color .22s ease;
}

.main-nav a::after,
.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-.45rem;
  width:100%;
  height:1px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .24s ease;
}

.main-nav a:hover,
.nav-links a:hover{
  color:var(--accent-dark);
}

.main-nav a:hover::after,
.nav-links a:hover::after{
  transform:scaleX(1);
  transform-origin:left;
}

/* Hero */
.hero{
  padding:6rem 0 5.5rem;
}

.hero-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:5.25rem;
  align-items:center;
}

.hero-copy{
  max-width:680px;
}

.eyebrow{
  margin:0 0 1.25rem;
  color:var(--accent-dark);
  font-size:.95rem;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.hero h1{
  margin:0 0 1.55rem;
  font-size:clamp(3rem, 4.15vw, 5.05rem);
  line-height:1.01;
  letter-spacing:-.045em;
  font-weight:700;
}

.page-hero h1{
  margin:0 0 1.35rem;
  font-size:clamp(2.45rem, 3.75vw, 4rem);
  line-height:1.035;
  letter-spacing:-.037em;
  font-weight:700;
}

.lead,
.hero-copy p{
  max-width:66ch;
  font-size:1.14rem;
  line-height:1.75;
  color:var(--muted);
}

.hero-media{
  background:var(--surface);
  box-shadow:var(--shadow);
}

.hero-media img{
  width:100%;
  min-height:420px;
  object-fit:cover;
}

/* Buttons */
.hero-actions{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:2.15rem;
}

.button,
.cta,
button.cta{
  display:inline-block;
  padding:.98rem 1.5rem;
  border:1px solid var(--black);
  background:var(--black);
  color:var(--white);
  font-weight:700;
  letter-spacing:-.01em;
  cursor:pointer;
  transition:background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.button:hover,
.cta:hover,
button.cta:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:var(--black);
  transform:translateY(-1px);
}

.button-secondary,
.cta-secondary{
  display:inline-block;
  padding:.98rem 1.5rem;
  border:1px solid var(--black);
  background:transparent;
  color:var(--black);
  font-weight:700;
  transition:background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.button-secondary:hover,
.cta-secondary:hover{
  background:var(--black);
  color:var(--white);
  transform:translateY(-1px);
}

.text-link{
  display:inline-block;
  margin-top:.4rem;
  font-weight:700;
  color:var(--accent-dark);
}

.text-link:hover{
  color:var(--ink);
}

/* Sections */
section{
  padding:5.5rem 0;
}

.section-light,
.intro{
  background:var(--surface);
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
}

.split-grid,
.page-hero-grid,
.about-story-grid,
.philosophy-grid,
.cta-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4.2rem;
  align-items:center;
}

.section-heading{
  margin-bottom:2.55rem;
}

.section-heading.center,
.center{
  text-align:center;
}

h2{
  margin:0 0 1.2rem;
  font-size:clamp(2.45rem, 3.6vw, 3.6rem);
  line-height:1.03;
  letter-spacing:-.037em;
  font-weight:700;
}

h3{
  margin:.2rem 0 .65rem;
  line-height:1.18;
  font-weight:700;
}

.muted{
  color:var(--muted);
}

.section-light p,
.intro p,
.about-preview p,
.projects p{
  font-size:1.07rem;
  line-height:1.75;
}

/* Images */
.feature-media,
.about-media,
.page-hero img,
.about-story-grid img,
.philosophy-grid img{
  background:var(--surface);
  box-shadow:var(--shadow);
}

.feature-media img,
.about-media img,
.page-hero img,
.about-story-grid img,
.philosophy-grid img{
  width:100%;
  object-fit:cover;
}

/* Cards */
.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.55rem;
}

.cards-3{
  grid-template-columns:repeat(3,1fr);
}

.card,
.service-card,
.project-card,
.credential-card,
.panel{
  background:var(--surface);
  border:1px solid var(--line-soft);
  overflow:hidden;
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card:hover,
.service-card:hover,
.project-card:hover,
.credential-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:rgba(0,0,0,.12);
}

.card img,
.service-card img,
.project-card img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}

.card-body,
.service-card-content,
.project-card-content{
  padding:1.3rem;
}

.card h3 a:hover,
.service-card h3 a:hover,
.project-card h3 a:hover{
  color:var(--accent-dark);
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.15rem;
}

.gallery img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  border:1px solid var(--line-soft);
  background:var(--surface);
}

/* Stats / Quotes / FAQ */
.stats-grid,
.credentials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.15rem;
  margin-top:1.8rem;
}

.stat,
.credential-card{
  background:var(--surface);
  border:1px solid var(--line-soft);
  padding:1.3rem;
}

.stat strong{
  display:block;
  margin-bottom:.25rem;
  font-size:1.5rem;
  line-height:1;
}

.quote-grid,
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.15rem;
}

blockquote,
.testimonial{
  margin:0;
  padding:1.4rem;
  background:var(--surface);
  border:1px solid var(--line-soft);
  color:var(--soft-ink);
  font-style:italic;
}

.faq{
  padding:1.2rem 0;
  border-bottom:1px solid var(--line-soft);
}

.faq h3{
  margin:0 0 .4rem;
}

/* Forms */
label{
  display:block;
  margin:.85rem 0 .35rem;
  font-weight:700;
}

input,
textarea,
select{
  width:100%;
  padding:.95rem;
  border:1px solid rgba(0,0,0,.22);
  background:var(--white);
  color:var(--ink);
  font:inherit;
}

input:focus,
textarea:focus,
select:focus{
  outline:2px solid rgba(183,157,106,.35);
  border-color:var(--accent);
}

textarea{
  min-height:180px;
  resize:vertical;
}

.small{
  color:var(--muted);
  font-size:.95rem;
}

/* CTA */
.cta-band{
  background:var(--black);
  color:var(--white);
  text-align:center;
}

.cta-band h2{
  color:var(--white);
}

.cta-band p{
  max-width:800px;
  margin:0 auto 1.65rem;
  color:rgba(255,255,255,.78);
  font-size:1.08rem;
  line-height:1.7;
}

/* Footer */
.site-footer,
footer{
  background:var(--black);
  color:var(--white);
  padding:1.8rem 0 1rem;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1.4fr 1fr;
  gap:2rem;
  align-items:start;
}

/* Split the Navigation column into 2 sub-columns */
.footer-grid > div:nth-child(2){
  column-count:2;
  column-gap:1.2rem;
}
.footer-grid > div:nth-child(2) h3{
  column-span:all;
}

.footer-grid h3,
footer h3{
  color:var(--white);
  margin:.1rem 0 .4rem;
  font-size:1rem;
}

.footer-grid p,
footer p{
  color:rgba(255,255,255,.75);
  font-size:.9rem;
  line-height:1.5;
}

.footer-grid a,
.footer-links a,
.footer-contact a{
  display:block;
  margin:.15rem 0;
  font-size:.88rem;
  color:rgba(255,255,255,.82);
}

.footer-grid a:hover,
.footer-links a:hover,
.footer-contact a:hover{
  color:var(--accent);
}

.footer-bottom,
.footer-note{
  margin-top:1.2rem;
  padding-top:.8rem;
  border-top:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.6);
  font-size:.94rem;
}

/* Medium screens */
@media(max-width:1200px){
  .container{
    width:min(90%, 1180px);
  }

  .hero-grid{
    grid-template-columns:.9fr 1.1fr;
    gap:3.5rem;
  }

  .hero h1{
    font-size:clamp(2.65rem, 4.5vw, 4.35rem);
  }
}

/* Tablet */
@media(max-width:920px){
  .nav-wrap,
  .nav{
    min-height:auto;
    flex-direction:column;
    align-items:flex-start;
    padding:1.15rem 0;
    gap:1rem;
  }

  .main-nav,
  .nav-links{
    justify-content:flex-start;
    gap:.9rem 1rem;
  }

  .hero-grid,
  .split-grid,
  .page-hero-grid,
  .about-story-grid,
  .philosophy-grid,
  .cta-grid,
  .footer-grid,
  .quote-grid,
  .testimonial-grid,
  .card-grid,
  .cards-3,
  .stats-grid,
  .credentials-grid,
  .gallery{
    grid-template-columns:1fr;
  }

  .hero-copy{
    max-width:760px;
  }

  .hero{
    padding:3.75rem 0;
  }

  .hero-media img{
    min-height:auto;
  }
}

/* Mobile */
@media(max-width:640px){
  .container{
    width:min(90%, var(--max));
  }

  .brand{
    font-size:.88rem;
    letter-spacing:.1em;
  }

  .main-nav a,
  .nav-links a{
    font-size:.92rem;
  }

  .hero h1{
    font-size:clamp(2.15rem, 10vw, 3.05rem);
    line-height:1.04;
  }

  .page-hero h1{
    font-size:clamp(2rem, 9vw, 2.9rem);
  }

  h2{
    font-size:clamp(2rem, 9vw, 2.75rem);
  }

  .lead,
  .hero-copy p{
    font-size:1rem;
    line-height:1.65;
  }

  section{
    padding:3.4rem 0;
  }

  .hero-actions{
    gap:.75rem;
  }

  .button,
  .button-secondary,
  .cta,
  .cta-secondary{
    width:100%;
    text-align:center;
  }
}



/* Footer social icon upgrade */
.footer-social-column {
  text-align: right;
}

.footer-social-column > a,
.footer-social-column > span {
  display: block;
}

.social-title {
  color: rgba(255,255,255,.58);
  font-size: .72rem;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
  margin: 1rem 0 .7rem;
}

.footer-social-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: .35rem;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 20px;
  line-height: 1;
  transition: color .25s ease, transform .25s ease;
}

.footer-social-icons a:hover {
  color: var(--accent);
  transform: translateY(-2px) scale(1.08);
}

@media(max-width:920px){
  .footer-social-column {
    text-align: left;
  }

  .footer-social-icons {
    justify-content: flex-start;
  }
}

.footer-credit {
  margin-left: 10px;
  color: rgba(255,255,255,0.6);
}

.footer-credit a {
  color: rgba(255,255,255,0.75);
  transition: color 0.25s ease;
}

.footer-credit a:hover {
  color: #ffffff;
}

@media(max-width:640px){
  .footer-social-column {
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
  }
}

/* Clickable Featured Project Cards */
.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.project-card-link h3,
.project-card-link p {
  color: inherit;
}

.project-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.refined-testimonials {
  align-items: stretch;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 2rem;
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(0,0,0,.045);
}

.testimonial-card h3 {
  margin: 0 0 .25rem;
  font-size: 1.25rem;
  color: var(--ink);
}

.testimonial-role {
  margin: 0 0 1.15rem;
  color: var(--accent-dark);
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.45;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--soft-ink);
  margin-bottom: 1rem;
  font-style: normal;
}

.testimonial-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .testimonial-card {
    padding: 1.5rem;
  }
}

.testimonial-band .section-heading {
  text-align: center;
}

.testimonial-band .section-heading .lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
