/* DogStyle luxury mock site */
:root {
  --ink: #142019;
  --ink-soft: #28372e;
  --cream: #f3eee5;
  --paper: #fbf8f2;
  --tan: #bca27b;
  --gold: #a48758;
  --line: rgba(20, 32, 25, .16);
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 84px;
  padding: 14px clamp(22px, 4vw, 64px);
  background: rgba(251, 248, 242, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: .08em;
}
.brand-text {
  display: grid;
  gap: 2px;
}
.brand-text strong,
.footer-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: .12em;
}
.brand-text small,
.footer-brand small {
  font-size: 9px;
  letter-spacing: .23em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.main-nav a:not(.nav-cta) {
  padding: 12px 0;
}
.nav-cta {
  border: 1px solid var(--ink);
  padding: 13px 18px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  padding: 10px 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #2c241c;
}
.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  /* Preserve the dog's head on wide and tablet screens. */
  object-position: center top;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,15,12,.78) 0%, rgba(11,15,12,.43) 43%, rgba(11,15,12,.06) 72%),
    linear-gradient(0deg, rgba(11,15,12,.45), rgba(11,15,12,0) 45%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 810px;
  padding: clamp(70px, 9vw, 130px) clamp(24px, 7vw, 110px);
}
.eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #715f43; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 112px);
  line-height: .9;
  letter-spacing: -.045em;
  max-width: 950px;
}
.hero-intro {
  margin: 30px 0 0;
  max-width: 610px;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.7;
  color: rgba(255,255,255,.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
  transition: .2s ease;
}
.button-light {
  background: var(--cream);
  color: var(--ink);
}
.button-light:hover { background: white; }
.button-outline-light {
  border-color: rgba(255,255,255,.68);
  color: white;
}
.button-outline-light:hover { background: rgba(255,255,255,.1); }
.button-dark {
  background: var(--ink);
  color: white;
}
.hero-note {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  color: rgba(255,255,255,.75);
  letter-spacing: .18em;
  font-size: 9px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.luxury-strip {
  background: var(--ink);
  color: #f2eadf;
  min-height: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 clamp(22px, 5vw, 76px);
  border-top: 1px solid rgba(255,255,255,.13);
}
.luxury-strip span {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: .03em;
  padding: 22px 16px;
  border-right: 1px solid rgba(255,255,255,.13);
}
.luxury-strip span:last-child { border-right: 0; }

.section {
  padding: clamp(78px, 9vw, 140px) clamp(22px, 5vw, 80px);
}
.section-heading {
  max-width: 780px;
  margin-bottom: 52px;
}
.section-heading h2,
.craft h2,
.fitting-copy h2,
.story h2,
.contact h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 78px);
  line-height: .98;
  letter-spacing: -.035em;
}
.section-heading > p:last-child,
.craft-copy > p,
.fitting-copy > p,
.story p,
.contact-copy > p {
  font-size: 17px;
  line-height: 1.75;
  color: #4f5b53;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.product-card {
  background: #efe8dd;
}
.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ddd4c7;
}
.product-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-image img { transform: scale(1.025); }
.product-card-large .product-image { aspect-ratio: 4 / 5; }
.badge {
  position: absolute;
  left: 18px;
  top: 18px;
  background: var(--paper);
  padding: 10px 12px;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-info {
  min-height: 205px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.product-kicker {
  margin: 0 0 9px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #7a6549;
}
.product-info h3 {
  margin: 0;
  font-size: 27px;
}
.product-info p {
  margin: 10px 0 0;
  line-height: 1.65;
  font-size: 14px;
  color: #59645d;
}
.price {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.craft {
  min-height: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--cream);
}
.craft-copy {
  padding: clamp(70px, 8vw, 120px);
  align-self: center;
}
.craft-copy > p {
  color: rgba(243,238,229,.76);
  max-width: 660px;
}
.craft-points {
  margin-top: 38px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.craft-points div {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: 14px;
  line-height: 1.5;
}
.craft-points strong { color: var(--tan); }

.craft-visual {
  position: relative;
  min-height: 800px;
}
.craft-visual > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.fabric-card {
  position: absolute;
  left: 32px;
  bottom: 32px;
  background: rgba(243,238,229,.96);
  color: var(--ink);
  padding: 22px 25px;
  min-width: 255px;
}
.fabric-card span {
  display: block;
  font-size: 9px;
  letter-spacing: .18em;
  margin-bottom: 7px;
}
.fabric-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 24px;
}

.fitting {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}
.fitting-photo {
  min-height: 680px;
}
.fitting-photo img {
  height: 680px;
  object-fit: cover;
}
.fitting-copy { max-width: 650px; }
.measure-list {
  margin: 32px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.measure-list span {
  padding: 17px 4px 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.measure-list b {
  display: inline-block;
  min-width: 34px;
  color: var(--gold);
}
.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .12em;
}

.story {
  background: #b89c73;
  color: #172018;
  padding: clamp(80px, 10vw, 150px) clamp(22px, 8vw, 135px);
}
.story-inner { max-width: 910px; }
.story p {
  color: rgba(23,32,24,.78);
  max-width: 790px;
  font-size: 18px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.contact-copy { max-width: 640px; }
.signup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  border-bottom: 1px solid var(--ink);
}
.signup-form label { display: grid; }
.signup-form label span {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.signup-form input {
  border: 0;
  background: transparent;
  min-height: 58px;
  padding: 0;
  outline: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  color: var(--ink);
}
.signup-form .button {
  margin-bottom: 8px;
}

.site-footer {
  background: #0d1510;
  color: #eee7dc;
  padding: 55px clamp(22px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand > div {
  display: grid;
  gap: 3px;
}
.footer-brand .brand-mark { border-color: rgba(255,255,255,.55); }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-domain {
  display: grid;
  justify-items: end;
  gap: 3px;
}
.footer-domain strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}
.footer-domain span,
.footer-domain small {
  color: rgba(255,255,255,.65);
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    padding: 20px 24px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-block; }

  .hero { min-height: 760px; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(11,15,12,.79) 0%, rgba(11,15,12,.26) 68%, rgba(11,15,12,.08) 100%);
  }
  .hero-copy { padding-bottom: 70px; }

  .luxury-strip { grid-template-columns: 1fr 1fr; }
  .luxury-strip span:nth-child(2) { border-right: 0; }

  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card-large { grid-column: 1 / -1; }
  .product-card-large .product-image { aspect-ratio: 16 / 9; }

  .craft { grid-template-columns: 1fr; }
  .craft-visual { min-height: 650px; }
  .fitting { grid-template-columns: 1fr; }
  .fitting-photo,
  .fitting-photo img { min-height: 0; height: auto; }
  .contact { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-domain { justify-items: start; }
}


/* iPad/tablet hero framing fix:
   Keeps the Golden Retriever's full head visible beneath the sticky header. */

/* Desktop hero framing fix for wide browser windows. */
@media (min-width: 1025px) {
  .hero > img {
    object-position: center top;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .hero > img {
    object-position: center top;
  }
}

@media (max-width: 640px) {
  .brand-text strong { font-size: 18px; }
  .brand-text small { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .site-header { min-height: 72px; }

  .hero {
    min-height: 710px;
  }
  .hero > img {
    object-position: 61% center;
  }
  .hero-copy {
    padding: 58px 22px 48px;
  }
  h1 { font-size: clamp(46px, 16vw, 72px); }
  .hero-note { display: none; }

  .luxury-strip { grid-template-columns: 1fr; }
  .luxury-strip span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-large { grid-column: auto; }
  .product-card-large .product-image { aspect-ratio: 4 / 5; }

  .craft-copy { padding: 70px 22px; }
  .craft-visual { min-height: 560px; }
  .fabric-card { left: 18px; right: 18px; bottom: 18px; }

  .measure-list { grid-template-columns: 1fr; }
  .signup-form { grid-template-columns: 1fr; gap: 14px; padding-bottom: 14px; }
  .signup-form .button { width: 100%; }
}





/* ============================================================
   FINAL RESPONSIVE IMAGE FIX
   ------------------------------------------------------------
   Hero:
   - Never crop the Golden Retriever on tablet/desktop.
   - Uses contain rather than cover, with a dark luxury backdrop.
   - Works in both portrait and landscape orientation.

   Collection/Fitting images on tablets:
   - Show the complete dog rather than trimming heads/feet.
   ============================================================ */

/* Tablet and desktop hero: preserve the complete photograph */
@media (min-width: 641px) {
  .hero {
    background: #211b16;
  }

  .hero > img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #211b16;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(11,15,12,.86) 0%, rgba(11,15,12,.58) 34%, rgba(11,15,12,.18) 60%, rgba(11,15,12,.06) 100%),
      linear-gradient(0deg, rgba(11,15,12,.48), rgba(11,15,12,0) 46%);
  }
}

/* iPad / tablet portrait and landscape: avoid cropping collection dogs */
@media (min-width: 641px) and (max-width: 1366px) {
  .product-image {
    background: #e7ded1;
  }

  .product-image img {
    object-fit: contain !important;
    object-position: center center !important;
  }

  .product-card-large .product-image {
    aspect-ratio: 4 / 5;
  }

  .fitting-photo {
    background: #e7ded1;
  }

  .fitting-photo img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #e7ded1;
  }

  .craft-visual > img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #211b16;
  }
}


/* 2026-08-23 definitive no-crop fallback */
/* Definitive no-crop rules — embedded to bypass browser/CDN CSS caching */
    @media (min-width: 641px) {
      .hero {
        background: #211b16 !important;
      }
      .hero > img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
      }
    }

    @media (min-width: 641px) and (max-width: 1366px) {
      .product-image {
        background: #e7ded1 !important;
      }
      .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        transform: none !important;
      }
      .fitting-photo img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center center !important;
      }
      .craft-visual > img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
      }
    }

