@charset "utf-8";
/* CSS Document */
body{
    /*background: url('/assets/portfolio/_MG_9536.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;*/
    text-align: center;
}
/* ========================================
   Modern CSS Reset
   ======================================== */

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
    font-family: inherit;
    font-size: inherit;
    padding: 10px;
    width: 100%;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   Demo Styles (to show reset in action)
   ======================================== */

body {
    font-family: "fenwick", sans-serif;
    padding: 0 2rem;
    max-width: 90ch;
    margin: 0 auto;
    color: #CCC;
    background-color: #111;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.875rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

code {
    background-color: #e8e8e8;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.demo-box {
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

button {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #0052a3;
}

img {
    border-radius: 0.5rem;
    /*margin: 1rem 0;*/
}


/* ========================================
   RESPONSIVE TYPOGRAPHY SYSTEM
   ======================================== */

:root {
    /* Base font size calculations */
    --base-font-mobile: 2vh;  /* Mobile: based on viewport height */
    --base-font-desktop: 1.1vw;  /* Desktop: based on viewport width */

    /* Minimum and maximum font sizes for clamping */
    --min-font-size: 16px;
    --max-font-size: 20px;

    /* Type scale ratio (1.25 = Major Third) */
    --type-scale: 1.25;

    /* Font families */
    --font-sans: "fenwick", sans-serif;
    --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;

    /* Font weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line heights */
    --line-height-tight: 1.1;
    --line-height-snug: 1.3;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;
    --line-height-loose: 2;

    /* Letter spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.02em;
    --tracking-wider: 0.04em;
    --tracking-widest: 0.08em;
}

/* Mobile Typography (using vh) */
@media screen and (max-width: 768px) {
    :root {
        --responsive-base: clamp(var(--min-font-size), var(--base-font-mobile), var(--max-font-size));

        /* Font sizes using vh with clamp for boundaries */
        --font-xs: clamp(0.75rem, 1.8vh, 0.875rem);
        --font-sm: clamp(0.875rem, 2.1vh, 1rem);
        --font-base: var(--responsive-base);
        --font-lg: clamp(1.125rem, 2.8vh, 1.25rem);
        --font-xl: clamp(1.25rem, 3.2vh, 1.5rem);
        --font-2xl: clamp(1.5rem, 3.8vh, 1.875rem);
        --font-3xl: clamp(1.875rem, 4.5vh, 2.25rem);
        --font-4xl: clamp(2.25rem, 5.5vh, 3rem);
        --font-5xl: clamp(3rem, 6.5vh, 3.75rem);
        --font-6xl: clamp(3.75rem, 8vh, 4.5rem);
    }
    body {
        padding: 0;
    }
    section#portfolio {
        display: flex;
        flex-direction: column;
    }
    section#contact {
        display: block;
        padding: 20px 40px;
        background: rgba(255, 255, 255, .25);
        /* border-radius: 20px; */
    }

    article.portrait {
        height: 100vw;
        position: relative;
        /*background: url(/assets/portfolio/_MG_9017.jpg);
        background-size: cover;
        background-position: center bottom;*/
    }
    article.pets {
        height: 100vw;
        position: relative;
        /*background: url(/assets/portfolio/IMG_2774.jpg);
        background-size: cover;
        background-position: center bottom;*/
    }
    article.wildlife {
        height: 100vw;
        position: relative;
        /*background: url(/assets/portfolio/_MG_8543-2.jpg);
        background-size: cover;
        background-position: right bottom;*/
    }
    article.nature {
        height: 100vw;
        position: relative;
        /*background: url(/assets/portfolio/IMG_6698.jpg);
        background-size: cover;
        background-position: right bottom;*/
    }
    article.landscape {
        height: 100vw;
        position: relative;
        /*background: url(/assets/portfolio/_MG_0109-2.jpg);
        background-size: cover;
        background-position: center bottom;*/
    }
    article.street-photography {
        height: 100vw;
        position: relative;
        /*background: url(/assets/portfolio/_MG_0109-2.jpg);
        background-size: cover;
        background-position: center bottom;*/
    }
    article h3 {
        position: absolute;
        top: 0;
        left: 0;
        padding: 20px;
        display: block;
        width: 100%;
    }

}

/* Desktop Typography (using vw) */
@media screen and (min-width: 769px) {
    :root {
        --responsive-base: clamp(var(--min-font-size), var(--base-font-desktop), var(--max-font-size));

        /* Font sizes using vw with clamp for boundaries */
        --font-xs: clamp(0.75rem, 0.7vw, 0.875rem);
        --font-sm: clamp(0.875rem, 0.9vw, 1rem);
        --font-base: var(--responsive-base);
        --font-lg: clamp(1.125rem, 1.25vw, 1.25rem);
        --font-xl: clamp(1.25rem, 1.5vw, 1.5rem);
        --font-2xl: clamp(1.5rem, 1.875vw, 1.875rem);
        --font-3xl: clamp(1.875rem, 2.25vw, 2.25rem);
        --font-4xl: clamp(2.25rem, 3vw, 3rem);
        --font-5xl: clamp(3rem, 4vw, 3.75rem);
        --font-6xl: clamp(3.75rem, 5vw, 4.5rem);
    }
    section#portfolio {
        padding: 20px 0;
        display: flex;
        flex-flow: wrap;
        background: #222;
    }
    section#contact {
        width: auto;
        display: inline-block;
        padding: 20px 40px;
        background: rgba(255, 255, 255, .25);
        border-radius: 20px;
    }
    section#portfolio a {
        position: relative;
        height: 25%;
        width: 50%;
        width: 46%;
        margin: 2%;
        border: 1px solid;
    }
    article.portrait {
    }
    article.pets {
    }
    article.wildlife {
    }
    article.nature {
    }
    article.landscape {
    }
    article h3 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        display: block;
    }
}

