When I asked an AI agent to apply the golden ratio to the typography in an existing email design, I kept the request deliberately narrow: Change the font sizes based on the original layout.
The agent said it would leave the layout, assets, spacing, and wording alone. A few minutes later, it was fixing the hero section. The headline had grown from 36 to 42 pixels, creating an extra line of text that extended beyond the banner and into the content below.
In other words, changing the fonts had changed the layout.
Growing the hero solved the immediate layout problem, but it also raised another question: Was the agent authorized to change it? In pharmaceutical marketing, I would want that distinction made explicit before an agent modifies an approved asset.
I use the golden ratio regularly to explore different design directions. I like having a mathematical relationship to work with, especially when I'm asking an AI agent to generate or modify a design. It gives the agent something more specific than a vague instruction to make the composition feel more balanced.
But there are decisions the ratio can't make. How should the agent handle a headline that no longer fits? Should it change the text, widen the column, increase the height of the section, or abandon the ratio?
The strongest case for using the golden ratio with AI is its usefulness as a design constraint. It provides a structure to explore and evaluate. To illustrate this, I created several versions of the same marketing email, each with the golden ratio applied differently. Comparing them shows what the mathematical constraint contributed, where it caused problems, and how the agent responded when the ratio conflicted with the layout or content.
What is the golden ratio?
The golden ratio, represented by the Greek letter φ (phi), is approximately 1.618:1. It describes a relationship between two quantities where the larger is about 1.618 times the size of the smaller.
In design, you can use it to establish proportions between elements. For example, dividing a two-column layout according to the ratio gives approximately 62% of the available width to one column and 38% to the other.
You can apply the same relationship to an image frame, the dimensions of a section, or a typography scale.
For text, starting with a 16-pixel font and multiplying by φ gives a progression of approximately 16, 26, 42, and 68 pixels.
The math is simple enough for an agent to implement. The more interesting question is what you're asking it to control.
Why “use the golden ratio” isn’t enough
“Use the golden ratio” could mean dividing the page into columns, establishing the relationship between headings and body text, setting image proportions, or changing the spacing between elements. Those choices can produce very different results.
And a constraint applied to one element can affect others. A larger heading occupies more space, and a narrower column changes where text wraps. An image crop that follows the ratio might cut off something important.
That's why it isn't enough to just tell an agent, "Use the golden ratio." The ripple effects caused by the way it applies the ratio to one element of the design can be unpredictable.
One email, four different approaches
I used an existing 600-pixel wide marketing email as the starting point. It contained a hero section, supporting copy, images, data graphics, tables, and smaller informational sections.
The comparison includes four layouts, each using different design instructions:
| Version | Approach | Final email height |
|---|---|---|
| Original | Existing layout, with no golden ratio applied | 4,876 pixels |
| Option 2 | Apply the golden ratio to the typography | 5,461 pixels |
| Option 3 | Use the golden ratio while prioritizing visual communication | 5,709 pixels |
| Option 4 | Apply the golden ratio as broadly as possible | 6,139 pixels |

I reviewed the rendered results and the agent's build transcript, which recorded the changes and corrections it made.
This was a design experiment, not a controlled test of regulatory compliance. It compared how the agent handled different layout constraints, but it didn't evaluate whether any of the resulting emails would pass medical, legal, and regulatory review.
The document heights give us one way to measure the consequences. They don't establish which version is "better" than the others; a longer email may simply have larger text or more generous spacing, which isn't inherently a problem.
I was more interested in how each version handled the content:
Option 2: Larger fonts affected the layout more than I expected. The hero headline grew from four lines to five, requiring a taller banner. Other headings wrapped onto additional lines, pushing the charts, data tables, and subsequent sections farther down the email. The agent even had to recenter chart labels after changing their font sizes.
Option 4: Applying the golden ratio wherever possible reshaped the relationships between elements throughout the email. Some large graphics and figures became more prominent, but supporting text was pushed into narrower blocks or separated from the information it explained.
Option 3: This layout was my favorite because it retained the proportional relationships while allowing the content to influence the layout. It still used the golden ratio, but didn't force every element to conform when doing so made the email harder to follow.
Changing the fonts changed the layout
For Option 2, I asked the agent to apply the golden ratio only to the original email's font sizes.
It used the existing 16-pixel body text as the base and generated a scale of approximately 16, 26, 42, 68, and 110 pixels. It also included smaller steps at 6 and 10 pixels.
The first important change was the hero headline, which changed from 36 to 42 pixels.
The original headline occupied four lines inside a 300-pixel wide text box. At 42 pixels, the same headline occupied five lines. That extra line extended beyond the hero banner and overlapped the content area below.
The agent noticed the problem during the build, and its progress report said it was fixing the larger headline after it ran past the hero. The resulting layout had a taller hero section to accommodate the new wrapping and preserve space around the text.