/* ============================================================
   iPad / Safari footer whitespace fix
   ------------------------------------------------------------
   Safari can expose the HTML canvas below the final footer,
   especially after rotation. Match that canvas to the footer
   and include the device safe-area within the footer itself.
   ============================================================ */
html {
  background: #0d1510;
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
}

.site-footer {
  margin-bottom: 0 !important;
  padding-bottom: calc(55px + env(safe-area-inset-bottom, 0px));
}

/* Prevent any final-child margin from escaping beyond the footer. */
.site-footer > *:last-child,
.site-footer > *:last-child > *:last-child {
  margin-bottom: 0;
}


/* ============================================================
   FINAL FOOTER GAP FIX
   ------------------------------------------------------------
   Make the page canvas itself footer-dark, while <main> retains
   the cream site background. This prevents Safari/iPad from ever
   exposing a white/cream document area beneath the footer.
   ============================================================ */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100% !important;
  background: #0d1510 !important;
}

body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  overflow-x: hidden;
}

main {
  display: block;
  flex: 1 0 auto;
  width: 100%;
  background: #fbf8f2;
}

.site-footer {
  flex: 0 0 auto;
  width: 100%;
  margin: 0 !important;
  /* Avoid adding safe-area height on top of the normal footer padding. */
  padding-bottom: max(55px, env(safe-area-inset-bottom, 0px)) !important;
}

body::after,
html::after {
  display: none !important;
  content: none !important;
}

/* DogStyle luxury logo */
.brand-logo-link { display:flex; align-items:center; padding:0; }
.header-logo { display:block; width:auto; height:72px; max-width:300px; object-fit:contain; }
@media (max-width:760px) { .header-logo { height:58px; max-width:235px; } }
@media (max-width:420px) { .header-logo { height:50px; max-width:205px; } }

/* Larger, tightly-cropped DogStyle header logo */
.site-header { min-height:118px; }
.header-logo { height:110px !important; max-width:420px !important; }
@media (max-width:760px) {
  .site-header { min-height:92px; }
  .header-logo { height:82px !important; max-width:320px !important; }
}
@media (max-width:420px) {
  .site-header { min-height:78px; }
  .header-logo { height:68px !important; max-width:270px !important; }
}


/* DESKTOP-ONLY DOG IMAGE CROP FIX */
@media (min-width: 1367px) {
  .craft-visual {
    background: #142019 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }
  .craft-visual > img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }

  .fitting-photo {
    background: #f3eee5 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .fitting-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}