/* Large Desktop - cap the scaling */
@media screen and (min-width: 1920px) {
    :root {
        --font-xs: 0.875rem;
        --font-sm: 1rem;
        --font-base: 1.125rem;
        --font-lg: 1.25rem;
        --font-xl: 1.5rem;
        --font-2xl: 1.875rem;
        --font-3xl: 2.25rem;
        --font-4xl: 3rem;
        --font-5xl: 3.75rem;
        --font-6xl: 4.5rem;
    }
    section#portfolio {
        padding: 20px 0;
        display: flex;
        flex-flow: wrap;
        background: #222;
    }
    section#contact {
        width: auto;
        display: inline-block;
        padding: 20px 40px;
        background: rgba(255, 255, 255, .25);
        border-radius: 20px;
    }
    section#portfolio a {
        position: relative;
        height: 25%;
        width: 50%;
        width: 46%;
        margin: 2%;
        border: 1px solid;
    }
    article.portrait {
    }
    article.pets {
    }
    article.wildlife {
    }
    article.nature {
    }
    article.landscape {
    }
    article h3 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        display: block;
    }
}

/* Base Typography Styles */
html {
    font-size: var(--font-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: var(--font-regular);
    line-height: var(--line-height-normal);
    color: #ccc;
}

/* Headings */
h1, .h1 {
    font-size: var(--font-4xl);
    font-weight: var(--font-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 0.5em;
}

h2, .h2 {
    font-size: var(--font-3xl);
    font-weight: var(--font-semibold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 0.5em;
}

h3, .h3 {
    font-size: var(--font-2xl);
    font-weight: var(--font-semibold);
    line-height: var(--line-height-snug);
    margin-bottom: 0.5em;
}

h4, .h4 {
    font-size: var(--font-xl);
    font-weight: var(--font-medium);
    line-height: var(--line-height-snug);
    margin-bottom: 0.5em;
}

h5, .h5 {
    font-size: var(--font-lg);
    font-weight: var(--font-medium);
    line-height: var(--line-height-normal);
    margin-bottom: 0.5em;
}

h6, .h6 {
    font-size: var(--font-lg);
    font-weight: var(--font-medium);
    line-height: var(--line-height-normal);
    letter-spacing: var(--tracking-wide);
    margin-bottom: 0.5em;
}

/* Body Text */
p {
    margin-bottom: 1.5em;
}

.lead {
    font-size: var(--font-lg);
    line-height: var(--line-height-relaxed);
    font-weight: var(--font-light);
}

.small {
    font-size: var(--font-sm);
}

.tiny {
    font-size: var(--font-xs);
}

/* Links */
a {
    color: #0066cc;
    text-decoration: underline;
    text-underline-offset: 0.1em;
    transition: color 0.2s ease;
}

a:hover {
    color: #FF6817;
}

/* Lists */
ul, ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #e0e0e0;
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: italic;
    font-size: var(--font-lg);
    line-height: var(--line-height-relaxed);
}

/* Code */
code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background-color: #f5f5f5;
    padding: 0.125em 0.25em;
    border-radius: 0.25em;
}

pre {
    font-family: var(--font-mono);
    font-size: var(--font-sm);
    background-color: #f5f5f5;
    padding: 1.5em;
    border-radius: 0.5em;
    overflow-x: auto;
    margin-bottom: 1.5em;
}

/* Utility Classes */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.font-sans { font-family: var(--font-sans); }
.font-serif { font-family: var(--font-serif); }
.font-mono { font-family: var(--font-mono); }

.font-light { font-weight: var(--font-light); }
.font-regular { font-weight: var(--font-regular); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

.tracking-tight { letter-spacing: var(--tracking-tight); }
.tracking-normal { letter-spacing: var(--tracking-normal); }
.tracking-wide { letter-spacing: var(--tracking-wide); }
.tracking-wider { letter-spacing: var(--tracking-wider); }
.tracking-widest { letter-spacing: var(--tracking-widest); }

/* Demo Styles */
.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.demo-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: #fafafa;
    border-radius: 0.5rem;
}

.viewport-info {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-family: var(--font-mono);
    font-size: var(--font-sm);
    z-index: 1000;
}


section.photoInfo {
    position: absolute;
    display: block;
    right: 0;
    bottom: 0;
    background: #333;
    padding: 2%;
    text-align: left;
    width: 100%;
}
section.photoInfo ul {
    list-style-type: none;
    font-size: var(--font-1xl);
}
.infoIcon{
    text-align: right;
}

header{
    background: #000;
    padding: 15px;
}
header h1{
    padding: 0;
    margin: 0;
}
#intro h2{
    padding: 0;
    margin: 0 0 20px 0;
}
article h3{
    padding: 20px;
    color: #ececec;
    text-shadow: 1px 1px 4px #111;
}
section#hero {
    min-height: 660px;
    background-image: url(/assets/img/header-street-photography@1x.webp);
    background-image: -webkit-image-set(
        url(/assets/img/header-street-photography@1x.webp) 1x,
        url(/assets/img/header-street-photography@2x.webp) 2x,
        url(/assets/img/header-street-photography@3x.webp) 3x,
        url(/assets/img/header-street-photography@4x.webp) 4x
    );
    background-image: image-set(
        url(/assets/img/header-street-photography@1x.webp) 1x,
        url(/assets/img/header-street-photography@2x.webp) 2x,
        url(/assets/img/header-street-photography@3x.webp) 3x,
        url(/assets/img/header-street-photography@4x.webp) 4x
    );
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 11vh 5vh;
    text-shadow: 1px 1px 10px #111;
}
section#intro {
    color: #222;
    padding: 100px 20px;
    background: #222;
    background-image: url(/assets/img/hp-logo-icon.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background: linear-gradient(22.5deg, #3EFFD3, #FF6817);
}
section#intro h1, section#intro h2 {
}


h3 a {

    text-shadow: 1px 1px 6px #000;
    color: #FFF !important;
    text-decoration: none;
}

footer p {
    margin: 1.5em 0;
}

a:hover img{
}
