@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');
:root{--bg:#101D33;--panel:#1D3048;--text:#F5F3EF;--muted:#C2CEDA;--gold:#E89553;--line:#36506B;--brand-blue:#1689CE;--brand-orange:#E89553}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.65 'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}.header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid var(--line);position:relative;z-index:2}.brand{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:.1em;font-size:15px}.brand img{height:72px;width:72px;object-fit:contain}.brand small{display:block;font-size:9px;letter-spacing:.4em;color:var(--gold)}.nav{display:flex;gap:27px;font-size:13px}.btn{display:inline-block;border:1px solid var(--gold);background:var(--gold);color:#16181b;padding:15px 25px;font-size:12px;font-weight:700;letter-spacing:.06em;cursor:pointer}.btn:hover{background:#f4d394;color:#111}.btn.outline{background:transparent;color:var(--text)}.btn.small{padding:11px 17px}.menu{display:none}.hero{min-height:670px;display:grid;grid-template-columns:50% 50%}.hero-copy{padding:100px 9% 40px 11%;display:flex;flex-direction:column;justify-content:center}.eyebrow{color:var(--gold);letter-spacing:.22em;font-size:11px;font-weight:700;text-transform:uppercase}.hero h1,.page h1{font:500 clamp(52px,6.2vw,100px)/1.09 'Playfair Display',Georgia,serif;letter-spacing:-.04em;margin:24px 0}.hero h1 em,.page h1 em,.section h2 em{font-weight:500;color:var(--gold)}.hero-copy>p:not(.eyebrow){max-width:470px;color:var(--muted);font-size:17px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.hero-foot{margin-top:90px;font-size:10px;letter-spacing:.2em;color:var(--muted)}.hero-photo{position:relative;min-height:670px;overflow:hidden}.hero-photo>img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:center 35%}.photo-label{position:absolute;bottom:0;left:0;right:0;padding:25px 35px;background:linear-gradient(transparent,#0009);display:flex;justify-content:space-between;font-size:10px;letter-spacing:.15em}.section{padding:100px 8%}.intro{text-align:center}.intro h2,.cta h2{font:500 clamp(40px,5vw,72px)/1.2 'Playfair Display',Georgia,serif;margin:20px 0}.intro>p:last-child{color:var(--muted)}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);border-block:1px solid var(--line)}.category-card{padding:50px 20px;min-height:170px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between}.category-card span{font:500 23px 'Playfair Display',Georgia,serif}.category-card b{color:var(--gold);font-size:23px}.cta{text-align:center;background:#1b222b}.cta .btn{margin-top:20px}.page{min-height:65vh}.page>p:not(.eyebrow){color:var(--muted)}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:35px 0}.chip{border:1px solid var(--line);padding:9px 17px;font-size:12px}.chip:hover{border-color:var(--gold)}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.gallery figure{margin:0;background:var(--panel)}.gallery img{width:100%;height:410px;object-fit:cover;display:block}.gallery figcaption{padding:16px;display:flex;justify-content:space-between;gap:10px}.gallery figcaption span{color:var(--gold);font-size:12px}.service-grid,.about-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:50px}.service,.about-grid article{background:var(--panel);padding:35px}.service>span{color:var(--gold);font-size:24px}.service h2,.about-grid h2,.award h2{font:500 29px 'Playfair Display',Georgia,serif}.service p,.about-grid p,.award p{color:var(--muted)}.service a{color:var(--gold);font-size:13px}.timeline{margin:40px 0}.timeline>div{border-bottom:1px solid var(--line);padding:22px 0;display:flex;gap:50px;font-size:23px}.timeline strong{color:var(--gold)}.award{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px;margin-top:70px}.award img{width:100%;max-height:550px;object-fit:contain}.contact .btn{margin:20px 0 35px}footer{padding:45px 7%;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:25px;font-size:12px;color:var(--muted)}footer img{width:75px}footer>div:nth-child(2){display:flex;gap:15px;flex-wrap:wrap}footer>div:last-child{text-align:right}footer a{color:var(--gold)}.admin .panel{padding:28px;background:var(--panel);margin:20px 0}.admin-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.admin label{display:block;margin:15px 0;font-size:13px}.admin input:not([type=checkbox]),.admin textarea,.admin select{display:block;width:100%;margin-top:5px;background:#0f141a;color:white;border:1px solid #515962;padding:11px;font:inherit}.admin .photo-editor{padding:16px 0;border-top:1px solid var(--line)}.photo-editor img{height:110px;width:110px;object-fit:cover}.photo-editor button,.logout button{margin-right:10px;padding:8px 14px;cursor:pointer}.notice{color:#a5dfb0}.alert{color:#ff9999}
@media(max-width:1000px){.header-cta{display:none}.nav{gap:13px}.hero{grid-template-columns:1fr 1fr}.hero-copy{padding:60px 7%}.category-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.header{height:74px}.brand img{height:47px;width:47px}.menu{display:block;background:none;border:0;color:white;font-size:25px}.nav{display:none;position:absolute;top:74px;left:0;right:0;background:#171d24;padding:24px;flex-direction:column}.nav.open{display:flex}.hero{grid-template-columns:1fr}.hero-copy{padding:55px 8%}.hero-foot{margin-top:40px}.hero-photo{min-height:510px}.section{padding:65px 7%}.category-grid{grid-template-columns:repeat(2,1fr)}.category-card{min-height:135px;padding:26px}.gallery,.service-grid,.about-grid,.award,.admin-columns{grid-template-columns:1fr}.gallery img{height:360px}.award{gap:10px}footer{grid-template-columns:1fr;text-align:left}footer>div:last-child{text-align:left}}

/* MrPicCam v0.3 brand refinements */
.header{min-height:102px;height:auto}
.brand small{color:var(--brand-orange)}
.brand:hover{color:var(--text)}
.header{border-bottom-color:#185072}
.category-card:hover{border-color:var(--brand-blue)}
.upload-feedback{margin-top:12px;min-height:24px;color:var(--text);font-size:14px}
#upload-progress{display:block;width:100%;height:12px;accent-color:var(--brand-blue);margin-top:8px}
#upload-progress[hidden]{display:none}
#upload-submit:disabled{opacity:.65;cursor:wait}
@media(max-width:700px){.brand img{height:60px;width:60px}.header{min-height:86px}}

/* v0.4 Midnight Blue & Copper identity */
.header,footer{background:#101D33}
.header{border-bottom:1px solid #36506B}
.hero-copy,.page{background:#101D33}
.section,.cta-section{background:#1D3048}
.category-card,.panel,.service-card{border-color:#36506B}
.btn{background:#E89553;border-color:#E89553;color:#101D33}
.btn:hover{background:#F6B477;border-color:#F6B477;color:#101D33}
.btn.outline{background:transparent;color:#F5F3EF;border-color:#E89553}
.btn.outline:hover{background:#E89553;color:#101D33}
a:hover,.brand small{color:#E89553}
.nav a:hover,.category-card:hover{color:#F6B477}
.nav.open{background:#101D33}
/* Give photography the visual priority: no color overlays applied to photos. */

/* v0.5 cinematic photography collection tiles */
.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;padding:20px 5% 90px}
.category-card{grid-column:span 2;position:relative;min-height:390px;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,#214668,#101d33 68%);display:flex;align-items:flex-end;padding:28px;border:1px solid #3c5369;isolation:isolate;transition:transform .3s ease,border-color .3s ease}
.category-card:nth-child(4),.category-card:nth-child(5){grid-column:span 3;min-height:420px}
.category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease;z-index:-2}
.category-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,17,33,.91) 0%,rgba(6,17,33,.1) 68%);z-index:-1}
.category-card:hover img{transform:scale(1.06)}
.category-card:hover{border-color:#e89553;transform:translateY(-3px)}
.category-title{font:500 clamp(24px,2.8vw,42px)/1.12 'Playfair Display',Georgia,serif;color:#fff}
.category-title small{display:block;font:600 11px/2 'DM Sans',Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#e89553;margin-top:12px}
.category-card b{margin-left:auto;color:#e89553;font-size:24px}
@media(max-width:900px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card,.category-card:nth-child(4),.category-card:nth-child(5){grid-column:span 1;min-height:310px}}
@media(max-width:560px){.category-grid{grid-template-columns:1fr}.category-card,.category-card:nth-child(4),.category-card:nth-child(5){grid-column:span 1;min-height:350px}}

/* v0.6: distinct editorial photography studio visual identity */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');
:root{--bg:#101d33;--panel:#1b3048;--text:#f5f3ef;--muted:#b8c5d0;--gold:#e89553;--line:#36516b}
body{font-family:'Manrope',Arial,sans-serif;letter-spacing:-.012em}
.header{min-height:96px;padding:0 4%;border-bottom:1px solid #38536a;background:#101d33}
.brand{font-family:'Barlow Condensed',Impact,sans-serif;font-size:22px;font-weight:700;letter-spacing:.075em;gap:15px}
.brand img{width:74px;height:74px}
.brand small{font-family:'Manrope',sans-serif;font-size:9px;letter-spacing:.34em}
.nav{gap:24px;text-transform:uppercase;letter-spacing:.13em;font-weight:700;font-size:10px}
.btn{border-radius:0;text-transform:uppercase;font-family:'Manrope',sans-serif;letter-spacing:.13em;font-weight:800}
.hero.editorial-hero{min-height:680px;grid-template-columns:42% 58%;background:#13243c}
.editorial-hero .hero-copy{position:relative;padding:45px 8% 45px 10%;justify-content:space-between}
.hero-index{font-size:10px;font-weight:800;letter-spacing:.18em;color:#e89553;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}
.hero-index span{color:#a6b9c9}
.editorial-hero .eyebrow{margin-top:auto;font-size:10px}
.editorial-hero h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(74px,7.8vw,144px);font-weight:700;line-height:.85;letter-spacing:-.025em;text-transform:uppercase;margin:25px 0}
.editorial-hero h1 em{font-style:normal;color:#e89553;display:block}
.editorial-hero .hero-copy>p:not(.eyebrow){max-width:360px;color:#c4d1db;font-size:14px;line-height:1.8}
.editorial-hero .actions{margin:30px 0}
.editorial-hero .hero-foot{margin-top:auto;border-top:1px solid #446078;padding-top:17px;font-size:11px;letter-spacing:.15em;color:#e89553;display:flex;justify-content:space-between;gap:10px}
.editorial-hero .hero-foot span{color:#c7d2dc}
.editorial-hero .hero-photo{min-height:680px}
.editorial-hero .hero-photo img{width:100%;height:100%;object-fit:cover}
.editorial-hero .photo-label{background:#13243ce6;color:#fff;letter-spacing:.13em}
.section.intro{display:grid;grid-template-columns:1fr 2fr 1.4fr;align-items:start;gap:28px;padding:85px 5% 35px;border-top:1px solid #38536a}
.section.intro .eyebrow{margin-top:10px}
.section.intro h2,.section.cta h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(48px,5vw,86px);font-weight:700;line-height:.96;text-transform:uppercase;letter-spacing:0}
.section.intro h2 em,.section.cta h2 em{font-style:normal;color:#e89553}
.section.intro>p:last-child{font-size:14px;line-height:1.9;color:#c4d1db}
.category-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;padding:20px 5% 100px}
.category-card,.category-card:nth-child(4),.category-card:nth-child(5){border-radius:0;min-height:390px;grid-column:span 4;padding:25px}
.category-card:nth-child(1){grid-column:span 7;min-height:520px}
.category-card:nth-child(2){grid-column:span 5;min-height:520px}
.category-card:nth-child(4),.category-card:nth-child(5){grid-column:span 6;min-height:430px}
.category-title{font-family:'Barlow Condensed',Impact,sans-serif;font-weight:700;font-size:clamp(38px,4vw,68px);line-height:.95;text-transform:uppercase}
.category-title small{font-family:'Manrope',sans-serif;font-size:10px;letter-spacing:.18em}
.category-card{transition:border-color .2s ease}
.category-card:hover{transform:none}
.category-card img{filter:saturate(.92)}
.category-card:hover img{transform:scale(1.045)}
.section.cta{background:#203953;border-top:1px solid #4c6174;padding:100px 5%;text-align:left}
.section.cta h2{max-width:850px}
.page h1,.page h2{font-family:'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;font-style:normal}
.page h1 em,.page h2 em{font-style:normal}
footer{background:#0c192b;border-top:1px solid #36516b}
@media(max-width:1100px){.hero.editorial-hero{grid-template-columns:48% 52%}.editorial-hero h1{font-size:clamp(66px,7vw,110px)}.section.intro{grid-template-columns:1fr 2fr}.section.intro>p:last-child{grid-column:2}}
@media(max-width:760px){.hero.editorial-hero{display:flex;flex-direction:column-reverse}.editorial-hero .hero-photo{min-height:380px;height:48vh}.editorial-hero .hero-copy{padding:30px 6% 55px}.editorial-hero h1{font-size:clamp(72px,15vw,120px);margin:40px 0 22px}.editorial-hero .hero-foot{margin-top:40px}.section.intro{display:block;padding:70px 6% 25px}.section.intro h2{margin:20px 0}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px 6% 75px}.category-card,.category-card:nth-child(1),.category-card:nth-child(2),.category-card:nth-child(4),.category-card:nth-child(5){grid-column:span 1;min-height:340px}.category-card:nth-child(1){grid-column:span 2;min-height:420px}.category-title{font-size:42px}.section.cta{padding:75px 6%}}
@media(max-width:520px){.category-grid{grid-template-columns:1fr}.category-card,.category-card:nth-child(1),.category-card:nth-child(2),.category-card:nth-child(4),.category-card:nth-child(5){grid-column:span 1;min-height:340px}.editorial-hero .hero-photo{min-height:320px}.brand img{height:62px;width:62px}.brand{font-size:19px}}
@media(prefers-reduced-motion:reduce){.category-card img{transition:none}.category-card:hover img{transform:none}}

/* v1.0 mobile layout repair — prevent oversized content, not just mask overflow */
html{width:100%;max-width:100%;overflow-x:clip}
body{width:100%;max-width:100%;min-width:0;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
img,video,svg,iframe{max-width:100%}
.header,.hero,.section,.category-grid,.gallery,footer,.page,.admin{min-width:0;max-width:100%}
.header>* , .hero>*, .section>*, .category-grid>*, footer>*{min-width:0}
.hero-copy,.hero-photo{min-width:0;max-width:100%}
.hero-copy h1,.page h1,.section h2{max-width:100%;overflow-wrap:break-word}
.hero-photo img{display:block;max-width:100%;width:100%;object-fit:cover}
.actions{display:flex;flex-wrap:wrap;gap:12px;max-width:100%}
.actions .btn{max-width:100%;white-space:normal;text-align:center}
.admin input,.admin textarea,.admin select{max-width:100%}
@media(max-width:760px){
 .header{width:100%;min-height:80px;padding:10px 5%;gap:12px}
 .brand{flex:1 1 auto;min-width:0;max-width:calc(100% - 65px);gap:8px;font-size:clamp(15px,4.5vw,20px);letter-spacing:.02em}
 .brand img{width:clamp(42px,12vw,60px);height:clamp(42px,12vw,60px);flex:0 0 auto}
 .brand>div,.brand>span{min-width:0}
 .brand small{font-size:8px;letter-spacing:.12em}
 .menu{flex:0 0 auto;min-width:44px;min-height:44px;line-height:1}
 .nav{width:100%;max-width:100%;left:0;right:0;top:100%;z-index:20}
 .hero.editorial-hero{width:100%;display:flex;flex-direction:column-reverse;min-width:0}
 .editorial-hero .hero-photo{width:100%;min-height:0;height:auto;aspect-ratio:4/3;overflow:hidden}
 .editorial-hero .hero-photo img{width:100%;height:100%;object-fit:cover}
 .editorial-hero .hero-copy{width:100%;min-width:0;padding:28px 6% 55px}
 .editorial-hero .hero-index{font-size:9px;line-height:1.6;gap:5px}
 .editorial-hero h1{font-size:clamp(48px,11.5vw,82px);line-height:.95;overflow-wrap:anywhere;word-break:normal;letter-spacing:-.02em;margin:34px 0 22px}
 .editorial-hero .hero-foot{flex-wrap:wrap;font-size:10px}
 .section.intro{width:100%;padding:58px 6% 22px}
 .section.intro h2,.section.cta h2{font-size:clamp(42px,10vw,68px);overflow-wrap:anywhere}
 .category-grid{width:100%;min-width:0}
 .category-card{min-width:0}
 .category-title{overflow-wrap:anywhere}
 .gallery{min-width:0}
 .gallery figure{min-width:0}
 .gallery img{max-width:100%}
 .admin-columns{grid-template-columns:minmax(0,1fr)}
 .photo-editor{min-width:0;overflow-wrap:anywhere}
 footer{width:100%;min-width:0;overflow-wrap:anywhere}
}
@media(max-width:400px){
 .editorial-hero h1{font-size:clamp(43px,11vw,54px)}
 .editorial-hero .hero-photo{aspect-ratio:1/1}
 .editorial-hero .hero-index span{display:block}
 .brand{font-size:16px}
}


/* v1.0.4: keep the complete REMEMBERING. word on one line on desktop.
   Hero typography is sized to its text column, not the full browser width. */
@media (min-width: 761px) {
  .editorial-hero .hero-copy { min-width: 0; }
  .editorial-hero h1 {
    font-size: clamp(48px, 5vw, 82px);
    line-height: 0.96;
    overflow-wrap: normal;
    word-break: normal;
  }
  .editorial-hero h1 em {
    display: block;
    white-space: nowrap;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .editorial-hero h1 { font-size: clamp(40px, 4.5vw, 58px); }
}

/* v1.0.5 — balanced editorial hero footer */
.editorial-hero .hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-right: 14px;
}
.editorial-hero .hero-foot span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  color: #aebdcb;
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .editorial-hero .hero-foot { gap: 12px; padding-right: 0; }
  .editorial-hero .hero-foot span { font-size: 9px; letter-spacing: .08em; white-space: normal; }
}

/* v1.0.6: protect end glyphs (including E) from title clipping. */
.page h1, .page h2 {
  box-sizing: border-box;
  max-width: 100%;
  padding-inline-end: .16em;
  line-height: 1.12;
  overflow: visible;
  overflow-wrap: normal;
  word-break: normal;
}
.page h1 em, .page h2 em { padding-inline-end: .04em; }
@media (max-width: 760px) {
  .page h1 { font-size: clamp(44px, 10vw, 76px); overflow-wrap: break-word; }
}
/* Recognition: show the complete award without cropping. */
.award img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }

/* v1.0.7: CTA text must fit as a complete word at phone widths.
   The word is kept intact; font scales with the actual viewport. */
.section.cta h2 { max-width: 100%; }
.section.cta h2 em { display: block; }
@media (max-width: 760px) {
  .section.cta h2 {
    font-size: clamp(28px, 7.3vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    overflow-wrap: normal;
    word-break: normal;
  }
  .section.cta h2 em {
    white-space: nowrap;
    font-size: inherit;
    letter-spacing: -0.035em;
  }
}
@media (max-width: 360px) {
  .section.cta h2 { font-size: 7vw; }
}
/* v1.0.7: preserve aspect ratio and keep certificate visible */
.award img { width: 100%; height: auto; display: block; object-fit: contain; }

/* v1.0.8: authentic certificate, uncropped and unstretched */
.award > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 7 / 5;
  object-fit: contain;
  background: #f8f7f2;
  border: 1px solid rgba(226,151,82,.6);
  border-radius: 3px;
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}