This is where a narrow design instruction caused complications. Increasing the font size also changes the width occupied by individual words. That affects line breaks, which affect the height of a text block. Once a text block grows, its surrounding layout may need to change.
The agent had to resolve that dependency, even though the original request said to only apply the change to typography, not the layout.
I also want to note another interesting exception the agent made while establishing the scale: Some of the original section headings were 18 or 20 pixels. Moving them down to the nearest smaller step would have made them 16 pixels, the same size as the body text. The agent instead moved those headings up to 26 pixels to keep them visually distinct, and explicitly identified this as an exception in the build transcript.
So the agent had already made two decisions that weren't determined by the ratio itself:
It adjusted the surrounding layout when larger text no longer fit
It chose a larger step on the scale, instead of the nearest step, to preserve heading hierarchy
I liked a lot of the result. The typography made several sections easier to read and gave the content a clearer hierarchy.
The full email also grew by 585 pixels, from 4,876 to 5,461 pixels. That's the cumulative effect of changing type sizes throughout a long document.
This showed me how quickly one constraint can propagate through a design, even when you try to limit your instruction to a single property.
What happened when I removed the limits?
For another version, I wanted to see how far the agent would take the golden ratio if I stopped protecting the original composition.
So I asked it to apply the ratio everywhere: assets, icons, text, and layout proportions. I explicitly said it was acceptable for the result to become a messy collage of elements. I only gave this experiment one practical boundary: The finished layout needed to remain an email.
The agent approached this by building a composition around golden ratio proportions and a spiral arrangement. Its build notes described rotating content through proportional sections and sizing elements according to φ. It reported using the ratio for its measurements apart from the fixed 600-pixel email width.
The result looked substantially different from the original.



The transcript also records a specific problem with one of the data graphics: A completion card containing the values 99% and 0 had two columns. When the agent fitted that card into one of the proportional sections, it compressed the card to the width of the available square, and the columns collided.
The agent caught the problem and changed its approach. Instead of compressing the columns independently, it reported scaling the entire card by φ⁻¹, approximately 0.618, preserving the relationship between the card's internal elements. The correction kept the card's contents together, but it also illustrates a limitation of the original instruction. The agent could calculate a proportional container, but the component inside it still had its own dimensions and relationships that needed to be respected.
I didn't prefer the overall result of this prompt. The sections became harder to follow, and the layout lost much of the hierarchy that made the original email readable. Some of the proportional arrangements were interesting individually, but they didn't work as well together.
This version also ended up being the longest, at 6,139 pixels tall, compared to 4,876 pixels for the original.
The additional height wasn't the reason I disliked it; the problem was how the elements related to one another. The ratio was controlling more of the design, but I was having a harder time following the content.
Then again, this experiment was intentionally extreme. I asked the agent to remove its usual restraints, and the output reflected that.
What interested me was the difference between fixing one component and making the whole email work. The card's internal relationships were preserved, but the overall composition was still harder for me to follow.
The best version made an exception for the content
Option 3 used the golden ratio with a different priority: visual communication.
I still wanted the ratio to guide the composition, but I wanted the email to remain readable and the information to make sense.
The agent used several explicit proportional relationships in this layout:
The hero measured approximately 600 × 371 pixels, which follows the golden ratio: 600 ÷ 1.618 ≈ 371.
Within the hero, the main content column was 316 pixels wide and the supporting column was 195 pixels wide, separated by a 21-pixel gap. The ratio between the column widths was approximately 1.62:1.
These are the kinds of restraints I find useful, because they provide a repeatable basis for sizing and positioning elements.
But the most important decision in this version concerned the headline. The original copy included a two-word treatment reference that the agent's initial proportional layout separated across lines. Keeping the text strictly within the designated boundary would have preserved the mathematical relationship, but weakened the way the phrase read.
Because this version prioritized visual communication, the agent allowed the headline text to extend beyond that proportional boundary so the related words could stay together.

