/* ==================== BASE STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  color: #222;
  background: #f8f6f3;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

/* ==================== HEADER & LOGO ==================== */
header {
  background: #111111;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  height: 72px;
}

.logo img {
  height: 100%;
  width: auto;
  filter: brightness(1.05); /* Good for black logo */
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.04);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 2.8rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #d4af37;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 40px;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 18px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.9);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: #f0f0f0;
  margin-bottom: 35px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 34px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  margin: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #d4af37;
  color: #111;
}

.btn-primary:hover {
  background: #c49a2e;
}

.btn-secondary {
  border: 2px solid white;
  color: white;
}

.btn-secondary:hover {
  background: white;
  color: #111;
}

/* ==================== PORTFOLIO PAGE ==================== */
.page-header {
  text-align: center;
  padding: 80px 20px 60px;
  background: #111;
  color: white;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  padding: 40px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px);
}

.portfolio-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.portfolio-item h3 {
  padding: 18px;
  text-align: center;
  font-size: 1.35rem;
  color: #222;
}

/* ==================== OTHER PAGES ==================== */
.about-content {
  max-width: 1100px;
  margin: 100px auto 80px auto;   /* More top margin */
  padding: 0 8%;
  text-align: center;
}

.about-text {
  max-width: 800px;
  margin: 0 auto 60px auto;       /* Extra space before photo */
}

.about-text p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  text-align: left;
}

.about-image {
  max-width: 700px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  background: #111111;
  color: #aaa;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 15px 4%;
    flex-direction: column;
    gap: 15px;
  }
  .logo {
    height: 55px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}/* Clean Logo */
.logo-container {
  display: flex;
  align-items: center;        /* Vertical center alignment */
  gap: 14px;                  /* Space between logo and text */
}

.logo-image {
  height: 78px;               /* Adjust this size if needed */
  width: auto;
  flex-shrink: 0;             /* Keeps logo from shrinking */
  margin-top: 3px;            /* Fine tune if needed */
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  line-height: 1;
  padding-top: 3px;           /* Helps align text baseline */
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6%;
  background: #111;
  border-bottom: 2px solid #333;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: #d4af37;
}.contact-wrapper {
  display: flex;
  gap: 80px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 5%;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-info h3 {
  margin-bottom: 10px;
  color: #333;
}

.contact-info p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.contact-form {
  flex: 2;
  min-width: 320px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}.contact-wrapper {
  display: flex;
  gap: 100px;
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 6%;
  justify-content: center;
  align-items: flex-start;
}

.contact-form {
  flex: 2;
  max-width: 520px;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  align-self: flex-end;   /* Pushes to bottom left */
  margin-bottom: 40px;
}

.contact-info h3 {
  margin-bottom: 8px;
  color: #333;
  font-size: 1.3rem;
}

.contact-info p {
  font-size: 1.35rem;
  color: #222;
  margin-bottom: 35px;
}

/* Form styling */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 160px;
}.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  text-decoration: none;     /* Removes underline */
  line-height: 1;
}

.logo-text:hover {
  color: #d4af37;
}.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.04);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: white;
  padding: 25px 20px 20px;
  text-align: center;
}

.overlay h3 {
  font-size: 1.4rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
}

.lightbox-caption {
  position: absolute;
  bottom: 40px;
  color: white;
  font-size: 1.4rem;
  text-align: center;
  width: 100%;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 3rem;
  cursor: pointer;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  color: white;
  font-size: 3rem;
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

/* ==================== DESIGN TOKENS ==================== */
:root {
  --ink: #141414;          /* off-black, softer than pure #000 */
  --ink-deep: #0e0e0e;
  --paper: #f8f6f3;
  --brass: #d4af37;        /* existing accent, used on dark only */
  --brass-ink: #8a6f22;    /* darkened brass, readable on light */
  --rule: rgba(20,20,20,0.12);
}

/* ==================== HOME INTRO ====================
   Editorial split layout: display headline on the left,
   body copy on the right, capabilities as a hairline-divided
   row rather than a row of boxed cards.
*/
.intro {
  position: relative;
  padding: clamp(68px, 9vw, 128px) 6% clamp(58px, 8vw, 108px);
  background: var(--paper);
  overflow: hidden;
}

/* Faint drafting-paper rules for texture */
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(20,20,20,0.045) 0 1px,
    transparent 1px 94px
  );
  pointer-events: none;
}