The headline crosses the vertical proportion guide instead of splitting a related phrase in the original copy.
That was the right decision for this email. The two words belonged together; forcing a line break between them just to preserve the column dimensions would have made the headline harder to read.
The ratio still influenced the size and structure of the hero, but the agent had a reason to depart from it when the content required something different.
Option 3 was my favorite overall because of how effectively it handled the relationship between proportion and communication. That's just a personal design judgment; I wasn't running a controlled study to measure reader comprehension and I can't make any claims about which set of proportions will produce the best results.
But I do think this experiment taught me how to prompt agents to give them a clearer basis for when to make exceptions to their restraints and any "rules" that exist.
When design constraints meet regulatory requirements
For pharma marketing, I think there's another layer to these decisions. An agent might be working within brand guidelines and an established layout while also handling approved claims, supporting references, and required safety information.
Those requirements can also affect design elements. In U.S. prescription drug advertising, the FDA considers typography, layout, contrast, and white space when evaluating prominence and readability of risk information relative to effectiveness information.
That creates an interesting problem for a design agent. Say it increases a benefit headline from 36 to 42 pixels to follow a type scale, then enlarges the hero to accommodate new line wrapping. That solves a layout problem. But the change could impact how the benefit claim compares visually with the risk information elsewhere in the piece.
The golden ratio doesn't determine whether that result is appropriate. I'd want the agent to understand which elements it can adjust and which changes require review.
What I'd change in the instructions
If I ran another experiment like this, I'd be more specific about what the agent could change when the ratio creates a conflict. The first instruction, to apply the ratio only to font sizes, clearly illustrates why: If the new type scale makes a headline too tall, the agent could resolve that by making one of several adjustments. It could:
Adjust the hero height
Widen the text box
Choose a smaller step from the size scale
Change where the headline wraps
But each decision affects the rest of the design differently.
So I'd want to specify those options before asking the agent to make the change. For example, if it's important to preserve a fixed hero height, I'd say so upfront. But if the type scale is more important than the original section dimensions, I'd give the agent permission to expand the section.
The agent should choose only among permitted adjustments. If none of them resolves the conflict, it should explain the problem and ask for direction rather than make an unauthorized change.
I'd also tell the agent which parts of the content need to stay together and which layout properties are flexible. For an email, reading order is particularly important. A two-column layout that works on desktop might become harder to follow if the content stacks vertically on a smaller screen. The ratio doesn't tell the agent which section should come first or what information deserves the most attention.
I'd want the agent to account for those considerations when making adjustments. If a headline wraps awkwardly, a button becomes cramped, or an image crop hides important information, the agent should change the layout where it's permitted to; otherwise, it should flag the problem for review.
At Solstice, we build AI agents that generate and edit marketing content for pharmaceutical companies, including emails, banners, and other visual assets. The design problems they encounter are related to the ones I explored here: changing typography, adjusting layouts, and adapting existing assets without compromising the information they need to communicate.
For a previously approved pharma asset, I'd give the agent explicit boundaries: It should preserve approved wording, keep claims with their qualifiers and supporting references, and protect the prominence of safety information. If an adjustment conflicts with those requirements, I'd want the agent to flag it for review rather than choose a workaround on its own.
That's what I'll take into my next set of instructions: Specify the proportions I want to explore, identify which elements can change, and make it clear when the agent should stop and ask.
I like what the golden ratio can contribute to a design. But especially in pharma marketing, where the information may affect how someone understands a treatment, the content has to take priority over the math.
// solstice.eng
All posts →