/* Warm forge glow bleeding in from the corner */
.intro::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(212,175,55,0.17), transparent 68%);
  pointer-events: none;
}

.intro .container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

/* Small letterspaced label with a rule trailing off to the right */
.intro-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(26px, 3.4vw, 42px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-ink);
}

.intro-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,175,55,0.8), transparent);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

.intro-title {
  font-size: clamp(2.05rem, 4.5vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

/* Forged bar motif above the headline */
.intro-title::before {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 26px;
  background: var(--brass);
}

.intro-title em {
  font-style: italic;
  color: var(--brass-ink);
}

.intro-body {
  max-width: 62ch;
}

/* Lead sentence set larger, with a brass rule like a pull quote */
.intro-lead {
  margin: 0 0 24px;
  padding-left: 24px;
  border-left: 2px solid var(--brass);
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  color: #2b2b2b;
}

.intro-body p + p {
  color: #55504a;
  font-size: 1.02rem;
}

/* --- Capabilities: numbered entries split by hairlines --- */
.capabilities {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(48px, 6vw, 82px) 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.capabilities li {
  position: relative;
  padding: 34px 32px 4px;
  border-left: 1px solid var(--rule);
}

.capabilities li:first-child {
  padding-left: 0;
  border-left: 0;
}

/* Brass rule draws itself in on hover */
.capabilities li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.capabilities li:hover::before {
  transform: scaleX(1);
}

.cap-num {
  display: block;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--brass-ink);
}

.capabilities h3 {
  margin-bottom: 8px;
  font-size: 1.24rem;
  color: var(--ink);
}

.capabilities p {
  font-size: 0.96rem;
  color: #5d5851;
  line-height: 1.62;
}

/* Staggered reveal on load */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.intro-eyebrow,
.intro-title,
.intro-body,
.capabilities {
  animation: rise 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.intro-title    { animation-delay: 0.08s; }
.intro-body     { animation-delay: 0.16s; }
.capabilities   { animation-delay: 0.24s; }

/* ==================== SITE FOOTER ==================== */
.site-footer {
  position: relative;
  background: var(--ink-deep);
  color: #9d968c;
  border-top: 3px solid var(--brass);
  text-align: left;              /* overrides the old centred footer */
  padding: 0;
  font-size: 1rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 74px) 6% clamp(36px, 4vw, 52px);
}

.footer-logo {
  height: 68px;
  width: auto;
  margin: -14px 0 -6px -12px;   /* trims the artwork's built-in padding */
  opacity: 0.92;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.footer-name span {
  color: var(--brass);
}

.footer-tagline {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.68;
  color: #8b847a;
}

.footer-heading {
  margin-bottom: 20px;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col a {
  position: relative;
  color: #b3aca1;
  text-decoration: none;
  transition: color 0.28s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #fff;
}

/* Underline sweeps out from the left on hover */
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.footer-col a:hover::after,
.footer-col a:focus-visible::after {
  transform: scaleX(1);
}

.footer-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 26px;
  border: 1px solid rgba(212,175,55,0.55);
  color: var(--brass) !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.footer-cta::after { display: none; }   /* no sweep on the button */

.footer-cta:hover,
.footer-cta:focus-visible {
  background: var(--brass);
  color: var(--ink) !important;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 6% 26px;
  border-top: 1px solid rgba(255,255,255,0.09);
  font-size: 0.85rem;
  color: #6f6a62;
}

.footer-mark {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .capabilities {
    grid-template-columns: 1fr;
  }
  .capabilities li {
    padding: 26px 0 4px;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .capabilities li:first-child {
    border-top: 0;
  }
  .capabilities li::before {
    display: none;   /* hairline hover has no meaning on touch */
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    justify-content: flex-start;
  }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .intro-eyebrow,
  .intro-title,
  .intro-body,
  .capabilities {
    animation: none;
  }
  .capabilities li::before,
  .footer-col a::after {
    transition: none;
  }
}
